Graphics, Figures & TablesHow to make a threeparttable two column wide and across multiple pages in a two-column document

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latex_usr
Posts: 2
Joined: Tue Mar 22, 2022 1:24 pm

How to make a threeparttable two column wide and across multiple pages in a two-column document

Post by latex_usr »

Hi there,

I am using overleaf for editing a predefined two-column document. I add a threeparttable that has content across multiple pages. I would like to make it two-column wide across multiple pages using the following latex segment. But overleaf fails to render it. I then shorten it to fit into one page as a try. It ends up with rendering the table in the right hand side column and a large part of the table cut outside the column. Any help will be appreciated.
\begin{ThreePartTable}
\centering
\small
\begin{xltabular}{\textwidth}{|>{\hsize=0.21\hsize}l|>{\hsize=0.79\hsize}X|}
\hline
\textbf{Source} & \textbf{Text}
\hline
\endfirsthead
\hline
\textbf{Source} & \textbf{Text}
\endhead
\hline
\multicolumn{2}{|r|}{{Continued on next page}} \\
\hline
\endfoot
\insertTableNotes
\endlastfoot
...
\hline
\caption{Bla-Bla \label{tab:bla-bla}}
\end{xltabular}
\end{ThreePartTable}


Best regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

latex_usr
Posts: 2
Joined: Tue Mar 22, 2022 1:24 pm

How to make a threeparttable two column wide and across multiple pages in a two-column document

Post by latex_usr »

Finally, found a simple solution by just preceding \onecolumn
Post Reply