I'm writing the report and I want a specific numbering for sections (including chapter).
I have this heading, but it doesn't work for \subsubection :
Code: Select all
\renewcommand{\thechapter}{\Roman{chapter}}
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\thesection.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\thesection.\thesubsection.\arabic{subsubsection}}
\makeatletter
\renewcommand{\@makechapterhead}[1]{%
\vspace*{50 pt}%
{\setlength{\parindent}{0pt} \raggedright \normalfont \color{myTitleColor}{}
\bfseries\Huge \thechapter.\ #1
\par\nobreak\vspace{40 pt}}}
\makeatother
\titleformat{\thechapter}{\color{myTitleColor}}{\thechapter}{\Huge}{}{}
\titleformat{\thesection}{\color{myTitleColor}}{\thesection}{\huge}{}{}
\titleformat{\thesubsection}{\color{myTitleColor}}{\thesection}{\Big}{}{}