With \KOMAoption{chapterprefix}{true}
, I would like to replace the default text for the chapter prefix, so that it shows up in all the appropriate places: chapter heading, page headers, and preferable ToC. So, instead of "Chapter 1 Something," I would see "Assignment 1: Something."
I have looked in the KOMA-Script manual, particularly in the section on redefining or declaring sectioning commands, and couldn't figure out where the text is stored. I tried \renewcommand\chapterformat{Assignment\enskip\thechapter:}
but it did not affect headers or ToC. I assume that there is a place where the string "chapter" is stored?
\documentclass{scrbook}
\KOMAoption{chapterprefix}{true}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Something}
chapter text
\end{document}
Thank you!