When I type the \section command and compile the ToC, I get numbering that starts with 0.xx and the subsections start with 0.xx.yy. How can I change this so that it instead starts with a different number, as in the following image? My current preamble is as follows:


\newenvironment{myindent}{\advance\IndentLevel by 1em}{}



\title{Theory of Computing}
\author{ }
\date{ }

The desired result that I would like is the following: enter image description here

  • What you need to do is change the section/subsection counter. See this post here for an example. – user35154 Aug 27 '18 at 15:51
  • OK, I get that I need to use \setcounter{}{} but what goes in the second set of braces? That question uses a,b,c,d but how does that relate to the numbers in the ToC? – user83024 Aug 27 '18 at 17:10
  • @user83024: Your image does not represent anything similar to what you're asking in the question. Can you update the question to be more specific? – Werner Oct 29 '18 at 17:56

You are using a document class - report - that defines \chapter and includes the \chapter number representation as part of the sectional unit numbering hierarchy. Either switch to a different document class that does not use \chapter, like article, or remove the \chapter representation from your counters in the following way:


Previously, \thesection would have included \thechapter. before \arabic{section}.

| improve this answer | |



before the first \subsection{...} command. This should make your first subsection start with 29.

| 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.