From e478854027a22096ef4d3aed422b8b47a1b3aa59 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 29 Aug 2023 12:38:36 +0200 Subject: use latex instead of markdown for planning documents The used markdown was mostly latex anyway. This allows to reuse a lot of code and reduce the boilerplate. --- templates/map.md | 25 ------------------------- templates/map.tex | 17 +++++++++++++++++ templates/map_old.md | 25 +++++++++++++++++++++++++ templates/sequence.md | 24 ------------------------ templates/sequence.tex | 18 ++++++++++++++++++ templates/sequence_old.md | 24 ++++++++++++++++++++++++ 6 files changed, 84 insertions(+), 49 deletions(-) delete mode 100644 templates/map.md create mode 100644 templates/map.tex create mode 100644 templates/map_old.md delete mode 100644 templates/sequence.md create mode 100644 templates/sequence.tex create mode 100644 templates/sequence_old.md (limited to 'templates') diff --git a/templates/map.md b/templates/map.md deleted file mode 100644 index 9d60e6fa..00000000 --- a/templates/map.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -lang: de -papersize: a4 -pagestyle: empty -geometry: margin=2cm -classoption: table -header-includes: - - \rowcolors{2}{gray!10}{gray!25} ---- -# Grober Verlaufsplan der Klasse X - -* **Start**: -* **End**: -* **Lehrbuch**: - -\begin{center} -\begin{tabular}{c c c} -Woche & LP-Abschnitt & Thema \\ -\hline -16 & 1 & Arrays \\ -16 & 2 & Arrays \\ -\rowcolor{red!30} 17 & & Ausfall \\ -... & & \\ -\end{tabular} -\end{center} diff --git a/templates/map.tex b/templates/map.tex new file mode 100644 index 00000000..b1f06a37 --- /dev/null +++ b/templates/map.tex @@ -0,0 +1,17 @@ +\documentclass{map} + +\Klasse{X} +\Lehrbuch{?} +\Start{?} +\End{?} + +\begin{document} +\begin{map} +% Woche & LP-Abschnitt & Thema \\ +16 & 1 & Arrays \\ +16 & 1 & Listen \\ +\Holiday{17}{19.04}{Ferien!!} +\Cancellation{17}{03.05} +... & & \\ +\end{sequence} +\end{document} diff --git a/templates/map_old.md b/templates/map_old.md new file mode 100644 index 00000000..9d60e6fa --- /dev/null +++ b/templates/map_old.md @@ -0,0 +1,25 @@ +--- +lang: de +papersize: a4 +pagestyle: empty +geometry: margin=2cm +classoption: table +header-includes: + - \rowcolors{2}{gray!10}{gray!25} +--- +# Grober Verlaufsplan der Klasse X + +* **Start**: +* **End**: +* **Lehrbuch**: + +\begin{center} +\begin{tabular}{c c c} +Woche & LP-Abschnitt & Thema \\ +\hline +16 & 1 & Arrays \\ +16 & 2 & Arrays \\ +\rowcolor{red!30} 17 & & Ausfall \\ +... & & \\ +\end{tabular} +\end{center} diff --git a/templates/sequence.md b/templates/sequence.md deleted file mode 100644 index 1acd1cdf..00000000 --- a/templates/sequence.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -lang: de -papersize: a4 -geometry: margin=2cm -classoption: table -header-includes: - - \rowcolors{2}{gray!10}{gray!25} ---- -# Sequenzplan der Klasse X - -* **Lehrbuch**: -* **Start**: -* **End**: - -\begin{center} -\begin{tabular}{c c c c c} -Woche & Datum & LP-Abschnitt & Std. LP-A. & Unterrichtseinheit \\ -\hline -16 & 19.04 & foo & 1 & Arrays \\ -16 & 19.04 & foo & 2 & Arrays \\ -\rowcolor{red!30} 17 & 26.04 & & & Ausfall \\ -... & & & & \\ -\end{tabular} -\end{center} diff --git a/templates/sequence.tex b/templates/sequence.tex new file mode 100644 index 00000000..bee29df8 --- /dev/null +++ b/templates/sequence.tex @@ -0,0 +1,18 @@ +\documentclass{sequence} + +\Klasse{X} +\Lehrbuch{?} +\Start{?} +\End{?} + +\begin{document} +\begin{sequence} +\Section{Tolle Lerninhalte} +% Woche & Datum & LP-Abschnitt & Std. LP-A. & Unterrichtseinheit \\ +16 & 19.04 & foo & 1 & Arrays \\ +16 & 19.04 & foo & 2 & Arrays \\ +\Holiday{17}{19.04}{Ferien!!} +\Cancellation{17}{03.05} +... & & & & \\ +\end{sequence} +\end{document} diff --git a/templates/sequence_old.md b/templates/sequence_old.md new file mode 100644 index 00000000..1acd1cdf --- /dev/null +++ b/templates/sequence_old.md @@ -0,0 +1,24 @@ +--- +lang: de +papersize: a4 +geometry: margin=2cm +classoption: table +header-includes: + - \rowcolors{2}{gray!10}{gray!25} +--- +# Sequenzplan der Klasse X + +* **Lehrbuch**: +* **Start**: +* **End**: + +\begin{center} +\begin{tabular}{c c c c c} +Woche & Datum & LP-Abschnitt & Std. LP-A. & Unterrichtseinheit \\ +\hline +16 & 19.04 & foo & 1 & Arrays \\ +16 & 19.04 & foo & 2 & Arrays \\ +\rowcolor{red!30} 17 & 26.04 & & & Ausfall \\ +... & & & & \\ +\end{tabular} +\end{center} -- cgit v1.2.3