multicols inserts a page-break before the end of the page




I am using some test-data for a price-list I am working on in LaTeX. The
test-data is 16 lines of products. I can fit it on a four times
vertically, and in two columns. The problem I have is, though the
columns are the same length, the last part is carrying over to a new
page.

Here's a skeleton of what I have:

\documentclass[a4paper]{article}
\usepackage[top=1cm, bottom=1cm, left=0cm, right=0cm]{geometry}
\usepackage{multicol, colortbl}
\pdfpagewidth 21cm
\pdfpageheight 29.7cm
\setlength\textheight{27.7cm}
\setlength\textwidth{21cm}

\begin{document}
\sf
\footnotesize
\begin{multicols}{2}
\begin{tabular*}{9.6cm}{|p{1mm}|m{1mm}|m{1mm}|b{1mm}|p{59mm}|r|}

[sample data]

\columnbreak

[sample data]

\end{tabular*}
\end{multicols}
\line(1,0){562}

This should fit - with the sample data - on a page four times, but the
last instance of sample data carries onto the next page, and ignores the
margin on that page, sitting right at the page edge.

Any suggestions as to why this might be happening? Or what I can do to
stop it happening?

Justin.

--
Justin C, by the sea.
.



Relevant Pages


Loading