diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-02-02 12:08:07 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-02-02 12:08:07 +0100 |
| commit | 3eb059c00576cda9a1c7ad5afd172c0bdecb85f8 (patch) | |
| tree | e7e913afe6b59ab93d80ccf08f7a20d52eb5c44a | |
| parent | 730f4262903243c5d6e26fb2fac920a6dec5a2d9 (diff) | |
| download | unterricht-3eb059c00576cda9a1c7ad5afd172c0bdecb85f8.tar.gz unterricht-3eb059c00576cda9a1c7ad5afd172c0bdecb85f8.zip | |
add option to be more vague about the BE per exercise
| -rw-r--r-- | latex/common.tex | 2 | ||||
| -rw-r--r-- | latex/common_options.tex | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/latex/common.tex b/latex/common.tex index a94942bf..c5790c9e 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -57,7 +57,7 @@ \newenvironment{Aufg}[1][]{ \refstepcounter{Aufg}% \noindent\textbf{Aufgabe \theAufg\ifstrempty{#1}{}{\ #1}:% -\ifdefempty{\Verteilung}{}{\ \Verteilung{} BE} \hfill {/}\ref{a:\theAufg} \ BE}% +\ifdefempty{\Verteilung}{}{\ \Verteilung{} BE} \hfill \iftoggle{vaguebe}{ca. }{/}\ref{a:\theAufg} \ BE}% \newline }{% \ifdefempty{\Verteilung}% diff --git a/latex/common_options.tex b/latex/common_options.tex index a32368a8..18cd210b 100644 --- a/latex/common_options.tex +++ b/latex/common_options.tex @@ -2,8 +2,12 @@ \newtoggle{lehrerversion} \DeclareOption{lehrerversion}{\toggletrue{lehrerversion}} +\newtoggle{vaguebe} +\DeclareOption{vaguebe}{\toggletrue{vaguebe}} + \newtoggle{debug} \DeclareOption{debug}{\toggletrue{debug}} +\newcommand{\VagueBE}{\toggletrue{vaguebe}} \ProcessOptions\relax |
