【问题标题】:LaTeX formula with columns带列的 LaTeX 公式
【发布时间】:2014-11-25 23:28:49
【问题描述】:

基于此来源的信息 - http://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics

我试图在方程中有 3 列:

<math>
\begin{align}
f(x) & = h(&x, y)\\
& = G(&x, y,\\
& &z)
\end{align}
</math>

让 x 和 z 对齐,但它没有对齐...

我正在和wikipedia sandbox 争吵。

【问题讨论】:

    标签: latex


    【解决方案1】:

    您应该使用array 来正确实现多个对齐点。此外,一些间距调整(\! 是负数学空间)使显示看起来更好:

    <math>
    \begin{array}{rll}
      f(x) &\!\!\! = h(&\!\!\!\! x, y) \\
           &\!\!\! = G(&\!\!\!\! x, y, \\
           &\!\!\!     &\!\!\!\! z)
    \end{array}
    </math>
    

    【讨论】:

    • 请下次添加评论,否则不通知。谢谢你;-)
    猜你喜欢
    • 2020-02-21
    • 1970-01-01
    • 1970-01-01
    • 2015-07-22
    • 1970-01-01
    • 1970-01-01
    • 2011-02-14
    • 2020-07-23
    • 1970-01-01
    相关资源
    最近更新 更多