diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/lettrine/lettrine.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/lettrine/lettrine.dtx | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/lettrine/lettrine.dtx b/Master/texmf-dist/source/latex/lettrine/lettrine.dtx index acbf9274d68..3069a99aa9e 100644 --- a/Master/texmf-dist/source/latex/lettrine/lettrine.dtx +++ b/Master/texmf-dist/source/latex/lettrine/lettrine.dtx @@ -1,5 +1,5 @@ % -% \CheckSum{464} +% \CheckSum{473} % % \iffalse meta-comment % @@ -30,7 +30,7 @@ \ProvidesFile{lettrine.dtx} %</dtx> %<*!cfg> - [2014/09/04 v1.65 (Daniel Flipo)] + [2014/09/16 v1.70 (Daniel Flipo)] %</!cfg> % % Lettrine package for LaTeX version 2e @@ -96,6 +96,13 @@ % \begin{itemize} % \item |lines=|\emph{$<$integer$>$} sets how many lines the % dropped capital will occupy (default=2); +% +% \changes{lettrine-1.66}{2014/09/16}{New counter to add lines for +% dropped capitals with positive depth, like Q.} +% +% \item |depth=|\emph{$<$integer$>$} sets the number of lines to +% be reserved under the baseline, this is meant for dropped +% capital with positive depth, like Q (default=0); % \item |lhang=|\emph{$<$decimal$>$} ($0\le|lhang|\le1$) sets % how much of the dropped capital's width should hang into % the margin (default=0); @@ -165,6 +172,7 @@ % shows the syntax to set them and their default values: % \begin{itemize} % \item |\setcounter{DefaultLines}{2}|, +% \item |\setcounter{DefaultDepth}{0}|, % \item |\renewcommand{\DefaultLoversize}{0}|, % \item |\renewcommand{\DefaultLraise}{0}|, % \item |\renewcommand{\DefaultLhang}{0}|, @@ -297,6 +305,7 @@ % \begin{macrocode} \newcounter{DefaultLines} \setcounter{DefaultLines}{2} +\newcounter{DefaultDepth} \newcommand*{\DefaultOptionsFile}{\relax} \newcommand*{\DefaultLoversize}{0} \newcommand*{\DefaultLraise}{0} @@ -319,6 +328,7 @@ \newsavebox{\L@lbox} \newsavebox{\L@tbox} \newcounter{L@lines} +\newcounter{L@depth} \newdimen\L@Pindent \newdimen\L@Findent \newdimen\L@Nindent @@ -447,6 +457,7 @@ % % \begin{macrocode} \define@key{L}{lines}{\setcounter{L@lines}{#1}} +\define@key{L}{depth}{\setcounter{L@depth}{#1}} \define@key{L}{lhang}{\renewcommand*{\L@hang}{#1}} \define@key{L}{loversize}{\renewcommand*{\L@oversize}{#1}} \define@key{L}{lraise}{\renewcommand*{\L@raise}{#1}} @@ -490,6 +501,7 @@ % First reset the parameters to their default values: % \begin{macrocode} \setcounter{L@lines}{\theDefaultLines}% + \setcounter{L@depth}{\theDefaultDepth}% \renewcommand*{\L@hang}{\DefaultLhang}% \renewcommand*{\L@oversize}{\DefaultLoversize}% \renewcommand*{\L@raise}{\DefaultLraise}% @@ -665,6 +677,7 @@ % |\parshape|). % \begin{macrocode} \addtocounter{L@lines}{1}% + \addtocounter{L@lines}{\the\c@L@depth}% \def\L@parshape{\c@L@lines \the\L@Pindent \the\L@first}% \@tempcnta=\tw@ \@whilenum \@tempcnta<\c@L@lines\do{% |