[OS X TeX] Using align with "or"
Eric van der Oord
eric.vanderoord at gmail.com
Sun Apr 17 15:32:26 EDT 2011
Could :
\usepackage{amsmath}
\[
\begin{array}{lclcl}
u=0& \text{or} & u+4=0 & \text{or} & u-4=0 \\
u=0& & u=-4 & & u=4 \\
\log x=0& & \log x=-4 & & \log x=4
\end{array}
\]
do ?
Eric
Le 17 avr. 2011 à 20:55, David Arnold a écrit :
> All,
>
> I have such a hard time figuring out how to use the align environment (or alternative) to align the solution of u(u+4)(u-4)=0 and the like.
>
> I want the first line to read:
>
> u=0 or u+4=0 or u-4=0
>
> And the second line to read, that is, I want the "or's" removed.
>
> u=0 u=-4 u=4
>
> Ensuing lines are:
>
> \log x=0 \log x=-4 \log x=4
>
> Etc.
>
> I can never figure out how many &'s to use and where to put them so that this will work. Any suggestions?
>
> Thanks.
>
> D.----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
More information about the MacOSX-TeX
mailing list