2

I'd like the (a) and (b) to be flushed to the left of the page, while "1+1=2" and "1+2=3" still remained aligned at the center of the page. What should I do?

Code:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{2}
(a) &  & 1+1 & =2.\\
(b) &  & 1+2 & =3.
\end{alignat*}
\end{document}

Output:

enter image description here

  • 1
    use \tag{(a)} (or better just use align and let the automatic numbering add (a) and use the leqno package option so that comes on the left – David Carlisle Apr 13 '18 at 07:47

1 Answers1

1

It looks like what you actually want are custom equation numbers on the left. To archive this, you can give the leqno option to amsmath to put all equation numbers on the left. (If you also want some equation number on the right, Tag placing with amsmath shows how to change this in some parts of a document. Then you can set the actual number/character/tag with \tag{...}:

\documentclass{article}
\usepackage[leqno]{amsmath}
\begin{document}
\begin{alignat*}{2}
\tag{a} 1+1 & =2.\\
\tag{b} 1+2 & =3.
\end{alignat*}
\end{document}

enter image description here