From 43f6a3d6a81aa4dd9fc2c4515b26519688d1b190 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 10 Jan 2010 09:56:20 -0500 Subject: [PATCH] Broke \set@lines@length out of \blanklines --- drexel-thesis.dtx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) 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} -- 2.26.2