aboutsummaryrefslogtreecommitdiff
path: root/templates/test
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 /templates/test
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 'templates/test')
-rw-r--r--templates/test/_test.tex16
-rw-r--r--templates/test/test_loesung.tex1
2 files changed, 9 insertions, 8 deletions
diff --git a/templates/test/_test.tex b/templates/test/_test.tex
index dde32d91..6dc48445 100644
--- a/templates/test/_test.tex
+++ b/templates/test/_test.tex
@@ -1,6 +1,11 @@
-\begin{document}
+\Datum{13.12.2000}
+\TestNummer{15}
+\TestArt{Testitest}
+\Klasse{XYz}
+\Fach{Archäologie}
-\thispagestyle{ErsteSeite}
+\begin{document}
+%% Erzeugt den Intro Header
\Intro
%% Beispiel Aufgabe mit karierter Bearbeitung
@@ -15,14 +20,9 @@
\liniert[0.5cm]{10}
\end{Bearbeitung}
-\input{Aufgaben/aufgabe1}
-
%%%Hier die Darstellung am Ende
%%Falls es das ganze auf eine andere Seite Schiebt und man alles komprimieren will
-%\newcommand{\PlatzKnapp}{}
-
-%%Optional neue Seite
-\newpage
+%\PlatzKnapp
%%Bindet Kleeblatt mit Viel Erfolg ein und erstellt Platz darunter
\Ende
diff --git a/templates/test/test_loesung.tex b/templates/test/test_loesung.tex
index 0e45e262..d0bb5cf9 100644
--- a/templates/test/test_loesung.tex
+++ b/templates/test/test_loesung.tex
@@ -1,6 +1,7 @@
\documentclass[
lehrerversion,
sigfooter,
+keinlogo,
]{test}
\input{_test}