绘制三线表
Latex 三線表 及設(shè)置列數(shù)
繪制三線表:
\begin{table}[htbp]\caption{\label{tab:test}示例表格}\begin{tabular}{lcl}\toprule。。 & 。。 & 。。 \\\midrule。。 & 。。 & 。。 \\。。 & 。。 & 。。 \\。。 & 。。 & 。。 \\\bottomrule\end{tabular} \end{table}上述代碼通過\begin{tabular}{lcl}設(shè)置了三列,第一列居左(l),第二列居中?,第三列居左(l)。
如果需要改為四列,同時每一列都居中顯示,那么通過設(shè)置代碼\begin{tabular}{cccc}即可實(shí)現(xiàn)該效果。以此類推。
原博客
https://www.cnblogs.com/qq952693358/p/8452803.html
總結(jié)
- 上一篇: DOS下操作注册表
- 下一篇: C语言指针(基础篇)