Difference between revisions of "Command/setupblackrules"

From Wiki
Jump to navigation Jump to search
m
m
Line 23: Line 23:
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
 
     <td class="cmd">[[Command/keyword:color|color]]</td>
 
     <td class="cmd">[[Command/keyword:color|color]]</td>
     <td>[[Command/value:color|color]] </td>
+
     <td>[[Command/value:colorspec|colorspec]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">

Revision as of 19:51, 16 February 2014

\setupblackrules

Syntax

\setupblackrules[...,...=...,...]
width dimension max
height dimension max
depth dimension max
color colorspec
alternative a b
distance dimension
n number

Description

width = (dimension): width across the page. Default = 1em

height = (dimension): thickness above the current baseline

depth = (dimension): thickness below the current baseline

By setting the width, height or depth to max, one gets the natural dimensions (the dimensions of TeX’s \strutbox).

color = (colorspec): any of defined colors (color must be turned on!)

alternative = a | b: in the case of multiple rules (n>1), alternative a (default) treats width as the dimension of one rule, while alternative b -- for the whole series.

Example

See also

\blackrule, \blackrules

Help from ConTeXt-Mailinglist/Forum

All issues with: