aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-09-10 14:04:07 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-09-10 14:04:07 +0200
commit6c87d96417230c05e92ea457358d29956d9ede24 (patch)
treea1dbc7fdb6ceeb9c3af959c5387fc3adb204534a
parent87354ad471b677aea4dd4f6e273523fa389c9ab4 (diff)
downloadunterricht-6c87d96417230c05e92ea457358d29956d9ede24.tar.gz
unterricht-6c87d96417230c05e92ea457358d29956d9ede24.zip
license my plans as CC zero 1.0
-rw-r--r--latex/common_planning.tex13
-rw-r--r--latex/map.cls1
-rw-r--r--latex/sequence.cls1
3 files changed, 15 insertions, 0 deletions
diff --git a/latex/common_planning.tex b/latex/common_planning.tex
index cf50ba48..27842564 100644
--- a/latex/common_planning.tex
+++ b/latex/common_planning.tex
@@ -1,4 +1,12 @@
\RequirePackage{longtable}
+% Workaround because hyperxmp complains that hyperref must be previously loaded
+\RequirePackage{hyperref}
+% Default License is CC zero 1.0
+\RequirePackage[
+ type={CC},
+ modifier={zero},
+ version={1.0},
+]{doclicense}
\geometry{a4paper, margin=2cm}
\pagestyle{empty}
@@ -35,3 +43,8 @@
\item \textbf{Ende}: \PlanningEnd
\end{itemize}
}
+
+\newcommand{\PlanningOutro}{%
+\vfill%
+\doclicenseThis%
+}
diff --git a/latex/map.cls b/latex/map.cls
index a3b164a2..cf3c6e4d 100644
--- a/latex/map.cls
+++ b/latex/map.cls
@@ -19,6 +19,7 @@ Woche & LP-Abschnitt & Thema \\
}{
\end{longtable}
\end{center}
+\PlanningOutro{}
}
\newcommand{\Holiday}[2]{\HolidayRowColor #1 & \multicolumn{2}{c}{#2}}
diff --git a/latex/sequence.cls b/latex/sequence.cls
index 4c28cc78..610bc56d 100644
--- a/latex/sequence.cls
+++ b/latex/sequence.cls
@@ -19,6 +19,7 @@ Woche & Datum & LP-A. & Std. LP-A. & Unterrichtseinheit \\
}{
\end{longtable}
\end{center}
+\PlanningOutro{}
}
\newcommand{\Holiday}[3]{\HolidayRowColor #1 & #2 & \multicolumn{3}{c}{#3}}