LaTeX技巧205:使用split输入多行公式技巧
2016-06-14 12:27
531 查看
我们在输入多行公式的时候,split,array,multiline,align,aligned等等都是我们可以选用的环境,这里介绍split的使用方法。
演示效果图:
![](http://s14.sinaimg.cn/middle/5e16f17747c92f34df62d&690)
演示代码:
\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
演示效果图:
演示代码:
\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
相关文章推荐
- Maximal Square
- cocos-lua 定时器使用的2种方式
- Effective C++--条款02:尽量以const,enum,inline替换#define(以编译器替换预处理器)
- 常用正则表达式
- 运算符重载
- LaTeX技巧207:使用align环境输入多行公式的技巧
- 修正MYSQL错误数据的一个存储过程
- UWP控件与DataBind
- redis 一些常用命令
- URL编码的简单理解
- ListView onItemClick onItemLongClick
- 如何判断MSSQL数据库磁盘出现了瓶颈
- MeepoPS——轻量级 Socket 服务
- 文章标题 C语言实现单链表之逆置和逆序打印
- 面试题22 栈的压入、弹出序列
- 本机IIS的用法
- leetcode笔记--Contains Duplicate I & II & III
- 函数指针的定义和使用
- 数组类运算
- Springer LNCS LaTeX投稿模板使用方法 How to use the Springer LNCS LaTeX template