2

I use the memoir class to typeset my documents. This class also allows the easy addition of a glossary to those documents. However, the default pagestyle for the glossary is plain. I want to change the pagestyle to the style that I have defined myself and that I have set as the pagestyle for the document using \pagestyle{myheadings}. How can I achieve this feat? An MWE is included below.

\documentclass[twoside,article]{memoir}
\usepackage{authoraftertitle}

\title{foo bar}

\makeindex
\makeglossary

\makepsmarks{myheadings}{%
\createplainmark{glossary}{both}{\glossaryname}
}

\makeevenhead{myheadings}{\textsf\thepage}{}{\textsc{\textsf\MyTitle}} 
\makeoddhead{myheadings}{\textsc{\textsf\MyTitle}}{}{\textsf\thepage}

\pagestyle{myheadings}

\begin{document}

\glossary{foo}{bar}

\printglossary

\end{document}
2

1 Answer 1

1

It uses the same page style as chapter so make a different alias for the chapter style. Perhaps use

\aliaspagestyle{chapter}{myheadings}

Though, I find it strange to have a chapter first page with headers (which is why chapter is an alias for plain)

1
  • this would generally be strange. However, as I am using the article option of the memoir document class, what is called a chapter is more like a section of most documents produced using the article document class. Jul 22, 2014 at 19:56

You must log in to answer this question.

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