aboutsummaryrefslogtreecommitdiff
path: root/latex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-10-13 15:34:09 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-10-13 15:34:09 +0200
commitf7b0cbc9035ce7315932fc913efe995406ede057 (patch)
treecf3215f065c6a0a03663306ce2ef947a70a1fda2 /latex
parentfd655d6af7395b2a10f9855a20f6a519b96426b2 (diff)
downloadunterricht-f7b0cbc9035ce7315932fc913efe995406ede057.tar.gz
unterricht-f7b0cbc9035ce7315932fc913efe995406ede057.zip
introduce a new \makedate command and use it
Diffstat (limited to 'latex')
-rw-r--r--latex/handout.cls9
1 files changed, 9 insertions, 0 deletions
diff --git a/latex/handout.cls b/latex/handout.cls
index a9c35e4e..f994b87a 100644
--- a/latex/handout.cls
+++ b/latex/handout.cls
@@ -17,3 +17,12 @@
\pagestyle{empty}
\setlength\parindent{0pt}
+
+\def\zz@title{\@latex@error{No \noexpand\title given}\@ehc}
+\newcommand{\makedate}{\section*{
+\ifx\zz@title\@title
+% do nothing
+\else
+\@title
+\fi
+\hfill Datum: \phantom{1.1.1900}}}