How do I show Subsubsection in table of contents?

How do I show Subsubsection in table of contents?

By default, the “`\subsubsection`” heading has no numbering and it is also not shown in “Table of Contents”. To put numbering and to show the subsubsection in table of contents, we need to define the counter value of “`tocdepth`” and “`secnumdepth`” in the preamble of your LaTeX document using “`\setcounter`”.

Why is table of contents not working LaTeX?

You have disabled the entries in the table of contents by using the star form of the \section command. Remove the star and specify that sections should not be numbered via counter secnumdepth . Also level chapter is not available for class article .

How do you do Subsubsection in LaTeX?

Summary

  1. LaTeX uses the commands \section, \subsection and \subsubsection to define sections in your document.
  2. The sections will have successive numbers and appear in the table of contents.
  3. Paragraphs are not numbered and thus don’t appear in the table of contents.

How do I add a chapter to a table of contents in LaTeX?

Generally, the table of contents includes chapters, sections, and subsection. You are also allowed to add entries manually in LaTeX. This is generally done to add the unnumbered sections. To do so, just add the \addcontentsline command, as shown in the above example.

What is Secnumdepth?

secnumdepth. Controls which sectioning unit are numbered. Setting the counter with \setcounter{secnumdepth}{ level } will suppress numbering of sectioning at any depth greater than level (see \setcounter).

How do I edit a table of contents in LaTeX?

Customizing the Table of Contents

  1. Change the List Headings.
  2. Add “Page” Above the Page Numbers.
  3. Change the Depth of Table of Contents Entries.
  4. Use Different Styles For Table of Contents Page Numbers.
  5. Add Lists of Table of Contents.
  6. Add a List of Figures in Table of Contents.

How do I make a table of contents clickable in LaTeX?

You can turn the lines in a Table of Contents into clickable links that direct to corresponding pages by adding sepackage{hyperref} in the preamble of the document line.

How do you add an introduction to a table of contents?

Introduction to Tables of Contents

  1. First, apply heading styles – Heading 1 and Heading 2, for example – to the text that you want to include in the table of contents.
  2. Click where you want to insert the table of contents – usually near the beginning of a document.