[texhax] table and page break

Christian Pleul chrisptex at googlemail.com
Tue Jan 3 12:19:39 CET 2012


Hey,

For a cooperative latex document with a lot of authors, it was decided to use tables for certain structures. Therefore, I have to cope with the problem of automatic page breaks of tables that only consist of 1 column and several rows. The column often contain different lists. The attached example shows the problem: The table does not break within a list. Is there a way to work around this issue?

Thank you in advance
--
	Christian


-We've really achieved the ideal of what I wanted Microsoft to become.-
Bill Gates, June 2008


----- example ------
\documentclass{book}
\usepackage{longtable}
\usepackage{blindtext}
\usepackage{paralist}

\begin{document}
\begin{longtable}{|p{\textwidth}|}
\hline
\blindtext[1]\\
\blindtext[2]\\\hline
\begin{compactenum}
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
	\item test
\end{compactenum}\\
\blindtext[2]
\hline
\end{longtable}
\end{document}
------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20120103/ad4eeb3f/attachment.html>


More information about the texhax mailing list