2

How do I specify the chapter title font size in the frontmatter of a document typeset with memoir? I want to set different font sizes for the frontmatter, mainmatter, and backmatter. I need to reduce the font size like in this picture.

enter image description here

3
  • 3
    You do not. You will have to make two different chapter styles. But as a reader, I would find it strange that the design changes throughout the doc
    – daleif
    Commented Dec 24, 2013 at 11:15
  • @daleif Even though it is not recommendable and i would leave a huge disclaimer, are you willing to provide a solution and get this one off the list?
    – Johannes_B
    Commented Feb 22, 2015 at 18:49
  • @Johannes_B, not really. It is not something I think should be left in the archives for others to be inspired by. IMO when you end up with questions like this, your dealing with a broken design to begin with.
    – daleif
    Commented Feb 23, 2015 at 9:00

1 Answer 1

0

The memoir class has some hooks to do this without defining a complete new style.

This example has ridiculous formatting, just to show how it works. Change the font settings to what you want.

\documentclass{memoir}

\begin{document}

\frontmatter
\renewcommand{\chaptitlefont}{\normalfont\bfseries}

\chapter{Front}

\mainmatter
\renewcommand{\chapnumfont}{\normalfont\bfseries\huge}
\renewcommand{\chapnamefont}{\normalfont\Large}
\renewcommand{\chaptitlefont}{\normalfont\itshape\Huge}

\chapter{Main}

\backmatter
\renewcommand{\chaptitlefont}{\normalfont}
\chapter{Back}

\end{document}
4
  • 2
    That is not a good way of doing things. It should be handled using chapter styles such that these can be controlled in the preamble. Then one does not have to search through many files to figure out where the author have hidden these things. In general, IMO, any \renewcommand and friends does not belong in the body of a LaTeX document.
    – daleif
    Commented Feb 23, 2015 at 9:47
  • It seems overkill to define a complete new chapter style to change only a few of the many parameters (including the font changes in my example) described in section 6.5 of the Memoir documentation. I agree that repackaging the above changes in a more logical way is a good idea, if this is a "large" document.
    – alephzero
    Commented Feb 24, 2015 at 23:44
  • You do know that you can start a chapter style by just calling another chapter style? And then add the changes.
    – daleif
    Commented Feb 25, 2015 at 6:58
  • I didn't know that till I read your comment. Thanks.
    – alephzero
    Commented Feb 27, 2015 at 2:21

Not the answer you're looking for? Browse other questions tagged .