I'm generally quite happy with the behavior of threeparttable
, but there sometimes appears unwanted line breaks in the table notes even though I'm using the para
option. For instance, in the below MWE, there is an unwanted line break after the "a" note.
How can I ensure that there won't be any line breaks between notes?
Note that the MWE is just a sample table to illustrate the problem. More generally, I am able to generate these unwanted line breaks by incrementally adding a few words. (This suggests that one solution would be to rephrase the notes, but I would prefer not to have to do that.)
\documentclass{article}
\usepackage[para]{threeparttable}
\usepackage{tabularx}
\begin{document}
\begin{table}
\begin{threeparttable}
\caption{Lorem ipsum dolor sit amet, consectetur}
{
\begin{tabularx}{\linewidth}{X r r}
& \textbf{A} & \textbf{B} \\
Lorem\tnote{a} ipsum\tnote{b} dolor\tnote{c} sit amet, consectetur adipisicing elit & 123 & 456
\end{tabularx}
}
\begin{tablenotes}
Note. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
\item[a] Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
\item[b] Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
\item[c] Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}