MWE:

\documentclass[10pt]{article}

\usepackage{amsmath}

\begin{document}

\usepackage{tabularx}

\begin{center}

\begin{tabular}{|l|l|l|l|l|}

\hline   monomial($Y_i$)      & i  & $SU(n)$ & ~ & ~ \\ \hline

    $ i\langle  V^{\mu\nu}\{u^\mu u^\nu,u^\alpha u^\alpha\} \rangle$ & 1  & 4       & $i V^{\alpha} \left(-\nabla^{\mu}{u^{\mu}} u^{\alpha} u^{\nu} u^{\nu}-u^{\mu} \nabla^{\mu}{u^{\alpha}} u^{\nu} u^{\nu}-u^{\alpha} u^{\mu} \nabla^{\nu}{u^{\nu}} u^{\mu}-u^{\mu} u^{\mu} u^{\nu} \nabla^{\nu}{u^{\alpha}}+\nabla^{\mu}{u^{\alpha}} u^{\mu} u^{\nu} u^{\nu}+u^{\alpha} \nabla^{\mu}{u^{\mu}} u^{\nu} u^{\nu}+u^{\mu} u^{\mu} \nabla^{\nu}{u^{\alpha}} u^{\nu}+u^{\alpha} u^{\mu} u^{\mu} \nabla^{\nu}{u^{\nu}}\right)$ & ~ \\ \hline

\end{tabular}

\end{center}

\end{document}

    

我想让这段公式自动换行(不在乎是否对齐,只要达到一定的长度能自动换行即可)

2 回答2

0
<p></p><p>粗略扫了一下,看到了</p><pre class="brush:plain;toolbar:false">\left(&nbsp;\right)</pre><p>有了它们,在不在表格都不重要了,肯定不能换行啊。</p><p>稍微改一下给你:</p><pre class="brush:plain;toolbar:false">\documentclass[10pt]{article} \usepackage{amsmath} \usepackage{tabularx} \begin{document} \begin{tabular}{|l|l|l|p{0.3\linewidth}|l|} &nbsp;&nbsp;\hline &nbsp;&nbsp;monomial($Y_i$)&nbsp;&&nbsp;i&nbsp;&&nbsp;$SU(n)$&nbsp;&&nbsp;&nbsp;&&nbsp;\\ &nbsp;&nbsp;\hline &nbsp;&nbsp;$&nbsp;i&nbsp;\langle&nbsp;V^{\mu&nbsp;\nu}&nbsp;\{&nbsp;u^\mu&nbsp;u^\nu,&nbsp;u^\alpha&nbsp;u^\alpha&nbsp;\}&nbsp;\rangle&nbsp;$&nbsp;&&nbsp;1&nbsp;&&nbsp;4&nbsp;&&nbsp;$&nbsp;i&nbsp;V^{\alpha}&nbsp;\bigl(&nbsp;-\nabla^{\mu}&nbsp;u^{\mu}&nbsp;u^{\alpha}&nbsp;u^{\nu}&nbsp;u^{\nu}&nbsp;-&nbsp;u^{\mu}&nbsp;\nabla^{\mu}&nbsp;u^{\alpha}&nbsp;u^{\nu}&nbsp;u^{\nu}&nbsp;-&nbsp;u^{\alpha}&nbsp;u^{\mu}&nbsp;\nabla^{\nu}&nbsp;u^{\nu}&nbsp;u^{\mu}&nbsp;-&nbsp;u^{\mu}&nbsp;u^{\mu}&nbsp;u^{\nu}&nbsp;\nabla^{\nu}&nbsp;u^{\alpha}&nbsp;+&nbsp;\nabla^{\mu}&nbsp;u^{\alpha}&nbsp;u^{\mu}&nbsp;u^{\nu}&nbsp;u^{\nu}&nbsp;+&nbsp;u^{\alpha}&nbsp;\nabla^{\mu}&nbsp;u^{\mu}&nbsp;u^{\nu}&nbsp;u^{\nu}&nbsp;+&nbsp;u^{\mu}&nbsp;u^{\mu}&nbsp;\nabla^{\nu}&nbsp;u^{\alpha}&nbsp;u^{\nu}&nbsp;+&nbsp;u^{\alpha}&nbsp;u^{\mu}&nbsp;u^{\mu}&nbsp;\nabla^{\nu}&nbsp;u^{\nu}&nbsp;\bigr)$&nbsp;&&nbsp;\\ &nbsp;&nbsp;\hline \end{tabular} \end{document}</pre><p></p>
  • 忘了括号问题了 可以了 就是这样 谢谢 – gwhep 2019-09-07 11:58 回复
0
<p>MWE在何处?不知道MWE的话,请认真读置顶贴!</p>
  • 已经补上 以后尽量遵守规定 – gwhep 2019-09-07 12:01 回复

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。