答案1
答案2
{NiceTabular*}
不等同于{tabularx}
(同名包的)但等同于标准{tabular*}
(当然效率较低)。因此,中没有X
列{NiceTabular*}
。
\documentclass{article}
\setlength{\parindent}{0pt}
\usepackage{nicematrix}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\begin{NiceTabular*}{\linewidth}{@{\extracolsep{\fill}}ccccc}
one & two & three & four & five \\
six & seven & eight & nine & ten \\
eleven & twelve & thirteen & fourteen & fifteen
\end{NiceTabular*}
\end{document}