gpt4 book ai didi

Latex - align* 环境中的\multicolumn

转载 作者:行者123 更新时间:2023-12-04 02:06:20 26 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

7年前关闭。




Improve this question




我想在 align* 环境中有一个\multicolumn 之类的效果,如下面的代码片段(不起作用)所示。即,我希望文本与最左边的列对齐,但它不应该影响等式的对齐特性。\intertext{...} 不幸的是将所有内容都刷新到左边距,即使方程居中。

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

我该如何做到这一点?

非常感谢提前!

最佳答案


\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 的替代品在类似 align 的环境中,可以尝试使用 \multispan 进行试验。 ,但在这种情况下它似乎严重干扰了对齐。

关于Latex - align* 环境中的\multicolumn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3882236/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com