Related: Alignment of equals sign in multiple align environments
I have 4 equations that I manipulate. Each equation should be in their own subequation environment (that is, manipulation steps should not be receive a new equation number, but a), b), ... instead.
I'd like to be those 4 manipulations blocks aligned with each other. The related answer above achieves this by planting everything inside one big align environment. However, then I get consecutive numbers as a label (1, 2, 3, 4... and not 1.a 1.b ... 2.a 2.b .... )
Example (not aligned with each other):
\begin{subequations}
\begin{align}
R_1&=(a+b)^2 - 2ab\\
&=a^2+2ab + b^2 - 2ab\\
&=a^2+b^2
\end{align}
\end{subequations}
\begin{subequations}
\begin{align}
R_2&=(a+b)(a-b)\\
&=a^2 + ab - ab + b^2\\
&=a^2 + b^2
\end{align}
\end{subequations}
I tried to nest multiple subequations within an align environment, but that printed equation (verbatim in italics) instead of my actual formula. I also tried to throw everything into one subequations environment and manipulate the equation numbering with addtocounter
but that only affected equations thereafter.