
%\RequirePackage[utf8]{inputenc} % attention a l'UTF8, on peut choisir latin1...
%\RequirePackage[a4paper, top=3 cm, bottom=3 cm, left=2 cm, right=2 cm]{geometry}
\usepackage[a4paper, top=1.5cm, bottom=1.5cm, outer=5cm, inner=2cm, heightrounded, marginparwidth=3.5cm, marginparsep=0.9cm]{geometry}
%\renewcommand{\baselinestretch}{1.0}

\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Linux Libertine O}


\newfontfamily\LibertineFont[Mapping=tex-text]{Linux Libertine O}
\newfontfamily\CaviarDreamsFont[Path=resources/, Mapping=tex-text]{CaviarDreams}
\newfontfamily\DejaVuSansMono{DejaVu Sans Mono}

%\usepackage{lmodern}
%\setmonofont{Latin Modern Mono Light}

\RequirePackage{DUsidebar}

%\newcommand{\DUrolecode}[1]{\colorBox{black}{#1}}

\newcommand{\DUtitletitle}[1]{%
    {\begin{flushleft}\normalsize\CaviarDreamsFont{#1}\end{flushleft}}
}

\usepackage{etoolbox}
\patchcmd{\quote}{\rightmargin}{\leftmargin 0em \rightmargin}{}{}

\makeindex
