\usepackage{fontspec}
\setmainfont{Libertinus Serif}
\setmonofont[Scale=0.8]{Fira Mono}
%\setmonofont[Scale=0.8]{FiraMono-Regular.otf}

\frenchspacing

\usepackage{xcolor}
\colorlet{darkred}{red!70!black}
\colorlet{darkgray}{gray!70!black}

\usepackage[final]{listings}
\lstset{
  basicstyle=\ttfamily,
  keywordstyle=\color{darkred},
  commentstyle=\color{darkgray},
  columns=fullflexible,
  captionpos=b,                    % sets the caption-position to bottom
  escapeinside={\%*}{*)},          % if you want to add LaTeX within your code
%  frame=single,	                   % adds a frame around the code
  keepspaces=true,                 % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
  language=[Objective]Caml,                 % the language of the code
%  numbers=left,                    % where to put the line-numbers; possible values are (none, left, right)
%  numbersep=5pt,                   % how far the line-numbers are from the code
  numberstyle=\scriptsize\color{darkgray}, % the style that is used for the line-numbers
  mathescape=true,
%  rulecolor=\color{black},         % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here))
}

\usepackage[
  backend=biber,
  maxbibnames=3,
  style=numeric]{biblatex}
\bibliography{biblio.bib}

\usepackage{graphicx}

\usepackage{hyperref}
\hypersetup{hidelinks = true}
\usepackage{cleveref}

\usepackage[top=2cm,left=2cm,right=2cm,bottom=20mm]{geometry}
