Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{book}
- \usepackage[utf8]{inputenc}
- \usepackage{lipsum}
- \usepackage[Lenny]{fncychap}
- \renewcommand\contentsname{Table des mati\`eres}
- \usepackage[colorlinks=true,
- linkcolor=red,
- urlcolor=blue,
- pdftitle={Dossier de Candidature},
- pdfauthor={Dimitrios S. Anagnostou}]{hyperref}
- \usepackage{fancyhdr}
- \fancypagestyle{mainmatter-pages}{%
- \fancyhf{}% Clear header/footer
- \renewcommand{\headrulewidth}{0pt}% Remove header rule
- \renewcommand{\footrulewidth}{0pt}% Remove footer rule
- \fancyfoot[L]{\hyperref[ToC-first-page]{Jump to Contents}}
- \fancyfoot[C]{\thepage}
- }
- \let\oldtableofcontents\tableofcontents
- \renewcommand{\tableofcontents}{%
- \clearpage
- \phantomsection% Place hyperlink marker
- \label{ToC-first-page}% Set \label for hyperlink
- \oldtableofcontents
- }
- \let\oldmainmatter\mainmatter
- \renewcommand{\mainmatter}{%
- \clearpage
- \oldmainmatter
- \pagestyle{mainmatter-pages}%
- }
- \usepackage[affil-it]{authblk}
- \begin{document}
- \title{DOSSIER DE CANDIDATURE}
- \author{Dimitrios Papas\thanks{vbkvbkvbdkvbd}}
- \affil{
- Université\ldots}
- \date{\begin{center}
- Docteur en Mécanique
- \end{center}}
- \maketitle \thispagestyle{empty}
- \frontmatter
- \tableofcontents
- \chapter*{Avant propos}
- \addcontentsline{toc}{chapter}{Avant propos}
- \lipsum
- \mainmatter
- \chapter{First}
- \section{First section}
- \lipsum
- \chapter{Second}
- \section{First section}
- \lipsum
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement