summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/schule/schullzk.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-11-18 22:45:36 +0000
committerKarl Berry <karl@freefriends.org>2014-11-18 22:45:36 +0000
commit4140f3864a0086bdec50319912119bef1ac6303d (patch)
tree312364ed1c86fb17e48ecc7c241ce91e9dcb0305 /Master/texmf-dist/tex/latex/schule/schullzk.cls
parent8b97bd874a0a1c7fbc8296ed4215a6515c3b182c (diff)
schule (18nov14)
git-svn-id: svn://tug.org/texlive/trunk@35613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/schule/schullzk.cls')
-rw-r--r--Master/texmf-dist/tex/latex/schule/schullzk.cls14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/schule/schullzk.cls b/Master/texmf-dist/tex/latex/schule/schullzk.cls
index 47dd06f1921..17931436cc3 100644
--- a/Master/texmf-dist/tex/latex/schule/schullzk.cls
+++ b/Master/texmf-dist/tex/latex/schule/schullzk.cls
@@ -9,7 +9,8 @@
%% 2010, 2011, 2012, 2013, 2014
%% Johannes Pieper (johannes_pieper@yahoo.de)
%% Johannes Kuhaupt (kujohann@seminar.ham.nw.schule.de)
-%% Andre Hilbig (mail@andrehilbig.de)
+%% André Hilbig (mail@andrehilbig.de)
+%% Adrian Salamon (adriansalamon@gmail.com)
%%
%%
%% This work may be distributed and/or modified under the
@@ -109,11 +110,11 @@
%% http://www.ctan.org/pkg/ zur Verfügung.
%%
%% ----- BEGIN ------------------------------------------------------
-%% Der String Version: Version: 0.4 respektive 2014-09-07 wird beim Aufruf
+%% Der String Version: Version: 0.5 respektive 2014-11-18 wird beim Aufruf
%% des build-scripts durch die passende Nummer bzw. das passende
%% Datum ersetzt.
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{schullzk}[2014/09/07 v0.4 %
+\ProvidesClass{schullzk}[2014/11/18 v0.5 %
Vorlage für eine Lernzielkontrolle]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
@@ -124,6 +125,7 @@
\RequirePackage[headsepline]{scrpage2}
\RequirePackage{schullzk}
\pagestyle{scrheadings}
+\def\datum#1{\gdef\@datum{#1}}
\def\inhalt#1{\gdef\@inhalt{#1}}
\ihead{Lernzielkontrolle:
@@ -131,7 +133,11 @@
{?? \@latex@warning@no@line{Der Inhalt ist nicht angegeben}}
{\@inhalt}
}
-\chead{}
+\chead{
+\ifthenelse{\isundefined{\@datum}}
+{\today}
+{\@datum}
+}
\ohead{Name: \hspace{5cm}}
\endinput
%%