Skip to content
Snippets Groups Projects
Commit 460f0a6b authored by Alice Brenon's avatar Alice Brenon
Browse files

Fix generation of Individual chapters broken by 2dfee685 (header/foot styles...

Fix generation of Individual chapters broken by 2dfee685 (header/foot styles were defined only for the whole dissertation
parent d28fc696
No related branches found
No related tags found
No related merge requests found
......@@ -6,27 +6,6 @@ cat <<EOF
\newgeometry{top=3cm,bottom=2.5cm,inner=3cm,outer=2.5cm}
\setlength{\headheight}{0pt}
\fancypagestyle{specialchapter}{
\fancyhf{}
\fancyhf[ROH]{\textsc{\leftmark}}
\fancyhf[ROF]{\thepage}
\fancyhf[LEH]{\textsc{\leftmark}}
\fancyhf[LEF]{\thepage}
}
\fancypagestyle{regularchapter}{
\fancyhf{}
\fancyhf[ROH]{\textsc{Chapitre} \thechapter: \textsc{\leftmark}}
\fancyhf[ROF]{\thepage}
\fancyhf[LEH]{\textsc{Chapitre} \thechapter: \textsc{\leftmark}}
\fancyhf[LEF]{\thepage}
}
\fancypagestyle{plain}{%
\fancyhf{}%
\fancyhf[ROF]{\thepage}%
\renewcommand{\headrulewidth}{0pt}% Line at the header invisible
}
\input{template/ED.tex}
\pagestyle{specialchapter}
......
......@@ -51,4 +51,5 @@ header-includes:
- \renewcommand{\frenchtablename}{Tableau}
- \renewcommand{\lstlistingname}{Code source}
- \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
- \input{template/headerstyles.tex}
\setlength{\headheight}{0pt}
\fancypagestyle{specialchapter}{
\fancyhf{}
\fancyhf[ROH]{\textsc{\leftmark}}
\fancyhf[ROF]{\thepage}
\fancyhf[LEH]{\textsc{\leftmark}}
\fancyhf[LEF]{\thepage}
}
\fancypagestyle{regularchapter}{
\fancyhf{}
\fancyhf[ROH]{\textsc{Chapitre} \thechapter: \textsc{\leftmark}}
\fancyhf[ROF]{\thepage}
\fancyhf[LEH]{\textsc{Chapitre} \thechapter: \textsc{\leftmark}}
\fancyhf[LEF]{\thepage}
}
\fancypagestyle{plain}{
\fancyhf{}
\fancyhf[ROF]{\thepage}
\renewcommand{\headrulewidth}{0pt}% Line at the header invisible
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment