Difference between revisions of "Command/starttextrule"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>")
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>starttextrule</syntax>
+
<syntax type=“environment”>textrule</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Revision as of 19:46, 24 July 2020

\starttextrule

Syntax (autogenerated)

\textrule[...]{...}
[...]top middle bottom
{...}text


Syntax

\starttextrule{...} ... \stoptextrule
{...} 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.

Example

\setuppapersize[A5]
\starttext
\starttextrule{introduction}
Once upon a time \unknown
\stoptextrule
\stoptext

results in


See also

See also \textrule and \setuptextrules.

Help from ConTeXt-Mailinglist/Forum

All issues with: