Text FormattingCant format the table of contents numbering

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jd5073
Posts: 1
Joined: Tue Jul 20, 2021 6:03 pm

Cant format the table of contents numbering

Post by jd5073 »

my tabular numbering format starts as 0.1 for heading and for subsections it is 0.1.1 anyway to format this to start from 1 and 1.1

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Cant format the table of contents numbering

Post by Bartman »

More context please.
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Cant format the table of contents numbering

Post by Ijon Tichy »

You've not shown a Infominimal working example nor given relevant information about used class and commands. So I can only speculate: Seems you are using either the wrong class or the wrong sectioning command as topmost level. For example, if you start with \section the correct class would be article or scrartcl but not book, scrbook, report or scrreprt. In the other way round, if you use a class, with the top level chapter, you should use \chapter as the top level command and \section as next level.

Please read the manual of the used class and an introduction to LaTeX for more information.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply