Good day, Sirs and Madams!
I am experiencing issues while composing a big table over several pages. I'd like to use tcolorbox in combination with tabularx. Unfortunately, this does not work out as expected.
It would be great if someone could help me out how to achieve a table using the stated design that stretches over several pages.
Here's the MWE:
\documentclass{article}
\usepackage{blindtext}
\usepackage{tcolorbox}
\tcbuselibrary{breakable}
\usepackage{caption}
\usepackage{array,tabularx}
\usepackage{colortbl}
\begin{document}
\begin{figure}
\tcbset{ before=,
after=\hfil,
size=small,
fonttitle=\bfseries\normalsize,
fontupper=\small,
fontlower=\small,
center title}
\begin{tcolorbox}[tabularx*={
\arrayrulewidth 0.5mm}{X|X|X},title=Test]
\emph{A} & \emph{B} & \emph{C}
\\\hline
A & B & C \\
\blindtext[150] & \blindtext[150] & \blindtext[150] \\
\hline
\end{tcolorbox}
\caption{Test}
\label{fig:Test}
\end{figure}
\end{document}
Any help or hints are well appreciated.
I've tried using the [breakable]
option from \tcbuselibrary{breakable}
but wihtout any luck.
tabularx
can't be split across pages.{X|X|X}
in your real example as you know the width in advance each column isp{\dimexpr(\linewidth-2\arrayrulewidth-6\tabcolsep).3\relax}
tcolorbox
has no long table orltxtable
options (unless Thomas does some thing in the up coming versions.)