Theses, Books, Title pages ⇒ Changing the table of content to section based
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Changing the table of content to section based
Thanks for the wonderful template.
I hope you can help me out with a small issue.
Currently i notice that the numbering of sections/chapters are based on chapter->section->subsection hierarchy. However, i would like to change it to a section base (removing chapter as i will not be using that).
Currently, if i use section without chapter, it will appear as ( 0.1 Introduction ). Instead of ( 1. Introduction ).
Will appreciate if you can point me to how to fix this.
Thanks!
xholmes
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
Changing the table of content to section based
Just add this to your preamble in
main.tex
:Code: Select all
\renewcommand*\thesection{\arabic{section}}
Cheers,
Vel