GeneralTOC - problem with numbering

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
user
Posts: 7
Joined: Sun Oct 26, 2008 12:29 am

TOC - problem with numbering

Post by user »

Hi.

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.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

TOC - problem with numbering

Post by Stefan Kottwitz »

Hi,

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}
Stefan
LaTeX.org admin
user
Posts: 7
Joined: Sun Oct 26, 2008 12:29 am

Re: TOC - problem with numbering

Post by user »

Hi.

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
user
Posts: 7
Joined: Sun Oct 26, 2008 12:29 am

Re: TOC - problem with numbering

Post by user »

Its ok, I found the answer on another forum. What would one do without the internet.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

TOC - problem with numbering

Post by localghost »

user wrote:Its ok, I found the answer on another forum. What would one do without the internet.
We would appreciate very much if you would post the solution here.


Best regards
Thorsten¹
user
Posts: 7
Joined: Sun Oct 26, 2008 12:29 am

Re: TOC - problem with numbering

Post by user »

Post Reply