3

The MWE below illustrates that while I can center numbered chapter headings, I cannot do so for unnumbered chapter headings:

\documentclass{memoir}
\renewcommand*{\printchaptername}{\centering}
\begin{document}
\chapter*{Unnumbered chapter}
\chapter{Numbered chapter}
\end{document}

What am I doing wrong?

1 Answer 1

4

Have a look at how the chapter headings are printed (p. 82). memoir makes a distinction here. For unnumbered chapters, you'd need this:

\documentclass{memoir}
\renewcommand*{\printchaptername}{\centering}
\renewcommand*{\printchapternonum}{\centering}
\begin{document}
\chapter*{Unnumbered chapter}
\chapter{Numbered chapter}
\end{document} 
1
  • 1
    Thanks, works great. Wouldn't it make more sense to call it \printchapternamenonum? Mar 29, 2013 at 9:42

You must log in to answer this question.

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