2024-07-24 17:00:17 +02:00
|
|
|
% -*- coding: utf-8 -*-
|
2024-08-22 15:38:22 +02:00
|
|
|
% Copyright (C) 2024 Adrien 'neox' Bourmault <neox@gnu.org>
|
|
|
|
%
|
|
|
|
% Permission is granted to copy, distribute and/or modify this document
|
|
|
|
% under the terms of the GNU Free Documentation License, Version 1.3
|
|
|
|
% or any later version published by the Free Software Foundation;
|
|
|
|
% with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
|
|
|
% A copy of the license is included in the section entitled "GNU
|
|
|
|
% Free Documentation License".
|
|
|
|
|
2024-07-24 17:00:17 +02:00
|
|
|
\documentclass[french, 11pt]{report}
|
2024-08-26 19:19:02 +02:00
|
|
|
\usepackage{silence}
|
2024-08-25 11:54:54 +02:00
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage{float}
|
|
|
|
\usepackage{fontspec}
|
|
|
|
\usepackage[hidelinks]{hyperref}
|
|
|
|
\usepackage{setspace}
|
|
|
|
\usepackage[style=numeric]{biblatex}
|
|
|
|
\usepackage{tocloft}
|
|
|
|
\usepackage{titlesec}
|
|
|
|
\usepackage[T1]{fontenc}
|
|
|
|
\usepackage[english]{babel}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{listing}
|
|
|
|
\usepackage{minted}
|
|
|
|
\usepackage{xcolor}
|
|
|
|
\usepackage{chngcntr}
|
|
|
|
\usepackage{changepage}
|
|
|
|
\usepackage{array}
|
|
|
|
\usepackage{tikz}
|
|
|
|
\usetikzlibrary{automata, positioning}
|
|
|
|
\usepackage[a4paper, portrait, margin=1.45cm]{geometry}
|
2024-07-24 17:00:17 +02:00
|
|
|
|
|
|
|
% Set parameters
|
2024-08-26 19:19:02 +02:00
|
|
|
\WarningsOff
|
|
|
|
|
2024-07-24 17:00:17 +02:00
|
|
|
\setcounter{page}{0}
|
|
|
|
\hypersetup{linktoc=all}
|
|
|
|
|
|
|
|
\addtolength{\skip\footins}{0.6pc}
|
|
|
|
\renewcommand*\footnoterule{} %Footnode separator line
|
|
|
|
|
|
|
|
\def\siecle#1{\textsc{\romannumeral #1}\textsuperscript{e}~siècle}
|
|
|
|
|
|
|
|
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} %places dots on sections lines as well
|
|
|
|
|
|
|
|
\cftsetindents{section}{0pt}{4em}
|
|
|
|
\cftsetindents{subsection}{10pt}{4em}
|
|
|
|
\cftsetindents{subsubsection}{20pt}{4em}
|
|
|
|
\cftsetindents{paragraph}{30pt}{4em}
|
|
|
|
\cftsetindents{subparagraph}{40pt}{4em}
|
|
|
|
\def\cftdotsep{1}
|
|
|
|
\cftsetpnumwidth{1em}
|
|
|
|
|
|
|
|
\renewcommand{\cftchapafterpnum}{\vspace{\cftbeforechapskip}}
|
|
|
|
\renewcommand{\familydefault}{\sfdefault}
|
|
|
|
|
2024-08-21 21:27:29 +02:00
|
|
|
\setlength\parindent{0pt}
|
|
|
|
|
|
|
|
\usemintedstyle{solarized-light}
|
|
|
|
\definecolor{bg}{HTML}{FAF9F6}
|
|
|
|
\definecolor{linenumcolor}{rgb}{0.6, 0.6, 0.6} % Light gray color
|
|
|
|
%\renewcommand{\theFancyVerbLine}{\textcolor{linenumcolor}{\arabic{FancyVerbLine}}}
|
|
|
|
\setminted{
|
|
|
|
linenos,
|
|
|
|
numbersep=5pt,
|
|
|
|
bgcolor=bg
|
|
|
|
}
|