\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}\selectfontsuppose to do? It will be overwritten as soon as\normalsizeis called somewhere in the code. – daleif May 01 '23 at 08:21\usepackage[fontsize=13pt]{fontsize}or something like that didn't work for me. – BlueIris May 01 '23 at 08:30.clofile (for examplememoirsupports this, not sure ifextbookdoes, the KOMA bundle probably has an interface for it as well) – daleif May 01 '23 at 09:01fancystyle, it often usesplain. Look in thefancyhdrmanual, there should be information about changing the plain style as well. – daleif May 01 '23 at 09:04