赞
踩
The interpolation points of FEM
改为\tabincell{c}{The interpolation \\points of FEM}
,注意加了 \tabincell{c}{}关键字,且在需要换行的内容前加\\\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}} \begin{table}[H] \centering \caption{Test of this blog}\label{t11} \begin{tabular}{cccc} \toprule number & \tabincell{c}{ 11\\111 } & \tabincell{c}{22\\222 \\2222}& \tabincell{c}{33 \\333 \\3333}\\ \midrule 1 & 2 & 3 & 4 \\ \hline 2 & 2 & 3& 4 \\ \hline 3 & 2 & 3 & 4\\ \bottomrule \end{tabular} \end{table}
\begin{table}[H]
\centering
\caption{Test of this blog}\label{t11}
\begin{tabular}{p{30pt}p{40pt}p{40pt}p{40pt}}
\toprule
number & \tabincell{c}{ 11\\111 } & \tabincell{c}{22\\222 \\2222}& \tabincell{c}{33 \\333 \\3333}\\
\midrule
1 & 2 & 3 & 4 \\
\hline
2 & 2 & 3& 4 \\
\hline
3 & 2 & 3 & 4\\
\bottomrule
\end{tabular}
\end{table}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。