header.tex.tmpl: Push fancyhdr stuff down, since the pagewidth doesn\'t work before

This commit is contained in:
Jan Lindemann 2010-07-08 17:38:47 +00:00 committed by Jan Lindemann
commit f29d559e32

View file

@ -59,35 +59,9 @@
\usepackage{paralist}
\usepackage{lastpage}
\usepackage{zref-totpages}
% Kopf- und Fußzeile
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
%Kopfzeile mittig mit Kaptilname
%\fancyhead[C]{__TITLE__ \nouppercase{\leftmark}}
\fancyhead[C]{__TITLE__}
%Linie oben
%\renewcommand{\headrulewidth}{0.5pt}
%Fußzeile links bzw. innen
\fancyfoot[L]{Dok.-Vers.: __VERSION__ vom __DATE__}
%\fancyfoot[L]{__TITLE__ __VERSION__}
%Fußzeile mittig (Seitennummer)
% \renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden
\fancyfoot[R]{Seite \thepage \hspace{2pt} von \ztotpages}
%Linie unten
\renewcommand{\footrulewidth}{0.5pt}
% Fußzeile auf jeder Seite - auch Kapitel und Inhaltsverzeichnis
\fancypagestyle{plain}{%
\fancyhf{}%
%\fancyhead[C]{} %Kapitelname ausblenden
\fancyfoot[L]{__TITLE__, V. __VERSION__, __DATE__}
\renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden
\fancyfoot[R]{\thepage}
}
%\usepackage[applemac]{inputenc}
%\usepackage[latin1]{inputenc}
%\usepackage[utf8]{inputenc}
%---------------------- File "./base/proc.sty":
%---------------------- File "./misc/blkarray.sty":
@ -192,4 +166,33 @@
\makeindex
% Kopf- und Fußzeile
\usepackage{a4,fancyhdr}
\pagestyle{fancy}
\fancyhf{}
%Kopfzeile mittig mit Kaptilname
%\fancyhead[C]{__TITLE__ __SUBTITLE__ \nouppercase{\leftmark}}
\fancyhead[C]{__TITLE__ __SUBTITLE__}
%Linie oben
%\renewcommand{\headrulewidth}{0.5pt}
%Fußzeile links bzw. innen
\fancyfoot[L]{Dok.-Vers.: __VERSION__ vom __DATE__}
%\fancyfoot[L]{__TITLE__ __SUBTITLE__ __VERSION__}
%Fußzeile mittig (Seitennummer)
% \renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden
\fancyfoot[R]{Seite \thepage \hspace{2pt} von \ztotpages}
%Linie unten
\renewcommand{\footrulewidth}{0.5pt}
% Fußzeile auf jeder Seite - auch Kapitel und Inhaltsverzeichnis
\fancypagestyle{plain}{%
\fancyhf{}%
%\fancyhead[C]{} %Kapitelname ausblenden
\fancyfoot[L]{__TITLE__ __SUBTITLE__, V. __VERSION__, __DATE__}
\renewcommand{\headrulewidth}{0.0pt} %obere Linie ausblenden
\fancyfoot[R]{\thepage}
}