diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def b/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def index ac075d97fef..bcd2d6aa263 100644 --- a/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def +++ b/Master/texmf-dist/tex/latex/bidi/lettrine-xetex-bidi.def @@ -12,7 +12,7 @@ %% License information appended. %% %% -\ProvidesFile{lettrine-xetex-bidi.def}[2011/09/16 v0.1 bidi adaptations for lettrine package for XeTeX engine] +\ProvidesFile{lettrine-xetex-bidi.def}[2013/04/16 v0.2 bidi adaptations for lettrine package for XeTeX engine] \def\@lettrine[#1]#2#3{% \setcounter{L@lines}{\theDefaultLines}% \renewcommand*{\L@hang}{\DefaultLhang}% @@ -96,11 +96,10 @@ \addtolength{\L@next}{-\L@slope}% \advance\@tempcnta\@ne}% \if@RTL \edef\L@parshape{\L@parshape 0pt \the\linewidth}\else\edef\L@parshape{\L@parshape \rightmargin \the\linewidth}\fi - \noindent\leavevmode - \parshape=\L@parshape - $\smash{\if@RTL\rlap{\hskip \the\L@Findent\mbox{\L@ante}\raisebox{\L@lraise}{\usebox{\L@lbox}}% - }\else\llap{\mbox{\L@ante}\raisebox{\L@lraise}{\usebox{\L@lbox}}% - \hskip \the\L@Findent}\fi}$% + \noindent + \parshape=\L@parshape\relax + \smash{\llap{\mbox{\L@ante}\raisebox{\L@lraise}{\usebox{\L@lbox}}% + \hskip \the\L@Findent}}% \usebox{\L@tbox}} %% %% Copyright © 2009–2013 Persian TeX Group <persian-tex@tug.org> |