Difference between revisions of "Command/setupbackground"
< Command
Jump to navigation
Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==") |
m (→Description) |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
− | == [[Help:Reference|Syntax]] == | + | == [[Help:Reference|Syntax]] (autogenerated) == |
− | < | + | <syntax>setupbackground</syntax> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
+ | This mechanism is sort of obsolete and {{cmd|setupbackgrounds}} (with an s) should be used instead. | ||
− | == | + | == Examples == |
<texcode> | <texcode> | ||
\setupbackground | \setupbackground | ||
Line 53: | Line 17: | ||
</texcode> | </texcode> | ||
− | |||
<texcode> | <texcode> | ||
\setupbackground | \setupbackground | ||
− | [background= | + | [background=color, backgroundcolor=blue] |
</texcode> | </texcode> | ||
+ | Add “location=paragraph” to \setuptextbackground, to remove the empty line after the itemize environment add “nowhite” to \startitemize. | ||
== See also == | == See also == | ||
− | <!-- something like | + | <!-- something like {{cmd|goto}} --> |
+ | * [[TextBackground]] | ||
+ | * {{cmd|setupbackgrounds}} | ||
+ | * {{cmd|background}} | ||
+ | * {{cmd|startbackground}} | ||
+ | * {{src|pack-bck.mkvi}} | ||
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 67: | Line 36: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category:Backgrounds|setupbackground]] | + | [[Category:Command/Backgrounds|setupbackground]] |
Latest revision as of 08:25, 27 April 2024
\setupbackground
Syntax (autogenerated)
\setupbackground[...,...][...=...,...] | |
[...,...] | name |
state | start stop |
leftoffset | dimension |
rightoffset | dimension |
topoffset | dimension |
bottomoffset | dimension |
before | command |
after | command |
...=...,... | inherits from \setupframed |
Description
This mechanism is sort of obsolete and \setupbackgrounds (with an s) should be used instead.
Examples
\setupbackground [frame=on]
\setupbackground [background=color, backgroundcolor=blue]
Add “location=paragraph” to \setuptextbackground, to remove the empty line after the itemize environment add “nowhite” to \startitemize.
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: