summaryrefslogtreecommitdiff
path: root/resources/header_footer.tex
blob: 754f200924a9e40b7f425060ad3aab1b9dfeb7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\RequirePackage{fancyhdr}

\fancyhf{}
\pagestyle{fancy} % mise en page

\makeatletter

% Header
% Pages impaires
\fancyhead[RO]{}
\fancyhead[LO]{\color{grisfonce}\@date}

%pages paires
\fancyhead[RE]{\color{grisfonce}\@date}
\fancyhead[LE]{ }


% Footer
% Pages impaires
\fancyfoot[RO]{Page \thepage}
\fancyfoot[LO]{\@author}

%pages paires
\fancyfoot[LE]{page \thepage}
\fancyfoot[RE]{\@author}

\makeatother

% Make disapear headrule %
%\renewcommand{\headrule}{}
% Disable header and footer rules
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}