Changes

Jump to navigation Jump to search
1,030 bytes added ,  11:08, 5 June 2012
Nicer example, added description, category Paragraphs
</table>
== 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 ==
== Example ==
<context source="yes" text="yields">Long text that is longer then the following text\setuppapersize[A5]\setupnarrower[middle=1cm]\setupnarrower[left=3cm2cm, right=3cm2cmWhen Thangobrind the jeweller heard the ominous cough, he turned at once upon that narrow way.
\startnarrower[left,right]
this is narrowerA 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
% or\startnarrower without any arguments is equivalent 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 and 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. \rightaligned{---Lord Dunsany, {\it Distressing Tale of Thangobrind the Jeweller}}
\setupnarrower[middle=3cm]
\startnarrower % [middle] is default
this is narrower
\stopnarrower
Long text that is longer then the preceding text
</context>
 
== See also ==
<tt>{{cmd|startnarrower}}</tt> 
== Help from ConTeXt-Mailinglist/Forum ==
{{Forum|{{SUBPAGENAME}}}}
[[Category:CommandsCommand/Paragraphs|setupnarrower]]

Navigation menu