ménage dans les styles et mise à jour du thème principal jevalideca

This commit is contained in:
francois 2024-06-19 00:02:45 -04:00
parent c6d98b4b39
commit 786f1fa0e2
99 changed files with 153 additions and 93 deletions

View file

@ -0,0 +1,15 @@
\newpage
\thispagestyle{empty}
\noindent Tous droits réservés\ \newline \the\year{}\ -\ François Pelletier
\noindent Site web: \newline\url{https://jevalide.ca}
\noindent Réseaux sociaux: \newline\url{https://linktr.ee/jevalideca}
\noindent Publié le \today.
\noindent Mise en page effectuée avec \LaTeX
\pagebreak

View file

@ -0,0 +1,59 @@
\usepackage[french]{babel} % Césure en français
\usepackage[autolanguage]{numprint}
\usepackage[
type={CC},
modifier={by-sa},
version={4.0},
]{doclicense}
\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
}
\usepackage{wallpaper}
\makeatletter
\ULCornerWallPaper{1}{./styles/missioncyber/slide43/missioncyber-slide43.pdf}
\makeatother
% 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}}
}