commit: a13bce23a5878c83796cf776df59b166c09f8815 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 1 11:28:53 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sun Dec 1 11:28:53 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=a13bce23
pms.cls: Avoid some poor page breaks Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> pms.cls | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pms.cls b/pms.cls index c8c6101..8ef4695 100644 --- a/pms.cls +++ b/pms.cls @@ -163,6 +163,10 @@ \setlength\hfuzz{0.2pt} % was 0.1pt \setlength\emergencystretch{1em} % was 0 +% Avoid widows and orphans +\widowpenalty=500 % was 150 +\clubpenalty=500 % was 150 + % Don't add extra vertical space, to avoid underfull boxes. Only affects % two-sided layout, for one-sided it is already the default \raggedbottom