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

我们在输入多行公式的时候,split,array,multiline,align,aligned等等都是我们可以选用的环境,这里介绍split的使用方法。
演示效果图:
LaTeX技巧205:使用split输入多行公式技巧

演示代码:
documentclass{article}
pagestyle{empty}
setcounter{page}{6}
setlength extwidth{330.59894pt}
usepackage{CJK}
usepackage{amsmath}
ewcommand elphantom[1]{mathrel{phantom{#1}}}
ewcommandve{varepsilon}   ewcommand ve{t_{varepsilon}}
ewcommandvf{varphi}       ewcommandyvf{y_{varphi}}
ewcommandfE{mathbf{E}}
egin{CJK}{GBK}{song}
egin{document}
egin{equation}
 egin{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}

egin{equation}
 egin{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}


egin{equation} egin{split}
  f_{h, ve}(x, y)
    &= ve fE_{x, y} int_0^{ ve} L_{x, yvf(ve u)} vf(x) \,du  \
    &= h int L_{x, z} vf(x) ho_x(dz)                             \
    & elphantom{=} {} + h iggl[
       frac{1}{ ve}
       iggl( fE_{y} int_0^{ ve}  L_{x, y^x(s)} vf(x) \,ds
               - ve int L_{x, z} vf(x) ho_x(dz)      iggr) + \
    & elphantom{=} phantom{{} + h iggl[ }
       frac{1}{ ve}
       iggl( fE_{y} int_0^{ ve}  L_{x, y^x(s)} vf(x) \,ds
               - fE_{x, y} int_0^{ ve} L_{x, yvf(ve s)}
                                            vf(x) \,ds    iggr) iggr]
end{split} end{equation}

end{CJK}
end{document}

from: http://blog.sina.com.cn/s/blog_5e16f1770100groj.html

原文地址:https://www.cnblogs.com/GarfieldEr007/p/5583643.html