# roman numbering for few sections [closed]

I have some attachments in my document and I would like to number them with a roman style.

How can I do this?

I tried:

  \documentclass[12pt,a4paper,oneside]{book}
\begin{document}

\chapter*{Atachments}
\renewcommand{\thesection}{\Roman{section}}
\section{my section}

\end{document}


EDIT Before the chapter* of attachments, I have an appendix with sections A.1, A.2, A.3.

So, the number of the first section of attachments is IV instead of I.

How can I correct this?

-

## closed as too localized by lockstep, Mico, Guido, Stefan Kottwitz♦Jan 13 '13 at 23:38

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You have a missing brace at the end - {\Roman{section}} works. –  Harish Kumar Jan 13 '13 at 22:48
Does adding the missing brace after \Roman{section} help? –  egreg Jan 13 '13 at 22:49
@egreg Ops for the last brace. Anyway, I still have a problem. See my edit please. –  Ford Prefect Jan 13 '13 at 23:01
@FordPrefect The command \chapter* doesn't reset section; add also \setcounter{section}{0} –  egreg Jan 13 '13 at 23:13

You can use \setcounter{section}{0}:

  \documentclass[12pt,a4paper,oneside]{book}
\begin{document}
\appendix
\chapter{One}
\section{one}
\chapter*{Attachments}
\setcounter{section}{0}
\renewcommand{\thesection}{\Roman{section}}
\section{my section}
%
\end{document}


-
And probably write correctly "Attachments". ;-) –  egreg Jan 13 '13 at 23:13
@egreg OOps! Corrected. Thanks :-) –  Harish Kumar Jan 13 '13 at 23:15