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 74\MT@afteraftergroup\MT@get@tr@opt\MT@tr@unit@\MT@tr@ispace\MT@tr@ospace\MT@tr@okern\MT@tr@ligatures\MT@get@tr@opt@\MT@set@lsfontfont.1787 \MT@protrusionfalse1788 }%1789 }This helper macro carries stuff outside of the current group to the end of the nextgroup, but will then respect grouping, which is crucial for nested letterspacing.(Following an idea of Will Robertson.)1790 \def\MT@afteraftergroup#1{%1791 \MT@ifdefined@n@TF{MT@aftergroup@\number\currentgrouplevel}\relax{%1792 \MT@exp@cs\xdef{MT@aftergroup@\number\currentgrouplevel}%1793 {\MT@exp@cs\MT@glet{MT@aftergroup@\number\currentgrouplevel}\noexpand\@undefined#1}%1794 \expandafter\aftergroup\expandafter\aftergroup\MT@exp@cs\aftergroup1795 {MT@aftergroup@\number\currentgrouplevel}%1796 }%1797 }1798 Various settings (only for the <strong>microtype</strong> version).1799 1800 \def\MT@get@tr@opt{%1801 \MT@set@listname1802 \MT@ifdefined@n@T{MT@tr@c@\MT@tr@c@name}{%1803 \MT@let@cn\MT@letterspace{MT@tr@c@\MT@tr@c@name}%Different unit?1804 \MT@ifdefined@n@T{MT@tr@c@\MT@tr@c@name @unit}{%1805 \MT@let@cn\MT@tr@unit@{MT@tr@c@\MT@tr@c@name @unit}%1806 \ifdim\MT@tr@unit@=1em1807 \let\MT@tr@unit@\@undefined1808 \else1809 \MT@let@cn\@tempb{MT@tr@c@\MT@tr@c@name}%1810 \MT@get@unit\MT@tr@unit@1811 \let\MT@tr@factor@\@m1812 \MT@scale@to@em1813 \edef\MT@letterspace{\number\@tempcntb}%1814 \fi1815 }%1816 }%Adjust interword spacing.1817 \MT@get@tr@opt@{spacing} {ispace}%1818 \MT@get@tr@opt@{outerspacing}{ospace}%Adjust outer kerning.1819 \MT@get@tr@opt@{outerkerning}{okern}%Which ligatures should we disable (empty means all, undefined none)?1820 \MT@get@tr@opt@{noligatures} {ligatures}%1821 }1822 \def\MT@get@tr@opt@#1#2{%1823 \MT@ifdefined@n@T{MT@tr@c@\MT@tr@c@name @#1}%1824 {\MT@let@nn{MT@tr@#2}{MT@tr@c@\MT@tr@c@name @#1}}%1825 }1826 Redefine \font@name, which will be called a second later (in \selectfont).1827 1828 \MT@requires@latex2{1829 \def\MT@set@lsfont{\MT@exp@two@c\let\font@name\MT@lsfont}

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

Saved successfully!

Ooh no, something went wrong!