Difference between revisions of "Command/setupbackground"
< Command
Jump to navigation
Jump to search
(Create reference page) |
m (→Examples) |
||
(17 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Reference | {{Reference | ||
|name=setupbackground | |name=setupbackground | ||
Line 6: | Line 4: | ||
}} | }} | ||
− | == [[Help:Reference|Syntax]] == | + | == [[Help:Reference|Syntax]] (autogenerated) == |
− | < | + | <syntax>setupbackground</syntax> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Description == | == Description == | ||
− | |||
− | |||
− | |||
− | |||
+ | This mechanism is sort of obsolete and textbackgrounds should be used instead. | ||
+ | == Examples == | ||
+ | <texcode> | ||
+ | \setupbackground | ||
+ | [frame=on] | ||
+ | </texcode> | ||
− | == | + | <texcode> |
+ | \setupbackground | ||
+ | [background=color, backgroundcolor=blue] | ||
+ | </texcode> | ||
− | + | Add “location=paragraph” to \setuptextbackground, to remove the empty line after the itemize environment add “nowhite” to \startitemize. | |
− | \ | ||
− | |||
+ | == See also == | ||
+ | <!-- something like {{cmd|goto}} --> | ||
+ | * [[TextBackground]] | ||
+ | * {{cmd|background}} | ||
+ | * {{cmd|startbackground}} | ||
+ | * {{src|pack-bck.mkvi}} | ||
− | == | + | == Help from ConTeXt-Mailinglist/Forum == |
− | + | All issues with: | |
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Backgrounds|setupbackground]] |
Revision as of 09:04, 26 July 2020
\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 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: