Skip to content
Snippets Groups Projects
Commit 0e3f849e authored by mirabilos's avatar mirabilos
Browse files

[verein.git] convert teckidspubmat to fancyhdr; fixes head/foot somewhat

except for computer-intro_allgemein_01_plan.tex
parent 801a3443
No related branches found
No related tags found
No related merge requests found
...@@ -28,23 +28,35 @@ ...@@ -28,23 +28,35 @@
\RequirePackage{teckids} \RequirePackage{teckids}
\RequirePackage[automark]{scrpage2} \usepackage{fancyhdr}
\pagestyle{scrheadings} \geometry{footskip=0.6cm}
\clearscrheadings \usepackage{calc}
\clearscrplain \newlength{\myheight}
\lohead{\headmark} \pagestyle{fancy}
\rohead{\today} \fancyhf{}
\lofoot{\rule{\textwidth}{1pt} \renewcommand{\headrulewidth}{0.6pt}
\includegraphics[width=3cm]{cc-by-sa}} \renewcommand{\footrulewidth}{0.6pt}
\rofoot{\teckidslogo[3cm]{}} \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]{ \newcommand{\teckidspubmat}[2]{
\hypersetup{ \hypersetup{
pdfauthor = {#2, and others; see gitweb of Teckids e.V.} pdfauthor = {#2, and others; see gitweb of Teckids e.V.}
} }
\lohead{\Large #1} \fancyhead[L]{\Large #1}
\cofoot{\footnotesize \fancyfoot[C]{\footnotesize
\linebreak% wegen \rule im \lofoot
\copyright 2014 #2\linebreak \copyright 2014 #2\linebreak
Lizenziert unter einer Creative Commons Namensnennung - \linebreak Lizenziert unter einer Creative Commons Namensnennung - \linebreak
Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.} Weitergabe unter gleichen Bedingungen 3.0 Deutschland Lizenz.}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment