From 3eb059c00576cda9a1c7ad5afd172c0bdecb85f8 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 2 Feb 2024 12:08:07 +0100 Subject: add option to be more vague about the BE per exercise --- latex/common.tex | 2 +- latex/common_options.tex | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3