aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-08-29 12:46:31 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-08-29 12:46:31 +0200
commit3566beaf8f272b4993d4a8d2c4edc101abeab960 (patch)
treee7c1969b30c5f2e89486343e46b1e81526e316ac
parente478854027a22096ef4d3aed422b8b47a1b3aa59 (diff)
downloadunterricht-3566beaf8f272b4993d4a8d2c4edc101abeab960.tar.gz
unterricht-3566beaf8f272b4993d4a8d2c4edc101abeab960.zip
do not include line termator in special row commands
-rw-r--r--Info/23_24/9a/map.tex (renamed from Info/23_24/9a/map.md)0
-rw-r--r--latex/map.cls4
-rw-r--r--latex/sequence.cls6
-rw-r--r--templates/map.tex10
-rw-r--r--templates/sequence.tex10
5 files changed, 15 insertions, 15 deletions
diff --git a/Info/23_24/9a/map.md b/Info/23_24/9a/map.tex
index 49ca4bfd..49ca4bfd 100644
--- a/Info/23_24/9a/map.md
+++ b/Info/23_24/9a/map.tex
diff --git a/latex/map.cls b/latex/map.cls
index 410b3610..0c32e34c 100644
--- a/latex/map.cls
+++ b/latex/map.cls
@@ -20,5 +20,5 @@ Woche & LP-Abschnitt & Thema \\
\end{center}
}
-\newcommand{\Holiday}[2]{\HolidayRowColor #1 & \multicolumn{2}{c}{#2} \\}
-\newcommand{\Cancellation}[1]{\CancellationRowColor #1 & \multicolumn{2}{c}{Ausfall} \\}
+\newcommand{\Holiday}[2]{\HolidayRowColor #1 & \multicolumn{2}{c}{#2}}
+\newcommand{\Cancellation}[1]{\CancellationRowColor #1 & \multicolumn{2}{c}{Ausfall}}
diff --git a/latex/sequence.cls b/latex/sequence.cls
index defd043d..e019db75 100644
--- a/latex/sequence.cls
+++ b/latex/sequence.cls
@@ -20,6 +20,6 @@ Woche & Datum & LP-Abschnitt & Std. LP-A. & Unterrichtseinheit \\
\end{center}
}
-\newcommand{\Holiday}[3]{\HolidayRowColor #1 & #2 & \multicolumn{3}{c}{#3} \\}
-\newcommand{\Section}[1]{\SectionRowColor\multicolumn{5}{c}{#1} \\}
-\newcommand{\Cancellation}[2]{\CancellationRowColor #1 & #2 & \multicolumn{3}{c}{Ausfall} \\}
+\newcommand{\Holiday}[3]{\HolidayRowColor #1 & #2 & \multicolumn{3}{c}{#3}}
+\newcommand{\Section}[1]{\SectionRowColor\multicolumn{5}{c}{#1}}
+\newcommand{\Cancellation}[2]{\CancellationRowColor #1 & #2 & \multicolumn{3}{c}{Ausfall}}
diff --git a/templates/map.tex b/templates/map.tex
index b1f06a37..d99288b5 100644
--- a/templates/map.tex
+++ b/templates/map.tex
@@ -8,10 +8,10 @@
\begin{document}
\begin{map}
% Woche & LP-Abschnitt & Thema \\
-16 & 1 & Arrays \\
-16 & 1 & Listen \\
-\Holiday{17}{19.04}{Ferien!!}
-\Cancellation{17}{03.05}
-... & & \\
+16 & 1 & Arrays \\
+16 & 1 & Listen \\
+\Holiday{17}{19.04}{Ferien!!} \\
+\Cancellation{17}{03.05} \\
+... & & \\
\end{sequence}
\end{document}
diff --git a/templates/sequence.tex b/templates/sequence.tex
index bee29df8..44e0b431 100644
--- a/templates/sequence.tex
+++ b/templates/sequence.tex
@@ -9,10 +9,10 @@
\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}
-... & & & & \\
+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}