GeneralWidows and orphans

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Widows and orphans

Post by meho_r »

Though LaTeX does control widows and orphans automatically, its mechanism doesn't work in every case. Does anyone knows how to take manual control of these two when need be? (I'm just tired of \enlargethispage, \\ and similar commands trying to fix a line that shouldn't be on the next page)

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Widows and orphans

Post by localghost »

Try some commands in your preamble.

Code: Select all

\clubpenalty10000
\widowpenalty10000
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Widows and orphans

Post by meho_r »

Thanks a lot :D It did the trick ;) BTW, some people say that it isn't wise to set widow/clubpenalty value above 1000-2000. Why is that? The fact is that only at 10000 it works.
Post Reply