Line break in Latex table

The table content is too long and needs to be wrapped.
Macro package:

\usepackage{makecell}

Instructions

\begin{center}
	\tabcaption{表格}
	\label{tab:2}
	\renewcommand\tabcolsep{7pt}%调整表格长度
	\begin{tabular}
{cccccccccc}\toprule
        参数&参数&\makecell{最大\\数值} \\
		 $a$&$b$&$c$\\\midrule
		 1&1&2\\
		\bottomrule
\end{tabular}\end{center}

Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/iii66yy/article/details/132646712