aboutsummaryrefslogtreecommitdiff
path: root/tests/lhs-test.latex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lhs-test.latex')
-rw-r--r--tests/lhs-test.latex11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/lhs-test.latex b/tests/lhs-test.latex
index a3acd98da..307fd948f 100644
--- a/tests/lhs-test.latex
+++ b/tests/lhs-test.latex
@@ -1,19 +1,18 @@
\documentclass{article}
\usepackage{amssymb,amsmath}
-\usepackage{iftex}
-\ifXeTeX
+\usepackage{ifxetex,ifluatex}
+\ifxetex
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\else
- \ifLuaTeX
+ \ifluatex
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\else
- \usepackage[mathletters]{ucs}
- \usepackage[utf8x]{inputenc}
+ \usepackage[utf8]{inputenc}
\fi
\fi
-\ifXeTeX
+\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex
unicode=false, % unicode breaks when used with xetex
xetex]{hyperref}