\documentclass[12pt,a4paper]{report}
\usepackage[utf8]{inputenc}

\title{MasterNorskeSkog}
\author{Eirik Torp}
\date{June 2018}

%\usepackage{natbib} %References
\usepackage{graphicx} %Figures
\graphicspath{{Figures/}} %Path Figures
\usepackage{chemfig} %Chemistry
\usepackage{siunitx} %Si-units
\usepackage[nottoc, numbib]{tocbibind} %Include lof, lot and bib in toc. Option: Exclude toc, number bib
\usepackage{lmodern} %Include fonts (according to DAIM)
\usepackage{float} %Need it for tables

\usepackage[rmargin=2.5cm,lmargin=2.5cm,tmargin=3cm,bmargin=3cm]{geometry}

%\usepackage[T1]{fontenc}
%\usepackage{titlesec, blindtext, color}
%\definecolor{gray75}{gray}{0.75}
%\newcommand{\hsp}{\hspace{20pt}}
%\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter\hsp\textcolor{gray75}{|}\hsp}{0pt}{\Huge\bfseries}

\usepackage{setspace} %Change of line-spacing
\onehalfspacing % Sets line spacing to 1.5

\usepackage{booktabs}
\usepackage[font={small,it}]{caption}

\usepackage{pdflscape}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}

%=========================

\usepackage{ucs}
\usepackage{amsmath}
\numberwithin{equation}{section}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage[font={small,it}]{caption}
\usepackage{mathpazo}
\usepackage{xcolor}
\usepackage{rotating}
\usepackage{tikz}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{float}
\usepackage[none]{hyphenat}
\usepackage{wrapfig}
%\usepackage{subfigure}
\usepackage{subfig}
%\usepackage{subcaption}
\usepackage{sidecap}
\usepackage[version=4]{mhchem}
\graphicspath{{Figures/}}
\usepackage[section]{placeins}
\usepackage[rmargin=2.5cm,lmargin=2.5cm,tmargin=3cm,bmargin=3cm]{geometry}
\usepackage{pdflscape}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{sectsty}
\usepackage{array}
\usepackage[numbers]{natbib}
\usepackage[normalem]{ulem}
%\usepackage{ulem}
\usepackage{subfiles}
\usepackage{pdfpages}
\usepackage{upgreek}
\usepackage[plainpages=false,pdfpagelabels]{hyperref}
\usepackage{todonotes} %Input of todo notes in document
%\usepackage{titlesec}
\usepackage{float} %Placement of figures etc
\usepackage{siunitx} %SI-units
\usepackage{lscape} % To flip pages to landsape
\usepackage{setspace} %Change of line-spacing
\onehalfspacing % Sets line spacing to 1.5
%\usepackage{titlesec}
%\usepackage[]{mcode}

\usepackage[T1]{fontenc}
\usepackage{titlesec, blindtext, color}
\definecolor{gray75}{gray}{0.75}
\newcommand{\hsp}{\hspace{20pt}}
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter\hsp\textcolor{gray75}{|}\hsp}{0pt}{\Huge\bfseries}

\usepackage[nottoc,numbib]{tocbibind}

%\blankpage adds blank page
\newcommand{\blankpage}{
\newpage
\thispagestyle{empty}
\mbox{}
\newpage
}



\usepackage{listings}
\usepackage{color} %red, green, blue, yellow, cyan, magenta, black, white
\definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
\definecolor{mylilas}{RGB}{170,55,241}
\lstset{language=Matlab,%
    %basicstyle=\color{red},
    breaklines=true,%
    morekeywords={matlab2tikz},
    keywordstyle=\color{blue},%
    morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
    identifierstyle=\color{black},%
    stringstyle=\color{mylilas},
    commentstyle=\color{mygreen},%
    showstringspaces=false,%without this there will be a symbol in the places where there is a space
    numbers=left,%
    numberstyle={\tiny \color{black}},% size of the numbers
    numbersep=9pt, % this defines how far the numbers are from the text
    emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
    %emph=[2]{word1,word2}, emphstyle=[2]{style},    
}



\setcounter{secnumdepth}{4}




\begin{document}

\sloppy %Avoid overfull \hbox

\pagenumbering{roman}

\include{abstract}
\include{sammendrag}
\include{preface}

\tableofcontents

\listoffigures
\listoftables
\include{abbreviations}

\pagenumbering{arabic}

\include{introduction}
\include{theoryProcessDescription}
\include{Control}
%\include{experimental}
%\include{results}
\include{leaksEconomic}
\include{discussion}
\include{conclusion}

\bibliographystyle{unsrt} %Sorts references
\bibliography{references}

\appendix
\include{appHeatCapacity}
%\include{appCurrentOperation}
%\include{appAirCalculation}
%\include{appOppsumering}
%\include{matlab}


\end{document}

\section{Introduction}
There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened.


\begin{figure}[h!]
\centering
\includegraphics[scale=1.7]{universe}
\caption{The Universe}
\label{fig:universe}
\end{figure}

\section{Conclusion}
``I always thought something was fundamentally wrong with the universe'' \citep{adams1995hitchhiker}

