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: Package options 130\MT@setup@tracking\MT@setup@spacing\MT@setup@spacing@check4337 \ifMT@expansion4338 \ifMT@opt@expansion4339 \MT@error{Font expansion does not work with xetex}4340 {Use pdftex or luatex instead.}%4341 \fi4342 \fi4343 }4344 Tracking, spacing and kerning.4345 4346 \MT@requires@pdftex6{%4347 \MT@requires@luatex3{%4348 \def\MT@setup@tracking{%4349 \ifMT@tracking4350 \edef\MT@active@features{\MT@active@features,tr}%4351 \MT@info@nl{Tracking enabled}%4352 \MT@check@active@set{tr}%Enable protrusion for compensation at the line edges.4353 \ifMT@protrusion\else\MT@protrudechars\@ne\fi4354 \else4355 \let\MT@tracking\relax4356 \MT@info@nl{No adjustment of tracking}%4357 \fi4358 }4359 4360 4361 \def\MT@setup@spacing{%4362 \ifMT@spacing4363 \edef\MT@active@features{\MT@active@features,sp}%4364 \pdfadjustinterwordglue\@ne4365 \MT@info@nl{Adjustment of interword spacing enabled}%<strong>The</strong> ragged2e <strong>package</strong> sets interword spaces to a fixed value without glue. <strong>microtype</strong>’smodifications can therefore have undesired effects. <strong>The</strong>refore, we issue a warning.4366 \MT@with@<strong>package</strong>@T{ragged2e}{%4367 \MT@warning@nl{You are using the `ragged2e’ <strong>package</strong>.\MessageBreak4368 Adjustment of interword spacing may lead to\MessageBreak4369 undesired results when used with `ragged2e’.\MessageBreak4370 In this case, disable the `spacing’ option}%4371 }%4372 \MT@check@active@set{sp}%4373 \else4374 \let\MT@spacing\relax4375 \MT@info@nl{No adjustment of interword spacing}%4376 \fi4377 }Warning if \nonfrenchspacing is active, since space factors will be ignoredwith \pdfadjustinterwordglue > 0. Why 1500? Because some <strong>package</strong>s redefine\frenchspacing. 164378 \def\MT@setup@spacing@check{%4379 \ifMT@spacing4380 \ifMT@babel \else4381 \ifnum\sfcode`\. > 15004382 \MT@ifstreq\MT@sp@context{nonfrench}\relax{%4383 \MT@warning@nl{%4384 \string\nonfrenchspacing\space is active. Adjustment of\MessageBreak16 Cf. the c.t.t. thread ‘\frenchspacing with AMS <strong>package</strong>s and babel’, started by Philipp Lehman on16 August 2005, MID: ddtbaj$rob$1@online.de

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

Saved successfully!

Ooh no, something went wrong!