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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- 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}