latex template: disable protrusion for typewriter font.
Closes #1549. Thanks to lemzwerg.
This commit is contained in:
parent
ecb769cb7b
commit
7be841cee6
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ $endif$
|
||||||
% use upquote if available, for straight quotes in verbatim environments
|
% use upquote if available, for straight quotes in verbatim environments
|
||||||
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
||||||
% use microtype if available
|
% use microtype if available
|
||||||
\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
|
\IfFileExists{microtype.sty}{%
|
||||||
|
\usepackage{microtype}
|
||||||
|
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
||||||
|
}{}
|
||||||
$if(geometry)$
|
$if(geometry)$
|
||||||
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
|
||||||
$endif$
|
$endif$
|
||||||
|
|
Loading…
Add table
Reference in a new issue