% this file is called up by thesis.tex
% content in this file will be fed into the main document

%: ----------------------- introduction file header -----------------------
% Forces the next content to start on an odd (recto) page
\newcommand{\startonoddpage}{%
  \clearpage
  \checkoddpage
  \ifoddpage
    % already odd → do nothing
  \else
    \thispagestyle{empty}\mbox{}\newpage
  \fi
}

\renewcommand{\thesection}{\Alph{section}}
\graphicspath{{Appendix/figures/}} % specifies where the figures are stored

\setcounter{section}{0}

% ----------------------------------------------------------------------
%: ----------------------- content ----------------------- 
% ----------------------------------------------------------------------  
\startonoddpage %Force cover on an odd page

\chapter{Appendix} \label{inc_papers} % top level followed by section,
\section{PAPER I}

% Cover page
\begin{center}
    \huge \textbf{Paper 1 Title}\\[0.5\baselineskip]
    \Large First Author, Second Author, Third Author, Fourth Author, Fifth Author, Sixth Author\\[0.5\baselineskip]
    \Large \emph{Journal or Conference Name, Year}
\end{center}

% White page
\clearpage
\thispagestyle{empty}\mbox{}\newpage

% PDF of the paper
\includepdf[pages=-,pagecommand={},width=1.3\textwidth]{9_backmatter/pdfs/template-paper1.pdf}


% ----------------- PAPER II -----------------
% Next cover page automatically goes to next odd page
\startonoddpage
\section{PAPER II}

% Cover page
\begin{center}
    \huge \textbf{Paper 2 Title}\\[0.5\baselineskip]
    \Large First Author, Second Author, Third Author, Fourth Author, Fifth Author, Sixth Author\\[0.5\baselineskip]
    \Large \emph{Journal or Conference Name, Year}
\end{center}

% White page
\clearpage
\thispagestyle{empty}\mbox{}\newpage

% PDF of paper
\includepdf[pages=-,pagecommand={},width=1.3\textwidth]{9_backmatter/pdfs/template-paper2.pdf}

