I would like to indent the chapter lines of the table of contents (it includes parts and chapters) but apparently I am not able to do it.
I understand that the Koma-script I am using (scrbook) should do it by default, but it doesn't. I have been reading the manual and several forum questions about it. Apparently a toc=graduated or toc=indent options can be used. I tried to put the option in the documentclass but it does not work.
Could anybody help me?
Here is my code:
\documentclass[chapterprefix=true]{scrbook}
\setcounter{secnumdepth}{0}
\usepackage{xcolor, graphicx}
\usepackage{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{textcomp}
\usepackage{indentfirst}
\usepackage{times}
\usepackage{mathptmx}
\usepackage{setspace}
\doublespacing
\definecolor{chaptergrey}{rgb}{0.7,0.7,0.7}
\let\raggedchapter\raggedleft
\addtokomafont{disposition}{\normalfont}
%\setkomafont{element}{commands}
\setkomafont{title}{\color{cyan}\LARGE}
\setkomafont{chapter}{\color{cyan}\LARGE}
\setkomafont{subtitle}{\color{black}}
\renewcommand*{\chapterformat}{%
\scalebox{3}{\color{cyan}\thechapter}%
}
\begin{document}
\author{}
\subject{Linea Guida}
\title{\textbf{Il trattamento laparoscopico di laparocele e ernie ventrali}}
\subtitle{}
\titlehead{}
\date{Gennaio 2022}
\frontmatter
\maketitle
\tableofcontents
\chapter{Intro}
\mainmatter
\part{Sviluppo della linea guida}
\chapter{one}
\chapter{two}
\part{Quesiti}
\chapter{three}
\chapter{four}
\backmatter
% bibliography, glossary and index would go here.
\end{document}