summaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex+lhs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-08-20 09:47:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-20 09:47:47 -0700
commit13469af8439dbe4965912e7a78a35affe9194993 (patch)
tree8c7d48aeed21f54b85ae386001f54ab28b285c1a /tests/lhs-test.latex+lhs
parent7e69f4a4fa49d206423b030856f178156f2d28c0 (diff)
More test updates.
Diffstat (limited to 'tests/lhs-test.latex+lhs')
-rw-r--r--tests/lhs-test.latex+lhs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs
index d6cb7c497..77f0e08ff 100644
--- a/tests/lhs-test.latex+lhs
+++ b/tests/lhs-test.latex+lhs
@@ -19,7 +19,10 @@
% 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
+}{}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\ifxetex