For some reason my page numbering restarts after table of context and changes from roman to arabic numbers. I don't really know how to make MWE for this because I use include to put text into the document. Here is how that part of the code looks like:
\documentclass[a4paper,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{blindtext}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\pagenumbering{roman}%
\begin{spacing}{1.4}%
\tableofcontents
\end{spacing}
\clearpage
\begin{spacing}{1}
\input{Text/Introduction}
\end{spacing}
\pagenumbering{arabic}
\setcounter{page}{1}
\include{Text/MainText}
\usepackage[ngerman]{babel}
\begin{document}
\blindtext
\blindtext
\printbibliography
\end{document}
With this I get roman numbering for table of contents, as it should, but after that the Introduction chapter starts with arabic numbering instead to continue roman numbering.
What am I doing wrong?
Best Answer
the
\pagenumbering
command takes effect immediately, on the current page-in-progress. i suspect that your introduction is not more than one page long, so that would still be "live" when you reset\pagenumbering{arabic}
.to delay the effect of this command, insert
\clearpage
before you issue\pagenumbering
.