summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex')
-rw-r--r--macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex9
1 files changed, 7 insertions, 2 deletions
diff --git a/macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex b/macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex
index 532bf94bbd..d88cd8a6da 100644
--- a/macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex
+++ b/macros/latex/contrib/tudscr/source/doc/examples/mathtype-example.tex
@@ -1,6 +1,11 @@
\documentclass[ngerman]{tudscrartcl}% andere Klassen sind möglich
-\usepackage[T1]{fontenc}
-\ifpdftex{\usepackage[ngerman=ngerman-x-latest]{hyphsubst}}{}
+\usepackage{iftex}
+\iftutex
+ \usepackage{fontspec}
+\else
+ \usepackage[T1]{fontenc}
+ \usepackage[ngerman=ngerman-x-latest]{hyphsubst}
+\fi
\usepackage{babel}
\usepackage{microtype}