Theses, Books, Title pages ⇒ How do I get in Appendices Appendix appears in the header
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
How do I get in Appendices Appendix appears in the header
caedvaur
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10358
- Joined: Mon Mar 10, 2008 9:44 pm
How do I get in Appendices Appendix appears in the header
\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):
Code: Select all
\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\chaptername\
\thechapter.\ #1}{}} % Chapter text font settings
Code: Select all
\makeatletter
\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\@chapapp\
\thechapter.\ #1}{}} % Chapter text font settings
\makeatother
\appendix
in the book
class does this:Code: Select all
\newcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@Alph\c@chapter}}
How do I get in Appendices Appendix appears in the header
My .sty file has this command that you mentioned to be a default for the \appendix command in books.
Code: Select all
\renewcommand\appendix{\par
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@Alph\c@chapter}