When you use fleqn
and leqno
and assign your own equations tags with \tag
to equations in environments such as gather
and align
and you assign a tag with a certain length, then there's a line break after the tag. Given the same condition except that environment equation
is used instead does not cause line breaks. How can I avoid the line breaks in the former case?
\documentclass[fleqn,leqno]{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
\tag{one}
1+1=2 \\
\tag{two}
2+2=4
\end{gather}
\begin{equation}
\tag{three}
1+1=2
\end{equation}
\end{document}
fleqn
andleqno
.\mathindent
as wide as necessary in order to accommodate all your tags and leave sufficient space to avoid ambiguities.