三线表的调用

2019-08-17 17:44发布

三线表要用那个包呢?怎么调出来?

三线表要用那个包呢?怎么调出来?

4条回答
兰铃 - 渔舟唱晚
2019-08-17 20:24

\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}



一周热门 更多>