Open main menu

Command/setupbackground

< Command
Revision as of 09:04, 26 July 2020 by Benjamin (talk | contribs) (→‎Examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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