Created
May 28, 2022 20:12
-
-
Save fmitha/35817a834707178f589d886f65326ea5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%https://tex.stackexchange.com/a/16253/3406 | |
\documentclass[12pt]{scrartcl} | |
\usepackage{longtable} | |
%\usepackage{threeparttable} | |
\usepackage{threeparttablex} | |
\usepackage{booktabs} | |
\begin{document} | |
\begin{ThreePartTable} | |
\begin{TableNotes} | |
\item[a] \label{tn:a} test test test test test test test test | |
\item[b] \label{tn:b} test2 | |
\source Made up by daleif | |
\end{TableNotes} | |
\begin{longtable}{l l l} | |
\caption{A long table}\\ | |
\toprule | |
Coloum 1 & & Column 2 \\ | |
\midrule | |
\endhead | |
\cmidrule{3-3} | |
\multicolumn{3}{r}{\textit{continued}} | |
\endfoot | |
\bottomrule | |
\insertTableNotes\\ | |
\endlastfoot | |
AAAA\tnotex{tn:a} & & BBBB \\ | |
% \newpage | |
CC& & DD\tnotex{tn:b}\\ | |
\end{longtable} | |
\end{ThreePartTable} | |
\begin{center} | |
\begin{threeparttable} | |
\caption{A regular tabular} | |
\begin{tabular}{l l l} | |
\toprule | |
Coloum 1 & & Column 2 \\ | |
\midrule | |
AAAA\tnote{c} & & BBBB \\ | |
CC | |
& | |
& DD\tnotex*{tn:c} | |
\\ | |
\bottomrule | |
\end{tabular} | |
\begin{tablenotes} | |
\footnotesize | |
\item[c] test test test test test test test test | |
\item[d] \label{tn:c} the reference to this is not a link | |
\note Some general note | |
\end{tablenotes} | |
\end{threeparttable} | |
\end{center} | |
\end{document} | |
%%% Local Variables: | |
%%% mode: latex | |
%%% TeX-master: t | |
%%% End: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment