summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-27 19:42:54 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-27 19:42:54 -0800
commitd5c2ace9ae0792050df4b9855a71f5c182da14e9 (patch)
treeaa2eeefe8f3b74797dc9bc9df0bb2f9dcc39ca18 /tests
parenta19971d358c3d356961f0b49e25c4aa2b27c3ef9 (diff)
Updated tests for latex template change (microtype).
Diffstat (limited to 'tests')
-rw-r--r--tests/lhs-test.latex4
-rw-r--r--tests/lhs-test.latex+lhs4
-rw-r--r--tests/writer.latex4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index db81e18c7..d0a15a2bf 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -4,8 +4,6 @@
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
-% use microtype if available
-\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\fi
+% use microtype if available
+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
\usepackage{color}
\usepackage{fancyvrb}
\DefineShortVerb[commandchars=\\\{\}]{\|}
diff --git a/tests/lhs-test.latex+lhs b/tests/lhs-test.latex+lhs
index 80c1eb16b..159a7b0b3 100644
--- a/tests/lhs-test.latex+lhs
+++ b/tests/lhs-test.latex+lhs
@@ -4,8 +4,6 @@
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
-% use microtype if available
-\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\fi
+% use microtype if available
+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
\usepackage{listings}
\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}
\ifxetex
diff --git a/tests/writer.latex b/tests/writer.latex
index c620f028c..7482264f3 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -4,8 +4,6 @@
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
-% use microtype if available
-\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
@@ -18,6 +16,8 @@
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\newcommand{\euro}{€}
\fi
+% use microtype if available
+\IfFileExists{microtype.sty}{\usepackage{microtype}}{}
\usepackage{fancyvrb}
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means