4

I want to use a "roman" page numbering in tableofcontents, listoffigures, listoftables and in the chapter called "simboli" and, then, restart the page numbering with "arabic" style in the following chapters.

I've used the following code

\begin{document}
\pagestyle{scrheadings}
\input{cap/title}
\newpage
\pagenumbering{Roman}
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\input{cap/Simboli}
\setcounter{table}{0}
\setcounter{equation}{0}
\setcounter{figure}{0}
\pagenumbering{arabic}
\input{cap/01}

The restult is that tableofcontents, listoffigures, listoftables are correctly numbered but the chapter "simboli" uses "arabic" numeration. A side-effect is that the first page of "cap/01" is the number "3" (but I can fix it).

Thanks.

  • 4
  • 2
    Insert \clearpage (or \newpage) after \input{cap/Simboli} and before \pagenumbering{arabic}. – Mico Mar 7 '16 at 9:48
  • 1
    What document class are you using? – egreg Mar 7 '16 at 10:13
  • 1
    @Dalmo1991: Normally, there's no need of resetting the counters explicitly -- this is done usually when the chapter counter is stepped. – user31729 Mar 7 '16 at 16:54
  • 2
    @Dalmo1991 Unlike in forums, here adding “SOLVED” is not used. You tell it by accepting the answer that helped you the most, if one of them actually solved the problem (click on the check mark you should see next to the answer). – egreg Mar 10 '16 at 8:24
2

Here's a suggested solution. The main idea is to insert \newpage -- \clearpage will work as well -- before \pagenumbering{arabic}.

\documentclass{scrreprt}
\pagestyle{scrheadings}
% ... remainder of preamble
\begin{document}
\pagenumbering{Roman}
\input{cap/title}
\newpage
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\newpage
\input{cap/Simboli}

\newpage % <- this is new
\setcounter{table}{0}
\setcounter{equation}{0}
\setcounter{figure}{0}
\pagenumbering{arabic}
\input{cap/01}
% ... remainder of document
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.