PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : header and footer on first chapter page



Zesp
03-09-2004, 09:49
Hallo,
Entschuldigen Sie mich aus English zu schreiben, aber mein Deutsch ganz schieze ist. Actually, I can roughly get through it, aber schreiben ist schwehrer. So, here we go ...
I'm using fancyheader within a documentclass{report} and it works pretty well except for the first page of a chapter for which nothing appears (this is especially of interest for one page chaper* such as Acknowledgments or table of contents or listoffigures or whatever). It's gonna make 5 days I'm trying to figure out how to deal with that, but there's nothing to do.
Do you guys have any clue ?
Vielen Danke,
Bis später, M@

PS: Below's the code


************************************************

\documentclass[a4paper,oneside,12pt]{report}

\usepackage[french]{babel}
\usepackage{fancyhdr}

\pagestyle{fancy}

\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}

\fancyhead[L] { }
\fancyhead[C]{ \leftmark }
\fancyhead[R] { }

\fancyfoot[L]{ myName }
\fancyfoot[C]{ myTitle }
\fancyfoot[R]{ Version 1.0 }

\fancypagestyle{plain}
{
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}


%%%%%%%%%%%%%


\begin{document}

\chapter*{Acknowledgements\markboth{\MakeUppercase {Acknowledgements}}{}}
\addcontentsline{toc}{chapter}{Acknowledgements}
Cheers mates !
\newpage

\tableofcontents
\newpage

\chapter{MyChapter}
\section{Theory}
blablabla blablabla blablabla blablabla
\newpage
\section{Experimental measures}
blablabla blablabla blablabla blablabla
\newpage
\section{Simulation}
blablabla blablabla blablabla blablabla
\newpage

\end{document}