68 lines
2.0 KiB
TeX
68 lines
2.0 KiB
TeX
% -*- coding: utf-8 -*-
|
|
% 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".
|
|
|
|
\documentclass[french, 11pt]{report}
|
|
\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[a4paper, portrait, margin=1.45cm]{geometry}
|
|
\title{Titre du mémoire}
|
|
\author{Nom et prénom de l'auteur}
|
|
\date{\today}
|
|
|
|
% Set parameters
|
|
\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}
|
|
|
|
\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
|
|
}
|