summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/leading/leading.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/leading/leading.sty')
-rw-r--r--Master/texmf-dist/tex/latex/leading/leading.sty19
1 files changed, 7 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/leading/leading.sty b/Master/texmf-dist/tex/latex/leading/leading.sty
index 89f1353c153..b060bf54f73 100644
--- a/Master/texmf-dist/tex/latex/leading/leading.sty
+++ b/Master/texmf-dist/tex/latex/leading/leading.sty
@@ -5,27 +5,22 @@
%% The original source files were:
%%
%% leading.dtx (with options: `package')
-%%
-%% __________________________________
-%% Copyright (C) 2007 Will Robertson
-%%
+%% _______________________________________
+%% Copyright (C) 2007-2008 Will Robertson
%% License information appended.
-%%
-%%
\ProvidesPackage{leading}
- [2007/05/06 v0.2 Define leading length]
+ [2008/12/11 v0.3 Define leading length]
\RequirePackage{calc}
\newcommand\leading[1]{%
\begingroup
- \normalfont
- \@tempdima=\f@size pt\relax
+ \@tempdima=\f@baselineskip\relax
\@tempdimb=#1\relax
\setlength\@tempdimc{1pt*\ratio{\@tempdimb}{\@tempdima}}%
- \global\@tempdimc\@tempdimc
+ \global\@tempdimc=\@tempdimc
\endgroup
- \linespread{\strip@pt\@tempdimc}\normalfont}
+ \linespread{\strip@pt\@tempdimc}\selectfont\ignorespaces}
%%
-%% Copyright (C) 2007 by Will Robertson <wspr81@gmail.com>
+%% Copyright (C) 2007-2008 by Will Robertson <wspr81@gmail.com>
%%
%% Distributable under the LaTeX Project Public License,
%% version 1.3c or higher (your choice). The latest version of