# Memoir header problem with \chapter*

I'm using memoir, when I use \chapter* the header is copied from the previous section.

How can I fix that?

MWE:

\documentclass{memoir}

\usepackage{lipsum}
\setcounter{secnumdepth}{3}

\copypagestyle{ruledsmallhd}{ruled}

\begin{document}

\pagenumbering{roman}
\pagestyle{ruledsmallhd}

\cleardoublepage
\maxtocdepth{subsection}
\tableofcontents

\cleardoublepage
\chapter*{Introduction}

\lipsum

\end{document}

• Does your Introduction have Roman page numbers? Feb 24, 2014 at 10:09
• Why don't you use \frontmatter and \mainmatter. Is there any reason why the Introduction should not be in the TOC? Using \frontmatter disables numbering and \chapter{Introduction} will be in the ToC automatically, no need for tricks Feb 24, 2014 at 10:17
• @egreg: I don't know, should it? :) Feb 24, 2014 at 11:25
• @AymanElmasry My suggestion is that it should simply be a numbered chapter in the main matter. Feb 24, 2014 at 11:28
• @daleif I understand now, this would have been useful if I wanted an unnumbered chapter in the main matter. \frontmatter \mainmatter works just fine in this particular case. Feb 24, 2014 at 11:36

There's no need of any special trick:

\documentclass{memoir}

\usepackage{lipsum}
\setcounter{secnumdepth}{3}

\copypagestyle{ruledsmallhd}{ruled}

\begin{document}
\frontmatter
\pagestyle{ruledsmallhd}

\cleardoublepage
\maxtocdepth{subsection}
\tableofcontents

\chapter{Introduction}

\lipsum

\mainmatter

\chapter{Let the fun begin}

\lipsum

\end{document}
`