If I want to achieve something like the following:
where the text before the equaions is left-justified, how can I do that? So far I've been using stuff like
\llap{ Which gives us \hspace{3cm}} f;g;h = fg;h = fgh = f;gh
where I have to tweak the amount of hspace each time. I'm often, but not always, doing this inside the gather environment.
I suppose I could make an array with lcc columns, and put some \hfill in the left column, but how do I tell it to center the line on the middle column?


\hspace{3cm}within\rlapdoes nothing. Try anflalignenvironment, with the text in the first column, and the math alignment in the middle column. But why don't you simply use\(short)intertext? – Bernard Nov 14 '16 at 02:11\intertextis used (or\shortintertextfrommathtools). of course, that puts the text on a separate line. – barbara beeton Nov 14 '16 at 02:12\llap. Is there a way not to put the text on a separate line? – Eric Auld Nov 14 '16 at 02:13\llapshould be used only at the right margin. – Bernard Nov 14 '16 at 02:39\rlapshouldn't be used at the right margin – it creates a left-aligned box of width 0pt, so that its contents is written in the right margin. – Bernard Nov 14 '16 at 09:34