aboutsummaryrefslogtreecommitdiff
path: root/Info/23_24/11
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-11-23 16:33:26 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-11-23 16:38:05 +0100
commit444b6e80283d9fa72496bc2dbac1f1d48a9ff4d8 (patch)
treed0a62dd3d4c68750921785d789ecbafdf1ccda0f /Info/23_24/11
parent3f00251277fc4f4aded5f8df0a37b5e6f5fccedc (diff)
downloadunterricht-444b6e80283d9fa72496bc2dbac1f1d48a9ff4d8.tar.gz
unterricht-444b6e80283d9fa72496bc2dbac1f1d48a9ff4d8.zip
improve test attribute commands
Now most commands that specify a test's attribute work like their normal TeX equivalents, like \title or \author. They no longer need to be renewed in the document.
Diffstat (limited to 'Info/23_24/11')
-rw-r--r--Info/23_24/11/08/9AC/_test.tex9
-rw-r--r--Info/23_24/11/14/9B/_test.tex8
-rw-r--r--Info/23_24/11/20/10B/_test.tex8
3 files changed, 12 insertions, 13 deletions
diff --git a/Info/23_24/11/08/9AC/_test.tex b/Info/23_24/11/08/9AC/_test.tex
index 5378f798..336b315a 100644
--- a/Info/23_24/11/08/9AC/_test.tex
+++ b/Info/23_24/11/08/9AC/_test.tex
@@ -1,8 +1,7 @@
-\renewcommand{\Klasse}{9AC}
-\renewcommand{\Datum}{08.11.2023}
-\renewcommand{\TestArt}{Kurzarbeit}
-\renewcommand{\Fach}{Informatik}
-
+\Klasse{9AC}
+\Datum{08.11.2023}
+\TestArt{Kurzarbeit}
+\Fach{Informatik}
\usepackage[shortlabels]{enumitem}
\begin{document}
diff --git a/Info/23_24/11/14/9B/_test.tex b/Info/23_24/11/14/9B/_test.tex
index 83e95967..131b2229 100644
--- a/Info/23_24/11/14/9B/_test.tex
+++ b/Info/23_24/11/14/9B/_test.tex
@@ -1,7 +1,7 @@
-\renewcommand{\TestArt}{Stegreifaufgabe}
-\renewcommand{\Klasse}{9B}
-\renewcommand{\Datum}{14.11.2023}
-\renewcommand{\Fach}{Informatik}
+\TestArt{Stegreifaufgabe}
+\Klasse{9B}
+\Datum{14.11.2023}
+\Fach{Informatik}
\begin{document}
\Intro
\input{Aufgaben/finden_funktion.tex}
diff --git a/Info/23_24/11/20/10B/_test.tex b/Info/23_24/11/20/10B/_test.tex
index 65961458..dc7a02e4 100644
--- a/Info/23_24/11/20/10B/_test.tex
+++ b/Info/23_24/11/20/10B/_test.tex
@@ -1,10 +1,10 @@
% \newcommand{\dashnode}[1]{\node[inner sep=1pt,outer sep=0pt] (todotted) {#1}; \draw[dashed] ([yshift=-2pt]todotted.south west) -- ([yshift=-2pt]todotted.south east); }
% \newcommand{\mydash}[1]{\tikz[baseline=(todotted.base)]{ \dashnode{#1} }}
\newcommand{\mydash}[1]{\dashuline{#1}}
-\renewcommand{\Datum}{20.11.2023}
-\renewcommand{\Klasse}{10B}
-\renewcommand{\Fach}{Informatik}
-\renewcommand{\TestArt}{Kurzarbeit}
+\Datum{20.11.2023}
+\Klasse{10B}
+\Fach{Informatik}
+\TestArt{Kurzarbeit}
\begin{document}
\Intro