使用这个 MWE,我尝试重新创建一个tabularx
表tabulary
(C
列类型为内置):
\documentclass{article}
\usepackage{tabularx}
\usepackage{tabulary}
\begin{document}
\begin{tabularx}{\linewidth}{|>{\centering\arraybackslash}X|}
\hline
tabularx \\
\hline
\end{tabularx}
\begin{tabulary}{\linewidth}{|C|}
\hline
tabulary \\
\hline
\end{tabulary}
\end{document}
但tabulary
表中没有linewidth
。我做错了什么?