I have a question regarding the header and footer. I am using memoir class and want to create a custom header which displays the name of the chapter. Below is the code I have so far, that doesnt show the chaptername. It seems to me that I have to define the \rightmark and \leftmark command, resp. but can I do this in a gerneric way ? Alternatively, when doing this:
\makeoddhead{pstest}{DUMMY ODD}{}{\thechapter}
then the number is printed, But how can output the name of the chapter ?
\documentclass[11pt,a4paper,article]{memoir}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{titlesec}
\makepagestyle{pstest}
\makeevenfoot{pstest}{\thepage}{}{}%page numbers at the outside
\makeoddfoot{pstest}{}{}{\thepage}
\makeheadrule{pstest}{\textwidth}{\normalrulethickness}
\makeevenhead{pstest}{\leftmark}{}{DUMMY EVEN} % small caps
\makeoddhead{pstest}{DUMMY ODD}{}{\rightmark}
\aliaspagestyle{chapter}{pstest}
\aliaspagestyle{section}{pstest}
\begin{document}
\pagestyle{pstest}
\chapter{Intro}
\blindtext[20]
\chapter{Methods}
\blindtext[20]
\end{document}
Thank you for any comments !
Edit 1: actually it seems that the \chaptername command gives just "chapter". Is this expected ?