May 17, 2007

Latex-case环境

case环境专门用于排版左侧带有花括号的方程组,例如:

\begin{equation}
f(x)=
\begin{cases}
1    &   -1<x<1 \\
0   &   others
\end{cases}
\end{equation}

输出公式居中,并自动编号。
同样,在equation后面加上*则取消自动编号。

【参考文献】
1.陈志杰等,LATEX入门与提高(第二版),高等教育出版社,2006.5

No comments:

Post a Comment