Changes

Jump to navigation Jump to search
570 bytes added ,  09:15, 27 December 2021
links to \startnarrow, simplification/updates
}}
== [[Help:Reference|Syntax]] (autogenerated) ==<table cellspacing="4" cellpadding="2" class="cmd"syntax> <tr> <td colspan="2" class="cmd">\setupnarrower<span class="first" >[...,...=...,...]</span></td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Reference/en/keyword:left|left]]</td> <td>[[Reference/en/value:dimension|dimension]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Reference/en/keyword:right|right]]</td> <td>[[Reference/en/value:dimension|dimension]] </td> </tr> <tr valign="top" class="first"> <td class="cmd">[[Reference/en/keyword:middle|middle]]</td> <td>[[Reference/en/value:dimension|dimension]] </td> </tr></tablesyntax>
== Description ==
== Description == Set default values for the <code>left</code>, <code>right</code>, and <code>middle</code> parameters of {{cmd|startnarrower}}. {{cmd|startnarrower}} will still use <code>middle</code> by default, unless you specify <code>left</code> for <code>right</code>, but you need no longer specify the width of the extra margin(s) requested.
== Comment ==
The use of narrower is a bit abnormal.
<tt>\{{cmd|startnarrower</tt> }} (<tt>\startsmaller</tt> in dutch) is one of the oldest commands in ConTeXt. It predates the now-normal conventions by a few years.
Don't Don’t expect any changes to <tt>\{{cmd|startnarrower</tt>}}. But perhaps a A more predictable alternative could be addedis {{cmd|startnarrow}}.
== Example ==
<context source="yes" text="yields">Long text that is longer then the following text\setuppapersize[A5]\setupnarrower[middle=1cm, left=3cm2cm, right=3cm2cmWhen Thangobrind the jeweller heard the ominous cough, he turned at once upon that narrow way.
\startnarrower[left,right]
this A thief was he, of very high repute, being patronized by the lofty and elect, for he stole nothing smaller than the Moomoo's egg, and in all his life stole only four kinds of stone---the ruby, the diamond, the emerald, and the sapphire; and, as jewellers go, his honesty was great. \stopnarrower % \startnarrower without any arguments is narrowerequivalent to \startnarrower[middle]\startnarrowerNow there was a Merchant Prince who had come to Thangobrind and had offered his daughter's soul for the diamond that is larger than the human head
\stopnarrower
% orand was to be found on the lap of the spider-idol, Hlo-hlo, in his temple of Moung-ga-ling; for he had heard that Thangobrind was a thief to be trusted. \blank
\setupnarrower[middle=3cm]rightaligned{---Lord Dunsany, \quote{Distressing Tale of Thangobrind the Jeweller},} \startnarrower % [middle] is defaultthis is narrowerrightaligned{{\stopnarrowerLong text that is longer then the preceding textit The Book of Wonder}}
</context>
 
== See also ==
<tt>[[* {{cmd:|startnarrower}}* {{cmd|\startnarrower]]</tt>startnarrow}}* {{cmd|definenarrower}}
== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Paragraphs|setupnarrower]]

Navigation menu