Update 08/5/2020 (incorporating latest suggestions)
I'm currently working on a large LaTeX document with (so far) 26 appendices files which are incorporated via \include. Comments helpfully diagnosed the issue as being the labelling system, when trying to add a 27th and failing, however, implementing an \alphalpha solution on the `\begin{appendices' section is still causing me some issues.
\documentclass[a4paper,12pt,times,authoryear,print,index]{Classes/PhDThesisPSnPDF}
% The class file, `PhDThesisPSnPDF`, is based on the standard `book` class
\begin{document}
\frontmatter
\maketitle
\include{Dedication/dedication}
\include{Declaration/declaration}
\include{Acknowledgement/acknowledgement}
\include{Abstract/abstract}
\mainmatter
\include{01/chapter1}
\include{02/chapter2}
\include{03/chapter3}
\include{04/chapter4}
\include{05/chapter5}
\bibliographystyle{apalike}
%\bibliographystyle{unsrt} % Use for unsorted references
\bibliographystyle{plainnat} % use this to have URLs listed in References
\cleardoublepage
\bibliography{References/library} % Path to your References.bib file
\begin{appendices}
\include{Appendix_01/appendix_01}
\include{Appendix_02/appendix_02}
\include{Appendix_26/appendix_26}
\include{Appendix_27/appendix_27}
\end{appendices}
\end{document}
I've been trying to get AA, AB etc. working using the alphalph package and including the below in curly braces just under /begin{appendices}. I understand this should limit the renew command to this section? Each appendix starts with \chapter{Title}, but perhaps I shouldn't be using \thechapter? The below causing a large number of errors, but have been trying alternates to see it might work:
\begin{appendices}
{
\usepackage{alphalph}
\renewcommand*{\thechapter}
\AlphAlph{\value{chapter}}%
\include{Appendix_01/appendix_01}
\include{Appendix_02/appendix_02}
\include{Appendix_26/appendix_26}
\include{Appendix_27/appendix_27}
}
\end{appendices}
No luck so far. Thanks for any help!
alphalphpackage? – Bernard May 04 '20 at 12:24\renewcommand{\thesection}{\Roman{section}}. – John Kormylo May 04 '20 at 12:47\begin{appendices}instead of a simple\appendixcommand? By the way, if you use theappendixpackage (you have no apparent reason to) and\begin{appendices}, then patching\appendixdoes nothing at all. – egreg May 04 '20 at 17:19\appendixmeant that my chapter numbering continued into the appendix which wasn't ideal. – danwri May 04 '20 at 19:46