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 1043106 }\DeclareMicrotypeVariants\MT@variants\MT@DeclareVariants\DeclareMicrotypeAlias\LoadMicrotypeFile14.3.2 Variants and aliasesSpecify suffixes for variants (see fontname/variants.map). <strong>The</strong> starred versionappends to the list.3107 \let\MT@variants\@empty3108 \def\DeclareMicrotypeVariants{%3109 \@ifstar3110 \MT@DeclareVariants3111 {\let\MT@variants\@empty\MT@DeclareVariants}%3112 }3113 \def\MT@DeclareVariants#1{%3114 \MT@map@clist@n{#1}{%3115 \KV@@sp@def\@tempa{##1}%3116 \@onelevel@sanitize\@tempa3117 \xdef\MT@variants{\MT@variants{\@tempa}}%3118 }%3119 }This can be used to set an alias name for a font, so that the file and the settings forthe aliased font will be loaded.3120 \renewcommand*\DeclareMicrotypeAlias[2]{%3121 \edef\@tempa{\zap@space#1 \@empty}%3122 \edef\@tempb{\zap@space#2 \@empty}%3123 \@onelevel@sanitize\@tempb3124 \MT@ifdefined@n@T{MT@\@tempa @alias}{%3125 \MT@warning{Alias font family `\@tempb’ will override3126 alias `\@nameuse{MT@\@tempa @alias}’\MessageBreak3127 for font family `\@tempa’}}%3128 \MT@xdef@n{MT@\@tempa @alias}{\@tempb}%If we encounter this command while a font is being set up, we also set the aliasfor the current font so that if \DeclareMicrotypeAlias has been issued inside aconfiguration file, the configuration file for the alias font will be loaded, too.3129 \MT@ifdefined@c@T\MT@family{%3130 \MT@dinfo{1}{Activating alias font `\@tempb’ for `\MT@family’}%3131 \MT@glet\MT@familyalias\@tempb3132 }%3133 }May be used to load a configuration file manually.3134 \def\LoadMicrotypeFile#1{%3135 \edef\@tempa{\zap@space#1 \@empty}%3136 \@onelevel@sanitize\@tempa3137 \MT@exp@one@n\MT@in@clist\@tempa\MT@file@list3138 \ifMT@inlist@3139 \MT@vinfo{... Configuration file mt-\@tempa.cfg already loaded}%3140 \else3141 \MT@xadd\MT@file@list{\@tempa,}%3142 \MT@begin@catcodes3143 \InputIfFileExists{mt-\@tempa.cfg}{%3144 \edef\MT@curr@file{mt-\@tempa.cfg}%3145 \MT@vinfo{... Loading configuration file \MT@curr@file}%3146 }{%3147 \MT@warning{... Configuration file mt-\@tempa.cfg\MessageBreak3148 does not exist}%3149 }%3150 \MT@end@catcodes3151 \fi

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

Saved successfully!

Ooh no, something went wrong!