I have a table of content that shows the chapters, section and subsections. However, I want to list the subsubsections and paragraphs too.

In the document all of them are listed (enumerated) but for some unknown reason they are not displayed in the table of content.

I have set the counters:


I don't have anything else that explicitly tells to LaTeX to display the chapters, section, etc. in the table of content.

The current result is something like:


The expected result would be:


Sorry for my ugly list :P

I'm using the following packages:

\geometry{top=2.5cm, bottom=2.5cm, left=3.0cm, right=2.5cm}
\renewcommand{\rmdefault}{cmr} % Roman
  • 4
    Can you post a MWE for this? – user11232 Feb 8 '12 at 4:07
  • 3
    Try posting a minimal working example, or at least tell us which document class / packages you use. This page has a working example showing exactly what you want to do, so you can seek inspiration here. – Timothée Poisot Feb 8 '12 at 4:08
  • Are you loading any other packages? You mention that "all of them are listed...but...they are not displayed in the table of content[s]" while later you mention "the current result" which shows a ToC. Please provide more detail in terms of your current setup, preferably via a minimal working example (MWE) that clearly illustrates your problem. – Werner Feb 8 '12 at 4:45
  • @TimothéePoisot Thank you for the advice, I converted it to a comment, since it's not really an answer or solution, respectively. – Stefan Kottwitz Feb 8 '12 at 7:20
  • If I put your preamble in a book documentclass and comment out the fmtcount (simply because I don't have it on my system and I can't imagine it would cause this) it works fine, everything up to the paragraph is shown in the table of contents. Are you perhaps using a different documentclass? A non-standard one? – Roelof Spijker Feb 8 '12 at 14:44