summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-05-12 20:23:38 +0200
committerUlrich Müller <ulm@gentoo.org>2024-05-28 20:03:50 +0200
commit8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344 (patch)
tree29de818902c686d6576a051158c9f3d37d9b9ed2 /ebuild-env-vars.tex
parentRevert "pms.cls: Require version 1 of parskip.sty" (diff)
downloadpms-8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344.tar.gz
pms-8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344.tar.bz2
pms-8f72b3b4a4c45c59e3d1ea7a1fff225cb827f344.zip
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@gentoo.org>
Diffstat (limited to 'ebuild-env-vars.tex')
-rw-r--r--ebuild-env-vars.tex7
1 files changed, 4 insertions, 3 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}} &