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
General ⇒ Widows and orphans
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Widows and orphans
Try some commands in your preamble.
Code: Select all
\clubpenalty10000
\widowpenalty10000
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Widows and orphans
Thanks a lot
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.

