Command/setupbackground

From Wiki
Jump to navigation Jump to search

\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: