
So far, it only displays the title: "A Journal articles".
What I want instead is: "Appendix A Journal articles".
The document class is *memoir* and here is an MWE showing the problem:
Code: Select all
\documentclass[b5paper]{memoir}
\usepackage[utf8]{inputenc}
\usepackage{blindtext}
%%%%%%%%% HEADER AND FOOTER FORMAT %%%%%%%%%
\def\hffont{\sffamily\small}
\makepagestyle{myruled}
\makeheadrule{myruled}{\textwidth}{\normalrulethickness}
\makeevenhead{myruled}{\hffont\thepage}{}{\hffont\leftmark}
\makeoddhead{myruled}{\hffont\rightmark}{}{\hffont\thepage}
\makeevenfoot{myruled}{}{}{}
\makeoddfoot{myruled}{}{}{}
\makepsmarks{myruled}{
\nouppercaseheads
\createmark{chapter}{both}{shownumber}{}{\space}
\createmark{section}{right}{shownumber}{}{\space}
\createplainmark{toc}{both}{\contentsname}
\createplainmark{lof}{both}{\listfigurename}
\createplainmark{lot}{both}{\listtablename}
\createplainmark{bib}{both}{\bibname}
\createplainmark{index}{both}{\indexname}
\createplainmark{glossary}{both}{\glossaryname}
}
\pagestyle{myruled}
\copypagestyle{cleared}{myruled} % When \cleardoublepage, use myruled instead of empty
\makeevenhead{cleared}{\hffont\thepage}{}{} % Remove leftmark on cleared pages
\makeevenfoot{plain}{}{}{} % No page number on plain even pages (chapter begin)
\makeoddfoot{plain}{}{}{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\appendix
\chapter{Test on header}
\blindtext[10]
\end{document}
