General ⇒ TOC - problem with numbering
TOC - problem with numbering
I just began to work with SWP. Although its user interface makes things easier, I still have some minor problems after using shell 'New South Wales' for my thesis. The Problem is that in TOC it starts with chapters, but Im writing a master thesis and no book. As soon as I change those chapter headings into section headings, the headings in TOC start from 0.1, 0.2 etc. . Isnt there some possibility that TOC starts from sections and neglects parts and chapter? I tried setcounter{secnumdepth}{} and \setcounter{tocdepth}. Isnt there a way I can put in some minimum? Please dont tell me to try some other shell. I really want to use THIS shell. Thank you for your time.
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: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
TOC - problem with numbering
I don't use SWP, but I'll try to give advice. To number sections independent of chapters you could use the chngcntr package:
Code: Select all
\usepackage{chngcntr}
\counterwithout{section}{chapter}
Re: TOC - problem with numbering
This helped. Thanks. Yet. Since it is some predefined shell, it now rearranges sections, but I like the section headings to be substituted with chapter headings, this means that all options in TOC and so on for chapter shall now be used for section headings. Or maybe you know how I get this 'chapter 1, chapter 2 etc.' on the top of each chapter deleted? It looks quite annoying if chapter stands above some bibliography. I appreciate your advise.
DA
Re: TOC - problem with numbering
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TOC - problem with numbering
We would appreciate very much if you would post the solution here.user wrote:Its ok, I found the answer on another forum. What would one do without the internet.
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10