11

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}
2
  • 3
    How exactly are you building your headers? Provide a minimal working code. Aug 18, 2011 at 15:22
  • No.. I only want to remove the chapter number from the footer text, not the chapter itself.
    – yolo
    Aug 19, 2011 at 11:22

2 Answers 2

17

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}{}
1
  • this answer and \headmark works!
    – yolo
    Aug 19, 2011 at 12:18
2

Try redefining \chaptermark:

\renewcommand\chaptermark[1]{\markboth{#1}{}}

If that doesn't work, please add to your question some minimal working code showing the relevant settings involved in the header generation.

1
  • does not work.. added settings
    – yolo
    Aug 19, 2011 at 11:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.