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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6. DOCUMENT DIVISIONSFor example, to set a \part in a large sans font with the part name flush left:\renewcommand{\partnamefont}{\normalfont\huge\sffamily\raggedright}\renewcommand{\partnumfont}{\normalfont\huge\sffamily}or to only print the part number in the default font:\renewcommand{\printpartname}{}\renewcommand{\partnamenum}{}\printbooktitle{〈title〉} \booktitlefont\printparttitle{〈title〉} \parttitlefontA book’s title is typeset by \printbooktitle using the font specified by\booktitlefont. By default this is a \bfseries font in the \Huge size. This canbe changed to have, say, the title set raggedleft in a small caps font by\renewcommand{\booktitlefont}{\normalfont\Huge\scshape\raggedleft}Similarly a part’s title is typeset by \printparttitle using the font specified by\parttitlefont. By default this is a \bfseries font in the \Huge size.<strong>The</strong> \parttitlefont font is also used by \appendixpage, or its starred version,when typesetting an appendix page.\bookpagemark{〈title〉}\partmark{〈title〉}<strong>The</strong> \book code includes \bookpagemark{〈title〉} for capturing the 〈title〉 of the book divisionif it is going to be used, for example, in page headers. Its definition is simply:\newcommand*{\bookpagemark}[1]{}<strong>The</strong>re is the corresponding \partmark for the title of \part divisions.\bookpageend \bookblankpage \nobookblankpage\partpageend \partblankpage \nopartblankpage<strong>The</strong> macro \bookpageend finishes off a book title page. It first calls \afterbookskip.If the \nobookblankpage is in effect it does nothing more. If the declaration\bookblankpage (the default) is in effect then it finishes the current page, outputs a blankpage and then, if twocolumn typesetting was in effect before \book then it restores twocolumntypesetting. <strong>The</strong> macro \partpageend performs similar functions for \part pages.So to add something on the back side of a \part page (assuming twoside) use somethingsimilar to...\nopartblankpage\part{Title of the Part}\thispagestyle{simple}Text on the following (normally blank page)\clearpage...Alternatively you can redefine \partpageend.If you use the declaration \nopartblankpage (or \nobookblankpage) then you areresponsible for setting everything correctly to end off the \part (or \book) page. This isthe default definition of \partpageend (that for \bookpageend is similar):80

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

Saved successfully!

Ooh no, something went wrong!