Command/startalignment
From ConTeXt wiki
< Command
\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
- \setupalign to setup alignment for the entire document
- \startmathalignment for alignment in mathematical environments, and the Using \startalign My Way linked from the My Way index page.
- \startalign is a synonym for \startmathalignment. It merely uses the AMSTeX naming convention instead of the ConTeXt one.
Help from ConTeXt-Mailinglist/Forum
All issues with: