I'm currently writing on my bachelor thesis, which we have a template from the university we are forced to use. Apparently the table of content is supposed to start with page 1, in my case it starts with page 3.
My Professor said, the lines
\pagenumbering{roman}
\tableofcontents
\pagenumbering{arabic}
are supposed to tackle this issue, since the numbering is first set to roman. Then the table is generated and then the numbering is set back to arabic, thus reseting the counters. However it doesn't seem to work. Someone got any suggestions?
Here's the template im using:
\documentclass[a4paper, 11pt, twoside, openright, DIV15, BCOR15mm]{scrbook}
\KOMAoptions{cleardoublepage=empty}
%
% Packages
\usepackage{pdfpages}
\usepackage{hanser}
\usepackage{textcomp}
\usepackage{listings}
% Hyperref-Optionen für PDF-Files
\usepackage{hyperref}
%% Verhindert Schusterjungen und Hurenkinder
\clubpenalty = 10000
\widowpenalty = 10000 \displaywidowpenalty = 10000
%
% Kein Einzug beim Paragraphenanfang
\parindent0.0cm
\parskip1.5ex
% Stil für das Literaturverzeichnis
\bibliographystyle{geralpha}
% Tiefe für das Inhaltsverzeichnis
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
% listings-Package
%+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% Hintergrundfarbe von Quellcode
\definecolor{codecolor}{rgb}{0.85,0.85,0.85}
\lstloadlanguages{[ANSI]C++, Java}
\lstset{basicstyle = \ttfamily \small}
\lstset{backgroundcolor=\color{codecolor}}
\lstset{extendedchars=true} \lstset{showstringspaces = false}
% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%
\raggedbottom
\setlength{\parskip}{2.0ex}
\setlength{\parindent}{0.0cm}
%
% Kopfzeile
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{} \fancyhead[L, RO]{\small \thepage}
\fancyhead[LO]{\small \nouppercase \leftmark}
\fancyhead[RE]{\small \nouppercase \rightmark}
\fancypagestyle{plain}{%
\fancyhead{} %
\renewcommand{\headrulewidth}{0pt} %
}
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% Abstände zwischen Caption und Bild/Tabelle
\setlength\abovecaptionskip {0.4em}
\setlength\belowcaptionskip {0.2em}
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
% Anteil der Grafiken höher auf jeder Seite!
\renewcommand{\floatpagefraction}{0.99}
\renewcommand{\captionlabelfont}{\small \bfseries}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
% Kein Auseinanderziehen gegen das Seitenende
\raggedbottom
%
% Beginn Dokument
%
\begin{document}
% \includepdf[pages=-]{content/deckblatt.pdf}
\cleardoublepage
% Inhaltsverzeichnis
% Schalten Sie auf kleine römische Zahlen als Nummerierung um -- sonst
% fängt im Inhaltsverzeichnis das erste Kapitel auf Seite 6 an; Seite 1 wäre besser, oder?
\pagenumbering{roman}
\tableofcontents
% Jetzt schalten wir wieder auf arabische Zahlen, und die Zähler werden zurückgesetzt
\pagenumbering{arabic}
% Input aller Teildateien
\input{content/einleitung}
\input{content/orbis}
\input{content/berechtigungssteuerung}
\input{content/zusammenfassung}
% Literatur
\chaptermark{Literaturverzeichnis}
\sectionmark{Literaturverzeichnis}
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
\bibliography{main}
% Anhang
\appendix
\input{content/ehren}
\input{content/sperre}
\end{document}


\cleardoubleoddpageimmediately before\pagenumbering:\cleardoublepage\pagenumbering{roman}\tableofcontentsshould work. But your template is terrible ... As already mentioned in comments to https://tex.stackexchange.com/q/437054/43317hanser.styis outdated. There are outdated class options.hyperrefis loaded to early, do not change\parskipmanuelly, ... – esdd Jul 13 '18 at 07:31