diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-10-13 15:34:09 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-10-13 15:34:09 +0200 |
| commit | f7b0cbc9035ce7315932fc913efe995406ede057 (patch) | |
| tree | cf3215f065c6a0a03663306ce2ef947a70a1fda2 /latex | |
| parent | fd655d6af7395b2a10f9855a20f6a519b96426b2 (diff) | |
| download | unterricht-f7b0cbc9035ce7315932fc913efe995406ede057.tar.gz unterricht-f7b0cbc9035ce7315932fc913efe995406ede057.zip | |
introduce a new \makedate command and use it
Diffstat (limited to 'latex')
| -rw-r--r-- | latex/handout.cls | 9 |
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}}} |
