diff --git a/lib/cr.sty b/lib/cr.sty index f594e96..c63d2eb 100644 --- a/lib/cr.sty +++ b/lib/cr.sty @@ -157,10 +157,10 @@ } -\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 +\titleclass{\subsubsubsection}{straight}[\subsubsection] +\newcounter{subsubsubsection} +\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} +\titleformat{\subsubsubsection} + {\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} \titlespacing*{\subsubsubsection} - {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex} % Espacement avant et après le titre - + {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}