Page LayoutPreventing single line in a page.

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

Preventing single line in a page.

Post by yotama9 »

Hi Guys,

I have a little question to ask.

Is there a way to prevent a single line page. In my thesis I got a page with a single line and my advisor asked me to prevent this. Apart from changing the margins, how can I do so?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: Preventing single line in a page.

Post by php1ic »

You need to alter the penalty for widows/orphans. Not sure which, I always get the two confused. That should stop the behaviour

http://en.wikibooks.org/wiki/LaTeX/Page ... nd_orphans

If that doesn't work, try adding \raggedbottom to your preamble
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Preventing single line in a page.

Post by localghost »

php1ic wrote:You need to alter the penalty for widows/orphans. Not sure which, I always get the two confused. That should stop the behaviour [...]
It can't do any harm to raise both to a value where widows and orphans are completely prohibited.

Code: Select all

\widowpenalty=10000
\clubpenalty=10000
These lines go into the preamble.


Best regards
Thorsten
Post Reply