Difference between revisions of "Command/blackrule"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
 
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>blackrule</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Latest revision as of 18:18, 19 November 2019

\blackrule

Syntax (autogenerated)

\blackrule[...=...,...]
...=...,...inherits from \setupblackrules


Syntax

\blackrule[...,...=...,...]
[...,...=...,...] see \setupblackrules

Description

Draws a horizontal filled box, called rule.

Arguments

The characteristics of this command can be set by \setupblackrules.

Comment

Using this command is far more slower than using the TeX primitives \hrule and \vrule, but it save us some tokens.

Code is contained in pack-rul.mkii or pack-rul.mkiv.

Example

\setupcolors[state=start] %not needed in MkIV
\starttext
\blackrule %default rule

\blackrule[color=red, height=1em] %customized rule
\stoptext

See also

\blackrules, \startmarginrule

Help from ConTeXt-Mailinglist/Forum

All issues with: