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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| \documentclass[a4paper,11pt,twoside]{book}
\usepackage{pdfpages}
\usepackage[a4paper]{geometry}
\makeatletter
\renewcommand{\cleardoublepage}{%
\clearpage\thispagestyle{empty}%
\if@twoside
\ifodd\c@page
%
\else
\hbox{}\newpage
\if@twocolumn
\hbox{}\newpage
\fi
\fi
\fi}
\makeatother
\let\oldclearpage\clearpage
\def\clearpage{\oldclearpage\thispagestyle{empty}}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[LE,RO]{}
\fancyhead[LO,RE]{}
\fancyhead[CE]{\upshape\scriptsize\leftmark}
\fancyhead[CO]{\upshape\scriptsize\rightmark}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\usepackage[nottoc]{tocbibind}
\usepackage{authblk}
\usepackage[round]{natbib}
\usepackage{apalike}
\usepackage[sectionbib]{chapterbib}
\newcommand{\chaptertoc}[1]{
\chapter*{#1}
\addcontentsline{toc}{chapter}{#1}
\markboth{#1}{}
}
\AtBeginEnvironment{subappendices}{
\chaptertoc{Appendix}
\section*{Appendix}
\addcontentsline{toc}{chapter}{Appendices}
\counterwithin{figure}{section}
\counterwithin{table}{section}} |
Partager