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.5. Chapter headings____ top of the typeblock\beforechapskip + \baselineskip + \topskipChapter ❄ 3❄\midchapskip + \baselineskip<strong>The</strong> title\afterchapskip + \baselineskipThis ❄ is the start of the after-heading text which continues on . . .second line of text following the heading . . .Figure 6.1: Class layout parameters for chapter titles. Working with \beforechapskipneed a little thought, see the text.<strong>The</strong> general layout is shown in Figure 6.1.\clearforchapter<strong>The</strong> actual macro that sets the opening page for a chapter is \clearforchapter.<strong>The</strong> <strong>class</strong> options openright, openleft and openany (or their macro equivalents\openright, \openleft and \openany) define \clearforchapter to be respectively(see §18.13) \cleartorecto, \cleartoverso and \clearpage. You can obviouslychange \clearforchapter to do more than just start a new page.\memendofchapterhookWhere \clearforchapter comes at the very beginning, \memendofchapterhook comesat the very end of the \chapter command. It does nothing by default, but could be redefinedto insert, say, \clearpage:\makeatletter\renewcommand\memendofchapterhook{%\clearpage\m@mindentafterchapter\@afterheading}\makeatotherSome books have the chapter headings on a verso page, with perhaps an illustration orepigraph, and then the text starts on the opposite recto page. <strong>The</strong> effect can be achievedlike:83

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

Saved successfully!

Ooh no, something went wrong!