# How to show subsubsections and paragraphs in table of content [closed]

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:

``````\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
``````

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:

Chapter
...Section
......Subsection

The expected result would be:

Chapter
..Section
....Subsection
......Subsubsection
........Paragraph

Sorry for my ugly list :P

I'm using the following packages:

``````\usepackage[spanish,activeacute]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage[letterpaper]{geometry}
\usepackage{titlesec}
\usepackage{fancyhdr}
\usepackage{fix-cm}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{fmtcount}
\usepackage{threeparttable}
\usepackage{float}
\usepackage[font=small,format=plain,labelfont=bf,it]{caption}
\geometry{top=2.5cm, bottom=2.5cm, left=3.0cm, right=2.5cm}
\renewcommand{\rmdefault}{cmr} % Roman
\renewcommand{\encodingdefault}{T1}
\newcommand{\subscript}[1]{\ensuremath{_{\textrm{#1}}}}
\setstretch{1.5}
``````
-

## closed as too localized by Marco Daniel, lockstep, Thorsten, Torbjørn T., Joseph Wright♦Mar 4 '12 at 17:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

Can you post a MWE for this? –  Harish Kumar Feb 8 '12 at 4:07
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