Difference between revisions of "Command/setupbackground"

From Wiki
Jump to navigation Jump to search
(restructuring)
Line 6: Line 6:
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>setupbackground</syntax>
 
<syntax>setupbackground</syntax>
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
  <tr>
 
    <td colspan="2" class="cmd">\setupbackground<span class="first" >[...,...=...,...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:leftoffset|leftoffset]]</td>
 
    <td>[[Command/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:rightoffset|rightoffset]]</td>
 
    <td>[[Command/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:topoffset|topoffset]]</td>
 
    <td>[[Command/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:bottomoffset|bottomoffset]]</td>
 
    <td>[[Command/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:before|before]]</td>
 
    <td>[[Command/value:command|command]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:after|after]]</td>
 
    <td>[[Command/value:command|command]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Command/keyword:state|state]]</td>
 
    <td>[[Command/value:start|start]] [[Command/value:stop|stop]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[...,...=...,...]</td>
 
    <td>see [[Command/setupframed|\setupframed]] </td>
 
  </tr>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
  
 +
This mechanism is sort of obsolete and textbackgrounds should be used instead.
  
== Example ==
+
== Examples ==
 
<texcode>
 
<texcode>
 
\setupbackground
 
\setupbackground
Line 54: Line 17:
 
</texcode>
 
</texcode>
  
== Example ==
 
 
<texcode>
 
<texcode>
 
\setupbackground
 
\setupbackground
Line 63: Line 25:
 
== See also ==
 
== See also ==
 
<!-- something like {{cmd|goto}} -->
 
<!-- something like {{cmd|goto}} -->
 +
* [[TextBackground]]
 +
* {{cmd|background}}
 +
* {{cmd|startbackground}}
 +
* {{src|pack-bck.mkvi}}
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 21:39, 27 October 2019

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


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: