diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 10:50:36 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-06 10:50:36 +0100 |
commit | fc8208e8bc5e9be95dea38e230f88cb2c803c9b9 (patch) | |
tree | bb99b7f2e9091f1264a7e59ccb7f55e8b773f43e /test/lhs-test.latex+lhs | |
parent | 6cb1e19d0362b99e36d71e0f1b78e9e43ab4e665 (diff) | |
download | pandoc-fc8208e8bc5e9be95dea38e230f88cb2c803c9b9.tar.gz |
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+lhs')
-rw-r--r-- | test/lhs-test.latex+lhs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs index c781e79b3..64271b415 100644 --- a/test/lhs-test.latex+lhs +++ b/test/lhs-test.latex+lhs @@ -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 |