From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49A1D1581F3 for ; Sun, 1 Dec 2024 11:30:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B49CE07F1; Sun, 1 Dec 2024 11:30:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A115EE07F1 for ; Sun, 1 Dec 2024 11:30:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC403340BEF for ; Sun, 1 Dec 2024 11:30:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E31E1AB5 for ; Sun, 1 Dec 2024 11:30:00 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1733052533.a13bce23a5878c83796cf776df59b166c09f8815.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a13bce23a5878c83796cf776df59b166c09f8815 X-VCS-Branch: eapi-9 Date: Sun, 1 Dec 2024 11:30:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fbf97d72-bde0-4e59-827d-1d82d3ba2fb5 X-Archives-Hash: 72bb0d0dd6c38b35a3dddf51fcb966a6 commit: a13bce23a5878c83796cf776df59b166c09f8815 Author: Ulrich Müller gentoo org> AuthorDate: Sun Dec 1 11:28:53 2024 +0000 Commit: Ulrich Müller gentoo 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 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