## Sunday, October 17, 2010

### asymmetric spacings at equal signs using package {cases} in Latex

It is quite annoying that the spaces between the equal sign are not equal if we use \begin{cases}\end{cases}  or \begin{array}\end{array} to produce the left curly bracket.

I found by chance that \begin{aligned} \end{aligned} can solve this problem perfectly. Thanks  amsmath package which gives such an command.

\begin{align}\label{DEs}\left\{
\begin{aligned}
\dot{x}(t) & = f(x(t), y(t)),\\
\dot{y}(t) & = g(x(t),\,y(t)).
\end{aligned}
\right.
\end{align}

Labels: