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: Font setup 65\MT@load@inputenc\MT@set@pr@heirs\MT@preset@pr\MT@preset@pr@\MT@preset@aux\MT@preset@aux@factor\MT@preset@aux@space1353 \@if<strong>package</strong>later{inputenc}{2006/02/22}{%1354 \def\MT@set@inputenc@{%1355 \MT@ifstreq\inputencodingname{\csname\@tempa\endcsname}\relax1356 \MT@load@inputenc1357 }%1358 }{%1359 \let\MT@set@inputenc@\MT@load@inputenc1360 }%1361 }{%1362 \def\MT@set@inputenc@{%1363 \MT@warning@nl{Key `inputenc’ used in \MT@curr@list@name, but the `inputenc’1364 \MessageBreak <strong>package</strong> isn’t loaded. Ignoring input encoding}%1365 }%1366 }%1367 }Set up normal catcodes, since, e.g., listings would otherwise want to actuallytypeset the inputenc file when it is being loaded inside a listing.1368 \def\MT@load@inputenc{%1369 \MT@cfg@catcodes1370 \MT@dinfo@nl{1}{loading input encoding: \@nameuse{\@tempa}}%1371 \inputencoding{\@nameuse{\@tempa}}%1372 }1373 Set the inheriting characters.1374 1375 \def\MT@set@pr@heirs#1{%1376 \lpcode\MT@font #1 =\lpcode\MT@font\MT@char\relax1377 \rpcode\MT@font #1 =\rpcode\MT@font\MT@char\relax1378 \MT@dinfo@nl{2}{-- heir of \MT@char: #1}%1379 \MT@dinfo@nl{4}{;;; lp/rp (#1): \number\lpcode\MT@font\MT@char\space/%1380 \number\rpcode\MT@font\MT@char\space}%1381 }Preset characters. Presetting them relative to their widths is not allowed.1382 \def\MT@preset@pr{%1383 \expandafter\expandafter\expandafter\MT@preset@pr@1384 \csname MT@pr@c@\MT@pr@c@name @preset\endcsname\@nil1385 }1386 \def\MT@preset@pr@#1,#2\@nil{%1387 \ifx\MT@pr@unit@\@empty1388 \MT@warn@preset@towidth{pr}%1389 \let\MT@preset@aux\MT@preset@aux@factor1390 \else1391 \def\MT@preset@aux{\MT@preset@aux@space2}%1392 \fi1393 \MT@ifempty{#1}{\let\@tempa\@empty}{\MT@preset@aux{#1}\@tempa}%1394 \MT@ifempty{#2}{\let\@tempb\@empty}{\MT@preset@aux{#2}\@tempb}%1395 \MT@set@all@pr\@tempa\@tempb1396 }Auxiliary macro for presetting. Store value 〈#1〉 in macro 〈#2〉.1397 \def\MT@preset@aux@factor#1#2{%1398 \@tempcntb=#1\relax1399 \MT@scale@factor1400 \edef#2{\number\@tempcntb}%1401 }1402 \def\MT@preset@aux@space#1#2#3{%1403 \def\@tempb{#2}%1404 \MT@get@space@unit#1%1405 \MT@scale@to@em1406 \edef#3{\number\@tempcntb}%1407 }

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

Saved successfully!

Ooh no, something went wrong!