https://wiki.contextgarden.net/index.php?title=Command/startmarginrule&feed=atom&action=history
Command/startmarginrule - Revision history
2024-03-29T10:35:33Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/startmarginrule&diff=34133&oldid=prev
Taco at 13:23, 14 September 2023
2023-09-14T13:23:43Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:23, 14 September 2023</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l21" >Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </cd:command></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </cd:command></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:variants></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:variants></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Puts a rule in the left margin next to a block. This environment can be nested. It is a special case of sidebar.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><cd:description>Puts a rule in the left margin next to a block. This environment can be nested <ins class="diffchange diffchange-inline">up to five levels</ins>. It is a special case of sidebar.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:description></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title="">Here is example input:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:examples><cd:example title="">Here is example input:</div></td></tr>
</table>
Taco
https://wiki.contextgarden.net/index.php?title=Command/startmarginrule&diff=34132&oldid=prev
Taco: Created page with "Documentation for \startmarginrule ... \stopmarginrule"
2023-09-14T13:23:02Z
<p>Created page with "Documentation for \startmarginrule ... \stopmarginrule"</p>
<p><b>New page</b></p><div><cd:commandgroup name="marginrule" type="environment" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc><!-- a short command summary goes here --><br />
The environment <tt>\startmarginrule ... \stopmarginrule</tt> is puts a rule in the margin<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="rules" file="anch-bar.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-sidebar.xml" level="document" name="marginrule" type="environment" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords optional="yes" ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:number">Default is <code>1</code>. Higher numbers are moved further into the margin.</cd:constant><br />
</cd:keywords><br />
</cd:arguments><br />
</cd:command><br />
<cd:command category="rules" file="anch-bar.mkiv" interfacedate="2020-06-19T13:41" interfacefile="i-sidebar.xml" level="document" name="marginrule" type="environment" variant="assignment" variantnumber="2"><br />
<cd:arguments><br />
<cd:assignments list="yes" optional="yes" ordinal="1"><br />
<cd:assignmentsdoc></cd:assignmentsdoc><br />
<cd:inherit name="setupmarginrule"></cd:inherit><br />
</cd:assignments><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description>Puts a rule in the left margin next to a block. This environment can be nested. It is a special case of sidebar.<br />
</cd:description><br />
<cd:examples><cd:example title="">Here is example input:<br />
<br />
<context source="yes" text="Gives:"><br />
\setuppapersize[A7,landscape]<br />
\starttext<br />
\startmarginrule<br />
The sound of a duck is a good demonstration of how different people<br />
listen to a sound. Everywhere in Europe the sound is equal. But in<br />
every country it is described differently: kwaak||kwaak (Netherlands),<br />
couin||couin (French), gick||gack (German), rap||rap (Danish) and<br />
mech||mech (Spanish). If you speak these words aloud you will notice<br />
that in spite of the consonants the sound is really very<br />
well described. And what about a cow, does it say boe, mboe or mmmmmm?<br />
\stopmarginrule<br />
\stoptext<br />
</context></cd:example><cd:example title="Nested rules (with a bit of setup)"><context source="yes" text="Gives:"><br />
\setuppapersize[A6,landscape]<br />
\setupmarginrule[2][rulecolor=darkblue]<br />
<br />
\starttext<br />
\startmarginrule[1]<br />
\input ward<br />
\startmarginrule[2]<br />
\input ward<br />
\stopmarginrule<br />
\stopmarginrule<br />
\blank<br />
\startmarginrule[2]<br />
\input ward<br />
\startmarginrule[1]<br />
\input ward<br />
\stopmarginrule<br />
\stopmarginrule<br />
\stoptext<br />
</context></cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:commandref name="setupmarginrule" originator="system"></cd:commandref><br />
<cd:source file="anch-bar.mkiv" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Rules"></cd:wikipage><br />
<cd:commandref name="definesidebar"></cd:commandref><br />
<cd:commandref name="setupsidebar"></cd:commandref></cd:seealso><br />
</cd:commandgroup></div>
Taco