diff --git a/teckidspubmat.cls b/teckidspubmat.cls index f3ccbb616adc4e92e36c6f1bf6103caae607ffe9..006337113149bba128b9624aa3e89a02c5fa66e6 100644 --- a/teckidspubmat.cls +++ b/teckidspubmat.cls @@ -28,23 +28,35 @@ \RequirePackage{teckids} -\RequirePackage[automark]{scrpage2} -\pagestyle{scrheadings} -\clearscrheadings -\clearscrplain -\lohead{\headmark} -\rohead{\today} -\lofoot{\rule{\textwidth}{1pt} -\includegraphics[width=3cm]{cc-by-sa}} -\rofoot{\teckidslogo[3cm]{}} +\usepackage{fancyhdr} +\geometry{footskip=0.6cm} +\usepackage{calc} +\newlength{\myheight} +\pagestyle{fancy} +\fancyhf{} +\renewcommand{\headrulewidth}{0.6pt} +\renewcommand{\footrulewidth}{0.6pt} +\fancyhead[L]{\headmark} +\fancyhead[R]{\today} +\fancyfoot[L]{ + \settoheight{\myheight}{\thepage} + \raisebox{\myheight-\height}{ + \includegraphics[width=3cm]{cc-by-sa} + } +} +\fancyfoot[R]{ + \settoheight{\myheight}{\thepage} + \raisebox{\myheight-\height}{ + \teckidslogo[3cm]{} + } +} \newcommand{\teckidspubmat}[2]{ \hypersetup{ pdfauthor = {#2, and others; see gitweb of Teckids e.V.} } -\lohead{\Large #1} -\cofoot{\footnotesize -\linebreak% wegen \rule im \lofoot +\fancyhead[L]{\Large #1} +\fancyfoot[C]{\footnotesize \copyright 2014 #2\linebreak Lizenziert unter einer Creative Commons Namensnennung - \linebreak Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.}