Refactor subsubsubsection formatting and spacing in cr.sty
This commit is contained in:
parent
d19bec7adc
commit
d8509a09b2
1 changed files with 6 additions and 6 deletions
12
lib/cr.sty
12
lib/cr.sty
|
@ -157,10 +157,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
\titleclass{\subsubsubsection}{straight}[\subsubsection]
|
\newcounter{subsubsubsection} % Crée le compteur pour \subsubsubsection
|
||||||
\newcounter{subsubsubsection}
|
\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}} % Définir le format du compteur
|
||||||
\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}}
|
\titleformat{\subsubsubsection}[runin] % Utilisation de [runin] pour que le titre se comporte comme les autres titres
|
||||||
\titleformat{\subsubsubsection}
|
{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{} % Définition du format du titre
|
||||||
{\normalfont\normalsize\bfseries}{\thesubsubsubsection}{1em}{}
|
|
||||||
\titlespacing*{\subsubsubsection}
|
\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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue