From 447f08672c813bd2ad87fc0ce18c5199bae73a33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Thu, 18 Jul 2024 09:19:04 -0400 Subject: [PATCH] Changement titres avec police grasse --- styles/consultationexpress/a4paper/header.tex | 10 ++++++++++ .../consultationexpress/a4paper_prive/header.tex | 10 ++++++++++ .../instagram-carre/header.tex | 10 ++++++++++ .../instagram-fullscreen/header.tex | 10 ++++++++++ .../instagram-story/header.tex | 10 ++++++++++ styles/consultationexpress/lettre/header.tex | 10 ++++++++++ .../consultationexpress/lettre_prive/header.tex | 10 ++++++++++ styles/consultationexpress/slide169/header.tex | 10 ++++++++++ styles/deconstruit/a4paper/header.tex | 10 ++++++++++ styles/deconstruit/a4paper_prive/header.tex | 10 ++++++++++ styles/deconstruit/instagram-carre/header.tex | 10 ++++++++++ .../deconstruit/instagram-fullscreen/header.tex | 10 ++++++++++ styles/deconstruit/instagram-story/header.tex | 10 ++++++++++ styles/deconstruit/lettre/header.tex | 10 ++++++++++ styles/deconstruit/lettre_prive/header.tex | 10 ++++++++++ styles/deconstruit/slide169/header.tex | 10 ++++++++++ styles/jevalideca/a4paper/header.tex | 10 ++++++++++ styles/jevalideca/a4paper_prive/header.tex | 10 ++++++++++ styles/jevalideca/instagram-carre/header.tex | 10 ++++++++++ styles/jevalideca/instagram-fullscreen/header.tex | 10 ++++++++++ styles/jevalideca/instagram-story/header.tex | 10 ++++++++++ styles/jevalideca/lettre/header.tex | 10 ++++++++++ styles/jevalideca/lettre_prive/header.tex | 9 +++++++++ styles/jevalideca/slide169/header.tex | 15 +++++++++++++++ 24 files changed, 244 insertions(+) diff --git a/styles/consultationexpress/a4paper/header.tex b/styles/consultationexpress/a4paper/header.tex index 9662cc9..0fc9227 100644 --- a/styles/consultationexpress/a4paper/header.tex +++ b/styles/consultationexpress/a4paper/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/consultationexpress/a4paper_prive/header.tex b/styles/consultationexpress/a4paper_prive/header.tex index debcd8a..b682610 100644 --- a/styles/consultationexpress/a4paper_prive/header.tex +++ b/styles/consultationexpress/a4paper_prive/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/consultationexpress/instagram-carre/header.tex b/styles/consultationexpress/instagram-carre/header.tex index 8e91aa1..c4041ef 100644 --- a/styles/consultationexpress/instagram-carre/header.tex +++ b/styles/consultationexpress/instagram-carre/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/consultationexpress/instagram-fullscreen/header.tex b/styles/consultationexpress/instagram-fullscreen/header.tex index 18c9e8d..069e63f 100644 --- a/styles/consultationexpress/instagram-fullscreen/header.tex +++ b/styles/consultationexpress/instagram-fullscreen/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/consultationexpress/instagram-story/header.tex b/styles/consultationexpress/instagram-story/header.tex index 9890328..5de2b60 100644 --- a/styles/consultationexpress/instagram-story/header.tex +++ b/styles/consultationexpress/instagram-story/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/consultationexpress/lettre/header.tex b/styles/consultationexpress/lettre/header.tex index 22dd210..fcc1a18 100644 --- a/styles/consultationexpress/lettre/header.tex +++ b/styles/consultationexpress/lettre/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/consultationexpress/lettre_prive/header.tex b/styles/consultationexpress/lettre_prive/header.tex index 22dd210..fcc1a18 100644 --- a/styles/consultationexpress/lettre_prive/header.tex +++ b/styles/consultationexpress/lettre_prive/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/consultationexpress/slide169/header.tex b/styles/consultationexpress/slide169/header.tex index 77b75b3..ecc0c67 100644 --- a/styles/consultationexpress/slide169/header.tex +++ b/styles/consultationexpress/slide169/header.tex @@ -54,6 +54,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } diff --git a/styles/deconstruit/a4paper/header.tex b/styles/deconstruit/a4paper/header.tex index 8932a12..55724ad 100644 --- a/styles/deconstruit/a4paper/header.tex +++ b/styles/deconstruit/a4paper/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/deconstruit/a4paper_prive/header.tex b/styles/deconstruit/a4paper_prive/header.tex index eda98a4..cbfc77d 100644 --- a/styles/deconstruit/a4paper_prive/header.tex +++ b/styles/deconstruit/a4paper_prive/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/deconstruit/instagram-carre/header.tex b/styles/deconstruit/instagram-carre/header.tex index 9a70748..f678095 100644 --- a/styles/deconstruit/instagram-carre/header.tex +++ b/styles/deconstruit/instagram-carre/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/deconstruit/instagram-fullscreen/header.tex b/styles/deconstruit/instagram-fullscreen/header.tex index d2ad9b4..07f9432 100644 --- a/styles/deconstruit/instagram-fullscreen/header.tex +++ b/styles/deconstruit/instagram-fullscreen/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/deconstruit/instagram-story/header.tex b/styles/deconstruit/instagram-story/header.tex index a95f7d5..583159e 100644 --- a/styles/deconstruit/instagram-story/header.tex +++ b/styles/deconstruit/instagram-story/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/deconstruit/lettre/header.tex b/styles/deconstruit/lettre/header.tex index 5aab513..96bf1c6 100644 --- a/styles/deconstruit/lettre/header.tex +++ b/styles/deconstruit/lettre/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/deconstruit/lettre_prive/header.tex b/styles/deconstruit/lettre_prive/header.tex index 5aab513..96bf1c6 100644 --- a/styles/deconstruit/lettre_prive/header.tex +++ b/styles/deconstruit/lettre_prive/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/deconstruit/slide169/header.tex b/styles/deconstruit/slide169/header.tex index f0cb977..d43a16a 100644 --- a/styles/deconstruit/slide169/header.tex +++ b/styles/deconstruit/slide169/header.tex @@ -54,6 +54,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } diff --git a/styles/jevalideca/a4paper/header.tex b/styles/jevalideca/a4paper/header.tex index 8932a12..55724ad 100644 --- a/styles/jevalideca/a4paper/header.tex +++ b/styles/jevalideca/a4paper/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/jevalideca/a4paper_prive/header.tex b/styles/jevalideca/a4paper_prive/header.tex index eda98a4..cbfc77d 100644 --- a/styles/jevalideca/a4paper_prive/header.tex +++ b/styles/jevalideca/a4paper_prive/header.tex @@ -50,6 +50,16 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/jevalideca/instagram-carre/header.tex b/styles/jevalideca/instagram-carre/header.tex index 9a70748..f678095 100644 --- a/styles/jevalideca/instagram-carre/header.tex +++ b/styles/jevalideca/instagram-carre/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/jevalideca/instagram-fullscreen/header.tex b/styles/jevalideca/instagram-fullscreen/header.tex index d2ad9b4..07f9432 100644 --- a/styles/jevalideca/instagram-fullscreen/header.tex +++ b/styles/jevalideca/instagram-fullscreen/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/jevalideca/instagram-story/header.tex b/styles/jevalideca/instagram-story/header.tex index a95f7d5..583159e 100644 --- a/styles/jevalideca/instagram-story/header.tex +++ b/styles/jevalideca/instagram-story/header.tex @@ -56,6 +56,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } \ No newline at end of file diff --git a/styles/jevalideca/lettre/header.tex b/styles/jevalideca/lettre/header.tex index 5aab513..2b33a9f 100644 --- a/styles/jevalideca/lettre/header.tex +++ b/styles/jevalideca/lettre/header.tex @@ -46,6 +46,16 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } diff --git a/styles/jevalideca/lettre_prive/header.tex b/styles/jevalideca/lettre_prive/header.tex index 5aab513..77b788d 100644 --- a/styles/jevalideca/lettre_prive/header.tex +++ b/styles/jevalideca/lettre_prive/header.tex @@ -50,6 +50,15 @@ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } +% Specify different font for section headings +\usepackage{titlesec} +\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{} diff --git a/styles/jevalideca/slide169/header.tex b/styles/jevalideca/slide169/header.tex index f0cb977..088a5b8 100644 --- a/styles/jevalideca/slide169/header.tex +++ b/styles/jevalideca/slide169/header.tex @@ -54,6 +54,21 @@ \setsansfont[Path=font/tex-gyre-adventor/]{texgyreadventor-regular.otf} \setmonofont[Path=font/SourceCodePro/]{SourceCodePro-Regular.ttf} +% Specify different font for section headings +\usepackage{titlesec} +\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} + \newcommand{\emoji}[1]{ {\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} } + +\usepackage{fancyhdr} +\pagestyle{fancy} +\fancyhf{} +\fancyhf[rh]{\thepage} +\renewcommand\headrulewidth{0pt}