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.

3
  • Are you using any predefined page style? May 25, 2013 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, 2013 at 1:51
  • Ah, then my answer should do what you want. Let me know if it works for you. May 25, 2013 at 1:53

2 Answers 2

4

You can redefine \chaptermark; for example:

\def\chaptermark#1{\markboth{#1}{}}
10
  • 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, 2013 at 1:54
  • @anon271828 sure, but what do you want me to explain? May 25, 2013 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, 2013 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, 2013 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. May 25, 2013 at 2:21
4

My solution

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

The default is

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .