diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/letterspace.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/microtype/letterspace.sty | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/letterspace.sty b/Master/texmf-dist/tex/latex/microtype/letterspace.sty index dfdc5056399..7d0a1af6b45 100644 --- a/Master/texmf-dist/tex/latex/microtype/letterspace.sty +++ b/Master/texmf-dist/tex/latex/microtype/letterspace.sty @@ -32,7 +32,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {letterspace} - [2009/03/27 v2.3d + [2009/11/09 v2.3e Robust letterspacing (RS)] \def\MT@MT @@ -210,17 +210,17 @@ \def\lsstyle{\pdfstringdefWarn\lsstyle}% \def\textls#1#{\pdfstringdefWarn\textls}% }% - } + }% }\relax \MT@requires@latex2{ \MT@with@package@T{soul}{% \soulregister\lsstyle 0% \soulregister\textls 1% - } + }% }{\ifx\SOUL@\@undefined\else \soulregister\lsstyle 0% \soulregister\textls 1% - \fi} + \fi}% } \let\MT@tracking \relax @@ -251,11 +251,11 @@ \MT@outer@kern=-\dimexpr\MT@letterspace@ sp * \fontdimen6\font@name/2000\relax \MT@ls@outer@k \xdef\MT@set@curr@ok{\MT@outer@kern=\the\MT@outer@kern\relax}% - \aftergroup\aftergroup\aftergroup\MT@set@curr@ok - \aftergroup\aftergroup\aftergroup\MT@ls@outer@k + \aftergroup\aftergroup\aftergroup\MT@ls@aftergroup \fi \fi } +\def\MT@ls@aftergroup{\MT@set@curr@ok\MT@ls@outer@k} \MT@requires@latex2{ \def\MT@set@lsfont{\MT@exp@two@c\let\font@name\MT@lsfont} \DeclareRobustCommand\lsstyle{% @@ -339,21 +339,21 @@ \def\MT@ls@outer@k{\ifhmode\kern\MT@outer@kern\relax\fi} \MT@requires@latex2{ \MT@addto@setup{% - \@ifpackageloaded{CJK}{ - \@ifpackagelater{CJK}{2006/10/17} % 4.7.0 - {\def\MT@orig@pickupfont{\CJK@ifundefined\CJK@plane}} - {\def\MT@orig@pickupfont{\@ifundefined{CJK@plane}}} + \@ifpackageloaded{CJK}{% + \@ifpackagelater{CJK}{2006/10/17}% 4.7.0 + {\def\MT@orig@pickupfont{\CJK@ifundefined\CJK@plane}}% + {\def\MT@orig@pickupfont{\@ifundefined{CJK@plane}}}% \g@addto@macro\MT@orig@pickupfont - {{\expandafter\ifx\font@name\relax\define@newfont\fi}} - \@ifpackageloaded{CJKutf8} - {\@ifpackagelater{CJKutf8}{2008/05/22} % 4.8.0 - {\ifpdf\expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi} - {\@firstoftwo}} - {\@firstoftwo} + {{\expandafter\ifx\font@name\relax\define@newfont\fi}}% + \@ifpackageloaded{CJKutf8}% + {\@ifpackagelater{CJKutf8}{2008/05/22}% 4.8.0 + {\ifpdf\expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi}% + {\@firstoftwo}}% + {\@firstoftwo}% {\g@addto@macro\MT@orig@pickupfont{% {\expandafter\ifx\csname\curr@fontshape/\f@size/\CJK@plane\endcsname\relax \define@newfont\else\xdef\font@name{% - \csname \curr@fontshape/\f@size/\CJK@plane\endcsname}\fi}}} + \csname \curr@fontshape/\f@size/\CJK@plane\endcsname}\fi}}}% {\g@addto@macro\MT@orig@pickupfont{% {\expandafter\ifx\csname \curr@fontshape/\f@size/\CJK@plane\endcsname\relax \define@newfont\def\CJK@temp{v}% @@ -362,23 +362,23 @@ \else\csname CJK@cmap@\f@family\CJK@plane\endcsname\fi \else \CJK@addcmap\CJK@plane \fi \else\xdef\font@name{% - \csname \curr@fontshape/\f@size/\CJK@plane\endcsname}\fi}}} - }{ - \def\MT@orig@pickupfont{\expandafter\ifx\font@name\relax\define@newfont\fi} - } + \csname \curr@fontshape/\f@size/\CJK@plane\endcsname}\fi}}}% + }{% + \def\MT@orig@pickupfont{\expandafter\ifx\font@name\relax\define@newfont\fi}% + }% \ifx\pickup@font\MT@orig@pickupfont \else \MT@warning@nl{% Command \string\pickup@font\space is not defined as expected.% \MessageBreak Patching it anyway. Some things may break% - } + }% \fi - \g@addto@macro\pickup@font{\begingroup} - \MT@with@package@T{trace}{\g@addto@macro\pickup@font{\conditionally@traceoff}} + \g@addto@macro\pickup@font{\begingroup}% + \MT@with@package@T{trace}{\g@addto@macro\pickup@font{\conditionally@traceoff}}% \g@addto@macro\pickup@font{% \escapechar\m@ne \MT@tracking \endgroup - } + }% } }\relax \MT@requires@latex1{ @@ -430,19 +430,19 @@ processing program (dvips, dvipdfm(x), ...) is\MessageBreak able to create the virtual fonts on the fly}% \MT@glet\MT@warn@tracking@DVI\relax - } + }% \else \def\MT@warn@tracking@DVI{% \ifnum\pdfprotrudechars<\@ne \global\pdfprotrudechars\@ne \fi \MT@glet\MT@warn@tracking@DVI\relax - } + }% \fi \ifnum\MT@letterspace=\m@ne \let\MT@letterspace\MT@letterspace@default \else \MT@ls@too@large\MT@letterspace \fi - } + }% \MT@requires@latex1{ \AtBeginDocument{\MT@setup@ \MT@glet\MT@setup@\@empty} }\relax |