I'm trying to type a nice looking long sum of functions:

I managed to do it with combination of flalign* and \mspace:
\begin{flalign*}
f(a+h)-f(a)=&f(a_1+h_1,\dots\mspace{25mu}\dots,a_n+h_n)-f(a_1,\dots\mspace{120mu}\dots,a_n)=\\
=&f(a_1+h_1,a_2+h_2,\dots\mspace{1mu}\dots,a_n)-f(a_1,a_2,\dots\mspace{95mu}\dots,a_n)+\\
+&f(a_1+h_1,a_2+h_2,a_3,\dots,a_n)-f(a_1+h_1,a_2,\dots\mspace{55mu}\dots,a_n)+\\
&\dots\\
+&f(a_1+h_1,\dots\mspace{24mu}\dots,a_n+h_n)-f(a_1+h1,\dots,a_{n-1}+h_{n-1},a_n)\\
\end{flalign*}
I'm pretty happy with what I got, but here's my question: is it possible to make right brackets place themselves automatically in the right place? \phantom could help, if not for a_n+h_n instead of a_n bit. And is it possible to use another & pointer (say, &2), to mark the line of "-"s?
On the side note: how come this whole "reputation" does not allow me to make new tags? Aren't they suppose to, you know, HELP people?




&before equals signs and pluses, and add{}before any plus that begins a line and after any plus that ends a line. for some reasons, look at the answers to this question. – barbara beeton Oct 12 '12 at 20:13