## LaTeX forum ⇒ Theses, Books, Title pages ⇒ How do I get in Appendices Appendix appears in the header Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

### How do I get in Appendices Appendix appears in the header

Place appendages in the template, but in the header of each page tells me chapter, instead of appendix, as I do to change me to Appendix chapter, thank you very much.

caedvaur

Tags:

Stefan Kottwitz
Posts: 8544
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Usually this is simply done by starting the appendix by

`\appendix`

in the document.

However, currently the template doesn't respect the changes made by this command. You can fix it by adding

`\renewcommand*{\chaptername}{\appendixname}`

The template itself could be fixed by changing that line in structure.tex (PAGE HEADERS section):

`\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\chaptername\ \thechapter.\ #1}{}} % Chapter text font settings`

to

`\makeatletter\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\@chapapp\ \thechapter.\ #1}{}} % Chapter text font settings\makeatother	`

The reason is, `\appendix` in the `book` class does this:

`\newcommand\appendix{\par   \setcounter{chapter}{0}%   \setcounter{section}{0}%   \gdef\@chapapp{\appendixname}%   \gdef\thechapter{\@Alph\c@chapter}}`

Stefan