From 8393c6e25099196da40b7cf22bcfe20d2cf37f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Wed, 29 Jan 2025 18:54:19 -0500 Subject: [PATCH] Ajustements couleurs --- .../consultationexpress/a4paper/cover.tex | 2 +- .../consultationexpress/lettre/cover.tex | 2 +- .../consultationexpress/slide169/cover.tex | 2 +- .../archives/deconstruit/a4paper/cover.tex | 2 +- backend/archives/deconstruit/lettre/cover.tex | 2 +- .../archives/deconstruit/slide169/cover.tex | 2 +- .../a4paper/cover.tex | 2 +- .../lettre/cover.tex | 2 +- .../slide169/cover.tex | 2 +- .../pleineconfiance/a4paper/cover.tex | 2 +- .../archives/pleineconfiance/lettre/cover.tex | 2 +- .../pleineconfiance/slide169/cover.tex | 2 +- .../styles/autohebergement/slide169/cover.tex | 2 +- .../consultation-express/slide169/cover.tex | 2 +- backend/styles/deconstruit/slide169/cover.tex | 2 +- backend/styles/imprimable/a4paper/cover.tex | 2 +- backend/styles/imprimable/lettre/cover.tex | 2 +- backend/styles/imprimable/slide169/cover.tex | 2 +- .../styles/pleineconfiance/slide169/cover.tex | 2 +- .../rituels-numeriques/slide169/cover.tex | 2 +- backend/styles/tonamigeek/lettre/cover.tex | 2 +- backend/styles/tonamigeek/lettre/header.tex | 66 ++++++++++++------- backend/styles/tonamigeek/slide169/cover.tex | 2 +- backend/styles/vierge/slide169/cover.tex | 2 +- 24 files changed, 65 insertions(+), 47 deletions(-) diff --git a/backend/archives/consultationexpress/a4paper/cover.tex b/backend/archives/consultationexpress/a4paper/cover.tex index 67d3a43..16957e3 100644 --- a/backend/archives/consultationexpress/a4paper/cover.tex +++ b/backend/archives/consultationexpress/a4paper/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/consultationexpress/lettre/cover.tex b/backend/archives/consultationexpress/lettre/cover.tex index 4fde303..2276d37 100644 --- a/backend/archives/consultationexpress/lettre/cover.tex +++ b/backend/archives/consultationexpress/lettre/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/consultationexpress/slide169/cover.tex b/backend/archives/consultationexpress/slide169/cover.tex index 120386c..7350216 100644 --- a/backend/archives/consultationexpress/slide169/cover.tex +++ b/backend/archives/consultationexpress/slide169/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/deconstruit/a4paper/cover.tex b/backend/archives/deconstruit/a4paper/cover.tex index 70af280..e42a33c 100644 --- a/backend/archives/deconstruit/a4paper/cover.tex +++ b/backend/archives/deconstruit/a4paper/cover.tex @@ -41,7 +41,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/deconstruit/lettre/cover.tex b/backend/archives/deconstruit/lettre/cover.tex index 0bfdfaa..8036bcf 100644 --- a/backend/archives/deconstruit/lettre/cover.tex +++ b/backend/archives/deconstruit/lettre/cover.tex @@ -40,7 +40,7 @@ \vspace{12mm} -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/deconstruit/slide169/cover.tex b/backend/archives/deconstruit/slide169/cover.tex index 680d5e7..5c2132a 100644 --- a/backend/archives/deconstruit/slide169/cover.tex +++ b/backend/archives/deconstruit/slide169/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance-halloween/a4paper/cover.tex b/backend/archives/pleineconfiance-halloween/a4paper/cover.tex index acbcce9..9a99cf1 100644 --- a/backend/archives/pleineconfiance-halloween/a4paper/cover.tex +++ b/backend/archives/pleineconfiance-halloween/a4paper/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance-halloween/lettre/cover.tex b/backend/archives/pleineconfiance-halloween/lettre/cover.tex index acbcce9..9a99cf1 100644 --- a/backend/archives/pleineconfiance-halloween/lettre/cover.tex +++ b/backend/archives/pleineconfiance-halloween/lettre/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance-halloween/slide169/cover.tex b/backend/archives/pleineconfiance-halloween/slide169/cover.tex index 703424c..e758976 100644 --- a/backend/archives/pleineconfiance-halloween/slide169/cover.tex +++ b/backend/archives/pleineconfiance-halloween/slide169/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance/a4paper/cover.tex b/backend/archives/pleineconfiance/a4paper/cover.tex index acbcce9..9a99cf1 100644 --- a/backend/archives/pleineconfiance/a4paper/cover.tex +++ b/backend/archives/pleineconfiance/a4paper/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance/lettre/cover.tex b/backend/archives/pleineconfiance/lettre/cover.tex index acbcce9..9a99cf1 100644 --- a/backend/archives/pleineconfiance/lettre/cover.tex +++ b/backend/archives/pleineconfiance/lettre/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/archives/pleineconfiance/slide169/cover.tex b/backend/archives/pleineconfiance/slide169/cover.tex index 703424c..e758976 100644 --- a/backend/archives/pleineconfiance/slide169/cover.tex +++ b/backend/archives/pleineconfiance/slide169/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/autohebergement/slide169/cover.tex b/backend/styles/autohebergement/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/autohebergement/slide169/cover.tex +++ b/backend/styles/autohebergement/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/consultation-express/slide169/cover.tex b/backend/styles/consultation-express/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/consultation-express/slide169/cover.tex +++ b/backend/styles/consultation-express/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/deconstruit/slide169/cover.tex b/backend/styles/deconstruit/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/deconstruit/slide169/cover.tex +++ b/backend/styles/deconstruit/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/imprimable/a4paper/cover.tex b/backend/styles/imprimable/a4paper/cover.tex index 2367f6d..41eb40e 100644 --- a/backend/styles/imprimable/a4paper/cover.tex +++ b/backend/styles/imprimable/a4paper/cover.tex @@ -39,7 +39,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/imprimable/lettre/cover.tex b/backend/styles/imprimable/lettre/cover.tex index 0e6cfc9..dd1438a 100644 --- a/backend/styles/imprimable/lettre/cover.tex +++ b/backend/styles/imprimable/lettre/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/imprimable/slide169/cover.tex b/backend/styles/imprimable/slide169/cover.tex index 8662866..df3e5eb 100644 --- a/backend/styles/imprimable/slide169/cover.tex +++ b/backend/styles/imprimable/slide169/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/pleineconfiance/slide169/cover.tex b/backend/styles/pleineconfiance/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/pleineconfiance/slide169/cover.tex +++ b/backend/styles/pleineconfiance/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/rituels-numeriques/slide169/cover.tex b/backend/styles/rituels-numeriques/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/rituels-numeriques/slide169/cover.tex +++ b/backend/styles/rituels-numeriques/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/tonamigeek/lettre/cover.tex b/backend/styles/tonamigeek/lettre/cover.tex index 0e6cfc9..dd1438a 100644 --- a/backend/styles/tonamigeek/lettre/cover.tex +++ b/backend/styles/tonamigeek/lettre/cover.tex @@ -40,7 +40,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/tonamigeek/lettre/header.tex b/backend/styles/tonamigeek/lettre/header.tex index 7b16963..f594d5c 100644 --- a/backend/styles/tonamigeek/lettre/header.tex +++ b/backend/styles/tonamigeek/lettre/header.tex @@ -7,26 +7,32 @@ version={4.0}, ]{doclicense} +% Define custom colors +\definecolor{titleColor}{HTML}{D9A520} +\definecolor{textColor}{HTML}{DFDDDD} +\definecolor{codeBackgroundColor}{HTML}{1C1C1C} +\definecolor{codeTextColor}{HTML}{D2D0D0} + \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 +basicstyle=\ttfamily\color{codeTextColor}, +numbers=left, +numberstyle=\footnotesize\color{codeTextColor}, +stepnumber=2, +numbersep=5pt, +backgroundcolor=\color{codeBackgroundColor}, +showspaces=false, +showstringspaces=false, +showtabs=false, +tabsize=2, +captionpos=b, +breaklines=true, +breakatwhitespace=true, +breakautoindent=true, +linewidth=\textwidth } \usepackage{wallpaper} @@ -40,6 +46,13 @@ \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/FiraSans/]{FiraSans-Medium.ttf} @@ -49,19 +62,24 @@ % Specify different font for section headings \usepackage{titlesec} \usepackage{titling} -\newfontfamily\headingfont[Path=font/FiraSans/]{FiraSans-ExtraBold.ttf} +\newfontfamily\headingfont[Path=font/Cinzel/]{Cinzel-SemiBold.ttf} \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}} -} +% Set colors for headings and text +\titleformat*{\section}{\LARGE\headingfont\color{titleColor}} +\titleformat*{\subsection}{\Large\headingfont\color{titleColor}} +\titleformat*{\subsubsection}{\large\headingfont\color{titleColor}} +\titleformat*{\paragraph}{\normalsize\headingfont\color{titleColor}} +\titleformat*{\subparagraph}{\small\headingfont\color{titleColor}} +\renewcommand{\maketitlehooka}{\headingfont\color{titleColor}} -\usepackage{fancyhdr} -\pagestyle{fancy} -\fancyhf{} -\fancyhf[rh]{\thepage} -\renewcommand\headrulewidth{0pt} +% Set default text color +\color{textColor} + +\newcommand{\emoji}[1]{ +{\setmainfont[Path=font/NotoColorEmoji/]{NotoColorEmoji.ttf}[Renderer=Harfbuzz]{#1}} +} \ No newline at end of file diff --git a/backend/styles/tonamigeek/slide169/cover.tex b/backend/styles/tonamigeek/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/tonamigeek/slide169/cover.tex +++ b/backend/styles/tonamigeek/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline diff --git a/backend/styles/vierge/slide169/cover.tex b/backend/styles/vierge/slide169/cover.tex index bc2a313..f784b21 100644 --- a/backend/styles/vierge/slide169/cover.tex +++ b/backend/styles/vierge/slide169/cover.tex @@ -34,7 +34,7 @@ \pagebreak -\noindent Tu apprécies ? \emoji{❤️} et partage !\newline + \leavevmode \newline