summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/leading
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-09 13:15:05 +0000
committerKarl Berry <karl@freefriends.org>2007-05-09 13:15:05 +0000
commit5a221313b82fe5e9fc9db7db3e17ba4985f470f4 (patch)
tree9f6ba3c1ad6de63dfee9dfd98e107ae18ad1df2b /Master/texmf-dist/tex/latex/leading
parent8f0b3a4f2a7707d2fe6401235979e0fb092c8a53 (diff)
new package leading (6may07)
git-svn-id: svn://tug.org/texlive/trunk@4267 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/leading')
-rw-r--r--Master/texmf-dist/tex/latex/leading/leading.sty40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/leading/leading.sty b/Master/texmf-dist/tex/latex/leading/leading.sty
new file mode 100644
index 00000000000..4fd77db9410
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/leading/leading.sty
@@ -0,0 +1,40 @@
+%%
+%% 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 <wspr81@gmail.com>
+%%
+%% 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'.