Open main menu

Changes

1,783 bytes added ,  08:56, 17 November 2021
Created page with "Documentation for \hairline"
<cd:commandgroup name="hairline" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\hairline</tt> produces a thin rule
</cd:shortdesc>
<cd:variants>
<cd:command category="rules" file="pack-mrl.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-thinrule.xml" level="document" name="hairline" variantnumber="1"></cd:command>
</cd:variants>
<cd:description>A thin rule on the baseline of its own paragraph, spanning the width of the current text.

</cd:description>
<cd:examples><cd:example title=""><context source="yes" text="This gives:">
\setuppapersize[A7,landscape]
\starttext
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\crlf
He was shearing when I knew him, so I sent the letter to him,
just on spec., addressed as follows: Clancy, of the Overflow.
\stoptext
</context></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="pack-mrl.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Rules"></cd:wikipage>
<cd:commandref name="thinrule">for a rule that fills out the line on which it appears.</cd:commandref>
<cd:commandref name="fillinline">and {{cmd|fillinrules}} for 'write your answer here' lines.</cd:commandref></cd:seealso>
</cd:commandgroup>