In my backmatter the header appears as Chapter x: chapter-name, where x is the number (or letter if I have an appendix) of the last chapter before the backmatter. How can I make the header in the backmatter to just show chapter-name? I already modified the chaptermark according to this solution to not have the Chapter 0 in the header of the frontmatter (Removing this does not affect the header in the backmatter). How can I adapt it to not have the Chapter x in the header?
\documentclass[a4paper,11pt,twoside]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}}
\renewcommand{\chaptermark}[1]{%
\ifnum\value{chapter}>0
\markboth{Chapter \thechapter{}: #1}{}%
\else
\markboth{#1}{}%
\fi}
\begin{document}
\frontmatter
\chapter{abstract}
some text
\mainmatter
\chapter{some chapter}
some text
\appendix
\chapter{some appendix}
some text
\backmatter
\chapter{some backmatter}
some text
\newpage
some text
\newpage
some text
\end{document}
makeatletterand themakeatotherfor? – Tanja Nov 21 '13 at 07:28