diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-08-01 13:39:58 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-08-01 13:48:35 +0200 |
| commit | 21a4da5f74ddb81662f92c1529bc4da6715f941e (patch) | |
| tree | 546d860e01d05ed0356313d374b8890d2f56e66d /latex/test.cls | |
| parent | a5a817a143205802c099ce4833e8e7639425a104 (diff) | |
| download | unterricht-21a4da5f74ddb81662f92c1529bc4da6715f941e.tar.gz unterricht-21a4da5f74ddb81662f92c1529bc4da6715f941e.zip | |
overhaul the automatic point counting
The Lsg environment now sets the expected points even if it is not rendered.
This allows us to use the automatic point counting also in "schueler" versions.
All exercise points are stored in an exercise-local counter and are
persisted using refstepcounter and an appropriate label.
Diffstat (limited to 'latex/test.cls')
| -rw-r--r-- | latex/test.cls | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/latex/test.cls b/latex/test.cls index 21e10261..61594e8b 100644 --- a/latex/test.cls +++ b/latex/test.cls @@ -70,20 +70,6 @@ \definecolor{testgrauRGB}{rgb}{0.9,0.9,0.9} \definecolor{testgrauCMYK}{cmyk}{0.0,0.0,0.0,0.30} -% Anzahl der zu erreichenden Punkte * 2 damit der counter auch 0.5 BE erfassen kann -\newcounter{be} -\newcommand{\BE}[1]{% -\iftoggle{erwartungshorizont}{% Setze die BEs nur wenn wir einen Erwartunshorizont erzeugen -#1 BE}{}% -\addtocounter{be}{\fpeval{#1*2}}} -\newcommand{\AnzahlInsgesamtPunkte}{\fpeval{\value{be} / 2}} - -% TODO: implement exercise specific BE counting -% \newcounter{aufgabenBe} - -\newcommand{\Verteilung}{} -\newcommand{\AnzahlPunkte}{0} %%Anzahl der Punkte festlegen - \newcommand{\Intro}{ \fcolorbox{black}{testgrauRGB}{% \parbox{14.3cm}{ |
