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. DOCUMENT DIVISIONScreates the new command \plates which when called generates an unnumbered part-likepage with the title Picture Gallery.\leadpagetoclevelWhen \(re)newleadpage is used the resulting command adds 〈title〉 to the ToC as thoughit was an unnumbered \leadpagetoclevel entry, whose definition is\newcommand*{\leadpagetoclevel}{chapter}If you wished them to be entered like a \part header then simply:\renewcommand*{\leadpagetoclevel}{part}When the starred versions \(re)newleadpage* are used the resulting command willnot add 〈title〉 to the ToC.<strong>The</strong> layout of the page matches that for unnumbered \part pages, and internally theresulting commands use \partmark in case you wish to capture the 〈title〉 to use in runningheaders.6.5 CHAPTER HEADINGS<strong>The</strong> chapter headings are configurable in much the same way as book or part headings,but in addition there are some built in chapter styles that you may wish to try, or defineyour own.Chapters, except when the article <strong>class</strong> option is used, always start on a new page withthe chapter pagestyle. <strong>The</strong> particular page, recto or verso, that they start on is mainlycontrolled by the <strong>class</strong> options. If the oneside option is used they start on the next newpage, but if the twoside option is used the starting page may differ, as follows.openright <strong>The</strong> chapter heading is typeset on the next recto page, which may leave a blank versoleaf.openleft <strong>The</strong> chapter heading is typeset on the next verso page, which may leave a blank rectoleaf.openany <strong>The</strong> chapter heading is typeset on the next page and there will be no blank leaf.\openright \openleft \openany<strong>The</strong>se three declarations have the same effect as the options of the same name. <strong>The</strong>y canbe used anywhere in the document to change the chapter opening page.Ignoring many details, like the optional arguments, the code for printing a \chapterheading is similar to that for \book and \part (the \chapterhead command below is notpart of the <strong>class</strong>).\newcommand{\chapterhead}[1]{ % THIS IS A SIMPLIFIED VERSION\clearforchapter % move to correct page\thispagestyle{chapter} % set the page style\insertchapterspace % Inserts space into LoF and LoT\chapterheadstart % \beforechapskip space before heading\printchaptername\chapternamenum\printchapternum\afterchapternum % \midchapskip space between number and title\printchaptertitle{#1} % title\afterchaptertitle} % \afterchapskip space after title82

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

Saved successfully!

Ooh no, something went wrong!