summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/latex/schule.typ.ab.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/schule/latex/schule.typ.ab.code.tex')
-rw-r--r--macros/latex/contrib/schule/latex/schule.typ.ab.code.tex54
1 files changed, 54 insertions, 0 deletions
diff --git a/macros/latex/contrib/schule/latex/schule.typ.ab.code.tex b/macros/latex/contrib/schule/latex/schule.typ.ab.code.tex
new file mode 100644
index 0000000000..45127c1904
--- /dev/null
+++ b/macros/latex/contrib/schule/latex/schule.typ.ab.code.tex
@@ -0,0 +1,54 @@
+% allgemeine Voreinstellungen
+% ****************************************************************
+\pagestyle{scrheadings}
+\KOMAoptions{headsepline=0.5pt}
+
+\xsimsetup{
+ aufgabe/template=schule-default,
+}
+
+% Dokumentenbezeichnung für Kopfzeile festlegen
+% ****************************************************************
+
+\IfEqCase{\schule@typ}{
+ % Arbeitsblatt
+ {ab}{
+ \newcommand{\schule@dokumentTypBezeichnung}{Arbeitsblatt}
+ }%
+ % Ergebnisblatt
+ {eb}{
+ \newcommand{\schule@dokumentTypBezeichnung}{Ergebnisblatt}
+ }%
+ % Informationsblatt
+ {ib}{
+ \newcommand{\schule@dokumentTypBezeichnung}{Informationsblatt}
+ }%
+ % Lösungsblatt
+ {lb}{
+ \newcommand{\schule@dokumentTypBezeichnung}{Lösungsblatt}
+ }%
+}[%
+ % Sonstiges
+ \newcommand{\schule@dokumentTypBezeichnung}{\schule@typ}
+]
+
+% Kopfzeile festlegen
+% ****************************************************************
+
+% Kopf, Innenseite
+\ihead{\schule@kopfInnen}
+
+% Kopf, Mitte
+\chead{\schule@kopfMitte}
+
+% Kopf, Außenseite
+\ohead{\schule@kopfAussen{\schule@dokumentTypBezeichnung}}
+
+% Fußzeile festlegen
+% ****************************************************************
+
+% Seitenzahlen ==> Modul Format
+\cfoot{\Seitenzahlen}
+
+%ggf. typname überschreiben für die Bezeichnung
+\newcommand{\dokumententypName}[1]{\renewcommand{\schule@dokumentTypBezeichnung}{#1}} \ No newline at end of file