LaTex lets you break the document down into chapters, sections, subsections, subsubsections and paragraphs. By default subsubsections and paragraphs are not numbered or included in the table of contents. Sometimes this might be desirable. However, I usually find that in cases when I do not need them numbered, I usually never use them (ie. my documents are broken down by chapter, section, and subsection only). At other times, when I desire more granularity, I actually want subsubsections to show up in the TOC and have distinctive headings and numbers.
To enable this you will need to put 2 lines of code somewhere in your preamble:
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
The first line enables numbering of subsubsections. The second line includes subsubsections in the table of contents.
Btw, if you need to break down your document even more you can switch 3 to 4 in these lines to enable numbering for paragraphs.
Related Posts:
/dev/random
your subsubsection was helpful
And the whole blog is good
Totally great
Good job
This was totally helpful! Thanks so much
Very useful! I found I needed to number my subsubsection and this was just the thing! Thanks!
Good job!! Thanks
Thank you, this was very helpful
thank you. it was very useful.
Maya
M.Sc student at Tel-Aviv university.
Thanks a lot. It solved my problem
Thank you very much. It is helpful to me.
Thanks a lot. I was looking for this info.
thanks! helped me out
Hi, thanks a lot
After that my subsubsection are “lettered” instead of numbered in TOC. There is a chance to change it to number?
Example:
I have \subsubsection (Hello) and it appears in TOC like
5.1.2 Greetings
b) Hello
And I need it like: 5.1.2.1 Hello :-/
I do not use \Chapter level, my first level is \Section…
Thanks for any help
[...] By default LaTex supports seven levels of document subdivision: part, chapter, section, subsection, subsubsection, paragraph and subparagraph. They all work in the same way, main difference being the formatting. For example, the chapter command (which is only defined in report and book document classes) will force a page break and will make the title take up half the page. Paragraph and subparagraph on the other hand don’t usually get numbered but you can change that if you want. [...]
Thanks,
and after that I checked our diploma report for sure but there I found info about leveling for thesis and everything is alright.
I spend more time with uncle google
But I appreciate that, thanks again.