Difference between revisions of "Command/hairline"
< Command
Jump to navigation
Jump to search
m (cleanup) |
|||
(11 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>hairline</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 12: | Line 15: | ||
== Description == | == Description == | ||
+ | A thin rule on the baseline of its own paragraph, spanning the width of the current text. | ||
+ | == Example == | ||
+ | <context source=yes text="This gives:"> | ||
+ | \setuppapersize[A6] | ||
+ | I had written him a letter which I had, for want of better | ||
+ | knowledge, sent to where I met him at the Lachlan, years ago. | ||
+ | \hairline | ||
+ | He was shearing when I knew him, so I sent the letter to him, | ||
+ | just on spec, addressed as follows: Clancy, of the Overflow. | ||
+ | % a hairline is its own paragraph, | ||
+ | % so \setupwhitespace will affect hairline spacing | ||
+ | \setupwhitespace[big] | ||
+ | \hairline | ||
− | + | % A \thinrule fills out the line on which it appears. | |
− | < | + | I had written him a letter which I had, for want of better |
+ | knowledge, sent to where I met him at the Lachlan, years ago. | ||
+ | \thinrule | ||
+ | He was shearing when I knew him, so I sent the letter to him, | ||
+ | just on spec., addressed as follows: Clancy, of the Overflow. | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|thinrule}} for a rule that fills out the line on which it appears. | |
+ | * {{cmd|fillinline}} and {{cmd|fillinrules}} for 'write your answer here' lines. | ||
+ | |||
+ | == Help from ConTeXt-Mailinglist/Forum == | ||
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Rules|hairline]] |
Latest revision as of 18:19, 19 November 2019
\hairline
Syntax (autogenerated)
\hairline |
Syntax
\hairline |
Description
A thin rule on the baseline of its own paragraph, spanning the width of the current text.
Example
\setuppapersize[A6] I had written him a letter which I had, for want of better knowledge, sent to where I met him at the Lachlan, years ago. \hairline He was shearing when I knew him, so I sent the letter to him, just on spec, addressed as follows: Clancy, of the Overflow. % a hairline is its own paragraph, % so \setupwhitespace will affect hairline spacing \setupwhitespace[big] \hairline % A \thinrule fills out the line on which it appears. I had written him a letter which I had, for want of better knowledge, sent to where I met him at the Lachlan, years ago. \thinrule He was shearing when I knew him, so I sent the letter to him, just on spec., addressed as follows: Clancy, of the Overflow.
This gives:
See also
- \thinrule for a rule that fills out the line on which it appears.
- \fillinline and \fillinrules for 'write your answer here' lines.
Help from ConTeXt-Mailinglist/Forum
All issues with: