From 667efde9d094be401aa81279eb8b51e0011b4d89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Wed, 17 Jul 2024 13:55:52 -0400 Subject: [PATCH] Ajout d'une nouvelle police pour le corps des documents --- styles/jevalideca/lettre_devis/header.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/styles/jevalideca/lettre_devis/header.tex b/styles/jevalideca/lettre_devis/header.tex index a646d74..92bb801 100644 --- a/styles/jevalideca/lettre_devis/header.tex +++ b/styles/jevalideca/lettre_devis/header.tex @@ -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{}