latex表格代码

 基本代码

 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,可以加|
 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

猜你喜欢

转载自www.cnblogs.com/cpsmile/p/9577078.html