git.iko.soy/typeable/pandoc
on master help sign in
More test updates.
commit13469af8439dbe4965912e7a78a35affe9194993 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 20 Aug 2014, 09:47 (12 years ago) parent7e69f4a
2 files changed+8−2
tests/lhs-test.latex+4−1 tests/lhs-test.latex+lhs+4−1
tests/lhs-test.latex+4−1
@@ -19,7 +19,10 @@
1919% use upquote if available, for straight quotes in verbatim environments
2020\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
2121% use microtype if available
22−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
22+\IfFileExists{microtype.sty}{%
23+\usepackage{microtype}
24+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
25+}{}
2326\usepackage{color}
2427\usepackage{fancyvrb}
2528\newcommand{\VerbBar}{|}
tests/lhs-test.latex+lhs+4−1
@@ -19,7 +19,10 @@
1919% use upquote if available, for straight quotes in verbatim environments
2020\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
2121% use microtype if available
22−\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
22+\IfFileExists{microtype.sty}{%
23+\usepackage{microtype}
24+\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
25+}{}
2326\usepackage{listings}
2427\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
2528\ifxetex