J.Lauffenburger wrote:

> \usepackage[Lenny] {fncychap} %Pour le cadre autour du Titre du chapitre


except this package, which I do not have installed,
I have no problem with this preamble, but I do not really know
why do you define a new command for the whole header/footer stuff

Herbert

%\usepackage[Lenny] {fncychap} %Pour le cadre autour du Titre du chapitre
\usepackage{fancyhdr}
\usepackage{float} %Pour le placement des flottants
%\usepackage{lastpage}
\pagestyle{fancy}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
%
\fancyhf{}
%\fancyhead[LE,RO]{\bfseries\thepage\ /\ \pageref{LastPage}}
\fancyhead[LO]{\bfseries\rightmark}
\fancyhead[RE]{\bfseries \small Chapitre \thechapter~: \leftmark}
\fancyfoot[LE]{\today}
\fancyfoot[RE]{\small \textbf{L}aboratoire \textbf{M}od�lisation
\textbf{I}ntelligence \textbf{P}rocessus \textbf{S}yst�mes}
\fancyfoot[LO]{\footnotesize \sl Contribution � la surveillance du 
syst�me "conducteur-v�hicule-environnement"}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}
\addtolength{\headheight}{0.5pt}  % espace pour le filet

\fancypagestyle{plain}{ %pages de tetes de chapitre
        \fancyhf{}
        \fancyhead{}    %supprime l'entete
        \fancyfoot{}%supprime le pied de page
        \fancyhead[r]{\bfseries\thepage\ /\ \pageref{LastPage}}
        \renewcommand{\headrulewidth}{0pt} %le filet haut
        \renewcommand{\footrulewidth}{0pt}%le filet bas
}




-- 
http://www.lyx.org/help/

Reply via email to