[Tex/LaTex] How to put roman numerals in table of contents before Introduction

roman numeralstable of contents

enter image description hereMy counter is set from the Introduction and goes until the very end.

How can I set roman numerals before the Introduction in the toc?

My document class is:
\documentclass[12pt,chapterprefix]{scrreprt}

and to set the counter from the Introduction I used:
\addchap{Introduction}\setcounter{page}{1}

Best Answer

You can put the command \pagenumbering{roman} right after \begin{document}. When you want to switch to arabic pagenumbers (in your case right before the \tableofcontents) you have to put \clearpage\pagenumbering{arabic}. MWE to show the mechanism

\documentclass{article}
\usepackage{blindtext}
\begin{document}
\pagenumbering{roman}
\blindtext[5]
\clearpage
\pagenumbering{arabic}  %answer updated after egregs comment
\tableofcontents
\blinddocument
\end{document}