12.07.2015 Views

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

The memoir class - The UK TeX Archive

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.4. Book and part headings\newcommand{\partpageend}{%\afterpartskip\ifm@mnopartnewpage% set by \(no)partblankpage\else%default finish off\if@twoside\if@openright% output blank page\null\thispagestyle{afterpart}%\newpage\fi\fi\fi\if@tempswa% true if twocolumn was being used\twocolumn\fi}Here with the default definitions, \afterpartskip ends off the \part page, and thenthe rest of the code in \partpageend takes care of typesetting the blank back side of the\part page (or send us back to twocolumn mode).If on the other hand we actually want to write something below the part title on the\part page, then we need a different route. <strong>The</strong> ‘air’ above and below the part title is bydefault defined as\newcommand*{\beforepartskip}{\null\vfil}\newcommand*{\afterpartskip}{\vfil\newpage}Thus we need to redefined this such that it does not change the page and such that it adduseful spacing above and below the part titling. Something like this may do the trick\makeatletter\newcommand*{\beforepartskip}{\null\vskip4cm}\newcommand*{\afterpartskip}{\par\vskip1cm%\@afterindentfalse\@afterheading}\makeatother6.4.1 Leadpage\newleadpage[〈page-style〉]{〈cmdname〉}{〈title〉}\newleadpage*[〈page-style〉]{〈cmdname〉}{〈title〉}\renewleadpage[〈page-style〉]{〈cmdname〉}{〈title〉}\renewleadpage*[〈page-style〉]{〈cmdname〉}{〈title〉}\newleadpage and associates are variants of the \newcommand and companions. 2 <strong>The</strong>\newleadpage command defines a macro \cmdname that when called will typeset anAppendixpage-like page (see §6.2.1) with a title 〈title〉 using the 〈page-style〉 as the pagestylefor the page. <strong>The</strong> default is the empty pagestyle. <strong>The</strong> macro \renewleadpage redefinesan existing leadpage command. As an example:\newleadpage{plates}{Picture Gallery}2 <strong>The</strong> suggestions for these came from Danie Els and Lars Madsen.81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!