1

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?

4
  • Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.
    – jub0bs
    Aug 5 '14 at 17:00
  • 2
    the \pagenumbering command takes effect immediately, on the current page-in-progress. to delay it until the next page, insert a \clearpage before you issue \pagenumbering. Aug 5 '14 at 17:03
  • I am afraid I don't understand what you mean. I don't want to delay anything. I want my introduction to continue the roman page numbering of the table of contents.
    – eklisiarh
    Aug 5 '14 at 17:05
  • Ignore my last comment! Inserting /clearpage before \pagenumbering{arabic} solved the problem. Thank you!
    – eklisiarh
    Aug 5 '14 at 17:07
4

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.

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.
https://tex.stackexchange.com/questions/194976/page-numbering-resets-after-table-of-contents-roman-arabic
tex.stackexchange.com
crawl=CC-MAIN-2022-05
139972
application/http; msgtype=response
sha1:E7QG5736UKZIYMJWSNIWGS7RB5ZZ3JWZ
<urn:uuid:9fbe6dc0-d044-4b8e-9061-0e56872d4024>
2022-01-24T15:23:25Z
151.101.193.69
text/html
sha1:NJKVMSYGBWBGFU2BDACAAYR4ZFHZVUWQ
<urn:uuid:bafc8293-f7c8-4803-9127-32574f9196b2>
https://tex.stackexchange.com/questions/194976/page-numbering-resets-after-table-of-contents-roman-arabic
response
<urn:uuid:2ce41ead-6845-4bfd-ad58-3da32416ab72>
isPartOf: CC-MAIN-2022-05
publisher: Common Crawl
description: Wide crawl of the web for January 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-95
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/