1 |
commit: f143eb07d030eeca7d7d49d30458616a0b2ebedc |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 19:00:20 2015 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 19:00:20 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=f143eb07 |
7 |
|
8 |
Increase the width of the "defined variables" table. |
9 |
|
10 |
Also align the table (using \LTleft and \LTright) such that there is |
11 |
sufficient space for marginal notes to the left of the table. |
12 |
The marginnote package seems to be incompatible with lscape, resulting |
13 |
in wrong horizontal placement of the notes. As a workaround, manually |
14 |
adjust \marginparsep. |
15 |
|
16 |
ebuild-env-vars.tex | 9 ++++++++- |
17 |
1 file changed, 8 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex |
20 |
index d387aca..9643036 100644 |
21 |
--- a/ebuild-env-vars.tex |
22 |
+++ b/ebuild-env-vars.tex |
23 |
@@ -12,7 +12,14 @@ different \t{pkg\_*} phases. Ebuilds must recalculate any variable they derive f |
24 |
variable. |
25 |
|
26 |
\begin{landscape} |
27 |
-\begin{longtable}{l p{0.175\textwidth} l p{0.5\textwidth}} |
28 |
+\reversemarginpar |
29 |
+\addtolength{\marginparsep}{-25mm} |
30 |
+% Workaround for broken marginnote positioning in lscape environment |
31 |
+\addtolength{\marginparsep}{-\textwidth} % FIXME |
32 |
+\setlength{\LTleft}{25mm plus 1fil} |
33 |
+\setlength{\LTright}{0pt plus 1fil} |
34 |
+\newcolumntype{P}[1]{>{\setlength{\rightskip}{0pt plus 1fil}}p{#1}} |
35 |
+\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{0.5\linewidth}} |
36 |
\caption{Defined variables\label{tab:defined_vars}}\\ |
37 |
\toprule |
38 |
\multicolumn{1}{c}{\b{Variable}} & |