您的位置:首页 > 其它

LaTeX技巧205:使用split输入多行公式技巧

2016-06-14 12:27 531 查看
我们在输入多行公式的时候,split,array,multiline,align,aligned等等都是我们可以选用的环境,这里介绍split的使用方法。
演示效果图:




演示代码:
\documentclass{article}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{330.59894pt}
\usepackage{CJK}
\usepackage{amsmath}
\newcommand\relphantom[1]{\mathrel{\phantom{#1}}}
\newcommand\ve{\varepsilon} \newcommand\tve{t_{\varepsilon}}
\newcommand\vf{\varphi} \newcommand\yvf{y_{\varphi}}
\newcommand\bfE{\mathbf{E}}
\begin{CJK}{GBK}{song}
\begin{document}
\begin{equation}
\begin{split}
(a + b)^4
&= (a + b)^2 (a + b)^2 \\
&= (a^2 + 2ab + b^2)
(a^2 + 2ab + b^2) \\
&= a^4 + 4a^3b + 6a^2b^2 + 4ab^3 + b^4
\end{split}
\end{equation}

\begin{equation}
\begin{split}
(a + b)^3 &= (a + b) (a + b)^2 \\
&= (a + b)(a^2 + 2ab + b^2) \\
&= a^3 + 3a^2b + 3ab^2 + b^3
\end{split}
\end{equation}

\begin{equation} \begin{split}
f_{h, \ve}(x, y)
&= \ve \bfE_{x, y} \int_0^{\tve} L_{x, \yvf(\ve u)} \vf(x) \,du \\
&= h \int L_{x, z} \vf(x) \rho_x(dz) \\
&\relphantom{=} {} + h \biggl[
\frac{1}{\tve}
\biggl( \bfE_{y} \int_0^{\tve} L_{x, y^x(s)} \vf(x) \,ds
- \tve \int L_{x, z} \vf(x) \rho_x(dz) \biggr) + \\
&\relphantom{=} \phantom{{} + h \biggl[ }
\frac{1}{\tve}
\biggl( \bfE_{y} \int_0^{\tve} L_{x, y^x(s)} \vf(x) \,ds
- \bfE_{x, y} \int_0^{\tve} L_{x, \yvf(\ve s)}
\vf(x) \,ds \biggr) \biggr]
\end{split} \end{equation}

\end{CJK}
\end{document}

from: http://blog.sina.com.cn/s/blog_5e16f1770100groj.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: