10.07.2015 Views

The microtype package

The microtype package

The microtype package

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IMPLEMENTATION: Configuration 102\MT@get@font\MT@get@font@\MT@get@axis\MT@warn@axis@empty\UseMicrotypeSet2998 \MT@exp@two@n\g@addto@macro2999 {\csname MT@#1list@font@\MT@curr@set@name\expandafter\endcsname}%3000 {\MT@val,}%3001 }%3002 \expandafter\g@addto@macro\expandafter\MT@font@sets3003 \csname MT@#1list@font@\MT@curr@set@name\endcsname3004 \MT@dinfo@nl{1}{-- font: \@nameuse{MT@#1list@font@\MT@curr@set@name}}%3005 }%3006 }Translate any asterisks.3007 \def\MT@get@font#1/#2/#3/#4/#5/#6\@nil{%3008 \MT@get@font@{#1}{#2}{#3}{#4}{#5}{0}%3009 \ifx\MT@val\relax\def\MT@val{0}\fi3010 \expandafter\g@addto@macro\expandafter\@tempb\expandafter{\MT@val}%3011 \let\MT@val\@tempb3012 }Helper macro, also used by \MT@get@font@and@size.3013 \def\MT@get@font@#1#2#3#4#5#6{%3014 \let\@tempb\@empty3015 \def\MT@temp{#1/#2/#3/#4/#5}%3016 \MT@get@axis{encoding}{#1}%3017 \MT@get@axis{family} {#2}%3018 \MT@get@axis{series} {#3}%3019 \MT@get@axis{shape} {#4}%3020 \ifnum#6>\z@\edef\@tempb{\@tempb*}\fi3021 \MT@ifempty{#5}{%3022 \MT@warn@axis@empty{size}{\string\normalsize}%3023 \def\MT@val{*}%3024 }{%3025 \def\MT@val{#5}%3026 }%3027 \MT@get@size3028 }3029 \def\MT@get@axis#1#2{%3030 \def\MT@val{#2}%3031 \MT@get@highlevel{#1}%3032 \MT@ifempty\MT@val{%3033 \MT@warn@axis@empty{#1}{\csname #1default\endcsname}%3034 \expandafter\def\expandafter\MT@val\expandafter{\csname #1default\endcsname}%3035 }\relax3036 \expandafter\g@addto@macro\expandafter\@tempb\expandafter{\MT@val/}%3037 }3038 \def\MT@warn@axis@empty#1#2{%3039 \MT@warning{#1 axis is empty in font specification\MessageBreak3040 `\MT@temp’. Using `#2’ instead}%3041 }We can finally assemble all pieces to define \DeclareMicrotypeSet’s keys. <strong>The</strong>y arealso used for \DisableLigatures.3042 \MT@exp@one@n\MT@map@clist@n{\MT@features,nl}{%3043 \MT@define@set@key@{encoding}{#1}%3044 \MT@define@set@key@{family} {#1}%3045 \MT@define@set@key@{series} {#1}%3046 \MT@define@set@key@{shape} {#1}%3047 \MT@define@set@key@size {#1}%3048 \MT@define@set@key@font {#1}%3049 }To use a particular set we simply redefine MT@〈feature〉@setname. If the optional

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!