diff options
Diffstat (limited to 'macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx')
-rw-r--r-- | macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx b/macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx index 158befa025..0c9418e669 100644 --- a/macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx +++ b/macros/latex/contrib/tudscr/source/tudscr-mathswap.dtx @@ -4,7 +4,7 @@ % TUD-Script -- Corporate Design of Technische Universität Dresden % ---------------------------------------------------------------------------- % -% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2019 +% Copyright (C) Falk Hanisch <hanisch.latex@outlook.com>, 2012-2020 % % ---------------------------------------------------------------------------- % @@ -72,12 +72,12 @@ %</dtx|package> %<*dtx> \documentclass[english,ngerman,xindy]{tudscrdoc} -\ifpdftex{ +\iftutex + \usepackage{fontspec} +\else \usepackage[T1]{fontenc} \usepackage[ngerman=ngerman-x-latest]{hyphsubst} -}{ - \usepackage{fontspec} -} +\fi \usepackage{babel} \usepackage{tudscrfonts} \KOMAoptions{parskip=half-} |