Difference between revisions of "Command/hrule"
< Command
Jump to navigation
Jump to search
(Create hrule page) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>hrule</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 13: | Line 16: | ||
== Description == | == Description == | ||
Place a rule as wide as the text, with a height of 0.4 point. Ends the current paragraph. | Place a rule as wide as the text, with a height of 0.4 point. Ends the current paragraph. | ||
+ | |||
+ | If you want a different rule thickness, you only need to specify it with <code>\hrule height</code> and the dimension. | ||
== Example == | == Example == | ||
Line 18: | Line 23: | ||
\setuppapersize[A5] | \setuppapersize[A5] | ||
\setupwhitespace[big] | \setupwhitespace[big] | ||
− | + | \starttext | |
\input bryson | \input bryson | ||
\hrule | \hrule | ||
Line 26: | Line 31: | ||
\blank[line] | \blank[line] | ||
\input bryson | \input bryson | ||
+ | \hrule height .25in | ||
+ | \stoptext | ||
</context> | </context> | ||
Latest revision as of 18:23, 19 November 2019
\hrule
Syntax (autogenerated)
Syntax
\hrule |
Description
Place a rule as wide as the text, with a height of 0.4 point. Ends the current paragraph.
If you want a different rule thickness, you only need to specify it with \hrule height
and the dimension.
Example
\setuppapersize[A5] \setupwhitespace[big] \starttext \input bryson \hrule \input bryson \blank[2*line] % don't know why the first blank line gets ignored \hrule \blank[line] \input bryson \hrule height .25in \stoptext
See also
- \hairline for a blank line with a rule on its baseline
Help from ConTeXt-Mailinglist/Forum
All issues with: