Command/setupbackground

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-07

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: