一.前言
在LaTex中插入表格,分爲兩類,雙欄跨欄和單欄。
二.技術實現
1.單欄插入表格,代碼如下:
\begin{table}
\label{tab:1} % Give a unique label
\begin{tabular*}{\tblwidth}{@{} LLLL@{} }
\toprule
Col 1 & Col 2 & Col 3 & Col4\\
\midrule
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
\bottomrule
\end{tabular*}
\end{table}
效果如下:
2.雙欄插入表格
只需要在題頭題尾加入“ * ” 即可,代碼如下:
\begin{table*}
\label{tab:1} % Give a unique label
\begin{tabular*}{\tblwidth}{@{} LLLL@{} }
\toprule
Col 1 & Col 2 & Col 3 & Col4\\
\midrule
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
12345 & 12345 & 123 & 12345 \\
\bottomrule
\end{tabular*}
\end{table*}
*親測有效