rolfn / xltabular

LaTeX package which combines longtable and tabularx.
Other
10 stars 3 forks source link

Force table to start on a new page #21

Open jozedu opened 11 months ago

jozedu commented 11 months ago

Basically what the title says. How can I force the table to "break" to a new page at a specific point? I have tried \pagebreak and \newpage in between rows and could not make it.

hvoss49 commented 11 months ago

Without a complete example, one needs a crystal ball to say what's wrong on your side ...

\documentclass{article}
\usepackage{xltabular}
\begin{document}

\begin{xltabular}{\linewidth}{cX}
foo & bar\\
\pagebreak
foo & bar
\end{xltabular}

\end{document}

this works!