Latex实现表格并排

笔记。

Latex 表格并排。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\begin{minipage}{\textwidth}
\begin{minipage}[h]{0.5\textwidth}
\centering
\begin{threeparttable}
\begin{tabular}{l|ll|l}
\hline
& OFF & NOT & TOTAL \\ \hline
OLIDv1.0 & 4400 & 8840 & 859 \\
EXPAND & 27038 & 27107 & 54145 \\ \hline
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] The %此处加入注释*信息
\end{tablenotes}
\end{threeparttable}
\makeatletter\def\@captype{table}\makeatother\caption{Data set:Task A}
\label{Data set:Task A}
\end{minipage}
\begin{minipage}[h]{0.5\textwidth}
\centering
\begin{threeparttable}
\begin{tabular}{cccc}
\hline
A & B & C & Test \\ \hline
OFF & TIN & IND & 580 \\
OFF & TIN & OTH & 80 \\
OFF & TIN & GPR & 190 \\
OFF & UNT & - & 572 \\
NOT & - & - & 2807 \\ \hline
ALL & & & 3887 \\ \hline
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[] %此处加入注释*信息
\end{tablenotes}
\end{threeparttable}
\makeatletter\def\@captype{table}\makeatother\caption{Dataset statistics}
\label{Dataset statistics}
\end{minipage}
\end{minipage}