I have the following align
enviroment:
\documentclass[12pt]{memoir}
\usepackage{amsmath}
\begin{document}
Here we see
\begin{align}
\text{cat} &= \text{dog}\\
\text{dog} &= cute
\intertext{and if we remove}
\text{dog}\\
\intertext{we get}
\text{cat} &= cute
\end{align}
\end{document}
Which creates:
How do I center equation 3 while keeping everything else aligned? I can get close by putting in an &
in the real equation, but it's still not perfectly centered.
Best Answer
With the
gathered
environment. Better usingmathtools
instead ofamsmath
(it's an extension that loadsamsmath
and fixes two bugs in it). Here is how: