\part{Appendix}\label{sec:appendix}
%
\begingroup
\renewcommand{\cleardoublepage}{}%only necessary if the openright option is used. Otherwise only acting on \clearpage is sufficient, but keeping \cleardoublepage does no harm.
\renewcommand{\clearpage}{}
\chapter{Including the Appendix in your Main File}
%\endgroup%here, I do not reinstate the normal clearpage commands because I dont want chapters in the appendix to cause a pagebreak in general. And I also dont need the clearpage commands for something else. Alternatively, I could begin and end groups around every chapter
%
Before you start the appendix, either by writing directly in your document or by inserting a separate .tex file, you should use the \mbox{\textbackslash appendix} command, cf. main file of this template.
\begin{lstlisting}
\appendix%signals some commonly reasonable changes, e.g. a change in chapter numbering from arabic to alphabetic
\input{Diss_Appendix.tex}%information which is nice to have, but not essential to follow the arguments in the main text
\end{lstlisting}

\chapter{Reusing (Parts of) an Equation}\label{sec:appdx_relaxation-specdens-sto}
\endgroup% reinstate the normal clearpage commands
%
\Eqpl{eqs:autocorrelation-specdens} make use of macros which print a given math expression, such that I can derive this expression in the appendix and use the exact same expression (including potential future changes) in the main text. To help you jump back and forth in this template, have this poorly formatted (you are not supposed to reference the repeat equation anyway) link: \cref{dummytag}.
\begin{subequations}\label{eqs:autocorrelation-specdens}
	\begin{align}
		\correlationfunctiondef{&} \label{eq:autocorrelation}
		\intertext{and its half-sided Fourier transform}
		&\tilde{J}_{2,\RankOrderTypeface{m}}(\omega) \equiv \spectraldensitydefRHS \eqend{where $\omega = -\gamma B_0$} \eqend{.} \label{eq:specdens_tilde}
	\end{align}
\end{subequations}
%
