\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{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}
% \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}}

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

\begin{document}

\title{Exploring Phase Transitions in the Two Dimensional Ising Model}  % self-explanatory
\author{Cory Alexander Balaton \& Janita Ovidie Sandtrøen Willumsen \\ \faGithub \, \url{https://github.uio.no/FYS3150-G2-2023/Project-4}} % 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}

\clearpage
\newpage

% Appendix
\subfile{sections/appendices}

\clearpage

\onecolumngrid

\bibliographystyle{unsrtnat}
\bibliography{references}


\end{document}

% Method
% Problem 1: OK
% Problem 2: OK
% Problem 3: OK
% Problem 4: OK
% Problem 9: OK

% Results
% Problem 5: burn-in time
% Problem 6: OK
% Problem 7: OK
% Problem 8: investigate phase transitions, and estimate critical temperature based on plot
% Problem 9: use critical temperature to estimate the ctritical temperature of infinite lattice

% Appendices
% Problem 0: move in front of references, and change back to double column
