aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-09-30 16:48:08 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-09-30 16:48:08 +0200
commita360ae9ebf8c76adbd8e2390eba0a7b9651de90c (patch)
tree7f096f589eef69133c04f29ba07366033cc28892
parent209ffe44c8e78771f8583cbdda757e38f57e128c (diff)
downloadunterricht-a360ae9ebf8c76adbd8e2390eba0a7b9651de90c.tar.gz
unterricht-a360ae9ebf8c76adbd8e2390eba0a7b9651de90c.zip
add a gap command using psolution
It is sometimes desirable to use the phantom based solution even if it does not properly break. For example when using color in the solution.
-rw-r--r--latex/common.tex1
1 files changed, 1 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex
index d4817e09..55f6c2b6 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -24,6 +24,7 @@
\newcommand{\psolution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}}
\newcommand{\gap}[1]{\underLine{\solution{#1}}}
+\newcommand{\pgap}[1]{\underLine{\psolution{#1}}}
% Point distribution across subtasks
\newcommand{\Verteilung}{}