diff options
Diffstat (limited to 'latex/common.tex')
| -rw-r--r-- | latex/common.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/latex/common.tex b/latex/common.tex index 3d55aa56..cc8b43a8 100644 --- a/latex/common.tex +++ b/latex/common.tex @@ -54,7 +54,8 @@ \newcommand{\Verteilung}{} \newcounter{Aufg} -\newenvironment{Aufg}[1][]{ +\newenvironment{Aufg}[1][] +{ \refstepcounter{Aufg}% \noindent\textbf{Aufgabe \theAufg\ifstrempty{#1}{}{\ #1}:% \ifdefempty{\Verteilung}{}{\ \Verteilung{} BE} \hfill \iftoggle{vaguebe}{ca. }{/}\ref{a:\theAufg} \ BE}% @@ -115,10 +116,11 @@ % Manually override the points \newcommand{\AnzahlPunkte}[1]{\setcounter{beAManuell}{\fpeval{#1*2}}} -\newenvironment{Lsg} +\newenvironment{Lsg}[1][] { \iftoggle{lehrerversion}{ \noindent\textbf{Lösung:}\newline +\iftoggle{erwartungshorizont}{#1 \\}{} }{ \begin{adjustbox}{max height=0cm, minipage=[0pt]{\textwidth},frame,phantom} } |
