[Tex/LaTex] Page header with chapter title but without number (KOMA-Script)

chapterskoma-scriptnumberingsectioning

Now that I have turned numbering on, \leftmark shows chapter title with number in my header. like

1 ChapterTitle

How do I remove the number?

these are my settings

documentclass[12pt,a4paper,english,openany,oneside]{scrbook}
\usepackage[nouppercase,headsepline,footsepline,automark]{scrpage2}
\clearscrheadfoot
\clearscrheadings
\chead{}
\cfoot{}
\ihead{HeaderLeftText}
\ohead{HeaderRightText}
\ifoot{\rule{0pt}{\ht\strutbox+\dp\strutbox}\SomeChapterNameCommand} % want chapter name here
\ofoot{\rule{0pt}{\ht\strutbox+\dp\strutbox}\thepage}
\pagestyle{scrheadings}

Best Answer

In case of the KOMA-Script classes, the formatting of the chapter number in the headline is controlled by \chaptermarkformat. To get rid of the chapter number, you simply have to redefine \chaptermarkformat as:

\renewcommand*{\chaptermarkformat}{}