Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Latex: avoid that page text stretches over whole page with "twoside" option

Tags:

latex

I recently had a problem when writing a Latex document which I posted here. The solution of adding the "twoside" option worked fine for me, except that when I have a page, say the conclusion, where I have just two paragraphs, so maybe half of the page filled and I then add a "\pagebreak" for having the "reference" part on a new page, it stretches the whole content of the conclusion page s.t. it fills up the whole page. This leads to the ugly thing that the spacing between the lines and paragraphs becomes huge.

I googled a bit, but didn't found any option to avoid this.

like image 973
Juri Avatar asked Sep 01 '09 16:09

Juri


4 Answers

Add \raggedbottom to the latex preamble that will solve it.

like image 171
Sameh Eldessoki Avatar answered Oct 23 '22 08:10

Sameh Eldessoki


Not quite sure whether this will solve your problem, but try \clearpage instead of \pagebreak .

like image 39
Jitse Niesen Avatar answered Oct 23 '22 10:10

Jitse Niesen


How about:

\vfill\clearpage
like image 7
dreamlax Avatar answered Oct 23 '22 08:10

dreamlax


I believe I was able to fix a similar problem with the multicol package, which provides a rather more powerful multi-column environment that the one built into the standard classes.


I just thought: are you using \raggedbottom? That would be worth a shot before bringing in a new package.

like image 2
dmckee --- ex-moderator kitten Avatar answered Oct 23 '22 10:10

dmckee --- ex-moderator kitten