2019-08-17 17:44发布
三线表要用那个包呢?怎么调出来?
\documentclass{ctexart}
\usepackage{booktabs}
\begin{document}
由\textbackslash booktabs宏包支持,科技论文常用的三线表,居中显示配标题:
\begin{table}[h]
\centering
\caption{三线表} \vspace{3pt}
\begin{tabular}{cccc}
\toprule % 绘制第一条线
1 & 2 & 3 & 4 \\ \midrule
1 & 2 & 3 & 4 \\
1 & 2 & 3 & 4 \\ \bottomrule
\end{tabular}
\end{table}
\end{document}
最多设置5个标签!
\documentclass{ctexart}
\usepackage{booktabs}
\begin{document}
由\textbackslash booktabs宏包支持,科技论文常用的三线表,居中显示配标题:
\begin{table}[h]
\centering
\caption{三线表} \vspace{3pt}
\begin{tabular}{cccc}
\toprule % 绘制第一条线
1 & 2 & 3 & 4 \\ \midrule
1 & 2 & 3 & 4 \\
1 & 2 & 3 & 4 \\ \bottomrule
\end{tabular}
\end{table}
\end{document}
一周热门 更多>