[latex3-commits] [latex2e-public] r1421 - fix spacing to page foot in the command index

noreply at latex-project.org noreply at latex-project.org
Mon Mar 13 19:18:07 CET 2017


Author: carlisle
Date: 2017-03-13 19:18:07 +0100 (Mon, 13 Mar 2017)
New Revision: 1421

Modified:
   trunk/base/ltxdoc.dtx
   trunk/base/source2e.tex
Log:
fix spacing to page foot in the command index

Modified: trunk/base/ltxdoc.dtx
===================================================================
--- trunk/base/ltxdoc.dtx	2017-03-13 07:58:08 UTC (rev 1420)
+++ trunk/base/ltxdoc.dtx	2017-03-13 18:18:07 UTC (rev 1421)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 1993-2016
+% Copyright 1993-2017
 % The LaTeX3 Project and any individual authors listed elsewhere
 % in this file.
 %
@@ -30,7 +30,7 @@
 %
 %<class>\NeedsTeXFormat{LaTeX2e}
 %<class>\ProvidesClass{ltxdoc}
-%<class>         [2015/03/26 v2.0w Standard LaTeX documentation class]
+%<class>         [2017/03/13 v2.0v Standard LaTeX documentation class]
 %
 %<*driver>
 \documentclass{ltxdoc}
@@ -492,12 +492,14 @@
 % \begin{macro}{\docincludeaux}
 % \changes{v2.06}{1994/03/31}{Use \cs{footnotesize} in file key.}
 % \changes{v2.0k}{1994/05/21}{Use \cs{aalph}}
+% \changes{v2.0v}{2017/03/13}{Use \cs{parbox}[t] in file
+%         key to maintain space between the text block and the page foot.}
 %    \begin{macrocode}
 \def\docincludeaux{%
   \def\thepart{\aalph{part}}\def\filesep{\thepart-}%
   \let\filekey\@gobble
   \g at addto@macro\index at prologue{%
-    \gdef\@oddfoot{\parbox{\textwidth}{\strut\footnotesize
+    \gdef\@oddfoot{\parbox[t]{\textwidth}{\strut\footnotesize
        \raggedright{\bfseries File Key:} \filekey}}%
     \let\@evenfoot\@oddfoot}%
   \global\let\docincludeaux\relax

Modified: trunk/base/source2e.tex
===================================================================
--- trunk/base/source2e.tex	2017-03-13 07:58:08 UTC (rev 1420)
+++ trunk/base/source2e.tex	2017-03-13 18:18:07 UTC (rev 1421)
@@ -130,6 +130,11 @@
                                  :\levelchar #3}}%
   \@tempa\endgroup\@esphack}
 
+% Move whole block up so that the file key is not so close
+% to bottom of US letter page.
+\addtolength\topmargin{-2\baselineskip}
+
+
 % Section numbers now reach eg 74.17.2 which need more space
 \renewcommand*\l at subsection{\@dottedtocline{2}{1.5em}{2.8em}}
 \renewcommand*\l at subsubsection{\@dottedtocline{3}{3.8em}{3.4em}}



More information about the latex3-commits mailing list