To typeset a collection of equations with alignment, I am using align* from amsmath. Some of these equations have right-hand sides that have multiple lines that should be indented. So far I am using a nested aligned environment and \MoveEqLeft from the mathtools package:
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{align*}
x+y &= z+w \\
a &= \begin{aligned}[t]
\MoveEqLeft[0.5]
b+c+d \\
&+e+f \\
&+g+h+i+j
\end{aligned}
\end{align*}
\end{document}
The problem is that the aligned environment seems to introduce extra horizontal space to the left (and possibly on the right as well). How can I eliminate the extra space from aligned?
I am open to other solutions that might avoid aligned, but I do not want to need to manually insert spaces to indent the lines.
\!\begin{aligned}will remove the space. There's no space added at the end. – egreg Oct 17 '13 at 16:46