projects
/
drexel-thesis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4edb5ee
)
Broke \set@lines@length out of \blanklines
author
W. Trevor King
<wking@drexel.edu>
Sun, 10 Jan 2010 14:56:20 +0000
(09:56 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Sun, 10 Jan 2010 14:56:20 +0000
(09:56 -0500)
drexel-thesis.dtx
patch
|
blob
|
history
diff --git
a/drexel-thesis.dtx
b/drexel-thesis.dtx
index 6ed59f13e227250e919c2ebf7e176eb13a282f1c..95e140e1829285ed9b86d7ca87c84dffe2a7dfab 100644
(file)
--- a/
drexel-thesis.dtx
+++ b/
drexel-thesis.dtx
@@
-934,15
+934,24
@@
% \end{macrocode}
% \end{macro}
%
% \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}
% \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}
% \begin{macrocode}
-\newlength\blanklines@length
+\newlength\
DUT@
blanklines@length
\newcommand{\blanklines}[1]{%
\begin{spacing}{1}
\newcommand{\blanklines}[1]{%
\begin{spacing}{1}
- \set
length{\blanklines@length}{\baselineskip * {#1}}
- \vspace{\blanklines@length}
+ \set
@lines@length{\DUT@blanklines@length}{#1}%
+ \vspace{\
DUT@
blanklines@length}
\end{spacing}
}
% \end{macrocode}
\end{spacing}
}
% \end{macrocode}