diff options
Diffstat (limited to 'latex')
| -rw-r--r-- | latex/common.tex | 9 | ||||
| -rw-r--r-- | latex/common_packages.tex | 5 |
2 files changed, 11 insertions, 3 deletions
diff --git a/latex/common.tex b/latex/common.tex index 36e7e22d..e6d06d1e 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -23,8 +23,13 @@ \newcommand{\solution}[1]{\iftoggle{lehrerversion}{#1}{\textcolor{white}{#1}}} \newcommand{\psolution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}} -\newcommand{\gap}[1]{\underLine{\solution{#1}}} -\newcommand{\pgap}[1]{\underLine{\psolution{#1}}} +\ifluatex + \newcommand{\gap}[1]{\underLine{\solution{#1}}} + \newcommand{\pgap}[1]{\underLine{\psolution{#1}}} +\else + \newcommand{\gap}[1]{\uline{\solution{#1}}} + \newcommand{\pgap}[1]{\uline{\psolution{#1}}} +\fi \newcommand{\beTabelle}{% \centering diff --git a/latex/common_packages.tex b/latex/common_packages.tex index 5d52e64c..c789ddc3 100644 --- a/latex/common_packages.tex +++ b/latex/common_packages.tex @@ -16,7 +16,10 @@ \RequirePackage{comment} \RequirePackage[ngerman]{babel} \RequirePackage{setspace} -\RequirePackage{lua-ul} +\RequirePackage{iftex} +\ifluatex + \RequirePackage{lua-ul} +\fi \RequirePackage{ulem} \RequirePackage{array} \RequirePackage{tabularx} |
