I've recently asked a question: Chapters in TeX

regarding working with chapters in tex. I have since learned that I must use documentclass report for the purposes of my document. However, now all of my Theorems, Corollaries, Remarks, and so forth are numbered "0.number.number" (with the first 0 never changing). I would like, at the very least, to understand how to make the first number denote the number of the chapter.

The current code I have is this:

  • 2
    You probably also have section numbers staring with 0 that never changes. If so, you're probably not using \chapter at all. If you want to get rid of the chapter numbering, you could try \makeatletter\renewcommand{\thechapter}{\@gobble}\makeatother. This is a very crude suggestion, but without more information it might work.
    – Werner
    Apr 29, 2012 at 17:04
  • 4
    Change the line: \newtheorem{thm}{Theorem}[section] to \newtheorem{thm}{Theorem}[chapter] Apr 29, 2012 at 17:05
  • I see the problem now. I was using \chapter* rather than \chapter. Is there a way for me to still use \chapter* AND have the numbering?
    – Nicole
    Apr 29, 2012 at 17:08
  • @Nicole: Which numbering do you mean? chapter number? Why do you use chapter*? Apr 29, 2012 at 17:11
  • 2
    @Nicole the only reason for using \chapter* rather than \chapter is to avoid numbering. If you want numbers then you want \chapter. Apr 29, 2012 at 17:46

1 Answer 1


All LaTeX classes use the \thechapter,\thesection etc., to style the numbering of the various section numbers. You can redefine these to whatever you wish. In the example below, I have redefined the \thechapter and \thesection to remove the dot and the objectionable zero. This way you can still keep on using the \chapter command and you will have no problems with the Table of Contents. I personally dislike the use of star commands as they are very unsemantic if one can coin such a word.


\chapter{A chapter title}
\section{A section}
\begin{thm} A theorem \end{thm}

I have also removed the word chapter as it is meaningless, if there is no number.

If you want to number the sections with chapter numbers (but not show them in the Chapter head), use:


I am not too sure if this is a good idea though, as it will be confusing to the reader and have never seen such a style in any book.

enter image description here

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.