diff --git a/template_cours.cls b/template_cours.cls index e2ac53a..f8adc5d 100755 --- a/template_cours.cls +++ b/template_cours.cls @@ -163,15 +163,15 @@ breaklinks=true, \usepackage{fancyhdr} \pagestyle{fancy} -\lhead{\thedate} -\chead{\thelevel} -\rhead{\thesequence} +\lhead{} +\chead{} +\rhead{\thelevel\thedate~: \thesequence} \usepackage{lastpage} \renewcommand{\footrulewidth}{0.4pt}% default hline is 0pt -\lfoot{\theauthor} -\cfoot{\thepage \,/ \pageref{LastPage}} -\rfoot{\thelicence} +\lfoot{\thelicence~\theauthor} +\cfoot{} +\rfoot{\thepage \,/ \pageref{LastPage}} \def \ifempty#1{\def\temp{#1} \ifx\temp\empty }