Command/startnarrow

From Wiki
< Command
Revision as of 14:39, 4 September 2020 by Taco (talk | contribs) (Created page with "Documentation for \startnarrow ... \stopnarrow")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


\startnarrow ... \stopnarrow

Summary

The environment \startnarrow ... \stopnarrow is like \startnarrower but with key-value options.

Settings

\startnarrow[...][...=...,...] ... \stopnarrow
[...]name
...=...,...inherits from \setupnarrower

Settings assignment

\startnarrow[...=...,...][...,...] ... \stopnarrow
...=...,...inherits from \setupnarrower
[...,...][+-]left [+-]middle [+-]right number*left number*middle number*right reset reverse

Settings name

\startnarrow[...][...,...] ... \stopnarrow
[...]name
[...,...][+-]left [+-]middle [+-]right number*left number*middle number*right reset reverse

Description

With \startnarrow, you can combine a call to \setupnarrower followed by \startnarrower into a single environment.

Examples

Example 1

The second parameter (which contains \startnarrower options) is necessary otherwise the left= and right= values are ignored.

% Some text to show the normal width
\input jojomayer

% Left only
\startnarrow[left=2cm,right=0cm] [left,right]
  \input jojomayer
\stopnarrow

Separator text to show spacing.

% Both sides
\startnarrow[left=5mm,right=1cm,after={\blank[big]}] [left,right]
  \input jojomayer
\stopnarrow

Separator text to show spacing.

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: