Is there a way to define a different footer for the page that starts a Chapter and the rest of the document in memoir and customise both easily - possibly something like \makechapfoot?
- 85
2 Answers
You can easily customize the page styles (header or footer) with a <page style> in memoir using
\makeevenhead{<page style>}{<left>}{<centre>}{<right>}
\makeoddhead {<page style>}{<left>}{<centre>}{<right>}
\makeevenfoot{<page style>}{<left>}{<centre>}{<right>}
\makeoddfoot {<page style>}{<left>}{<centre>}{<right>}
Note that the above requires <page style> to exist. The following exists by default (see section 7.2 Page styles in the memoir basic user manual):
Your specific interest lies with the chapter page style - associated with \chapters - and the headings page style - the remainder of the document.
Therefore, to change the footer of the chapter page style is easy:
\copypagestyle{chapter}{plain}
\makeoddfoot{chapter}{Left}{Centre}{Right}
Copying the page style is only needed because chapter is actually an "alias" of the plain page style. Alternatively, you can modify the plain page style directly: \makeoddfoot{plain}{Left}{Centre}{Right}
For the remainder of the document body, you can modify the headings page style
\makeevenfoot{headings}{Left}{Centre}{Right}
\makeoddfoot{headings}{Left}{Centre}{Right}
- 603,163
Just in case anyone finds her/himself having the same problem, there is no trivial way of doing this, but some methods have been posted here:
Why doesn't \pagestyle{empty} work on the first page of a chapter?
Also see the comments on the question.
-
I don't understand why you mention "there is no trivial way of doing this" when using something as simple as
\makeoddfoot{plain}{..}{..}{..}does what you want. – Werner Dec 28 '15 at 01:40

\xpatchcmd{\chapter}{% \thispagestyle{chapter}}{% \thispagestyle{standard}% }{% }{}` - there must be a better way to edit the style of Chapter footer?
– spokus Dec 27 '15 at 21:39\thispagestyle{...}statements are hardcoded. You can do the patch (there's nothing bad with that!) or change the definition of thechapterpagestyle depending on the first chapter page etc. Patching is easier, I think – Dec 27 '15 at 22:02