MWE:
Consider the following MWE, which defines a new environment specialChapterEnvironment
which I want to use to define properties for 'special' chapter headings. As an example, this is just changing the numeration from arabic to roman letters.
\documentclass{book}
% Defines a new environment for special chapters
\newenvironment{specialChapterEnvironment}{
\renewcommand{\thechapter}{\Roman{chapter}}
}{}
\begin{document}
\tableofcontents
\setcounter{chapter}{0}
\begin{specialChapterEnvironment}
\chapter{A special chapter}
\end{specialChapterEnvironment}
\chapter{A normal chapter}
\chapter{Another normal chapter}
\begin{specialChapterEnvironment}
\chapter{Another special chapter}
\end{specialChapterEnvironment}
\end{document}
Output from the MWE
The output of the code is the following:
Desired Output/Solution
As one would expect the chapter counter increases regardless of the type of the chapter (i.e. normal or special). However, what I would like to have is two independent chapter counters for 'normal' and 'special' chapters, i.e. special chapters should be enumerates as I, II, III... and normal chapters with 1, 2, 3...
What is the easiest way to do this?