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 72\MT@lsfont1706 \relax1707 1708 \MT@ifdefined@c@TF\MT@letterspace@\relax{\let\MT@letterspace@\MT@letterspace}%1709 \ifnum\MT@letterspace@=\z@Zero tracking requires special treatment.1710 \MT@set@tr@zero1711 \else1712 \MT@vinfo{... Tracking by \number\MT@letterspace@}%Letterspacing only works in PDF mode.1713 \MT@warn@tracking@DVI<strong>The</strong> letterspaced font instances are saved in macros \〈font name〉/〈letterspacingamount〉ls.In contrast to \MT@font, which may reflect the font characteristics more accurately(taking substitutions into account), \font@name is guaranteed to correspondto an actual font identifier.1714 \xdef\MT@lsfont{\csname\expandafter\string\font@name1715 /\number\MT@letterspace@ ls\endcsname}%1716 \expandafter\ifx\MT@lsfont\relax1717 \MT@dinfo@nl{1}{... new letterspacing instance}%In case of nested letterspacing with different amounts, we have to extract the basefont again.1718 \MT@get@ls@basefont1719 \global\expandafter\letterspacefont\MT@lsfont\font@name\MT@letterspace@Scale interword spacing (not configurable in letterspace).1720 1721 \MT@ifdefined@c@TF\MT@tr@ispace1722 {\let\@tempa\MT@tr@ispace}%1723 {\edef\@tempa{\MT@letterspace@*,,}}%1724 \MT@ifdefined@c@TF\MT@tr@ospace1725 {\edef\@tempa{\@tempa,\MT@tr@ospace}}%1726 {\edef\@tempa{\@tempa,,,}}%1727 \expandafter\MT@tr@set@space\@tempa,%1728 1729 1730 % spacing = {*,,}1731 \fontdimen2\MT@lsfont=\dimexpr\numexpr 1000+\MT@letterspace@\relax sp1732 * \fontdimen2\MT@lsfont/1000\relax1733 Adjust outer kerning (<strong>microtype</strong> only).1734 1735 \MT@ifdefined@c@TF\MT@tr@okern{\let\@tempa\MT@tr@okern}{\def\@tempa{*,*}}%1736 \expandafter\MT@tr@set@okern\@tempa,%Disable ligatures (not configurable in letterspace).1737 \MT@ifdefined@c@T\MT@tr@ligatures\MT@tr@noligatures1738 1739 1740 % no ligatures = {f}1741 \tagcode\MT@lsfont`f=\m@ne1742 Adjust protrusion values now, and maybe later (in \MT@pr@split@val) (not forLuaTEX, though, where the letterspaced font inherits the protrusion values fromthe base font).1743 \MT@dinfo@nl{2}{... compensating for tracking (\number\MT@letterspace@)}%1744 \MT@do@font{\lpcode\MT@lsfont\@tempcnta=\numexpr\MT@letterspace@/2\relax1745 \rpcode\MT@lsfont\@tempcnta=\numexpr\MT@letterspace@/2\relax}%

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

Saved successfully!

Ooh no, something went wrong!