This question is basically a combination of two previous posts: How can I add left aligned text to an equation? and AMS align / Align multiple “=”, too much space (the latter being my own question).

What I need is a multicolumn align, as discussed (and solved) in the second post linked above, plus a left aligned label (text and/or math), as discussed in the first post. And if possible some indent for the left aligned text would be nice. So, basically, an itemized list with custom text/math instead of bullets and nicely aligned equations as items...

I tried

 &aaaa & bbb &= cccccc && = d\\    &ee & f &= g && = hh

and that gives me the left aligned labels and the other stuff aligned at the equal signs. But the third column is flushed all the way to the right. I guess that's the feature of flalign. Or am I doing something wrong here?

enter image description here

So: how can I get the desired format? Is there a way to combine flalign and alignat? Or are there other ways to do this? (I guess tables, etc. wouldn't really work here).


It is a bit tricky...


    \rlap{aaaa}\\    \rlap{ee}
    bbb &= cccccc &= d\\[\jot]
    f   &= g      &= hh   
    \refstepcounter{equation}(\theequation)\\   \refstepcounter{equation}(\theequation)


enter image description here

| improve this answer | |
  • Not bad, but the horizontal alignment is not OK. I guess you need some struts. (And I think the OP really wants left aligned labels; this also comes out if you compile his code.) – Hendrik Vogt Feb 4 '11 at 21:43
  • @Hendrik: thanks, the \jot was missing ... – user2478 Feb 4 '11 at 21:52

Since alignat allows you to specify the spacing, what about:

 &aaaa \qquad\qquad& bbb &= cccccc && = d\\
 &ee & f &= g && = hh

Not perfect (the labels are not left flushed) but...

Another solution is to replace the normal equation numbering by your labels:

\tag*{aaaa}   bbb &= cccccc && = d\\
\tag*{ee}   f &= g && = hh

EDIT: note that the latest solution requires to pass the leqno option to the amsmath package...

| improve this answer | |

Your Answer

