I have a Table with caption, which I arrange using the caption package. In one longtable for which I decreased font size to 4.9pt (I know, small), the table caption is too far left, hanging out of the table.
When I increase the font to 5pt, the problem vanishes. Changing \captionsetup[..., margin=1em, ...] to 2em does not help at all, the caption is not even moving one bit. I cannot provide a full MWE but I do have the preamble of my table:
\begin{ThreePartTable}
\setlength{\tabcolsep}{0.5pt}
\fontsize{4.9}{4.9}\selectfont
\begin{TableNotes}
\item\textit{Notes:} ...
\end{TableNotes}
\captionsetup[table]{labelsep=newline, textfont=it, margin=1em, font=tiny}
\begin{longtable}{lcccccccccccccccccc}
\caption{Some Table} \label{tab:some} \\
\toprule
...[headers]
\midrule
\endfirsthead
\caption*{Some Table (continued)} \\
\toprule
...
\midrule
\endhead
\bottomrule
\endfoot
\bottomrule
\insertTableNotes
\endlastfoot
