基本代码
\begin{table}[!h]
\caption{Notations Used in Real-time Analysis.}
\label{table:notation}
\centering
\footnotesize %字体设置
\begin{tabular}{ll} %靠左,居中cc,靠右rr,可以加| 或者 {lp{6.6cm}} %超过6.6cm自动换行
\toprule %相当于\hline
Notation & Definition \\
\midrule
\emph{buff} & The buffer depth for each virtual channel \\ $t_r$ & The time to setup data path of start router \\ \bottomrule
\end{tabular}
\end{table}
Latex设置表格字体大小
\begin{table}[h]
\small %此处写字体大小控制命令
\begin{tabular}
\end{tabular}
\end{table}
Latex 设置字体大小命令由小到大依次为:
\tiny
\scriptsize
\footnotesize
\small
\normalsize
\large
\Large
\LARGE
\huge
\Huge
Latex下 字体大小命令 比较
size 10pt (default) 11pt option 12pt option
\tiny 5pt 6pt 6pt
\scriptsize 7pt 8pt 8pt
\footnotesize 8pt 9pt 10pt
\small 9pt 10pt 11pt
\normalsize 10pt 11pt 12pt
\large 12pt 12pt 14pt
\Large 14pt 14pt 17pt
\LARGE 17pt 17pt 20pt
\huge 20pt 20pt 25pt
\Huge 25pt 25pt 25pt
\tiny 5pt 6pt 6pt
\scriptsize 7pt 8pt 8pt
\footnotesize 8pt 9pt 10pt
\small 9pt 10pt 11pt
\normalsize 10pt 11pt 12pt
\large 12pt 12pt 14pt
\Large 14pt 14pt 17pt
\LARGE 17pt 17pt 20pt
\huge 20pt 20pt 25pt
\Huge 25pt 25pt 25pt