Command/setupblackrules

From Wiki
Revision as of 18:23, 19 November 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\setupblackrules

Syntax (autogenerated)

\setupblackrules[...=...,...]
widthmax dimension
heightmax dimension
depthmax dimension
distancedimension
nnumber
alternativea b
stylestyle command
colorcolor
typemp yes no
mpname


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: