diff options
| -rw-r--r-- | latex/common.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex index decebd24..aa910764 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -17,3 +17,9 @@ \foreach \n in {1,...,#2}\draw(0 ,-#1*\n )--(\linewidth,-#1*\n ); \end{tikzpicture} } + +\newcommand{\iflehrer}[2]{\iftoggle{lehrerversion}{#1}{#2}} + +\newcommand{\solution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}} + +\newcommand{\gap}[1]{\underline{\solution{#1}}} |
