\documentclass[english,notitlepage,reprint,nofootinbib]{revtex4-1}  % defines the basic parameters of the document
% 
% For preview: skriv i terminal: latexmk -pdf -pvc filnavn
% If you want a single-column, remove "reprint"

% Silence warning of revtex4-1
\usepackage{silence}
\WarningFilter{revtex4-1}{Repair the float}

% Allows special characters (including æøå)
\usepackage[utf8]{inputenc}
\usepackage{fontawesome}
\usepackage{multirow}
\usepackage[table]{xcolor}
% \rowcolors{2}{gray!15}{white}
% \usepackage{tabularx}
% \usepackage[english]{babel}

%% Note that you may need to download some of these packages manually, it depends on your setup.
%% I recommend downloading TeXMaker, because it includes a large library of the most common packages.

\usepackage{physics,amssymb}  % mathematical symbols (physics imports amsmath)
\usepackage[no-test-for-array]{nicematrix}

\usepackage{graphicx}         % include graphics such as plots
\graphicspath{.images/}
\usepackage{xcolor}           % set colors
\usepackage{hyperref}         % automagic cross-referencing
\usepackage{listings}         % display code
% \usepackage{subfigure}        % imports a lot of cool and useful figure commands
\usepackage{subcaption}
% \usepackage{float}
%\usepackage[section]{placeins}
\usepackage{algorithm}
\usepackage[noend]{algpseudocode}
\usepackage{tikz}
% \usepackage{pgfplots}
% \pgfplotsset{compat=1.18}
% \usetikzlibrary{3d}
\usepackage{xcolor}
% \usepackage{etoolbox} %ifthen
% \usetikzlibrary{calc}
% \usetikzlibrary{arrows,arrows.meta}
% \usetikzlibrary{decorations.markings}
% \usetikzlibrary{angles,quotes}
% \usetikzlibrary{fadings}
% \tikzset{>=latex}
% \colorlet{wall}{blue!30!black}
% \colorlet{myblue}{blue!70!black}
% \colorlet{myred}{red!70!black}
% \colorlet{mydarkred}{red!50!black}
% \colorlet{mylightgreen}{green!60!black!70}
% \colorlet{mygreen}{green!60!black}
% \colorlet{myredgrey}{red!50!black!80}
% \colorlet{myshadow}{blue!30!black!90}
% \tikzstyle{wave}=[myblue,thick]
% \tikzstyle{mydashed}=[black!70,dashed,thin]
% \tikzstyle{mymeas}=[{Latex[length=3,width=2]}-{Latex[length=3,width=2]},thin]
% \tikzstyle{mysmallarr}=[-{Latex[length=3,width=2]}]
% \usetikzlibrary{quantikz}
% defines the color of hyperref objects
% Blending two colors:  blue!80!black  =  80% blue and 20% black
\hypersetup{ % this is just my personal choice, feel free to change things
    colorlinks,
    linkcolor={red!50!black},
    citecolor={blue!50!black},
    urlcolor={blue!80!black}}

% Biblio stuff
% \def\biblio{\bibliographystyle{plain}\bibliography{../references/references}}

\newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}}
\newcommand{\rvline}{\hspace*{-\arraycolsep}\vline\hspace*{-\arraycolsep}}

% Defines indices i and j to avoid confusion with imaginary i
\newcommand{\ivec}{\hat{\imath}}
\newcommand{\jvec}{\hat{\jmath}}

\usepackage{xr}
\usepackage{subfiles}
% \externaldocument[M-]{\subfix{main}}

\begin{document}

\title{Simulating the Schrödinger wave equation using the Crank-Nicolson scheme in 2+1 dimensions}  % self-explanatory
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen \\ \faGithub \, \url{https://gitea.balaton.dev/FYS3150/Project-5}} % self-explanatory
\date{\today}                             % self-explanatory
\noaffiliation                            % ignore this, but keep it.

% Abstract
\subfile{sections/abstract}

\maketitle

% Introduction
\subfile{sections/introduction}

% Methods
\subfile{sections/methods}

% Results
\subfile{sections/results}

% Conclusion
\subfile{sections/conclusion}

% Notes
% \subfile{draft}

\clearpage
\newpage

% Appendix
\subfile{sections/appendices}

\clearpage
\onecolumngrid

\bibliographystyle{unsrtnat}
\bibliography{references}


\end{document}

% Abstract: OK!
% Introduction: Hyugen, Heisenberg
% Methods: OK!
% Results: OK
% Conclusion: OK!
% Appendices: 

% Results
% P7: OK!
% P8: OK!
% P9: OK
