10.07.2015 Views

The microtype package

The microtype package

The microtype package

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IMPLEMENTATION: Font setup 64\MT@get@unit\MT@get@unit@\MT@set@inputenc\MT@cat\MT@set@inputenc@1304 \MT@exp@cs\ifx{MT@\MT@feat @unit@}\@empty1305 \let\MT@get@char@unit\MT@get@charwd1306 \else1307 \MT@exp@cs\ifx{MT@\MT@feat @unit@}\m@ne1308 \let\MT@get@space@unit\MT@get@font@dimen1309 \else1310 \MT@exp@cs\MT@get@unit{MT@\MT@feat @unit@}%1311 \fi1312 \fiPreset all characters? If so, we surely don’t need to reset, too.1313 \MT@ifdefined@n@T{MT@\MT@feat @c@\csname MT@\MT@feat @c@name\endcsname @preset}{%1314 \csname MT@preset@\MT@feat\endcsname1315 \MT@let@nc{MT@reset@\MT@feat @codes}\relax1316 }%1317 }If unit contains an em or ex, we use the corresponding \fontdimen to obtain thereal size. Simply converting the em into points might give a wrong result, sincethe font probably isn’t set up yet, so that these dimensions haven’t been updated,either.1318 \def\MT@get@unit#1{%1319 \expandafter\MT@get@unit@#1 e!\@nil1320 \ifx\x\@empty\else\let#1\x\fi1321 \@defaultunits\@tempdima#1 pt\relax\@nnil1322 \ifdim\@tempdima=\z@1323 \MT@warning@nl{%1324 Cannot set \@nameuse{MT@abbr@\MT@feat} factors relative to zero\MessageBreak1325 width. Setting factors of list `\@nameuse{MT@\MT@feat @c@name}’\MessageBreak1326 relative to character widths instead}%1327 \let#1\@empty1328 \let\MT@get@char@unit\MT@get@charwd1329 \else1330 \MT@vinfo{... : Setting \@nameuse{MT@abbr@\MT@feat} factors relative1331 to \the\@tempdima}%1332 \MT@count=\@tempdima\relax1333 \fi1334 }1335 \def\MT@get@unit@#1e#2#3\@nil{%1336 \ifx\\#3\\\let\x\@empty \else1337 \if m#2%1338 \edef\x{#1\fontdimen6\MT@font}%1339 \else1340 \if x#2%1341 \edef\x{#1\fontdimen5\MT@font}%1342 \fi1343 \fi1344 \fi1345 }<strong>The</strong> configurations may be under the regime of an input encoding.1346 \def\MT@set@inputenc#1{%We remember the current category (c or inh), in case of warnings later.1347 \def\MT@cat{#1}%1348 \edef\@tempa{MT@\MT@feat @#1@\csname MT@\MT@feat @#1@name\endcsname @inputenc}%1349 \MT@ifdefined@n@T\@tempa\MT@set@inputenc@1350 }More recent versions of inputenc remember the current encoding, so that we cantest whether we really have to load the encoding file.1351 \MT@addto@setup{%1352 \@if<strong>package</strong>loaded{inputenc}{%

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

Saved successfully!

Ooh no, something went wrong!