I am using alignat
environment to align a set of equations which practically describe the same thing, but for different quantities. Therefore I decided to skip the common things and replace them with \cdots
, however I don't seem to be able to align them in the center.
Any idea to center the dots?
A sample code follows
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{alignat*}{4}
&\sigma(E) &=& \vec{\sigma(E)} = \big\{\sigma(E_1), \sigma(E_2), \cdots, \sigma(E_n)\big\} &=& \big\{\sigma_1, \sigma_2, \cdots, \sigma_n\big\}&\\
&C(E) &=&{\cdots}&=& \big\{C_1, C_2, \cdots, C_n\big\}&\\
\end{alignat*}
\end{document}
&=&
in AMS environments, just&=
=
has lost its relation spacing as the&=&
has made it lose the expression on the right.\vec{\sigma(E)}
?