ich habe folgendes Problem: Ich verwende für meine Diplomarbeit ein fertiges Template, allerdings wird konsequent in der Kopfzeile über den Kapiteln immer ein "chapter" anstatt "Kapitel" ausgegeben. In der Style Datei wird fancyhdr verwendet um die Kopfzeile zu definieren..und dort scheint sich auch der Fehler zu verstecken. Hab schon jede Menge probiert aber komm nicht weiter. Hoffe ihr könnt mir helfen.
Hier der Header:
\documentclass[a4paper, 11pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn \graphicspath{{Figures/}} % Location of the graphics files (set up for graphics to be in PDF format) % Include any extra LaTeX packages required \usepackage[ngerman]{babel} \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography \usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments \usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths \usepackage{caption} \usepackage{float} \usepackage[final]{pdfpages} \usepackage{graphicx} \hypersetup{urlcolor=blue, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
\usepackage{fancyhdr} \lhead[\rm\thepage]{\fancyplain{}{\sl{\rightmark}}} \rhead[\fancyplain{}{\sl{\leftmark}}]{\rm\thepage} \chead{}\lfoot{}\rfoot{}\cfoot{} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\btypeout{\thechapter\space #1}\markboth{\@chapapp\ \thechapter\ #1}{\@chapapp\ \thechapter\ #1}} \renewcommand{\sectionmark}[1]{} \renewcommand{\subsectionmark}[1]{} \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else \hbox{} \thispagestyle{empty} \newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}\usepackage{amsmath,amsfonts,amssymb,amscd,amsthm,xspace} \theoremstyle{plain} \newtheorem{example}{Example}[chapter] \newtheorem{theorem}{Theorem}[chapter] \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{axiom}[theorem]{Axiom} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \usepackage[centerlast,small,sc]{caption} \setlength{\captionmargin}{20pt} \newcommand{\fref}[1]{Figure~\ref{#1}} \newcommand{\tref}[1]{Table~\ref{#1}} \newcommand{\eref}[1]{Equation~\ref{#1}} \newcommand{\cref}[1]{chapter~\ref{#1}} \newcommand{\sref}[1]{Section~\ref{#1}} \newcommand{\aref}[1]{Appendix~\ref{#1}} \renewcommand{\topfraction}{0.85} \renewcommand{\bottomfraction}{.85} \renewcommand{\textfraction}{0.1} \renewcommand{\dbltopfraction}{.85} \renewcommand{\floatpagefraction}{0.75} \renewcommand{\dblfloatpagefraction}{.75} \setcounter{topnumber}{9} \setcounter{bottomnumber}{9} \setcounter{totalnumber}{20} \setcounter{dbltopnumber}{9}