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.

9. CONTENTS LISTS\thispagestyle{chapter}\aftertoctitlewhere the macros are described below.\XheadstartThis macro is called before the title is actually printed. Its default definition is\newcommand{\Xheadstart}{\chapterheadstart}\printXtitle{〈title〉}<strong>The</strong> title is typeset via \printXtitle, which defaults to using \printchaptertitle forthe actual typesetting.\Xmark<strong>The</strong>se macros sets the marks for use by the running heads on the ToC, LoF, and LoT pages.<strong>The</strong> default definition is equivalent to:\newcommand{\Xmark}{\markboth{\...name}{\...name}}where \...name is \contentsname or \listfigurename or \listtablename as appropriate.You probably don’t need to change these, and in any case they may well bechanged by the particular \pagestyle in use.\afterXtitleThis macro is called after the title is typeset and by default it is defined to be\afterchaptertitle.Essentially, the ToC, LoF and LoT titles use the same format as the chapter titles, andwill be typeset according to the current chapterstyle. You can modify their appearance byeither using a different chapterstyle for them than for the actual chapters, or by changingsome of the macros. As examples:• Doing\renewcommand{\printXtitle}[1]{\hfill\Large\itshape #1}will print the title right justified in a Large italic font.• For a Large bold centered title you can do\renewcommand{\printXtitle}[1]{\centering\Large\bfseries #1}• Writing\renewcommand{\afterXtitle}{%\thispagestyle{empty}\afterchaptertitle}will result in the first page of the listing using the empty pagestyle instead of thedefault chapter pagestyle.• Doing\renewcommand{\afterXtitle}{%\par\nobreak \mbox{}\hfill{\normalfont Page}\par\nobreak}will put the word ‘Page’ flushright on the line following the title.148

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

Saved successfully!

Ooh no, something went wrong!