I'm guessing that your document class is either report
, book
, scrreprt
, or scrbook
-- or a document class that's based on one of these four classes. These document classes have the following setting in common:
\setcounter{secnumdepth}{2}
It implies that level-0 (chapter
), level-1 (section
), and level-2 (subsection
) headings are numbered by default, whereas level-3 (subsubsection
) headings and higher-level headings (e.g., paragraph
and subparagraph
) are not numbered.
If you want level-3 headings to be numbered as well, you need to issue the following instruction in the preamble:
\setcounter{secnumdepth}{3}
Aside: the article
and scrartcl
document classes, which do not feature level-0 (chapter
) headers, have the following setting in common: \setcounter{secnumdepth}{3}
. For the memoir
document class, which provides level(-2) [!] headers, the default setting is \setcounter{secnumdepth}{1}
.
section
titles with number andsubsection
without. It's the default settings. If you want the subsection to be numbered, tell it to LaTeX with following command:\setcounter{secnumdepth}{3}
\section
and friends are only numbered down to a certain depth. You are not giving us any information about the class you are using (hence the comment at the beginning), you could try to enable it via\setcounter{secnumdepth}{3}
texniccenter
, which is just a tool to make the code that is being processed by LaTeX