add global fancy header/ footer

This commit is contained in:
Pierre-antoine Comby 2019-04-03 08:58:05 +02:00
parent 16e3eb51d4
commit 3ff0d75f4b

View file

@ -46,6 +46,20 @@
\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{:;!?};}}}