From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1638236-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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CBE661581D3 for <garchives@archives.gentoo.org>; Sun, 2 Jun 2024 09:55:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A35EE2AEE; Sun, 2 Jun 2024 09:55:58 +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 EAB20E2AEE for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:55:57 +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 0542C335D6E for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:55:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 193251A8D for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:55:55 +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: <1716919430.8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344 X-VCS-Branch: master Date: Sun, 2 Jun 2024 09:55:55 +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: f1c88efd-ea77-4795-b64c-7f68913f45de X-Archives-Hash: bfc06fa75e73cfd96e67898b68788871 commit: 8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun May 12 18:23:38 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue May 28 18:03:50 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8f72b3b4 pms.cls: Slightly decrease textheight Also make it a multiple of 12pt (= \baselineskip). Automatically calculate the width of the last column in the big variables table. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-env-vars.tex | 7 ++++--- pms.cls | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 268cb3f..ecc20b6 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -21,9 +21,10 @@ inconsistent variable. \reversemarginpar % Workaround for broken marginnote positioning in lscape environment \addtolength{\marginparsep}{-\textwidth} % FIXME -\setlength{\LTleft}{0pt plus 1fil} -\setlength{\LTright}{0pt plus 1fil} -\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{35em}} +\newlength{\mycolwidth} +\setlength{\mycolwidth}{\linewidth-8\tabcolsep + -\widthof{\t{REPLACED_BY_VERSION}}-7em-\widthof{\textbf{Consistent?}}} +\begin{longtable}{l P{7em} l p{\mycolwidth}} \caption{Defined variables\label{tab:defined-vars}}\\ \toprule \multicolumn{1}{c}{\textbf{Variable}} & diff --git a/pms.cls b/pms.cls index a3e3ea5..c8c6101 100644 --- a/pms.cls +++ b/pms.cls @@ -15,7 +15,7 @@ \PassOptionsToPackage{orig,english}{isodate} % Dimensions of the text area. Define a narrow left margin to make % room for margin notes in the right (outer) margin -\PassOptionsToPackage{textwidth=400pt,textheight=700pt, +\PassOptionsToPackage{textwidth=400pt,textheight=684pt, left=20mm,marginparsep=10pt,marginparwidth=40mm, vmarginratio=1:2,includehead}{geometry} % Enable UTF-8 input encoding @@ -36,6 +36,7 @@ inputenc, % Allow input methods apart from ASCII booktabs, % Nicer formatting of tables ifthen, % Comfortable conditional routines + calc, % Infix notation arithmetic longtable, % Extend tables over more than one page array, % Extended tabular environments lscape, % Rotating pages From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1638256-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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C28961581D3 for <garchives@archives.gentoo.org>; Sun, 2 Jun 2024 09:57:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78375E2B00; Sun, 2 Jun 2024 09:57:39 +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 56750E2B00 for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:57:39 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A17C343053 for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:57:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30A5F1C14 for <gentoo-commits@lists.gentoo.org>; Sun, 2 Jun 2024 09:57:35 +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: <1716919430.8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-env-vars.tex pms.cls X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344 X-VCS-Branch: eapi-9 Date: Sun, 2 Jun 2024 09:57:35 +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: 0d3ad684-8da8-4604-9251-3784915afaca X-Archives-Hash: 402f7afa9ad6d9f3f7932114f5ee829b Message-ID: <20240602095735.7Vc1WmDzJzSec0N5BG4UQgYR9eVbblofcn2iBjvbtOI@z> commit: 8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sun May 12 18:23:38 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue May 28 18:03:50 2024 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8f72b3b4 pms.cls: Slightly decrease textheight Also make it a multiple of 12pt (= \baselineskip). Automatically calculate the width of the last column in the big variables table. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-env-vars.tex | 7 ++++--- pms.cls | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 268cb3f..ecc20b6 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -21,9 +21,10 @@ inconsistent variable. \reversemarginpar % Workaround for broken marginnote positioning in lscape environment \addtolength{\marginparsep}{-\textwidth} % FIXME -\setlength{\LTleft}{0pt plus 1fil} -\setlength{\LTright}{0pt plus 1fil} -\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{35em}} +\newlength{\mycolwidth} +\setlength{\mycolwidth}{\linewidth-8\tabcolsep + -\widthof{\t{REPLACED_BY_VERSION}}-7em-\widthof{\textbf{Consistent?}}} +\begin{longtable}{l P{7em} l p{\mycolwidth}} \caption{Defined variables\label{tab:defined-vars}}\\ \toprule \multicolumn{1}{c}{\textbf{Variable}} & diff --git a/pms.cls b/pms.cls index a3e3ea5..c8c6101 100644 --- a/pms.cls +++ b/pms.cls @@ -15,7 +15,7 @@ \PassOptionsToPackage{orig,english}{isodate} % Dimensions of the text area. Define a narrow left margin to make % room for margin notes in the right (outer) margin -\PassOptionsToPackage{textwidth=400pt,textheight=700pt, +\PassOptionsToPackage{textwidth=400pt,textheight=684pt, left=20mm,marginparsep=10pt,marginparwidth=40mm, vmarginratio=1:2,includehead}{geometry} % Enable UTF-8 input encoding @@ -36,6 +36,7 @@ inputenc, % Allow input methods apart from ASCII booktabs, % Nicer formatting of tables ifthen, % Comfortable conditional routines + calc, % Infix notation arithmetic longtable, % Extend tables over more than one page array, % Extended tabular environments lscape, % Rotating pages