4

I'm using the document class memoir, and in the header for each chapter, it keeps reading 'Chapter 1. The Title of the Chapter'. Is there any way to remove the 'Chapter X' from the header? I've figured all of the other formatting issues out via Google, but I haven't been able to locate anything regarding this particular instance.

  • Are you using any predefined page style? – Gonzalo Medina May 25 '13 at 1:48
  • @GonzaloMedina: I set up my own page style (sort of) as an experiment, just trying to find a layout I like. Other than that, I've not change or redefined anything. – anon271828 May 25 '13 at 1:51
  • Ah, then my answer should do what you want. Let me know if it works for you. – Gonzalo Medina May 25 '13 at 1:53
4

You can redefine \chaptermark; for example:

\def\chaptermark#1{\markboth{#1}{}}
  • This works perfectly! It's too early, otherwise I'd accept it. +1. Would you mind explaining the meaning in the meantime? I saw similar things in the manual (of which I've only read portions trying to figure out how to get the layout I wanted), but the meaning itself has escaped me. – anon271828 May 25 '13 at 1:54
  • @anon271828 sure, but what do you want me to explain? – Gonzalo Medina May 25 '13 at 2:02
  • The #1 and \markboth. I'm currently looking at the manual to figure out why this does what I want it to. – anon271828 May 25 '13 at 2:06
  • Or a reference where I can learn the material fairly well in a brief (if possible) amount of time. – anon271828 May 25 '13 at 2:15
  • @anon271828 I am adding some explanations... the documentation for the fancyhdr package contains some information on the marking mechanism. The LaTeX Companion also has some explanations. In some minutes I'll add some other comments. – Gonzalo Medina May 25 '13 at 2:21
4

My solution

\addtopsmarks{headings}{}{
   \createmark{chapter}{left}{nonumber}{}{}
}
\pagestyle{headings}

The default is

\createmark{chapter}{left}{shownumber}{\@chapapp\ }{. \ }

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.