Broke \set@lines@length out of \blanklines
authorW. Trevor King <wking@drexel.edu>
Sun, 10 Jan 2010 14:56:20 +0000 (09:56 -0500)
committerW. Trevor King <wking@drexel.edu>
Sun, 10 Jan 2010 14:56:20 +0000 (09:56 -0500)
drexel-thesis.dtx

index 6ed59f13e227250e919c2ebf7e176eb13a282f1c..95e140e1829285ed9b86d7ca87c84dffe2a7dfab 100644 (file)
 %    \end{macrocode}
 % \end{macro}
 %
+% \begin{macro}{\set@lines@length}
+% Protecting against external |spacing| environments.  Requires
+% \pkg{calc} for the multiplication.
+%    \begin{macrocode}
+\let\DUT@baselineskip\baselineskip
+\newcommand{\set@lines@length}[2]{%
+  \setlength{#1}{\DUT@baselineskip * {#2}}
+}
+%    \end{macrocode}
+% \end{macro}
 % \begin{macro}{\blanklines}
-% Insert number of blank lines, protecting against external |spacing|
-% environments.  Requires \pkg{calc} for the multiplication.
+% Insert number of blank lines.
 %    \begin{macrocode}
-\newlength\blanklines@length
+\newlength\DUT@blanklines@length
 \newcommand{\blanklines}[1]{%
   \begin{spacing}{1}
-    \setlength{\blanklines@length}{\baselineskip * {#1}}
-    \vspace{\blanklines@length}
+    \set@lines@length{\DUT@blanklines@length}{#1}%
+    \vspace{\DUT@blanklines@length}
   \end{spacing}
 }
 %    \end{macrocode}