This question is similar to a previous question about how to create two series of numbered equations in the same document. However, the proposed solution doesn't work for my question, because it increments the counter once in the environment. Instead, I need a solution that works with the align
environment. So, how can I work with two series of equation numbers using the align environment?
For example I need environments alignA
and alignB
that allow me to write:
\begin{alignA}
x &= 2*y \\
&= 3*z
\end{alignA}
\begin{alignB}
u &= 4*v \\
&= 5*w
\end{alignB}
That outputs equation numbers A1, A2, B1 and B2.
\documentclass{...}
and ending with\end{document}
.