Difference between revisions of "Command/setupbackground"

From Wiki
Jump to navigation Jump to search
(restructuring)
 
Line 22: 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 ==

Latest revision as of 09:04, 26 July 2020

\setupbackground

Syntax (autogenerated)

\setupbackground[...,...][...=...,...]
[...,...]name
statestart stop
leftoffsetdimension
rightoffsetdimension
topoffsetdimension
bottomoffsetdimension
beforecommand
aftercommand
...=...,...inherits from \setupframed


Description

This mechanism is sort of obsolete and textbackgrounds 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: