From d8509a09b2a4932163e945e109f5a7dc04f302aa Mon Sep 17 00:00:00 2001 From: Lukian Date: Tue, 21 Jan 2025 16:01:39 +0100 Subject: [PATCH] Refactor subsubsubsection formatting and spacing in cr.sty --- lib/cr.sty | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/cr.sty b/lib/cr.sty index c63d2eb..f594e96 100644 --- a/lib/cr.sty +++ b/lib/cr.sty @@ -157,10 +157,10 @@ } -\titleclass{\subsubsubsection}{straight}[\subsubsection] -\newcounter{subsubsubsection} -\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} -\titleformat{\subsubsubsection} - {\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} +\newcounter{subsubsubsection} % Crée le compteur pour \subsubsubsection +\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} % Définir le format du compteur +\titleformat{\subsubsubsection}[runin] % Utilisation de [runin] pour que le titre se comporte comme les autres titres + {\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} % Définition du format du titre \titlespacing*{\subsubsubsection} - {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} + {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} % Espacement avant et après le titre +