Difference between revisions of "Command/setupnarrower"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Reference/en|" to "Commands|")
m (Text replace - "Reference/en/" to "Command/")
Line 10: Line 10:
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:left|left]]</td>
+
     <td class="cmd">[[Command/keyword:left|left]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:right|right]]</td>
+
     <td class="cmd">[[Command/keyword:right|right]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
     <td class="cmd">[[Reference/en/keyword:middle|middle]]</td>
+
     <td class="cmd">[[Command/keyword:middle|middle]]</td>
     <td>[[Reference/en/value:dimension|dimension]] </td>
+
     <td>[[Command/value:dimension|dimension]] </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>

Revision as of 02:38, 14 March 2012

\setupnarrower

Syntax

\setupnarrower[...,...=...,...]
left dimension
right dimension
middle dimension


Description

Comment

The use of narrower is a bit abnormal.

\startnarrower (\startsmaller in dutch) is one of the oldest commands in ConTeXt. It predates the now-normal conventions by a few years.

Don't expect any changes to \startnarrower. But perhaps a more predictable alternative could be added.

Example

Long text that is longer then the following text
\setupnarrower[left=3cm, right=3cm]

\startnarrower[left,right]
this is narrower
\stopnarrower

% or

\setupnarrower[middle=3cm]
\startnarrower % [middle] is default
this is narrower
\stopnarrower
Long text that is longer then the preceding text

yields


See also

\startnarrower