Up to now, I use the align
environment. As I want to give each equation a specific reference number, I want to use the equation
environment. So I tried this, which works for align
:
\begin{equation}
x &=2 \\
&=1+1
\end{equation}
But this throws errors. Why doesn't it work?
Of course, I've searched for similar questions but there was no question out there, that handles specific this issue. (It was always very complex code; no minimal example)
Best Answer
OK, the answer is trivial and has already been given in the comments, but since you insist on asking for a minimal working example (boldfaced :-), here it is: