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 360721581F2 for ; Wed, 11 Dec 2024 19:40:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6813BE0D89; Wed, 11 Dec 2024 19:40:04 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49008E0D89 for ; Wed, 11 Dec 2024 19:40:04 +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 8E82434316B for ; Wed, 11 Dec 2024 19:40:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 486FE2191 for ; Wed, 11 Dec 2024 19:39:59 +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: <1733774742.e8eaa166a519369a740f95b08461e3fc5aa20a46.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: e8eaa166a519369a740f95b08461e3fc5aa20a46 X-VCS-Branch: eapi-9 Date: Wed, 11 Dec 2024 19:39:59 +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: 3052fb1f-151c-4ce7-8dfe-07c706688096 X-Archives-Hash: c798d2feb91688f2d9798328b8ebad5a commit: e8eaa166a519369a740f95b08461e3fc5aa20a46 Author: Ulrich Müller gentoo org> AuthorDate: Sun Dec 1 11:28:53 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Dec 9 20:05:42 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=e8eaa166 pms.cls: Fine-tune page breaking and float placement Signed-off-by: Ulrich Müller gentoo.org> pms.cls | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pms.cls b/pms.cls index 571232f..006aed3 100644 --- a/pms.cls +++ b/pms.cls @@ -177,6 +177,15 @@ \setlength\hfuzz{0.2pt} % was 0.1pt \setlength\emergencystretch{1em} % was 0 +% Avoid widows and orphans +\widowpenalty=500 % was 150 +\clubpenalty=500 % was 150 + +% Allow more floats on one page because we have many small tables +\setcounter{topnumber}{5} % was 2 +\setcounter{bottomnumber}{2} % was 1 +\setcounter{totalnumber}{5} % was 3 + % Don't add extra vertical space, to avoid underfull boxes. Only affects % two-sided layout, for one-sided it is already the default \raggedbottom