Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm designing a book collection using the memoir class. I want chapter titles to have a page for themselves (before the chapter proper). I'm using the following code for that:

\makechapterstyle{renaccs}{%
\chapterstyle{default}
\def\chapterheadstart{\hbox{}\vspace{6\onelineskip}}
\renewcommand*{\chaptitlefont}{\huge\scshape\bfseries\centering}
\renewcommand{\afterchaptertitle}{\vfill\cleartorecto}
}

The problem is that most other book divisions (TOCs, LOFs, etc.) also get this formatting---as expected. Is there a way for me to only get this results for chapter titles proper, and not for TOCs, LOFs, etc.? (I mean, I could change the formatting locally and manually at the outset of every chapter, but I will to have a class setting for this.) Cheers!

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

A simple example, based on my earlier comment:

\documentclass[12pt]{memoir}
\usepackage{lipsum}

\makechapterstyle{renaccs}{%
\chapterstyle{default}
\def\chapterheadstart{\hbox{}\vspace{6\onelineskip}}
\renewcommand*{\chaptitlefont}{\huge\scshape\bfseries\centering}
\renewcommand{\afterchaptertitle}{\vfill\cleartorecto}
%\renewcommand{\afterchaptertitle}{\vfill\clearpage}% <-- another possibility
}

\begin{document}

% Front matter
\frontmatter
\chapterstyle{plain}

\chapter*{Preface}
\lipsum[1]

% Main matter
\mainmatter
\chapterstyle{renaccs}

\chapter{The First Chapter}
\lipsum[1]

\chapter{The Second Chapter}
\lipsum[1]

% Back matter
\backmatter
\chapterstyle{thatcher}

\chapter{An Appendix}
\lipsum[1]

\end{document}

Try commenting out the \frontmatter, \mainmatter, and \backmatter to see the difference.

share|improve this answer
    
Thanks. This actually works. I thought I could manage that only with the (one) chapter style definition. –  NVaughan Apr 26 '12 at 16:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.