From 4bb04da7638647ee48d6282ee8e7e7c012824362 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Dec 2008 00:54:53 +0000 Subject: leading 0.3 (15dec08) git-svn-id: svn://tug.org/texlive/trunk@11626 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/leading/leading.sty | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/tex/latex/leading') 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 +%% Copyright (C) 2007-2008 by Will Robertson %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of -- cgit v1.2.3