Worked around 'page top--chapter head space longer than one line.'
authorW. Trevor King <wking@drexel.edu>
Wed, 13 Jan 2010 18:26:40 +0000 (13:26 -0500)
committerW. Trevor King <wking@drexel.edu>
Wed, 13 Jan 2010 18:26:45 +0000 (13:26 -0500)
drexel-thesis.dtx

index b0502d2c7e7419aeceae975c252b3aef83ed1bd1..783c5b9743150b642a59bda1d171f8465165b4bb 100644 (file)
 % \begin{macro}{\DUT@baselineskip}
 % Since we'll be messing with the spacing, save the single-spaced
 % baseline.
-%   \changes{0.3}{2010/01/13}{Use |\setlength| to store the value at
-%     the default font.  The previous version used |\let|, which made
-%     |\DUT@baselineskip| a synonym for |\baselineskip| that changed
+%   \changes{0.3}{2010/01/13}{Use \\setlength to store the value at
+%     the default font.  The previous version used \\let, which made
+%     \\DUT\@baselineskip a synonym for \\baselineskip that changed
 %     with font size.}
 %    \begin{macrocode}
 \newlength\DUT@baselineskip
 % (\file{classes.dtx}, L2540).
 %    \begin{macrocode}
 \def\@makechapterhead#1{%
-  \blanklines*{1}%
+%    \end{macro}
+% Adding even a \vspace*{0\p@} here seems to increase the vertical
+% space above the chapter heading by two lines.  I'm not sure why.
+% Workaround is to pass the ``value of blanklines you want minus two''
+% to |\blanklines*|.
+%    \begin{macro}
+  \blanklines*{-1}%
   {\parindent \z@ \raggedright \normalfont
 %    \end{macrocode}
 % Ensure single spacing.
 % (\file{classes.dtx}, L2595).
 %    \begin{macrocode}
 \def\@makeschapterhead#1{%
-  \blanklines*{1}%
+  \blanklines*{-1}%
   {\parindent \z@ \raggedright \normalfont
     \setstretch{\@ssp}%
     \interlinepenalty\@M