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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- 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!