答案1
使用 插入更大的换行符\\[<len>]
。使用cases
需要同样增加换行符。但是,使用dcases
(来自mathtools
)效果更好:
\documentclass{article}
\usepackage{mathtools,amssymb}
\begin{document}
\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}
\begin{equation}
f(x) = \begin{cases}
\dfrac{\pi-x}{2}, & 0 < x \leqslant 2\pi; \\[2\jot]
-\dfrac {\pi} {2}, & \text{$x$ are other points}
\end{cases}
\end{equation}
\begin{equation}
f(x) = \begin{dcases}
\frac{\pi-x}{2}, & 0 < x \leqslant 2\pi; \\
-\frac {\pi} {2}, & \text{$x$ are other points}
\end{dcases}
\end{equation}
\end{document}