aboutsummaryrefslogtreecommitdiff
path: root/latex/common.tex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-06-24 11:53:02 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-06-24 11:53:02 +0200
commitc9f3bee30533a2cd11fa9ef9411c3cdd5f1af317 (patch)
tree1cd7902425484620eb5a460ad495e83dea82b7f1 /latex/common.tex
parent79f8fca780aae1411a2c981b29961faa5c7627fd (diff)
downloadunterricht-c9f3bee30533a2cd11fa9ef9411c3cdd5f1af317.tar.gz
unterricht-c9f3bee30533a2cd11fa9ef9411c3cdd5f1af317.zip
improve the build system
* Allow pandoc to format references in a numerical format * Introduce a new solution latex macro using phantom
Diffstat (limited to 'latex/common.tex')
-rw-r--r--latex/common.tex1
1 files changed, 1 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex
index 926b9262..2d2efbea 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -21,6 +21,7 @@
\newcommand{\iflehrer}[2]{\iftoggle{lehrerversion}{#1}{#2}}
\newcommand{\solution}[1]{\iftoggle{lehrerversion}{#1}{\textcolor{white}{#1}}}
+\newcommand{\psolution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}}
\newcommand{\gap}[1]{\underLine{\solution{#1}}}