File: preamble.tex

package info (click to toggle)
ocaml-multicoretests 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,520 kB
  • sloc: ml: 8,909; awk: 66; ansic: 23; makefile: 11; sh: 1
file content (42 lines) | stat: -rw-r--r-- 1,523 bytes parent folder | download | duplicates (2)
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
\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}