E2-PhD-Council / ThesisTemplate

Thesis template(s) for Chalmers E2 PhD students
MIT License
15 stars 13 forks source link

How to add appendices to included papers? #42

Open JulianoLagana opened 1 year ago

JulianoLagana commented 1 year ago

I'm confused about how to have included papers with appendices in this template. If I add something like

\begin{appendices}
\section{Hyperparameters of X, Y, Z}
\label{appx:hyperparameters}
...
\end{appendices}

Then the appendix is labeled with a number (e.g., "1 - Hyperparameters of X, Y, Z") without any indication that it is an appendix. Furthermore, references to it in the text using \ref{appx:hyperparameters} also resolve to a single number, instead of something like a letter, or at least "Appendix 1".

What is the recommended way to add appendices to included papers?

JulianoLagana commented 1 year ago

Using \appendixsection instead of \section results in the same behavior.

georghess commented 5 days ago

For anyone coming here and looking for the answer: replacing \appendix with \appendixpreamble, \section with \appendixsection and, \subsection with \appendixsubsection seems to do the trick.