%% %% This is file `leading.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% leading.dtx (with options: `package') %% %% __________________________________ %% Copyright (C) 2007 Will Robertson %% %% License information appended. %% %% \ProvidesPackage{leading} [2007/05/06 v0.2 Define leading length] \RequirePackage{calc} \newcommand\leading[1]{% \begingroup \normalfont \@tempdima=\f@size pt\relax \@tempdimb=#1\relax \setlength\@tempdimc{1pt*\ratio{\@tempdimb}{\@tempdima}}% \global\@tempdimc\@tempdimc \endgroup \linespread{\strip@pt\@tempdimc}\normalfont} %% %% Copyright (C) 2007 by Will Robertson %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of %% this license is at: http://www.latex-project.org/lppl.txt %% %% This work is "maintained" (as per LPPL maintenance status) %% by Will Robertson. %% %% This work consists of the file leading.dtx %% and the derived files leading.sty and leading.pdf. %% %% %% End of file `leading.sty'.