From: W. Trevor King Date: Sun, 10 Jan 2010 14:56:20 +0000 (-0500) Subject: Broke \set@lines@length out of \blanklines X-Git-Tag: 0.3~19 X-Git-Url: http://git.tremily.us/?p=drexel-thesis.git;a=commitdiff_plain;h=43f6a3d6a81aa4dd9fc2c4515b26519688d1b190 Broke \set@lines@length out of \blanklines --- diff --git a/drexel-thesis.dtx b/drexel-thesis.dtx index 6ed59f1..95e140e 100644 --- a/drexel-thesis.dtx +++ b/drexel-thesis.dtx @@ -934,15 +934,24 @@ % \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}