diff --git a/tmpl/tex/de_contract/header.tex.tmpl b/tmpl/tex/de_contract/header.tex.tmpl index 703d106c..817d652e 100644 --- a/tmpl/tex/de_contract/header.tex.tmpl +++ b/tmpl/tex/de_contract/header.tex.tmpl @@ -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} +} +