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 1053152 }3153 3154 \DisableLigatures\MT@DisableLigatures\MT@nl@setname\MT@nl@ligatures14.3.3 Disabling ligaturesThis is really simple now: we can re-use the set definitions of \DeclareMicrotypeSet;there can only be one set, which we’ll call ‘no ligatures’.<strong>The</strong> optional argument may be used to disable selected ligatures only.3155 3156 \MT@requires@pdftex5{3157 \def\DisableLigatures{%3158 \MT@begin@catcodes3159 \MT@DisableLigatures3160 }3161 \newcommand*\MT@DisableLigatures[2][]{%3162 \MT@ifempty{#1}\relax{\gdef\MT@nl@ligatures{#1}}%3163 \xdef\MT@active@features{\MT@active@features,nl}%3164 \global\MT@noligaturestrue3165 \MT@declare@sets{nl}{no ligatures}{#2}%3166 \gdef\MT@nl@setname{no ligatures}%3167 \MT@end@catcodes3168 }3169 }{3170 If pdfTEX is too old, we throw an error.3171 3172 \renewcommand*\DisableLigatures[2][]{%3173 \MT@error{Disabling ligatures of a font is only possible\MessageBreak3174 with pdftex version 1.30 or newer.\MessageBreak3175 Ignoring \string\DisableLigatures}{%3176 Upgrade3177 Use3178 pdftex.}%3179 }3180 }3181 \DeclareMicrotypeBabelHook14.3.4 Interaction with babelDeclare the context that should be loaded when a babel language is selected. <strong>The</strong>command will not check whether a previous declaration will be overwritten.3182 3183 \def\DeclareMicrotypeBabelHook#1#2{%3184 \MT@map@clist@n{#1}{%3185 \KV@@sp@def\@tempa{##1}%3186 \MT@gdef@n{MT@babel@\@tempa}{#2}%3187 }%3188 }3189 14.3.5 Fine tuning\SetProtrusion<strong>The</strong> commands \SetExpansion and \SetProtrusion provide an interface for settingthe character protrusion resp. expansion factors for a set of fonts.This macro accepts three arguments: [options,] set of font attributes and list ofcharacter protrusion factors.

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

Saved successfully!

Ooh no, something went wrong!