表格中的自动换行功能在多列情况下不起作用

表格中的自动换行功能在多列情况下不起作用

为什么当我使用多列作为标题时,此表会溢出?如果没有多列,则第三列会换行,但如果使用多列则不会。

\documentclass{article}
\usepackage{tabulary}

\begin{document}
\begin{table}
\caption{\label{tab:models} Models of channel-independent perturbations under comparison.}
\begin{tabulary}{\linewidth}{lcL}
\multicolumn{1}{l}{Model} & \multicolumn{1}{c}{Abbreviation} & \multicolumn{1}{c}{Assumptions}\\
%Model & Abbreviation & Assumptions\\
\hline
Weighted mean & WM & $\Delta(r) = 0$\\
Micke-Mayer method & MM & $f(\Delta)$ uniform distribution, $\sigma_{k}$ are equal\\
Uniform distribution & UD & $f(\Delta)$ uniform distribution\\
Truncated normal distribution & TD & $f(\Delta)$ truncated normal distribution\\
\end{tabulary}
\end{table}
\end{document}

答案1

它必须是该包的一个特性。

这虽然有效

在此处输入图片描述

\documentclass{article}
\usepackage{tabulary}

\begin{document}
\begin{table}
\caption{\label{tab:models} Models of channel-independent perturbations under comparison.}
\begin{tabulary}{\linewidth}{lcL}
Model & Abbreviation &\centering Assumptions\tabularnewline
%Model & Abbreviation & Assumptions\\
\hline
Weighted mean & WM & $\Delta(r) = 0$\\
Micke-Mayer method & MM & $f(\Delta)$ uniform distribution, $\sigma_{k}$ are equal\\
Uniform distribution & UD & $f(\Delta)$ uniform distribution\\
Truncated normal distribution & TD & $f(\Delta)$ truncated normal distribution\\
\end{tabulary}
\end{table}
\end{document}

相关内容