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
\begin{flalign}
&aaaa & bbb &= cccccc && = d\\ &ee & f &= g && = hh
\end{flalign}
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?
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).
\halign
s under the hood (read: tables).