What is the "best LaTeX practices" for writing equations with multiple steps? Feel free to recommend packages that might help. Do these methods work just as well within an enumeration?
Here is what I currently do:
\documentclass{article}
\begin{document}
\begin{enumerate}
\item Using the previous property, $|\mathbf{x} + \mathbf{y}|^2$
\( = (\mathbf{x} \cdot \mathbf{y}) \cdot (\mathbf{x} \cdot \mathbf{y}) \)
\( = \sum_{i=1}^k (x_i + y_i)(x_i + y_i) \)
(by the definition of inner product
\( = \sum_{i=1}^k (x_i^2 + 2 x_i^{} y_i^{} + y_i^2) \)
\( = \mathbf{x} \cdot \mathbf{x} + 2 \mathbf{x} \cdot \mathbf{y} + \mathbf{y} \cdot \mathbf{y} \)
\( \leq |\mathbf{x} \cdot \mathbf{x}| + 2 |\mathbf{x} \mathbf{y}| + |\mathbf{y} \cdot \mathbf{y}| \)
\( \leq |\mathbf{x}| |\mathbf{x}| + 2 |\mathbf{x}| |\mathbf{y}| + |\mathbf{y}| |\mathbf{y}| \)
(by Property 4)
\( = (|\mathbf{x}| + |\mathbf{y}|)^2, \)
and since both sides are $\geq 0$, we can take the square root.
\end{enumerate}
\end{document}
The main problem is that, because of the enumerate environment, I can't indent each step of the equality, so that first term looks sort of separate...


alignnumbers the equation, whereasalign*does not. – yo' Feb 05 '12 at 23:21\shortintertextfrom themathtoolspackage as it gives better spacing. – Peter Grill Feb 06 '12 at 16:33