[Tex/LaTex] Numbering \subsubsection in report class

numberingsectioning

I used the \subsubsection command hoping that LaTeX would add a subsection inside a section

\subsubsection{sub sub section}

But it just made the text within the {} bold. It did not give it a subsubsection number. My document class is report:

\documentclass[a4paper,12pt]{report}

Could someone please help me to fix this?

Best Answer

If you want to include \subsubsection in the numbering, you have to change the depth of numbering this way:

\setcounter{secnumdepth}{3}

in the preamble, and... that's it, since 3 is the level of the subsubsection.