From 7be841cee65db23378e659f3be443effa15168a3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 20 Aug 2014 08:14:53 -0700 Subject: [PATCH] latex template: disable protrusion for typewriter font. Closes #1549. Thanks to lemzwerg. --- default.latex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/default.latex b/default.latex index f5434d31c..b0d930537 100644 --- a/default.latex +++ b/default.latex @@ -42,7 +42,10 @@ $endif$ % use upquote if available, for straight quotes in verbatim environments \IfFileExists{upquote.sty}{\usepackage{upquote}}{} % use microtype if available -\IfFileExists{microtype.sty}{\usepackage{microtype}}{} +\IfFileExists{microtype.sty}{% +\usepackage{microtype} +\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts +}{} $if(geometry)$ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} $endif$