[Tex/LaTex] Chapter title format back to default

chapterskoma-scriptsectioningtitlesec

I messed with various chapter title formats and now that I want to go back to default i.e

Chapter 1

Title

I only get

1.Title

which misses "Chapter 1" appearing before the chapter title. I tried to use titlesec like this:

\titleformat{\chapter}[display]%
{\normalfont\huge\bfseries}{%
\chaptertitlename\ \achapter
}{20pt}{\Huge\bfseries\filcenter}%

It does look similar but not the same. How can I go back to default? I am using scrbook

Best Answer

Turn on this chapter prefix by loading the class with the chapterprefix option. For details please have a look at the »KOMA-Script« user guide.

\documentclass[chapterprefix=on]{scrbook}
\usepackage[T1]{fontenc}
\usepackage{blindtext}

\begin{document}
  \blinddocument
\end{document}

enter image description here