0

Simply,

my chapters are not numbered. This is true for both numbers in the TOC (all entries start with 0., like 0.4.12, 0.3.3, 0.2, no matter which chapter they are in), neither are things I used to see present, like Chapter 7 before chapter title.

Has anybody got any idea what could cause this? I am using fancyhdr, but nothing suspicious.

  • 2
    Welcome to TeX.SX! Some more information is needed. What class are you using? – egreg Sep 7 '14 at 14:14
  • 2
    A minimal working example (MWE) is definitely needed. – egreg Sep 7 '14 at 14:22
  • 4
    The description of your output is consistent with starting every chapter with \chapter*{something} if that is not what you did, show what you did do – David Carlisle Sep 7 '14 at 14:25
  • 2
    Without a MWE this is just guesswork. Have you used \frontmatter without later using \mainmatter? Have you change the value of the secnumdepth counter? – Nicola Talbot Sep 7 '14 at 14:34
  • 1
    > I had to figure that out myself (while producting MWE). Yet another reason why we like MWEs! – Thruston Sep 7 '14 at 15:56
5

For book-like classes, \frontmatter disables the chapter numbering (but still adds unstarred \chapter's to the TOC). The numbering is then resumed with \mainmatter. (The reason for this is that chapters in the front matter, such as a foreword or preface, are typically unnumbered but should be listed in the table of contents.)

Example:

\documentclass{book}

\begin{document}
\frontmatter
\tableofcontents

\chapter{Foreword}

\chapter{Preface}

\chapter*{Dedication}

\mainmatter

\chapter{Introduction}

\end{document}

In the above the "Foreword" and "Preface" chapters are unnumbered but are listed in the table of contents. The "Dedication" chapter and the table of contents (which implicitly uses \chapter*) are unnumbered and not included in the table of contents. The "Introduction" chapter is numbered (1) and included in the table of contents.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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