@joyphys
2015-07-15T09:49:01.000000Z
字数 2701
阅读 1801
Blog
带编号的公式:
\begin{equation}
E = mc^2
\end{equation}
不带编号公式:
\begin{equation*}
E = mc^2
\end{equation*}
分行公式:
\begin{equation}
\begin{split}
a& =b+c-d\\
& \quad +e-f\\
& =g+h\\
& =i
\end{split}
\end{equation}
带编号多行公式:
\begin{multline}
a+b+c+d+e+f+g\\
M+N+O+P+Q\\
R+S+T\\
u+v+w+x+y+z
\end{multline}
不带编号多行公式:
\begin{multline*}
a+b+c+d+e+f+g\\
M+N+O+P+Q\\
R+S+T\\
u+v+w+x+y+z
\end{multline*}
带编号多行公式:
\begin{multline}
a+b+c+d+e+f+g\\
M+N+O+P+Q\\
R+S+T\\
u+v+w+x+y+z
\end{multline}
带编号多个方程居中对齐
\begin{gather}
a_1=b_1+c_1\\
a_2=b_2+c_2-d_2+e_2
\end{gather}
不带编号多个方程居中对齐
\begin{gather*}
a_1=b_1+c_1\\
a_2=b_2+c_2-d_2+e_2
\end{gather*}
带编号多个方程控制对齐
\begin{align}
a_1& =b_1+c_1\\
a_2& =b_2+c_2-d_2+e_2
\end{align}
\begin{align}
a_{11}& =b_{11}& a_{12}& =b_{12}\\
a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22}
\end{align}
不带编号多个方程控制对齐
\begin{align*}
a_1& =b_1+c_1\\
a_2& =b_2+c_2-d_2+e_2
\end{align*}
\begin{align*}
a_{11}& =b_{11}& a_{12}& =b_{12}\\
a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22}
\end{align*}