-
Notifications
You must be signed in to change notification settings - Fork 2
/
tabular1.tex
32 lines (27 loc) · 1.04 KB
/
tabular1.tex
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
\documentclass{article}
\usepackage{booktabs,threeparttable}
\begin{document}
Table~\ref{tab:tabular1} is an example to create a table using the tabular environment.
\begin{table}[htbp]
\caption{three-line table example}
\label{tab:tabular1}
\centering
\begin{threeparttable}
\begin{tabular}{lllll}
\toprule
caption1\tnote{1} & caption2 & caption3\tnote{2} & caption4 & caption5 \\
\midrule
1 & 2 & 3 & 4 & 5 \\
1 & 2 & 3 & 4 & 5 \\
9 & 8 & 9 & 7 & 6 \\
1 & 2 & 3 & 4 & 5 \\
\bottomrule
\end{tabular}
\begin{tablenotes}
\footnotesize
\item[1] This is a table note.
\item[2] This is still a table note.
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}