\documentclass[../thesis.tex]{subfiles}

\graphicspath{
	{.}
	{../../figures/}
	{../../../figures/}
}


%\newcommand{\email}[1]{\href{mailto:#1}{#1}}
%\def\thesisauthoremailraw{}
%\def\thesissupervisoremailraw{}
%\def\thesissecondreaderemailraw{}

\begin{document}
\definecolor{radboud}{RGB}{227, 0, 11}
\newcommand{\titlingemail}[1]{}
\def\thesisauthoremail{\titlingemail{\thesisauthoremailraw}}
\def\thesissupervisoremail{\titlingemail{\thesissupervisoremailraw}}
\def\thesissecondreaderemail{\titlingemail{\thesissecondreaderemailraw}}
\begin{titlepage}
	\thispagestyle{empty}
	\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
	\center
	\textcolor{radboud}{\textsc{\Large Radboud Universiteit Nijmegen}}\\[.7cm]
	\includegraphics[width=25mm]{radboud/in_dei_nomine_feliciter}\\[.5cm]
	\textsc{Faculteit der Natuurwetenschappen, Wiskunde en Informatica}\\[0.5cm]

	\HRule \\[0.4cm]
	{ \huge \bfseries \thesistitle}\\[0.1cm]
	\textsc{\thesissubtitle}\\
	\HRule \\[0.4cm]
	\textsc{\large Master's thesis Physics and Astronomy}\\[.5cm]

	\begin{minipage}[t]{0.4\textwidth}
	\begin{flushleft} \large
	\emph{Author:}\\
	\thesisauthorfirst\space \textsc{\thesisauthorsecond}%
	\thesisauthoremail
	\end{flushleft}
	\end{minipage}
	~
	\begin{minipage}[t]{0.4\textwidth}
	\begin{flushright} \large
	\emph{Supervisor:} \\
	\thesissupervisorfirst\space \textsc{\thesissupervisorsecond}%
	\thesissupervisoremail%
	\\[0.4cm]
	\emph{Second Reader:} \\
	\thesissecondreaderfirst\space \textsc{\thesissecondreadersecond}%
	\thesissecondreaderemail%
	\end{flushright}
	\end{minipage}\\[0.4cm]
	%\hrule
	{
		\vfill
		%\hrule%
		\includegraphics[keepaspectratio, height=65mm, width=\textwidth]{beacon/array_setup_gps_transmitter_cows.png}%
		%\hrule%
		\vfill
	}
	\vfill
	\vspace*{1cm}
	%\hrule
	{\large \color[gray]{0.3} \thesisdate}
	%\hrule
	\clearpage
\end{titlepage}
\end{document}
