diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-06-15 11:58:21 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-06-15 12:01:22 +0200 |
| commit | bb1c72a5ec6bef17edf5ecbe222fdfc75e2178ea (patch) | |
| tree | c12e8807f90b86dbb5aab60af5e596e821d74f65 /latex/common.tex | |
| parent | 778ae342115ee96f3b3d89a564fced02ebd72349 (diff) | |
| download | unterricht-bb1c72a5ec6bef17edf5ecbe222fdfc75e2178ea.tar.gz unterricht-bb1c72a5ec6bef17edf5ecbe222fdfc75e2178ea.zip | |
improve exam for 9A
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} } |
