How can I align math in LaTeX (as typically seen in a proof)?
Specifically, I would like each successive line of math to align with
the same equal sign on the previous line (immediately above it).
Thank you!
Ray L.
NY, USA
Simplest solution is to use \begin{align} ... \end{align} environment
(or its starred version). You can declare what character to align
with. good luck.
Tariq
You could use the align environment in amsmath. You can use it similar
to a table, for example
\begin{align}
y &= 4x+6\\
&= 2x + 3
\end{align}
Cheers,
Patrick
Of course the math (if one could even call it that) made little sense in
the example, but I still hope it helped.
Cheers,
Patrick
or with amsmath
\begin{equation}
\begin{aligned}
a & = b \\
& = c \\
& = d.
\end{aligned}
\end{equation}
which centers a single equation number vertically, whereas with align
all lines are individually numbered by default, but the numbering can
be turned off for each individual line.
Sure it makes sense, the solution is x = -1.5, y = 0 :-).