Difference between revisions of "Command/setupbackground"
< Command
Jump to navigation
Jump to search
m (→Syntax) |
m (→Description) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
}} | }} | ||
− | == [[Help:Reference|Syntax]] == | + | == [[Help:Reference|Syntax]] (autogenerated) == |
− | <syntax> | + | <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 | ||
Line 59: | Line 22: | ||
</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 {{cmd|goto}} --> | <!-- 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 == |
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: