summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-31 20:54:22 +0000
committerKarl Berry <karl@freefriends.org>2018-07-31 20:54:22 +0000
commite9c87a20f359b9d7842854d3d737058acbe0a0fd (patch)
tree98bda5c3d8be9ca1b0c85475242094febf7014d0 /Master/texmf-dist/tex/latex/lettrine/lettrine.sty
parent22aaabfaa8342d36886efc120442e53c947bc296 (diff)
lettrine (31jul18)
git-svn-id: svn://tug.org/texlive/trunk@48321 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.sty19
1 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/lettrine/lettrine.sty b/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
index 567b7fcaf16..518e600a1f4 100644
--- a/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
+++ b/Master/texmf-dist/tex/latex/lettrine/lettrine.sty
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesFile{lettrine.sty}
- [2018/07/21 v2.0 (Daniel Flipo)]
+ [2018/07/31 v2.01 (Daniel Flipo)]
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\RequirePackage{keyval}
\newcounter{DefaultLines}
@@ -75,17 +75,20 @@
\ifvoid\L@tbox
\sbox{\L@tbox}{\LettrineTextFont{\LettrineSecondString}}%
\fi
- \global\setlength{\L@target@ht}{\ht\L@tbox}%
+ \setlength{\L@target@ht}{\ht\L@tbox}%
\@tempdima=\baselineskip
- \global\setlength{\L@target@dp}{\value{L@lines}\@tempdima}%
+ \setlength{\L@target@dp}{\value{L@lines}\@tempdima}%
\ifnum\value{L@lines}>1
- \global\addtolength{\L@target@dp}{-\@tempdima}%
+ \addtolength{\L@target@dp}{-\@tempdima}%
\else
- \global\addtolength{\L@target@ht}{\L@target@dp}%
- \global\setlength{\L@target@dp}{0pt}%
+ \addtolength{\L@target@ht}{\L@target@dp}%
+ \setlength{\L@target@dp}{0pt}%
\fi
- \global\setlength{\L@target@tht}{\L@target@ht}%
- \global\addtolength{\L@target@tht}{\L@target@dp}%
+ \setlength{\L@target@tht}{\L@target@ht}%
+ \addtolength{\L@target@tht}{\L@target@dp}%
+ \global\L@target@ht=\L@target@ht
+ \global\L@target@dp=\L@target@dp
+ \global\L@target@tht=\L@target@tht
\setlength{\L@height}{\L@target@tht}%
\addtolength{\L@height}{\L@oversize\L@target@tht}%
}