基本代碼
1 \begin{table}[!h] 2 \caption{Notations Used in Real-time Analysis.} 3 \label{table:notation} 4 \centering 5 \footnotesize %字體設置 6 \begin{tabular}{ll} %靠左,居中cc,靠右rr,可以加| 或者 {lp{6.6cm}} %超過6.6cm自動換行 7 \toprule %相當於\hline 8 Notation & Definition \\ 9 \midrule 10 \emph{buff} & The buffer depth for each virtual channel \\ 11 12 $t_r$ & The time to setup data path of start router \\ 13 14 \bottomrule 15 \end{tabular} 16 \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