我正在使用 tabulary 包来创建表格(无法使用其他表格包,因为文档中的其他地方都使用了 tabulary)。但出于某种原因,我无法将列表放在多列中。这是我的 MWE:
\documentclass[a4paper,12pt]{book}
\usepackage{tabulary}
\begin{document}
The following is random text for checking table containing itemize with multicolumn
\\
\begin{center}
\begin{tabulary}{\textwidth}{|p{4cm}|p{6.5cm}|p{6cm}|}
\hline
Text in col1
&
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
& Text in col 3. \\ \hline
\multicolumn{3}{|c|}{
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
}\\ \hline
\end{tabulary}
\end{center}
\end{document}
Itemize 在常规列中工作正常,但在多列中则不行。错误是:
Runaway argument? { \begin {itemize} \item item 1 \item item 2 \end {itemize}
! Paragraph ended before \multicolumn was complete.
我究竟做错了什么?