I want to achieve something like the following (for now achieved using Microsoft Paint):
That is, I want to group a number of multi-line equations within a single equation-type environment (i.e. they have the same number) and have each one aligned like in the "multline"-environment (first line left-aligned, last line right-aligned). Is this possible?
Best Answer
The
\shoveleft
and\shoveright
commands allow to flush left or right the equations of amultline
environment.Addendum
As pointed out by @barbara beeton, the position of the equation number is ambiguous. This can be solved by using the subsidiary environment
multlined
provided bymathtools
inside anequation
(first proposed by @egreg). This approach also benefits from the improved spacing of theequation
environment.