1. 表格的用法
1.2表格的格式代码
- 起始命令:
\begin{specialtable}[H] \end{specialtable}
- 居中命令(默认值是靠左):
\centering
- 字号大小设置命令:
\small
- 表格说明:
\caption {}
- 给表格打上饮用标签:
\label{}
- 开始绘制表格:
\begin{tabular}{ccc} \end{tabular}
- 表格上顶线:
\toprule
- 表格中线:
\midrule
- 表格底线:
\bottomrule
\begin{ specialtable}[H]
\centering
\small
\caption{ This table illustrate the size and channels of the output feature maps for each subnet.\label{ tab1}}
\setlength{ \tabcolsep}{ 16mm}{
\begin{ tabular}{ ccc}
\toprule
\textbf{ Branch} & \textbf{ Channels} & \textbf{ Size/Pixel}\\
\midrule
Branch 1 & 32 & 64*64\\
Branch 2 & 64 & 32*32\\
Branch 3 & 128 & 16*16\\
Branch 4 & 256 & 8*8\\
\bottomrule
\end{ tabular}
}
\end{ specialtable}
1.2 引用表格代码
Table~\ref{tab1}
1.3 效果图
- 表格效果
- 表格引用效果
2 表格大小调整
- 代码:
\setlength{\tabcolsep}{7mm}{XXXXX} (需要把XXXXX替换为 \begin{tabular}{ccc} \end{tabular})