Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}
x_1 &= 5\\
x_2 &= 7\\
x_3 &= 10\\
\end{alignat*}
\end{document}
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}
x_1 &= 5\\
x_2 &= 7 &\qquad \mbox{a loooooooooooooooong comment}\\
x_3 &= 10\\
\end{alignat*}
\end{document}
It's the only one with a comment so it seems silly that it takes away the focus from the equations themselves