diff --git a/cours.cls b/cours.cls index 6910ed0..ac035bf 100644 --- a/cours.cls +++ b/cours.cls @@ -46,7 +46,21 @@ \usetikzlibrary{positioning} \RequirePackage{schemabloc} +\RequirePackage{fancyhdr} +\pagestyle{fancy} + \fancyhf {} + \renewcommand{\chaptermark}[1]{\markboth{\bsc{\@chapapp~\thechapter{} :} #1}{}} + + \renewcommand{\sectionmark}[1]{\markright{\thesection.{} #1}} + \renewcommand{\headrulewidth}{1pt} %Epaisseur de la ligne. + \renewcommand{\footrulewidth}{1pt} %Epaisseur de la ligne. + \lhead[\textsl{\leftmark}]{{}} + \rhead[{}]{\textsl{\rightmark}} + \lfoot[\textit{\thepage}]{{}} +\rfoot[{}]{\textit{\thepage}} + \cfoot[{}]{{}} + \usepackage[european,cuteinductors,siunitx,straightvoltages]{circuitikz} \tikzset{every picture/.style={execute at begin picture={\shorthandoff{:;!?};}}} \usetikzlibrary{positioning, fit, calc}