I'm writing a thesis using scrreprt
and want the preface to appear as an unnumbered chapter. When I use
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
I get the correct entry in the table of contents, but the heading is not set correctly by srclayer-scrpage
. Instead I get the title of the previous chapter in the heading, which happens to be "List of Figures" in my case.
I guess I could manually refresh the chapter title for the heading as well, but probably there is a more elegant way to solve this problem?