Theses, Books, Title pages ⇒ TOC page numbers and levels
TOC page numbers and levels
I am using Sunils Masters theses template
https://www.overleaf.com/12055382qpxccj ... /45754165/
And I would like to take the TOC down four levels(\subsubsection). when I put \subsubsection this works, however, the section numbers in the TOC do not appear. Labelling for level four does not work either.
My TOC is also out about 30 pages. The numbers are in error. I tried to post a log file however it was too big.
This forum has been so helpful for me. Thank you so much
Maks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
TOC page numbers and levels
for numbering, you may use:
\setcounter{secnumdepth}{3}
You can set it higher to also for deeper down numbering, such as for 4 or 5 to also number
\paragraph
and \subparagraph
.Similar for appearing in the table of contents:
\setcounter{tocdepth}{3}
You can try higher values. Compile two times to see an effect on the table of contents.
Stefan
TOC page numbers and levels
In Sunil's instructions about using the Masters Doctoral thesis template, it said to enter the levels in the main.tex.
Under the last usepackage command in the preamble? I put:
\setcounter{tocdepth}{4}
I compiled this twice with LaTeX and once with PDFLaTeX and nothing is changed. I still get:
1 - Chapter heading
1.1 Chapter subheading
1.1.1 Chapter sub sub heading
Chapter no section number
I think I am still leaving something out. My chapter reads
\section {Chapter subheading}
\subsection {Chapter sub sub heading}
\subsubsection{Chapter no section number}
The issue is that there is no number in front of "Chapter no section number"
Thanks for the help!