27

This question already has an answer here:

I could do \subsection{} and \subsubsection{} but not \subsubsubsection{}. This command does not seem to be available in LaTeX. Is there an alternative command?

marked as duplicate by egreg, jub0bs, Mico, cmhughes, Guido Jun 27 '14 at 19:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    The sectioning command one level down the hierarchy from \subsubsection is called \paragraph. – jub0bs Jun 27 '14 at 19:25
36

\subsubsubsection doesn't exist but, instead, you can use \paragraph and \subparagraph, which will generate something like 1.1.1.1 and 1.1.1.1.1. .

To include this in your table of contents, you have to declare \setcounter{tocdepth}{4} and \setcounter{secnumdepth}{4}. For subparagraph, use {5}.

There are 7 levels of sections (depending on the document)

  • -1 \part{part}
  • 0 \chapter{chapter}
  • 1 \section{section}
  • 2 \subsection{subsection}
  • 3 \subsubsection{subsubsection}
  • 4 \paragraph{paragraph}
  • 5 \subparagraph{subparagraph}

\part and \chapter are only available in report and book.

  • Welcome to TeX.SX! You don't have to sign with your name since it automatically appears in the lower right corner of your post. – jub0bs Jun 27 '14 at 19:30
  • I used \paragraph but the title came out without any numbers!. I do not like it not numbered. – Naema Jul 3 '14 at 17:30
  • when I included \setcounter{tocdpth}{4} and \setcounter{secnumdepth}{4} my file failed to compile!!. – Naema Jul 3 '14 at 18:34
  • This answer does not work for me. No numbers are displayed and the text in the brackets is not displayed as a headline. Which document type did you use? – user1511417 Aug 5 '17 at 11:02
  • 1
    I have to disagree with the other comments. This works perfect. I get the title, the numbering and the additional level in the toc. – robsn Oct 18 '17 at 13:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.