From c77832725e7b938edde50020cae5477fc156d39e Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Tue, 25 Feb 2020 19:22:18 +0100 Subject: [PATCH] Update --- jl-cours/jl-cours.cls | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/jl-cours/jl-cours.cls b/jl-cours/jl-cours.cls index e64e611..5234095 100644 --- a/jl-cours/jl-cours.cls +++ b/jl-cours/jl-cours.cls @@ -152,7 +152,14 @@ \cohead[]{\@title} \rohead[]{Rappels - \@subtitle} }{ - \rohead[Cours]{Cours - \@title} + \ifthenelse{ \equal{\type}{none} }{ + % \cohead[\@title]{\@title} + % \rohead[Rappels]{Rappels - \@subtitle} + \cohead[]{\@title} + \rohead[]{} + }{ + \rohead[Cours]{Cours - \@title} + } } } } @@ -259,10 +266,8 @@ %% \NewDocumentCommand{\nextpage}{}{ \newpage - \thispagestyle{myheadings} -% \vspace{-1cm} -% \cofoot[\thepage\ /\ \pageref{LastPage}]{\thepage\ /\ \pageref{LastPage}} -% \cefoot[\thepage\ /\ \pageref{LastPage}]{\thepage\ /\ \pageref{LastPage}} + \thispagestyle{plain} + \lefoot*{} } %% titre