Take the 2-minute tour ×

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
add comment

1 Answer

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
add comment

Your Answer


