zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    php filter 安全过滤函数
    python常用快捷键
    【python】详解time模块功能asctime、localtime、mktime、sleep、strptime、strftime、time等函数以及时间的加减运算
    linux VIM基本命令
    vim常用命令总结 (转)
    sklearn中的交叉验证(Cross-Validation)
    scikit-learn 0.18中的cross_validation模块被移除
    python logging模块
    随机森林参数理解与调优
    kaggle 欺诈信用卡预测——Smote+LR
  • 原文地址:https://www.cnblogs.com/GarfieldEr007/p/5583643.html
Copyright © 2011-2022 走看看