[OS X TeX] Using align with "or"

Bruno Voisin bvoisin at me.com
Sun Apr 17 15:56:09 EDT 2011


Le 17 avr. 2011 à 21:48, Lee D. Witt a écrit :
> Have you tried "alignat"? You specify the number of "columns" to align. If you want to align n columns use 2n-1 &s
> 
\begin{alignat}{5}
u      &=0 & \quad\text{or}\quad  && u+4    &=0  & \quad\text{or}\quad  && u-4    &=0 \\
u      &=0 &&&                       u      &=-4 &&&                       u      &=4 \\
\log x &=0 &&&                       \log x &=-4 &&&                       \log x &=4
\end{alignat}

Bruno

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20110417/3be62fe8/attachment.html>


More information about the MacOSX-TeX mailing list