Difference between revisions of "Command/setupnarrower"
< Command
Jump to navigation
Jump to search
(Example updated) |
|||
Line 25: | Line 25: | ||
== Description == | == Description == | ||
− | == | + | |
− | + | == Comment == | |
− | + | ||
The use of narrower is a bit abnormal. | The use of narrower is a bit abnormal. | ||
− | \startnarrower (\startsmaller in dutch) is one of the oldest | + | \startnarrower (\startsmaller in dutch) is one of the oldest commands in ConTeXt. It predates the now-normal conventions by a few years. |
− | commands in ConTeXt. It predates the now-normal conventions | ||
− | by a few years. | ||
− | Don't expect any changes to \startnarrower. | + | Don't expect any changes to \startnarrower. But perhaps a more predictable alternative could be added. |
− | But perhaps a more predictable alternative could be added. | ||
</pre> | </pre> | ||
Line 42: | Line 39: | ||
== Example == | == Example == | ||
− | < | + | <context source="yes" text="yields"> |
+ | Long text that is longer then the following text | ||
\setupnarrower[left=3cm, right=3cm] | \setupnarrower[left=3cm, right=3cm] | ||
Line 55: | Line 53: | ||
this is narrower | this is narrower | ||
\stopnarrower | \stopnarrower | ||
− | </ | + | Long text that is longer then the preceding text |
+ | </context> | ||
Revision as of 14:49, 12 April 2010
\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