Command/starttextrule

From ConTeXt wiki
< Command
Revision as of 07:33, 16 April 2010 by Patrick Gundlach (talk | contribs) (cleanup)

\starttextrule

Syntax

\starttextrule[...]{...} ... \stoptextrule
[...] top bottom
{...} text


Description

Typesets a horizontal rule on top of the text between \starttextrule and \stoptextrule with the text in {...} inbetween and a rule at the bottom.


Comment

Bug: it looks as if the command takes only one argument:

\starttextrule{...} ... \stoptextrule

{....}        text


Example

\starttext
\starttextrule{introduction}
Once upon a time \unknown
\stoptextrule
\stoptext

results in


See also

See also \textrule and \setuptextrules.