diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-12-15 17:09:25 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-12-15 17:09:25 +0100 |
| commit | cecb3939e8c700dc115e86bc20f12e602f4e4c91 (patch) | |
| tree | bcef987993de8cacc53180a984ad8969fe2c5e4b /latex/common.tex | |
| parent | ca95d35f24054bdb101bc7d02f4d3f4002c6f0c1 (diff) | |
| download | unterricht-cecb3939e8c700dc115e86bc20f12e602f4e4c91.tar.gz unterricht-cecb3939e8c700dc115e86bc20f12e602f4e4c91.zip | |
allow building with other engines than lualatex
Diffstat (limited to 'latex/common.tex')
| -rw-r--r-- | latex/common.tex | 9 |
1 files changed, 7 insertions, 2 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 |
