diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/microtype/microtype.sty | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.sty b/Master/texmf-dist/tex/latex/microtype/microtype.sty index 07375123b7d..41798862307 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.sty +++ b/Master/texmf-dist/tex/latex/microtype/microtype.sty @@ -10,7 +10,7 @@ %% %% The `microtype' package %% Subliminal refinements towards typographical perfection -%% Copyright (c) 2004--2020 R Schlicht <w.m.l@gmx.net> +%% Copyright (c) 2004--2021 R Schlicht <w.m.l@gmx.net> %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -29,7 +29,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {microtype} - [2020/12/07 v2.8 + [2021/02/22 v2.8a Micro-typographical refinements (RS)] \def\MT@MT @@ -1536,10 +1536,8 @@ time will almost certainly lead to undesired results. Have your choice!}% \else \MT@let@cn\@tempa{\MT@val}% \fi - \ifx\@tempa\relax \else - \begingroup - \def\set@fontsize##1##2##3##4\@nil{\endgroup\def\MT@val{##2}}% - \@tempa\@nil + \ifx\@tempa\relax\else + \MT@get@size@ \fi \MT@ifdimen\MT@val{% \@defaultunits\@tempdima\MT@val pt\relax\@nnil @@ -1550,6 +1548,23 @@ time will almost certainly lead to undesired results. Have your choice!}% \let\MT@val\relax }% } +\def\MT@get@size@@{% + \begingroup + \def\set@fontsize##1##2##3##4\@nil{\endgroup\def\MT@val{##2}}% + \@tempa\@nil +} +^^X\@ifclassloaded{svjour3}{% +^^X \def\MT@get@size@{% +^^X \@tempcnta=\currentiflevel +^^X \MT@get@size@@ +^^X \loop +^^X \ifnum\numexpr\currentiflevel-1>\@tempcnta +^^X \csname fi\endcsname +^^X \repeat +^^X }% +^^X}{% + \let\MT@get@size@\MT@get@size@@ +^^X} \def\MT@define@set@key@font#1{% \define@key{MT@#1@set}{font}[]{% \MT@glet@nc{MT@#1list@font@\MT@curr@set@name}\@empty @@ -1840,14 +1855,16 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@set@inh@list#1#2{% \MT@ifempty\MT@inh@feat{% - \MT@map@clist@c\MT@features{{\MT@declare@char@inh{##1}{#1}{#2}}}% + \MT@map@clist@c\MT@features{{% + \MT@ifstreq{##1}{tr}\relax{\MT@declare@char@inh{##1}{#1}{#2}}% + }}% }{% \MT@map@clist@c\MT@inh@feat{{% \KV@@sp@def\@tempa{##1}% \MT@ifempty\@tempa\relax{% - \MT@exp@one@n\MT@declare@char@inh - {\csname MT@rbba@\@tempa\endcsname}{#1}{#2}% - }% + \edef\@tempa{\csname MT@rbba@\@tempa\endcsname}% + \MT@ifstreq\@tempa{tr}\relax{% + \MT@exp@one@n\MT@declare@char@inh{\@tempa}{#1}{#2}}}% }}% }% \MT@end@catcodes @@ -1878,6 +1895,12 @@ time will almost certainly lead to undesired results. Have your choice!}% \expandafter\MT@inh@do \fi } +\MT@gdef@n{MT@pr@c@U/euroitc///}{euroitc} +\MT@gdef@n{MT@pr@c@U/euroitcs///}{euroitc} +\MT@gdef@n{MT@pr@c@U/euroitc//it/}{euroitci} +\MT@gdef@n{MT@pr@c@U/euroitcs//it/}{euroitci} +\MT@gdef@n{MT@pr@c@euroitc}{E={100,50}} +\MT@gdef@n{MT@pr@c@euroitci}{E={100,}} \def\MT@permute{% \let\MT@cnt@encoding\@ne \MT@permute@ |