\documentclass[11pt]{article}

%%% PACKAGES %%%
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textgreek}
\usepackage{amsmath,amsfonts,amssymb}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{subcaption}
\usepackage{url}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{eso-pic}
\usepackage{geometry}
\usepackage{comment}
\usepackage{natbib}
\usepackage{setspace}

%%% PAGE SETUP %%%
\geometry{a4paper, margin=1in}
\onehalfspacing

%%% WATERMARK %%%
\AddToShipoutPictureBG{%
\begin{tikzpicture}[remember picture,overlay]
\node[rotate=45,scale=4,text=gray!20] at (current page.center) {AUTHOR MANUSCRIPT};
\end{tikzpicture}%
}

%%% CUSTOM COMMANDS %%%
\renewcommand{\sectionautorefname}{Section}
\renewcommand{\subsectionautorefname}{Section}
\renewcommand{\subsubsectionautorefname}{Section}

\usepackage{tabularx}
\usepackage{dcolumn} %Aligning numbers by decimal points in table columns
\newcolumntype{d}[1]{D{.}{.}{#1}}

\usepackage{todonotes}
\let\xtodo\todo
\renewcommand{\todo}[1]{\xtodo[inline,color=green!50]{#1}}
\newcommand{\itodo}[1]{\xtodo[inline]{#1}}
\newcommand{\red}[1]{\textcolor{red}{#1}}
\newcommand{\sven}[1]{\xtodo[inline,color=yellow!50]{Sven: #1}}

%%% HYPERREF SETUP %%%
\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan,
    citecolor=blue,
}

%%% TITLE AND AUTHOR INFO %%%
\title{Moderating Role of Presence in EEG Responses to Visuo-haptic Prediction Error in Virtual Reality}

\author{
Lukas Gehrke, 0000-0003-3661-1973$^{1,*}$ \and 
Leonie Terfurth, 0000-0001-6143-4222$^{1}$ \and 
Klaus Gramann, 0000-0003-2673-1832$^{1}$ \\[0.5em]
\small
$^{1}$Technische Universität Berlin, Berlin, Germany \\
\small
$^{*}$Email: lukas.gehrke@tu-berlin.de
}


\date{\today}

\begin{document}

\maketitle

%%% ABSTRACT %%%
\begin{abstract}
\input{writing/0_abstract}
\end{abstract}

%%% KEYWORDS %%%
\textbf{Keywords:} human computer interaction, virtual reality, presence, EEG, haptic feedback, prediction error

%%% MAIN CONTENT %%%
\input{writing/2_introduction}

\input{writing/4_user_study_and_methods}

\input{writing/5_results}

\input{writing/6_discussion}

%%% BIBLIOGRAPHY %%%
\bibliographystyle{plainnat}
\bibliography{paperpile}

%%% APPENDIX %%%
\appendix
\input{writing/9_appendix}

\end{document}
