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: Preliminaries 52798 \MT@with@<strong>package</strong>@T{mathastext}\MT@if@true799 \ifMT@if@\MT@restore@p@h\fi800 }Check again at the end of the preamble.801 802 \MT@addto@setup{%803 Our competitor, the pdfcprot <strong>package</strong>, must not be tolerated!804 \MT@with@<strong>package</strong>@T{pdfcprot}{%805 \MT@error{Detected the `pdfcprot’ <strong>package</strong>!\MessageBreak806 `\MT@MT’ and `pdfcprot’ may not be used together}{%807 <strong>The</strong> `pdfcprot’ <strong>package</strong> provides an interface to character protrusion.\MessageBreak808 So does the `\MT@MT’ <strong>package</strong>. Using both <strong>package</strong>s at the same\MessageBreak809 time will almost certainly lead to undesired results. Have your choice!}%810 }%811 \MT@with@<strong>package</strong>@T{ledmac}\MT@ledmac@setup812 \MT@with@<strong>package</strong>@T{eledmac}\MT@ledmac@setup813 \MT@with@<strong>package</strong>@T{xunicode}\MT@xunicodetrue814 \MT@with@<strong>package</strong>@T{fontspec}\MT@fontspectrueWe can clean up \MT@setupfont@hook now.815 \let\MT@setupfont@hook\@empty816 \ifMT@fontspec817 \g@addto@macro\MT@setupfont@hook{\MT@font}%818 \fi819 \MT@if@false820 \MT@with@babel@and@T{spanish} \MT@if@true821 \MT@with@babel@and@T{galician}\MT@if@true822 \MT@with@babel@and@T{mexican} \MT@if@true823 \ifMT@if@824 \g@addto@macro\MT@setupfont@hook{%825 \MT@ifdefined@c@T\percentsign{\let\%\percentsign}}%826 \fi827 \MT@with@<strong>package</strong>@T{csquotes}{%828 \@if<strong>package</strong>later{csquotes}{2005/05/11}{%829 \g@addto@macro\MT@setupfont@hook\@disablequotes830 }{%831 \MT@warning@nl{%832 Should you receive warnings about unknown slot\MessageBreak833 numbers, try upgrading the `csquotes’ <strong>package</strong>}%834 }%835 }%We disable <strong>microtype</strong>’s additions inside hyperref’s \pdfstringdef, which redefineslots of commands. hyperref doesn’t work with plain TEX, so in that case we don’tbother.836 \MT@if@false837 838 \MT@requires@latex2{839 \MT@with@<strong>package</strong>@T{hyperref}{%840 \pdfstringdefDisableCommands{%841 842 \let\pickup@font\MT@orig@pickupfont843 \let\text<strong>microtype</strong>context\@secondoftwo844 \let\<strong>microtype</strong>context\@gobble845 846 \def\lsstyle{\pdfstringdefWarn\lsstyle}%847 \def\textls#1#{\pdfstringdefWarn\textls}%848 }%849 \MT@if@true850 }%851 }\relax852

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

Saved successfully!

Ooh no, something went wrong!