## Tuesday, June 22, 2010

### How to Activate \subsubsubsection in LaTeX

The equivalent to \subsubsubsection is \paragraph. To have that numbered simply use:
\setcounter{secnumdepth}{5}
then:
\section{} % level 1
\subsection{} % level 2
\subsubsection{} % level 3
\paragraph{} % level 4 - equivalent to subsubsubsection
\subparagraph{} % level 5
Voila!

Cite as:

2. \setcounter{tocdepth}{5}

3. Oh thanks just found this, tocdepth was what i needed :)

4. Thanks a lot :)

5. Thank you - just what I needed :)

6. Very cool. I have used LaTeX for 10 years and today was the first time I actually had a need for 4 levels.

Great!

Worik

7. Hello,

In Lyx 2.0, you can list the subsubsubsection in the TOC by going to Settings --> Numbering and TOC --> change Paragraph as appeared in TOC and Numbered to YES. Then every time you start a new paragraph, it will be numbered and listed in TOC

Best,

Thanh.

8. hello, Thanks a lot :)

9. Very useful, thanks :-)

10. Et ça ne demande aucun package supplémentaire, en fait ça génère une erreur pour moi ?

11. Thanks a lot!! Great tip!

12. Thanks!
In my document I get something liek this:

The test starts directly behind the heading. I tried \newline, etc. but it doesn't work. Any suggestions?

Thanks

1. I got the same problem, have you solved it?

13. \paragraph{title_text}
\mbox{ }\\
type paragraph text here ....

This will provide what you require.

1. Only redefine paragraph:

\titleformat{\paragraph} [runin] {\normalfont\normalsize\bfseries} {\theparagraph} {1em} {}

change [runin] with [hang]

\titleformat{\paragraph} [hang] {\normalfont\normalsize\bfseries} {\theparagraph} {1em} {}