summaryrefslogtreecommitdiff
path: root/test/lhs-test.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-02-06 10:50:36 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-02-06 10:50:36 +0100
commitfc8208e8bc5e9be95dea38e230f88cb2c803c9b9 (patch)
treebb99b7f2e9091f1264a7e59ccb7f55e8b773f43e /test/lhs-test.latex
parent6cb1e19d0362b99e36d71e0f1b78e9e43ab4e665 (diff)
Use unicode-math by default in default.latex template.
mathspec will be used in xelatex if the `mathspec` variable is set; otherwise unicode-math will be used. Thanks to Václav Haisman.
Diffstat (limited to 'test/lhs-test.latex')
-rw-r--r--test/lhs-test.latex6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index d1ad9db69..bc02b6ae5 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -7,11 +7,7 @@
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\else % if luatex or xelatex
- \ifxetex
- \usepackage{mathspec}
- \else
- \usepackage{fontspec}
- \fi
+ \usepackage{unicode-math}
\defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\fi
% use upquote if available, for straight quotes in verbatim environments