I wanted to align a set of equations to left. I found on the Internet that you can do it easily with align*
environment.
I found it here: http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics
So I did it:
\begin{align*}
f(b)-f(a)=&f((b_1,b_2,\dots,b_k))-f((a_1,a_2,\dots,a_k))=\
&=\sum_{i=1}^{k}[f((a_1,\dots,a_{i-1},b_i,\dots, b_k))-f((a_1,\dots,a_i,b_{i+1},\dots, b_k))
\end{align*}
Unfortunately, I got bunch of red errors saying that there are missing $s. Why? Doesn't that align*
environment provide a math environment already?
Best Answer
You can't have blank lines within an
align
environment:Notes:
&=
as opposed to=&
.$
within analign
as that is already math mode.\Big[
and\Big]
to provide larger square brackets -- your right bracket was missing.Code: