Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

The default numbering for chapters is this:

1 Chapter
1.1 Section

What I want is this:

1.0 Chapter
1.1 Section

However, if I add the zero to \thechapter, what I get is this:

1.0 Chapter
1.0.1 Section

How do I get that ".0" appended to the chapter header?

share|improve this question

1 Answer 1

up vote 16 down vote accepted

Define \thesection without using \thechapter, such as

\renewcommand*{\thechapter}{\arabic{chapter}.0}
\renewcommand*{\thesection}{\arabic{chapter}.\arabic{section}}
share|improve this answer
    
...and the numbering of \subsection etc. picks up that "definition without \thechapter" from \thesection... sweet. Why didn't I see this? :-D –  DevSolar Aug 8 '11 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.