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
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
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