TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the following macro


    %Create chapter

    %Add it to TOC

    %Reset section counter, to avoid precedent section
    %from interfering
    \setcounter {section} {0}

I do want it have to do, an unumbered chapter, expect for one thing. The sections under i start, with 0, so my section are 0.X.X. I want my section to be. X.X

share|improve this question
Wouldn't that be confusing since they would appear to be from different chapters? – TH. Mar 23 '11 at 1:13
I agree but it's to match an assignment requirements. Beside it's more like there is two document merged in the same PDF. – Olivier Toupin Mar 26 '11 at 19:16
up vote 8 down vote accepted

You can use the chngcntr package to change the dependence between the chapter and section counters.


This will have the desired effect.

share|improve this answer

Your Answer


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.