microtype
Character protrusion and font expansion: even text colour, fewer hyphenations — the single biggest typographic upgrade.
- Preamble
% Character protrusion and font expansion. See http://www.ctan.org/tex-archive/macros/latex/contrib/microtype/
\usepackage[
babel=true, % Enable language-specific kerning. Take language-settings from the language of the current document (see Section 6 of microtype.pdf)
expansion=alltext,
protrusion=alltext-nott, % Ensure that at listings, there is no change at the margin of the listing
% In the standard configuration, this template is always in the final mode, so this option only makes a difference if "pros" use the draft mode
final % Always enable microtype, even if in draft mode. This helps finding bad boxes quickly.
]{microtype}
% \texttt{test -- test} keeps the "--" as "--" (and does not convert it to an en dash)
\DisableLigatures{encoding = T1, family = tt* }
%\DeclareMicrotypeSet*[tracking]{my}{ font = */*/*/sc/* }%
%\SetTracking{ encoding = *, shape = sc }{ 45 }
% Source: http://homepage.ruhr-uni-bochum.de/Georg.Verweyen/pakete.html
% Deactiviated, because does not look good