Using the flush left align environment flalign

When using the flalign, I either get LHS and the = on te far left and the RHS on the far right.

\begin{flalign}
x & = & 1
\end{flalign}


Or I the equation centers itself when I try

\begin{flalign}
x & = 1
\end{flalign}


How can I get everything on the LHS?

• Do you want all your equations to be flushed left? – Gonzalo Medina Jun 14 '13 at 5:13
• @GonzaloMedina yes for this set but not everyone in the doc. – dustin Jun 14 '13 at 5:15
• flalign means “full length align”, not “flush left” – egreg Jun 14 '13 at 9:55

Add an alignment character at the end:

\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\begin{document}
\begin{flalign}
f(x) &= ax^2 + bx + c
\end{flalign}
\begin{flalign}
f(x) &= ax^2 + bx + c &
\end{flalign}
\end{document}


Note that in a regular alignment, you only use a single & around the relation you wish to align with.

To have all equations flush left, add the fleqn option to your document class (or the packages that use it, like amsmath):

\documentclass[fleqn]{article}

• One thing I noticed that I don't like about it compared with tabbing is the right alignment of the expression on the LHS of th =. Can this be aligned in the same manner as tabbing with a left justification? – dustin Jun 14 '13 at 5:28
• @dustin: See the update in Labeling equations or the use of subequations on how to obtain your tabbing-like alignment. – Werner Jun 14 '13 at 14:18