diff options
author | Karl Berry <karl@freefriends.org> | 2008-12-16 00:54:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-12-16 00:54:53 +0000 |
commit | 4bb04da7638647ee48d6282ee8e7e7c012824362 (patch) | |
tree | 9cb01daa12bf7637017def89b2e9b5cad082de31 /Master/texmf-dist/tex/latex/leading | |
parent | 52c664adcaba5d606cd23141c7ed58faee2fb74e (diff) |
leading 0.3 (15dec08)
git-svn-id: svn://tug.org/texlive/trunk@11626 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/leading')
-rw-r--r-- | Master/texmf-dist/tex/latex/leading/leading.sty | 19 |
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 |