From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1706881-garchives=archives.gentoo.org@lists.gentoo.org> 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 6BAA415812D for <garchives@archives.gentoo.org>; Tue, 07 Jan 2025 11:03:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43C95E079E; Tue, 07 Jan 2025 11:03:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 2C5D6E079E for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 11:03:14 +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 3C8A0340C57 for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 11:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 94B711D4D for <gentoo-commits@lists.gentoo.org>; Tue, 07 Jan 2025 11:03:11 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> 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" <ulm@gentoo.org> Message-ID: <1736247709.8075323bf7451a2457a83d3c62a72f3b42afea38.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: 8075323bf7451a2457a83d3c62a72f3b42afea38 X-VCS-Branch: eapi-9 Date: Tue, 07 Jan 2025 11:03:11 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0c539efd-5c55-424b-a10a-547e0de71853 X-Archives-Hash: 207581e497015d2dd9084c53a7bf610c commit: 8075323bf7451a2457a83d3c62a72f3b42afea38 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: Tue Jan 7 11:01:49 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8075323b pms.cls: Fine-tune page breaking and float placement Signed-off-by: Ulrich Müller <ulm <AT> 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