[Tex/LaTex] Memoir class: turn off section numbering but still have header

header-footermemoirnumberingsectioning

Trying to get rid of auto display of section numbers within text (section title only), but still have a header that gives the section title (also sans number). Can't seem to find this in memoir docs. In other words, I want some of the behavior of \section and some of \section*

Best Answer

Set \setsecnumformat to be empty (this suppresses the numbering for the titles in the body) and redefine \sectionmark appropriately (to suppress the numbering from the headings); for example:

\documentclass{memoir}
\usepackage{lipsum}

\setsecnumformat{}
\def\sectionmark#1{\markboth{#1}{#1}}

\begin{document}

\section{Test section}
\lipsum[1-20]

\end{document}
Related Question