I am using amsmath, and I want to be able to break a mathematical derivation into multiple align environments while maintaining their collective alignment. In particular, I would like to horizontally align an entire derivation as though it were one align environment for the purposes of visual flow, so that when the derivation continues in the next align, the eye can easily follow from where it left off, despite arbitrary explanatory text at any point in the middle.
As far as I'm aware, aligning align environments in this fashion is not directly possible. Is there a simple modification that can be made or a straightforward package that can be used to effectively "link" multiple align environments into one?
MWE
\documentclass{article}
\usepackage{amsmath}
\begin{document}
This alternate derivation of the quadratic formula proceeds by first multiplying the equation by $4a$, rearranging, and adding $b^2$ to both sides:
\begin{align}
ax^2 + bx + c &= 0 \\
4 a^2 x^2 + 4abx + 4ac &= 0 \\
4 a^2 x^2 + 4abx &= -4ac \\
4 a^2 x^2 + 4abx + b^2 &= b^2 - 4ac
\end{align}
Then, having completed the square on the left-hand-side, factor it, take the square root, and solve for $x$:
\begin{align}
(2ax + b)^2 &= b^2 - 4ac \\
2ax + b &= \pm \sqrt{b^2-4ac} \\
2ax &= -b \pm \sqrt{b^2-4ac} \\
x &= \frac{-b \pm \sqrt{b^2-4ac}}{2a}
\end{align}
\end{document}
Output




alignenvironment for a paragraph? – Werner Jun 19 '13 at 23:37\intertext{}for explanatory text seems close to what I'm looking for, but what if I need a paragraph break somewhere in there? – Tim Parenti Jun 19 '13 at 23:42\paror a blank line you could use the (potentially dangerous) macro\endgraf: When is it better to use\parthan\endgraf? – Qrrbrbirlbel Jun 20 '13 at 00:17