From cecb3939e8c700dc115e86bc20f12e602f4e4c91 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 15 Dec 2023 17:09:25 +0100 Subject: allow building with other engines than lualatex --- latex/common.tex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'latex/common.tex') 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 -- cgit v1.2.3