For some reason I can't compile the following small example in memoir.
\documentclass[oneside,12pt]{memoir}
\begin{document}
\chapterstyle{madsen}
\frontmatter
\tableofcontents
\mainmatter
\chapter{First chapter}
Text
\chapter{Second chapter}
More text
\end{document}
Gives the following error:
! Undefined control sequence.
<argument> \hspace {0.4em}\resizebox
{!}{4ex}{\chapnamefont \bfseries \sffam...
l.13 \mainmatter
If I comment the line \chapterstyle{madsen}
the document compiles well. I have used \chapterstyle{madsen}
in other documents before. Why is it that I can't compile this one?
Best Answer
The description of the
madsen
chapter style on p. 94 ofmemoir
's manual specifies thatis required.