Bugfix on section

This commit is contained in:
Gregory Trullemans 2023-04-10 13:11:23 +02:00
parent 75ec226765
commit 48fd209ed0
1 changed files with 8 additions and 5 deletions

View File

@ -47,7 +47,7 @@
\RequirePackage{anyfontsize} % Gestion des tailles de police hors dictionnaire
\RequirePackage{shadowtext} % Gestion des ombres
% Layout Document
% Layout Document
\RequirePackage[explicit]{titlesec} % Gestion des sections
\RequirePackage{titletoc} % Gestion de la table des matière
\RequirePackage{titling} % Gestion des titres
@ -159,7 +159,7 @@
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %
\fancypagestyle{plain}{%
\renewcommand\headrulewidth{0pt}
\fancyhead[C]{}
\fancyhead[C]{}
\fancyhead[L]{}
\fancyhead[R]{}
\fancyhf{}
@ -217,11 +217,14 @@
% Unnumbered section title
\titleformat{name=\section, numberless}[display]
{\fontsize{14pt}{12pt}\selectfont\color{ffg_section_color}}
{\thesection \qquad #1}
{#1}
{0pt}
{}
[\vspace{-4mm} {\color{ffg_lightblue}\titlerule[.6mm]} \enlargethispage{-\parskip}]
\titlespacing*{name=\section, numberless}
{0pt} % left
{24pt} % top
{10pt} % bottom
% Numbered subsection title
\titleformat{\subsection}[display]
@ -245,7 +248,7 @@
{18pt}
{0pt}
% Numbered subsubsection title
\titleformat{\subsubsection}[display]
{\fontsize{11pt}{12pt}\selectfont\color{ffg_title_color}}