Skip to content

Instantly share code, notes, and snippets.

@x2on
Created January 28, 2013 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save x2on/4659299 to your computer and use it in GitHub Desktop.
Save x2on/4659299 to your computer and use it in GitHub Desktop.
%Kopf- und Fußzeile
usepackage{fancyhdr}
pagestyle{fancy}
fancyhf{}
%Kopfzeile mittig mit Kaptilname
fancyhead[C]{nouppercase{leftmark}}
%Linie oben
renewcommand{headrulewidth}{0.5pt}
%Fußzeile links bzw. innen
fancyfoot[L]{Text muss hier stehen}
%Fußzeile mittig (Seitennummer)
fancyfoot[C]{thepage}
%Linie unten
renewcommand{footrulewidth}{0.5pt}
% Fußzeile auf jeder Seite - auch Kapitel und Inhaltsverzeichnis
fancypagestyle{plain}{%
fancyhf{}%
fancyhead[C]{} %Kapitelname ausblenden
fancyfoot[L]{Text muss hier stehen}
renewcommand{headrulewidth}{0.0pt} %obere Linie ausblenden
fancyfoot[C]{thepage}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment