git.iko.soy/typeable/pandoc
on master help sign in
latex template: disable protrusion for typewriter font.
7be841cJohn MacFarlane
default.latex+4−1
@@ -42,7 +42,10 @@ $endif$
42% use upquote if available, for straight quotes in verbatim environments
42% use upquote if available, for straight quotes in verbatim environments
43\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
43\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
44% use microtype if available
44% use microtype if available
45−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
45+\IfFileExists{microtype.sty}{%
46+\usepackage{microtype}
47+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
48+}{}
46$if(geometry)$
49$if(geometry)$
47\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
50\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}
48$endif$
51$endif$