hdr/hdr.tex

140 lines
3.4 KiB
TeX
Raw Normal View History

2024-01-06 23:07:20 +01:00
%%%% Modèle proposé par frederic.mazaleyrat@ens-paris-saclay.fr %%%%
%%%% 3 avril 2021 %%%%
%%%% Modifié par sergiu.ivanov@universite-paris-saclay.fr pour son
%%%% manuscrit de HDR.
%%%% 5 janvier 2024
2024-01-07 16:27:06 +01:00
\documentclass[12pt,a4paper]{book}
2024-01-06 23:07:20 +01:00
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{fancyhdr}
\usepackage{amssymb}
2024-01-07 09:54:14 +01:00
\usepackage[dvipsnames]{xcolor}
2024-01-06 23:07:20 +01:00
\definecolor{Prune}{RGB}{99,0,60}
2024-01-09 15:07:06 +01:00
\colorlet{PruneLink}{Prune!70!Blue}
2024-01-20 12:08:24 +01:00
\colorlet{PruneCite}{Prune!60!Red}
2024-01-06 23:07:20 +01:00
\usepackage{mdframed}
\usepackage{multirow} %% Pour mettre un texte sur plusieurs rangées
\usepackage{multicol} %% Pour mettre un texte sur plusieurs colonnes
\usepackage{scrextend} %Forcer la 4eme de couverture en page pair
\usepackage{tikz}
\usepackage{graphicx}
\usepackage{colortbl}
\usepackage{array}
\usepackage{geometry}
\usepackage[language=english]{lipsum}
\usepackage{fontspec}
\usepackage{unicode-math}
2024-01-07 16:27:06 +01:00
\usepackage{polyglossia}
\usepackage{titlesec}
2024-01-09 13:56:39 +01:00
\usepackage{tabularx}
2024-01-18 10:05:51 +01:00
\usepackage[backend=biber,style=numeric,maxbibnames=99,doi=false,url=false,defernumbers=true]{biblatex}
2024-01-18 11:21:44 +01:00
\usepackage{enumitem}
\usepackage{hyperref}
\hypersetup{
pdfauthor={Sergiu Ivanov},
pdftitle={Habilitation thesis},
pdfsubject={The full dossier for Sergiu Ivanov's habilation,
including a detailed CV and the habilitation thesis.},
pdfkeywords={
habilitation,
cv,
research,
teaching,
natural computing,
formal languages,
theoretical biology
},
pdfproducer={lualatex},
2024-01-09 15:07:06 +01:00
pdfcreator={lualatex},
%
colorlinks=true,
urlcolor=PruneLink,
linkcolor=PruneLink,
anchorcolor=PruneLink,
2024-01-20 12:08:24 +01:00
citecolor=PruneCite
}
\setmainfont{Linux Libertine O}
\setmathfont[Scale=MatchUppercase]{libertinusmath-regular.otf}
\setsansfont{Linux Biolinum O}
2024-01-06 23:07:20 +01:00
2024-01-07 16:27:06 +01:00
\setdefaultlanguage{english}
\setotherlanguages{french}
\titleformat{\chapter}[frame]
{\itshape\color{Prune}}
{\filright
\normalsize
\enspace Chapter \thechapter\enspace}
{10mm}
{\fontsize{35}{20}\selectfont\normalfont\bfseries\filright\hspace{1ex}}
\titleformat{\section}{\Large\normalfont\bfseries\color{Prune}}{\thesection \hspace{1ex}}{1ex}{}
\titleformat{\subsection}{\large\normalfont\bfseries\color{Prune}}{\thesubsection \hspace{1ex}}{1ex}{}
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{Prune}}{}{1ex}{}
\newcommand{\changelocaltocdepth}[1]{%
\addtocontents{toc}{\protect\setcounter{tocdepth}{#1}}%
\setcounter{tocdepth}{#1}%
}
2024-01-06 23:07:20 +01:00
\graphicspath{{pics/}}
\usetikzlibrary{calc,positioning,arrows.meta}
2024-01-06 23:07:20 +01:00
\newif\ifentiredoc
\entiredoctrue % Use this if you want to compile the entire document.
%\entiredocfalse % Use this if you only want the CV.
2024-03-30 10:49:44 +01:00
\DeclareMathOperator{\Ima}{Im}
2024-01-06 23:07:20 +01:00
\begin{document}
2024-01-07 19:58:03 +01:00
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\fancyhead[LE,RO]{\textcolor{Prune}{\textsl{\rightmark}}}
\fancyhead[LO,RE]{\textcolor{Prune}{\textsl{\leftmark}}}
\renewcommand{\headrule}{{\color{Prune}\hrule}}
\ifentiredoc
\newgeometry{left=6cm,bottom=2cm,top=1cm,right=1cm}
2024-01-31 12:30:19 +01:00
\setlength{\headheight}{14.89998pt}
\input{title-page}
2024-01-06 23:07:20 +01:00
\newgeometry{top=1.5cm, bottom=1.25cm, left=2cm, right=2cm}
2024-01-31 12:30:19 +01:00
\setlength{\headheight}{14.89998pt}
\input{abstracts}
\fi
\newgeometry{top=2cm, bottom=2cm, left=2cm, right=2cm}
2024-01-31 12:30:19 +01:00
\setlength{\headheight}{14.89998pt}
2024-01-09 12:46:46 +01:00
\ifentiredoc
2024-01-09 12:46:46 +01:00
\tableofcontents
2024-01-09 13:56:39 +01:00
\changelocaltocdepth{0}
\fi
2024-01-09 13:56:39 +01:00
\input{cv}
\ifentiredoc
\changelocaltocdepth{2}
\input{deal}
\fi
2024-01-07 10:21:04 +01:00
\end{document}
2024-01-07 10:44:17 +01:00
%%% Local Variables:
%%% TeX-engine: luatex
%%% End: