Command/starttextrule

From ConTeXt wiki
< Command
Revision as of 12:39, 11 April 2010 by Maintenance script (talk) (Create reference page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Reference 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.

See also \textrule and \setuptextrules.

comment

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

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

{....}        text


Example

% typesets:
% -- introduction --------
% Once upon a time ...
% ------------------------

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


See also