add global fancy header/ footer
This commit is contained in:
parent
16e3eb51d4
commit
3ff0d75f4b
1 changed files with 14 additions and 0 deletions
14
cours.cls
14
cours.cls
|
@ -46,6 +46,20 @@
|
||||||
\usetikzlibrary{positioning}
|
\usetikzlibrary{positioning}
|
||||||
\RequirePackage{schemabloc}
|
\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}
|
\usepackage[european,cuteinductors,siunitx,straightvoltages]{circuitikz}
|
||||||
\tikzset{every picture/.style={execute at begin picture={\shorthandoff{:;!?};}}}
|
\tikzset{every picture/.style={execute at begin picture={\shorthandoff{:;!?};}}}
|
||||||
|
|
Loading…
Reference in a new issue