enumeration of sections in a chapter [duplicate]

Possible Duplicate:
How to change section numbering to alphabetical, Roman numbers, etc

I am using the fancyhdr package to work with chapters. But I don't want to have the number of the chapter included in the section numbering. For example, I don't want to have

chapter 1

1.1 Introduction.

1.2 Conclusion.

The preamble concerning the fancyhdr package is

 \usepackage{fancyhdr}
\pagestyle{fancy}

-

marked as duplicate by Thorsten, lockstep, egreg, Gonzalo Medina, Stefan Kottwitz♦Apr 24 '12 at 16:29

Yes, thank you. – Nadori Apr 11 '12 at 15:44
Not sure how the linked post helped you, but you can remove the chapter number from the section numbering via \renewcommand{\thesection}{\arabic{section}}. – Werner Apr 11 '12 at 16:01

Without any modifications to the book or report document classes (which support \chapter), the section printing mechanism is essentially given by

\renewcommand \thesection {\thechapter.\arabic{section}}


This includes the chapter-level numbering - \thechapter (and a period .) - as part of the section-level numbering. To remove this hierarchy, add

\renewcommand \thesection {\arabic{section}}