diff options
author | 2015-10-28 20:00:20 +0100 | |
---|---|---|
committer | 2015-10-28 20:00:20 +0100 | |
commit | f143eb07d030eeca7d7d49d30458616a0b2ebedc (patch) | |
tree | 2c8b5a44e257f823ba86c8490646fdfba1b5d200 /ebuild-env-vars.tex | |
parent | pms.cls: Fix featurelabel command. (diff) | |
download | pms-f143eb07d030eeca7d7d49d30458616a0b2ebedc.tar.gz pms-f143eb07d030eeca7d7d49d30458616a0b2ebedc.tar.bz2 pms-f143eb07d030eeca7d7d49d30458616a0b2ebedc.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.
Diffstat (limited to 'ebuild-env-vars.tex')
-rw-r--r-- | ebuild-env-vars.tex | 9 |
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}} & |