9

I am writing a constitution for a society. I would like to have the subsections numbered independently of the way that the sections are numbered, i.e:

Section 1
    Subsection 1
    Subsection 2
Section 2
    Subsection 3

How can this be done?

2 Answers 2

12

You could use the chngcntr package:

\usepackage{chngcntr}
\counterwithout{subsection}{section}

Besides the numbering itself, in contrast to the remreset package, chngcntr can redefine \thesubsection for you to not include the section number within the subsection number.

UPDATE

Since 2018, \counterwithout has been in the LaTeX kernel, so loading the chngcntr package is no longer necessary.

1
  • 1
    After almost exactly 10 years :-) maybe you could edit to reflect the fact that \counterwithout has been part of the kernel since a couple of years.
    – campa
    Apr 1, 2021 at 11:34
7

although the numbering of sub/sections depends on the document class you're using, there is a little package called remreset that contains the command that will undo the "numbering within".

1
  • An example would be \usepackage{remreset} \makeatletter \@removefromreset{subsection}{section} \makeatother. You might need to change \thesubsection to not the section number, e.g. using \renewcommand{\thesubsection}{\arabic{subsection}}. Apr 6, 2011 at 18:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .