Hi!
I'm working on a thesis template, but I experience some strange issues when I compile my file.
I marked my problem in red, as you can see at page 10/10.
Can anyone explain too me what is wrong? I added the needed files for the compilation in an attachment.
Thanks in advance!
Document Classes ⇒ book | Wrong Section and Subsection Enumeration
book | Wrong Section and Subsection Enumeration
Last edited by [M]OGuL on Mon Sep 19, 2011 8:50 pm, edited 2 times in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
book | Wrong Section and Subsection Enumeration
Hi,
- remove this line in layout.tex or comment it out, because it removes the per-chapter-numbering:
Code: Select all
\counterwithout{section}{chapter}
- modify these lines in your document, which define the section counter presentation, which affects the subsection counter as well:
Change it for including the chapter number:
Code: Select all
\renewcommand*\thesection{\roman{section}} \renewcommand*\thesection{\arabic{section}}
Code: Select all
\renewcommand*\thesection{\thechapter.\roman{section}} \renewcommand*\thesection{\thechapter.\arabic{section}}
LaTeX.org admin
Re: book | Wrong Section and Subsection Enumeration
Works like a charm, thanks for your quick reply!