aboutsummaryrefslogtreecommitdiff
path: root/latex/common.tex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-02-02 17:46:16 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-02-02 18:17:52 +0100
commitf14d858b46f152653f35435d4e14b0947ffc9c10 (patch)
treed3806920a4074a71a7b1df387559ecbb334b998d /latex/common.tex
parent5e2192b68aa7d0e9665a276f62a7d6c1ab554053 (diff)
downloadunterricht-f14d858b46f152653f35435d4e14b0947ffc9c10.tar.gz
unterricht-f14d858b46f152653f35435d4e14b0947ffc9c10.zip
add new latex command to include a certain exercise version
Diffstat (limited to 'latex/common.tex')
-rw-r--r--latex/common.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/latex/common.tex b/latex/common.tex
index 01062561..ea9da0f9 100644
--- a/latex/common.tex
+++ b/latex/common.tex
@@ -53,6 +53,11 @@
% Point distribution across subtasks
\newcommand{\Verteilung}{}
+\newcommand{\inputAufgVersion}[2]{%
+ \setcounter{AufgVersion}{#1}%
+ \input{#2}%
+}
+
\newcounter{Aufg}
\newcounter{AufgVersion}
\newenvironment{Aufg}[1][]