Changes

Jump to navigation Jump to search
27 bytes removed ,  02:15, 6 September 2005
m
Changed example to include \framed.
< [[Bugs and workarounds]] | [[FAQ]] >
The <tt>right</tt> and <tt>left</tt> alignments are backwards from the usual directions in all commands that accept an <tt>align=</tt> alignment option. For instance,
<texcode>
\startalignment[left]
This is some aligned text, with \type{align=left}alignment.
\stopalignment
\startalignmentframed[align=right,width=\textwidth]This is some aligned {Some framed text, with \type{align=right}.\stopalignment}
</texcode>
<context>
\startalignment[left]
This is some aligned text, with \type{align=left}alignment.
\stopalignment
\startalignmentframed[align=right,width=\textwidth]This is some aligned {Some framed text, with \type{align=right}.\stopalignment}
</context>
<texcode>
\startalignment[flushleft]
This is some aligned text, with \type{align=flushleft}alignment.
\stopalignment
\startalignmentframed[align=flushright,width=\textwidth]This is some aligned {Some framed text, with \type{align=flushright}.\stopalignment}
</texcode>
<context>
\startalignment[flushleft]
This is some aligned text, with \type{align=flushleft}alignment.
\stopalignment
\startalignmentframed[align=flushright,width=\textwidth]This is some aligned {Some framed text, with \type{align=flushright}.\stopalignment}
</context>
Incidentally, note that <cmd>leftaligned</cmd> and <cmd>rightaligned</cmd> also produce flush-left and flush-right alignment, with
<texcode>

Navigation menu