When I use the following code to generate a simple equation array:
\begin{equation}
f(x)=\left \{\begin{array}{ll}
\frac{\pi-x}{2},\quad 0<x\leqslant 2\pi;\\
-\frac{\pi}{2},\quad x \text{are other points}
\end{array}
\right.
\end{equation}
Why the array overlaps a little bit? Is there anything wrong with the code?
I know I can use a \nicefrac{}{}
to change the second line, but still weird:
How would you guys generate a beautiful bracket at left in math mode?
Thanks.