1

I tried \belowcaptionskip and \abovecaptionskip. No effects.

Here is the MWE:

\documentclass{article}
\usepackage{longtable,booktabs}
\setlength\abovecaptionskip{10pt}
\setlength\belowcaptionskip{30pt}

\title{test}
\begin{document}
This is a test table.

\begin{longtable}[]{@{}cl@{}}
\caption{test table}\tabularnewline
\toprule
col1 & col2\tabularnewline
\midrule
\endhead
1 & 2\tabularnewline
\bottomrule
\end{longtable}

End of the document.
\end{document}
  • Add \usepackage{caption} to your preamble. – leandriis May 21 '19 at 9:00
2

Using the captionpackage, this works:

\usepackage{caption}
\captionsetup[longtable]{skip=30pt}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.