summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-26 21:26:43 +0000
committerKarl Berry <karl@freefriends.org>2018-08-26 21:26:43 +0000
commit5c4fcece888ee328ff7d9a04ca94e053bc279749 (patch)
tree9803f80c4e285c0949b76b1c0d9e295e2b32e40d /Master/texmf-dist/tex/latex/lettrine/lettrine.sty
parent4b1798930ac65eee9c833921c883645b11160769 (diff)
lettrine (26aug18)
git-svn-id: svn://tug.org/texlive/trunk@48492 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lettrine/lettrine.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lettrine/lettrine.sty60
1 files changed, 30 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/lettrine/lettrine.sty b/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
index cd6ce420159..36588a71988 100644
--- a/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
+++ b/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
@@ -6,24 +6,40 @@
%%
%% lettrine.dtx (with options: `sty')
%%
-%% IMPORTANT NOTICE:
+%% This file is a generated file part of the lettrine package.
+%% -----------------------------------------------------------
%%
-%% For the copyright see the source file.
+%% For the copyright see the source file lettine.dtx.
%%
-%% Any modified versions of this file must be renamed
-%% with new filenames distinct from lettrine.sty.
+%% This file can be distributed and/or modified under the terms
+%% of the LaTeX Project Public License either version 1.3c of this
+%% license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
-%% For distribution of the original source see the terms
-%% for copying and modification in the file lettrine.dtx.
+%% This work has the LPPL maintenance status "maintained".
%%
-%% This generated file may be distributed as long as the
-%% original source files, as listed above, are part of the
-%% same distribution. (The sources need not necessarily be
-%% in the same archive or directory.)
-\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%% The Current Maintainer of this work is Daniel Flipo.
+%%
+%% Please report errors to: <daniel (dot) flipo (at) free (dot) fr>
+%%
+\NeedsTeXFormat{LaTeX2e}[2018-04-01]
\ProvidesFile{lettrine.sty}
- [2018/08/18 v2.1 (Daniel Flipo)]
-\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+ [2018-08-25 v2.2 (Daniel Flipo)]
+\ifdefined\DeclareRelease
+ \DeclareRelease{v1.6}{1999-03-03}{lettrine-2006-03-17.sty}
+ \DeclareRelease{v1.9}{2012-07-20}{lettrine-2015-08-31.sty}
+ \DeclareRelease{v2.0}{2018-07-21}{lettrine-2018-08-18.sty}
+ \DeclareCurrentRelease{}{2018-08-18}
+\else
+ \PackageWarning{lettrine}{Your LaTeX kernel is too old to provide
+ access\MessageBreak to former versions of the lettrine package.%
+ \MessageBreak If you need rollback, please upgrade%
+ \MessageBreak your LaTeX kernel (2018-04-01 or newer),%
+ \MessageBreak otherwise you are fine; reported}
+\fi
\RequirePackage{keyval,minifp}
\newcounter{DefaultLines}
\setcounter{DefaultLines}{2}
@@ -43,7 +59,6 @@
\newif\ifLettrineImage
\newif\ifLettrineOnGrid
\newif\ifLettrineRealHeight
-\newif\ifLettrineVone
\newif\ifLettrineSelfRef
\newsavebox{\L@lbox}
\newsavebox{\L@tbox}
@@ -72,7 +87,6 @@
\newif\ifL@image
\newif\ifL@grid
\newif\ifL@realh
-\newif\ifL@vone
\newif\ifL@selfref
\newcommand*{\LettrineTextFont}{\scshape}
\newcommand*{\LettrineTestString}{EFTZ}
@@ -103,19 +117,7 @@
\Lettrine@RefString}%
\@tempcnta=\ht\@tempboxa
\@tempcntb=\L@height
- \ifL@vone
- \multiply\@tempcntb by 100
- \divide\@tempcnta by 100
- \divide\@tempcntb by \@tempcnta
- \advance\@tempcntb by -9999
- \ifnum\@tempcntb>0
- \def\L@factor{1.\the\@tempcntb}%
- \else
- \def\L@factor{1}%
- \fi
- \else
- \MFPdiv{\the\@tempcntb}{\the\@tempcnta}\L@factor
- \fi
+ \MFPdiv{\the\@tempcntb}{\the\@tempcnta}\L@factor
\fi
}
\newcommand*{\LettrineFontHook}{}
@@ -142,7 +144,6 @@
\define@key{L}{novskip}{\setlength{\L@novskip}{#1}}
\define@key{L}{refstring}[\l@initial]{\L@selfreftrue
\def\l@refstring{#1}}
-\define@key{L}{Vone}[true]{\csname L@vone#1\endcsname}
\newcommand*{\LettrineOptionsFor}[2]{\@namedef{l@#1-keys}{#2}}
\def\lettrine{\@ifnextchar[\@lettrine{\@lettrine[]}}
\def\@lettrine[#1]#2#3{%
@@ -160,7 +161,6 @@
\ifLettrineImage\L@imagetrue\else\L@imagefalse\fi
\ifLettrineOnGrid\L@gridtrue\else\L@gridfalse\fi
\ifLettrineRealHeight\L@realhtrue\else\L@realhfalse\fi
- \ifLettrineVone\L@vonetrue\else\L@vonefalse\fi
\ifLettrineSelfRef\L@selfreftrue\else\L@selfreffalse\fi
\setkeys{L}{#1}%
\sbox{\L@tbox}{\LettrineTextFont{\LettrineSecondString}}%