\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}

\usepackage{ccicons}

\usepackage{wallpaper}
\makeatletter
\ULCornerWallPaper{1}{./styles/yapp/pinterest/Yapp-Pinterest.pdf}
\makeatother

\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
}

% 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}}
}

\hyphenpenalty=10000
\hbadness=10000
\centering