\documentclass{book}
\usepackage{kantlipsum}
\usepackage{appendix}
\usepackage{fontspec} % compile w/XeLaTeX
\setmainfont{Perpetua}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\renewcommand{\headrule}{} % Remove the horizontal line from the header
\fancyfoot[C]{\fontfamily{ppl}\fontsize{11}{13}\selectfont\thepage} % set the footer centred and using Perpetua 11 font
\newcommand{\appendixchapter}{% https://tex.stackexchange.com/a/681868/269662
\cleardoublepage
\fancyfoot[C]{\fontfamily{ppl}\fontsize{11}{13}\selectfont\thepage}
\pagenumbering{arabic}
\setcounter{page}{1}%
\renewcommand{\thepage}{\thechapter\arabic{page}}%
\chapter
}
\begin{document}
\fontsize{13pt}{15.6pt}\selectfont
\chapter{A chapter}
\kant[1]
\appendix
\appendixchapter{An appendix}
\kant
\appendixchapter{Another appendix}
\kant
\end{document}
The page numbers are set to Perpetua 11, which compiles like that. However, it only appears to do so on the first page of the (appendix) chapter. Then, the numbers get bigger again. How do I set the page numbering to Perpetua 11 throughout the whole document?
\fontsize{13pt}{15.6pt}\selectfont
suppose to do? It will be overwritten as soon as\normalsize
is called somewhere in the code.\usepackage[fontsize=13pt]{fontsize}
or something like that didn't work for me..clo
file (for examplememoir
supports this, not sure ifextbook
does, the KOMA bundle probably has an interface for it as well)fancy
style, it often usesplain
. Look in thefancyhdr
manual, there should be information about changing the plain style as well.