summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-10-28 20:00:20 +0100
committerUlrich Müller <ulm@gentoo.org>2015-10-28 20:00:20 +0100
commitf143eb07d030eeca7d7d49d30458616a0b2ebedc (patch)
tree2c8b5a44e257f823ba86c8490646fdfba1b5d200
parentpms.cls: Fix featurelabel command. (diff)
downloadpms-f143eb07.tar.gz
pms-f143eb07.tar.bz2
pms-f143eb07.zip
Increase the width of the "defined variables" table.
Also align the table (using \LTleft and \LTright) such that there is sufficient space for marginal notes to the left of the table. The marginnote package seems to be incompatible with lscape, resulting in wrong horizontal placement of the notes. As a workaround, manually adjust \marginparsep.
-rw-r--r--ebuild-env-vars.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex
index d387aca..9643036 100644
--- a/ebuild-env-vars.tex
+++ b/ebuild-env-vars.tex
@@ -12,7 +12,14 @@ different \t{pkg\_*} phases. Ebuilds must recalculate any variable they derive f
variable.
\begin{landscape}
-\begin{longtable}{l p{0.175\textwidth} l p{0.5\textwidth}}
+\reversemarginpar
+\addtolength{\marginparsep}{-25mm}
+% Workaround for broken marginnote positioning in lscape environment
+\addtolength{\marginparsep}{-\textwidth} % FIXME
+\setlength{\LTleft}{25mm plus 1fil}
+\setlength{\LTright}{0pt plus 1fil}
+\newcolumntype{P}[1]{>{\setlength{\rightskip}{0pt plus 1fil}}p{#1}}
+\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{0.5\linewidth}}
\caption{Defined variables\label{tab:defined_vars}}\\
\toprule
\multicolumn{1}{c}{\b{Variable}} &