在 tabularx 中使用 \big 自动换行

在 tabularx 中使用 \big 自动换行

我的标签如下:

\documentclass{book}
\usepackage{tabularx}

\begin{document}

\begin{tabularx}{1\linewidth}{@{}cX}
(66.0) & [ S [NP [N$_p$ Bill ] ] [VP [V$_i$ sat ]
[PP [P behind ] [NP [Dt the ]
           [N$_c$ [AP [A first ] ] [N$_c$ chair ] ]
           ] ] ] ] .\\[1ex]

(66.1) & [S [NP [N$_p$ Bill ] ] [VP [V$_i$ sat ] [PP [P behind ] [NP
         [Dt the ] [N$_c$ [N$_c$ chair ]
[PP [P behind ] [NP [Dt the ]
               [N$_c$ [AP [A first ] ] [N$_c$ chair ] ] ] ] ] ] ] ] ].\\[1ex]

(66.2) &[S [NP [N$_p$ Bill ] ] [VP [V$_i$ sat ] [PP [P behind ] [NP
         [Dt the ] [N$_c$ [N$_c$ chair ] [PP [P behind ] [NP [Dt the ]
         [N$_c$ [N$_c$ chair ] [P behind ] [NP [Dt the ] [N$_c$
         [AP [A first ] ] [N$_c$ chair ] ] ] ]
         ] ] ] ] ] ] ].\\[1ex]
 $\vdots$ & $\vdots$
\end{tabularx}

\vspace*{2pc}

\begin{tabularx}{1\linewidth}{@{}cX}
(66.0) & \big[S \big[NP [N$_p$ Bill ] \big] \big[VP [V$_i$ sat ]
\big[PP [P behind ] \big[NP [Dt the ] \big[N$_c$ \big[AP [A first ] \big] [N$_c$ chair ] \big]
           \big] \big] \big] \big] .\\[1ex]

(66.1) & \big[S \big[NP [N$_p$ Bill ] \big] \big[VP [V$_i$ sat ] \big[PP [P behind ] \big[NP
         [Dt the ] \big[N$_c$ [N$_c$ chair ]
 \big[PP [P behind ] \big[NP [Dt the ]
               \big[N$_c$ \big[AP [A first ] \big] [N$_c$ chair ] \big] \big] \big] \big] \big] \big] \big] \big].\\[1ex]

(66.2) & \big[S \big[NP [N$_p$ Bill ] \big] \big[VP [V$_i$ sat ] \big[PP [P behind ] \big[NP
         [Dt the ] \big[N$_c$ [N$_c$ chair ] \big[PP [P behind ] \big[NP [Dt the ]
         \big[N$_c$ [N$_c$ chair ] [P behind ] \big[NP [Dt the ] \big[N$_c$
         \big[AP [A first ] \big] [N$_c$ chair ] \big] \big] \big]
         \big] \big] \big] \big] \big] \big] \big].\\[1ex]
 $\vdots$ & $\vdots$
\end{tabularx}

\end{document}

输出如下:

在此处输入图片描述

如果我在\big方括号前引入,它会自动中断,但它应该像第一个表格一样与文本一起运行。请提出建议...

答案1

(重新发布评论作为完整答案,以便该查询可以被标记为已回答)

\big应在数学模式下使用。如果将\big[和的所有实例分别更改\big]$\big[$$\big]$,则不会遇到任何不合适的换行符。

哦,一定要采纳 David Carlisle 的建议,\noindent在之前立即插入\begin{tabularx}{...}{...}

相关内容