Command/startalignment

From ConTeXt wiki

\startalignment

Syntax

\startalignment[...] ... \stopalignment
[...] width flushleft flushright middle inner outer wide broad height bottom line reset hanging nothanging hyphenated nothyphenated


Description

Use a different alignment for the content between \startalignment...\stopalignment. For a description of the keys, see \setupalign.

Example

\setuppapersize[A6]
\setupalign[flushleft, nothyphenated]

\input ward

\startalignment[flushright]
\input ward
\stopalignment


If one wants to center a figure or a table, or something similar, then one should add \dontleavehmode.

% Tell the wiki engine where the cow is located
\setupexternalfigures[location={local,default}]

\input ward

\startalignment[middle]% or center
\dontleavehmode
\externalfigure[cow][width=2cm]
\stopalignment

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: