My question is really similar to "How to place and number 3 short equations in one line?", except that I have more than one line of equations. So basically, I'd like to continue using {gather}, but having numbers on the side of each equation.
Is there a means to do that?
Below I showing what I would like to get. And of course, I'd like to get some light syntax :)
Thanks!
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
x + 0 = x
\qquad
0 + x = x
\qquad
x + y = y + x
\\
x * 1 = x
\qquad
1 * x = x
\end{gather}
\begin{gather*}
x + 0 = x\quad(1)
\qquad
0 + x = x\quad(2)
\qquad
x + y = y + x\quad(3)
\\
x * 1 = x\quad(4)
\qquad
1 * x = x\quad(5)
\end{gather*}
\end{document}

