commit: d32b244c33eac325928e29e88c22a3d74fb86051 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Thu Aug 3 16:12:16 2023 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Aug 3 16:17:46 2023 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d32b244c
Reformat the footnotes in the env variables longtable Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-env-vars.tex | 11 +++++++---- pms.cls | 3 +++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index b8deb04..9e79a20 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -12,13 +12,16 @@ the various different \t{pkg_*} phases. Ebuilds must recalculate any variable th inconsistent variable. \begin{landscape} +% Reduce width of text area to make room for margin notes +\addtolength{\hsize}{-25mm} +\setlength{\linewidth}{\hsize} +\setlength{\columnwidth}{\hsize} \reversemarginpar -\addtolength{\marginparsep}{-25mm} % Workaround for broken marginnote positioning in lscape environment \addtolength{\marginparsep}{-\textwidth} % FIXME -\setlength{\LTleft}{25mm plus 1fil} +\setlength{\LTleft}{0pt plus 1fil} \setlength{\LTright}{0pt plus 1fil} -\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{0.5\linewidth}} +\begin{longtable}{!{\extracolsep{\fill}} l P{7.5em} l p{35em}} \caption{Defined variables\label{tab:defined-vars}}\\ \toprule \multicolumn{1}{c}{\textbf{Variable}} & @@ -34,7 +37,7 @@ inconsistent variable. \multicolumn{1}{c}{\textbf{Description}} \\ \midrule \endhead -\midrule +%\midrule \endfoot \bottomrule \endlastfoot diff --git a/pms.cls b/pms.cls index dcef98c..d1a85fa 100644 --- a/pms.cls +++ b/pms.cls @@ -22,8 +22,10 @@ \PassOptionsToPackage{utf8}{inputenc} \PassOptionsToPackage{quiet}{marginnote} \PassOptionsToPackage{nohyphen}{underscore} +\PassOptionsToPackage{hang,flushmargin}{footmisc} \PassOptionsToPackage{nottoc,notlot,notlof}{tocbibind} \PassOptionsToPackage{hyphens}{url} % url.sty implicitly loaded by hyperref +\PassOptionsToPackage{hyperfootnotes=false}{hyperref} % footmisc compatibility \PassOptionsToPackage{local}{gitinfo2} \PassOptionsToPackage{chapter}{algorithm} % algorithmic and algorithm to be loaded last to avoid failures @@ -41,6 +43,7 @@ marginnote, % Typeset a paragraph in the page margin paralist, % Additional list environments underscore, % Allow simple _ instead of \_ + footmisc, % Customise footnotes chngcntr, % Redefinition of counters tocbibind, % Add bibliography to table of contents float, % More control over float environments