General ⇒ LaTex creates new page with only few words
LaTex creates new page with only few words
I has this textpiece that almost fits on one page. The problem is that the second page only consists of a few words. So I was wondering if there exists a command in LaTex that forces textpieces not to end with only one line/or a few words standing alone on a new page....?
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
LaTex creates new page with only few words
Code: Select all
\clubpenalty10000
\widowpenalty10000
Code: Select all
\enlargthispage{2\baselineskip}
Best regards an welcome on Board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10