From e9c87a20f359b9d7842854d3d737058acbe0a0fd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 31 Jul 2018 20:54:22 +0000 Subject: lettrine (31jul18) git-svn-id: svn://tug.org/texlive/trunk@48321 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/lettrine/lettrine.sty | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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}% } -- cgit v1.2.3