Difference between revisions of "Command/hrule"
< Command
Jump to navigation
Jump to search
(Create hrule page) |
(add rule thickness) |
||
Line 13: | Line 13: | ||
== 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 20: | ||
\setuppapersize[A5] | \setuppapersize[A5] | ||
\setupwhitespace[big] | \setupwhitespace[big] | ||
− | + | \starttext | |
\input bryson | \input bryson | ||
\hrule | \hrule | ||
Line 26: | Line 28: | ||
\blank[line] | \blank[line] | ||
\input bryson | \input bryson | ||
+ | \hrule height .25in | ||
+ | \stoptext | ||
</context> | </context> | ||
Revision as of 10:04, 29 May 2016
\hrule
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: