Page Layout ⇒ minimum number of lines per paragraph on a each page
minimum number of lines per paragraph on a each page
I need to specify that a new paragraph near the bottom of the page should contain at least two lines of text. If not, it should begin on the next page. On a similar note, if a page begins with the very end of a paragraph, it should contain at least two lines of text. In Microsoft Word there is an option called "orphan/widow control" in the pagination settings which achieves this. Can this be done with LaTeX? Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
minimum number of lines per paragraph on a each page
This also can be done LaTeX and is controlled by special penalty registers for widows and orphans.eykanal wrote:[...] In Microsoft Word there is an option called "orphan/widow control" in the pagination settings which achieves this. Can this be done with LaTeX? Thanks!
Code: Select all
\clubpenalty10000
\widowpenalty10000
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10