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 @@
\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.}
......
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