Latex - \align* 环境中的多列

发布于 2024-09-26 15:55:28 字数 1456 浏览 0 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寂寞笑我太脆弱 2024-10-03 15:55:28

\begin{align*}
  1 & 2 & 3 & 4 & 5 \\
  \omit\rlap{Some text that I want to appear here...}\\
  7 & 8 & 9 & 10 & 11 & 12
\end{align*}

一般来说,作为类似对齐环境中的 \multicolumn 的替代品,人们可以尝试使用 \multispan 进行实验,但在这种情况下它似乎会严重干扰对齐。


\begin{align*}
  1 & 2 & 3 & 4 & 5 \\
  \omit\rlap{Some text that I want to appear here...}\\
  7 & 8 & 9 & 10 & 11 & 12
\end{align*}

Generally, as a replacement for \multicolumn within align-like environments, one could try to experiment with \multispan, but it seems to interfere badly with the alignment in this case.

慕巷 2024-10-03 15:55:28

显然在数学模式下,用于水平对齐的命令 \llap 和 \rlap 不起作用。 mathtools 包提供了 \mathllap 和 \mahrlap,它们确实可以在那里工作。

资料来源:这篇文章

Apparently in math mode, the commands \llap and \rlap for horizontal alignment don't work. The package mathtools provides \mathllap and \mathrlap, which do work there.

Source: this post.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文