Re: multicols inserts a page-break before the end of the page
- From: Ulrike Fischer <news2@xxxxxxxxxxx>
- Date: Tue, 15 Jul 2008 16:58:39 +0200
Am Tue, 15 Jul 2008 13:51:56 -0000 schrieb Justin C:
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}
Why aren't your using geometry to set all lengths?
Also use the option dvips, then geometry will set \pdfpagewidth/height
when run with pdflatex.
\begin{document}
\sf
\sffamily
\footnotesize
\begin{multicols}{2}
\begin{tabular*}{9.6cm}{|p{1mm}|m{1mm}|m{1mm}|b{1mm}|p{59mm}|r|}
[sample data]
\columnbreak
I hope that doesn't mean that the \columbreak is inside the tabular.
[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.
Did you look in the log if there is a complain about overfull boxes?
Any suggestions as to why this might be happening?
No. Make a complete example. (You can avoid to add a lot of data by
using \\[Xcm] in the tabulars).
--
Ulrike Fischer
.
- Follow-Ups:
- References:
- multicols inserts a page-break before the end of the page
- From: Justin C
- multicols inserts a page-break before the end of the page
- Prev by Date: Re: tex4ht, oolatex, and clickable fields
- Next by Date: Re: mk4ht problem
- Previous by thread: multicols inserts a page-break before the end of the page
- Next by thread: Re: multicols inserts a page-break before the end of the page
- Index(es):
Relevant Pages
|
Loading