% vim: fdm=marker fmr=<<<,>>>
%\documentclass[notes]{beamer}
\documentclass[]{beamer}


%%%%%%%%%%%%%%%
% Preamble <<<
%%%%%%%%%%%%%%%

\usepackage[british]{babel}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage[backend=bibtex,style=trad-plain]{biblatex}
\usepackage{appendixnumberbeamer}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{xurl}
\graphicspath{{.}{./figures/}{../../figures/}}
\usepackage{todo}

\addbibresource{../../bibliotheca/bibliography.bib}

% Use arXiv identifier if available
\DeclareCiteCommand{\arxivcite}
  {\usebibmacro{prenote}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite}
   \newunit
   \usebibmacro{eprint}}
  {\multicitedelim}
  {\usebibmacro{postnote}}

\newcommand{\imagesource}[1]{~\\[0pt]\vspace*{-7pt}\hspace*{10pt}{\tiny#1}}
\newcommand{\imagecredit}[1]{\imagesource{Credit:\thinspace#1}}
\newcommand{\imagecite}[1]{\imagesource{\arxivcite{#1}}}

% Disable Captions
\setbeamertemplate{caption}{\raggedright\small\insertcaption\par}

% no to navigation, yes to frame numbering
\beamertemplatenavigationsymbolsempty
\setbeamerfont{page number in head/foot}{size=\normalsize}
\setbeamertemplate{page number in head/foot}{\insertframenumber/\inserttotalframenumber}
%\setbeamercolor{page number in head/foot}{fg=red}
\setbeamerfont{section in head/foot}{size=\small}
\setbeamercolor{section in head/foot}{fg=gray}
\setbeamertemplate{section in head/foot}{\textit{\insertsectionhead}}
%\setbeamertemplate{footline}[frame number]
\setbeamertemplate{footline}
{%
\leavevmode%
  \hbox{%
  \begin{beamercolorbox}[wd=.7\paperwidth,ht=2.55ex,dp=1ex,leftskip=1em,rightskip=1em,sep=0pt]{title in head/foot}%
    \usebeamertemplate*{section in head/foot}%
    \hfill%
  \end{beamercolorbox}
  \begin{beamercolorbox}[wd=.1\paperwidth,ht=2.55ex,dp=1ex,sep=0pt]{my empty section}
    \hfill%
  \end{beamercolorbox}
  \begin{beamercolorbox}[wd=.2\paperwidth,ht=2.55ex,dp=1ex,leftskip=1em,rightskip=1em,sep=0pt]{page number in head/foot}%
	\hfill%
    \usebeamertemplate*{page number in head/foot}%
  \end{beamercolorbox}}%
}

%% From https://tex.stackexchange.com/a/55849
% Keys to support piece-wise uncovering of elements in TikZ pictures:
% \node[visible on=<2->](foo){Foo}
% \node[visible on=<{2,4}>](bar){Bar}   % put braces around comma expressions
%
% Internally works by setting opacity=0 when invisible, which has the
% adavantage (compared to \node<2->(foo){Foo} that the node is always there, hence
% always consumes space plus that coordinate (foo) is always available.
%
% The actual command that implements the invisibility can be overriden
% by altering the style invisible. For instance \tikzsset{invisible/.style={opacity=0.2}}
% would dim the "invisible" parts. Alternatively, the color might be set to white, if the
% output driver does not support transparencies (e.g., PS)
%
\tikzset{
  invisible/.style={opacity=0},
  visible on/.style={alt={#1{}{invisible}}},
  alt/.code args={<#1>#2#3}{%
    \alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path
  },
}

\hypersetup{pdfpagemode=UseNone} % don't show bookmarks on initial view

% >>> Preamble
%%%%%%%%%%%%%%%
% Meta data <<<
%%%%%%%%%%%%%%%
\def\thesistitle{Enhancing Timing Accuracy\texorpdfstring{\\[0.3cm]}{ }in Air Shower Radio Detectors}
\def\thesissubtitle{}
\def\thesisauthorfirst{E.T.}
\def\thesisauthorsecond{de Boone}
\def\thesisauthoremail{}
\def\thesissupervisorfirst{dr. Harm}
\def\thesissupervisorsecond{Schoorlemmer}
\def\thesissupervisoremail{}

\title[]{Enhancing Timing Accuracy in Air Shower Radio Detectors}

\date{July, 2023}

\author[\thesisauthorfirst\space\thesisauthorsecond]{%
	\thesisauthorfirst\space\thesisauthorsecond\thanks{\thesisauthoremail}\\
	\vspace*{2em}
	{Supervisor: \thesissupervisorfirst\space\thesissupervisorsecond\thanks{\thesissupervisoremail} }
	}

% >>> Meta data

\begin{document}
{ % Titlepage <<<
\setbeamertemplate{footline}{} % no page number here
\frame{	\titlepage }
} % >>>

%%%%%%%%%%%%%%%
% Start of slides <<<
%%%%%%%%%%%%%%%
\section{Cosmic Particles}% <<<<
% Sources, Types, Propagation, Observables
% Flux -> Large instrumentation area
% Detection methods of Auger
%  - FD, SD
% AERA / AugerPrime RD or GRAND
\begin{frame}
\end{frame}

% >>>>
\section{Radio Interferometry}% <<<<
\begin{frame}
\end{frame}

% >>>>
\section{Timing in Radio Detectors}% <<<<
% GNSS
% reference system: White Rabbit, AERA beacon, (ADS-B?)
% GRAND setup and measurements
\begin{frame}
\end{frame}

% >>>>
\section{Beacon Synchronisation}% <<<<
% Geometry
% Pulse method + SNR
% Sine method + SNR
\begin{frame}
\end{frame}

% >>>>
\section{Single Sine Synchronisation}% <<<<
% Sine method + Radio Interferometry
\begin{frame}
\end{frame}

% >>>>
\section{Conclusion}% <<<<
% Single Sine + Air Shower
% Outlook: Parasitic/Active vs Pulse/Sine table
% Parasitic Single Sine: 67MHz Auger
% Implementation for GRAND?
\begin{frame}
\end{frame}

% >>>>
% >>> End of Slides
%%%%%%%%%%%%%%%
% Backup slides <<<
%%%%%%%%%%%%%%%
\appendix
\begin{frame}[c]
	\centering
	\Large {
		\textcolor{blue} {
	Supplemental material
	}
	}
\end{frame}

\section*{Table of Contents}
\begin{frame}{Table of Contents}
	\tableofcontents
\end{frame}


% >>> End of Backup Slides
%%%%%%%%%%%%%%
% Bibliography <<<
%%%%%%%%%%%%%%
\section*{References}
\begin{frame}[allowframebreaks]
	\frametitle{References}
	\printbibliography
\end{frame}
% >>> Bibliography
\end{document}

