9

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

enter image description here

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

Or I the equation centers itself when I try

enter image description here

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

How can I get everything on the LHS?

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

1 Answer 1

14

Add an alignment character at the end:

enter image description here

\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}
2
  • 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, 2013 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, 2013 at 14:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .