[Tex/LaTex] Wrong header in unnumbered chapter

chaptersheader-footer

Consider this MWE

\documentclass{memoir}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\lipsum
\lipsum
\chapter{Introduction}
\lipsum
\lipsum
\end{document}

How to remove/fix the header "CONTENTS" in unnumbered chapter Acknowledgments?

Best Answer

Just simply add the command \chaptermark{Chapter name} after \addcontentsline, this should work:

\documentclass{memoir}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\chaptermark{Acknowledgments}
\lipsum
\lipsum
\chapter{Introduction}
\lipsum
\lipsum
\end{document}
Related Question