60 lines
1.4 KiB
TeX
60 lines
1.4 KiB
TeX
|
\usepackage[french]{babel} % Césure en français
|
||
|
\usepackage[autolanguage]{numprint}
|
||
|
|
||
|
\usepackage[
|
||
|
type={CC},
|
||
|
modifier={by-sa},
|
||
|
version={4.0},
|
||
|
]{doclicense}
|
||
|
|
||
|
\usepackage{xcolor}
|
||
|
|
||
|
\usepackage{listings}
|
||
|
|
||
|
\lstset{
|
||
|
basicstyle=\ttfamily,
|
||
|
numbers=left,
|
||
|
numberstyle=\footnotesize,
|
||
|
stepnumber=2,
|
||
|
numbersep=5pt,
|
||
|
backgroundcolor=\color{black!10},
|
||
|
showspaces=false,
|
||
|
showstringspaces=false,
|
||
|
showtabs=false,
|
||
|
tabsize=2,
|
||
|
captionpos=b,
|
||
|
breaklines=true,
|
||
|
breakatwhitespace=true,
|
||
|
breakautoindent=true,
|
||
|
linewidth=\textwidth
|
||
|
}
|
||
|
|
||
|
\usepackage{wallpaper}
|
||
|
\makeatletter
|
||
|
\ULCornerWallPaper{1}{bg-slide.pdf}
|
||
|
\makeatother
|
||
|
|
||
|
% Override default figure placement To be within the flow of the text rather
|
||
|
% than on it's own page.
|
||
|
\usepackage{float}
|
||
|
\makeatletter
|
||
|
\def\fps@figure{H}
|
||
|
\makeatother
|
||
|
|
||
|
\pagenumbering{gobble}
|
||
|
\AddToHook{cmd/section/before}{\clearpage}
|
||
|
\AddToHook{cmd/subsection/before}{\clearpage}
|
||
|
|
||
|
\usepackage{caption}
|
||
|
\DeclareCaptionLabelFormat{nolabel}{}
|
||
|
\captionsetup{labelformat=nolabel,textformat=empty}
|
||
|
|
||
|
\usepackage{fontspec}
|
||
|
\setmainfont[Path=font/GlacialIndifference/]{GlacialIndifference-Regular.otf}
|
||
|
\setsansfont[Path=font/GlacialIndifference/]{GlacialIndifference-Regular.otf}
|
||
|
\setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf}
|
||
|
|
||
|
\newcommand{\emoji}[1]{
|
||
|
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
|
||
|
}
|