I have been given a book which contains many code blocks like the below
Code: Select all
\begin{flalign*}
a_{11}& =b_{11}&
a_{12}& =b_{12}\\
a_{21}& =b_{21}&
a_{22}& =b_{22}+c_{22} \label{one} \label{two}
\end{flalign*}
containing more than one labels. This results to an error
Code: Select all
! Package amsmath Error: Multiple \label's: label 'one' will be lost.
I have no idea why they have used two labels to reference the same equation, but I have to figure out a way to "link" the second label to the first in order to avoid replacing every second label in all over the book.
Any suggestions?