Ajout d'une nouvelle police pour le corps des documents

This commit is contained in:
François Pelletier 2024-07-17 13:55:52 -04:00
parent a463d81d7f
commit 667efde9d0

View file

@ -50,6 +50,14 @@
{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}}
}
% Specify different font for section headings
\usepackage{titling}
\newfontfamily\headingfont[Path=font/tex-gyre-adventor/]{texgyreadventor-bold.otf}
\titleformat*{\section}{\LARGE\headingfont}
\titleformat*{\subsection}{\Large\headingfont}
\titleformat*{\subsubsection}{\large\headingfont}
\renewcommand{\maketitlehooka}{\headingfont}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}