\documentclass{article}
\usepackage{graphicx}
\title{My First Document}
\author{A. U. Thor}

\begin{document}
\maketitle

\section{Introduction}

This is my first document.  Bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.

And now for something completely different.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.
Bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla.

An empty line stars a new paragraph.

Accented letters: ä \"a \"e \'e \`a \~n.

Now some math:  $a^2 + b^2 = c^2$.

And now we really want to see: $\alpha, \beta, \ldots, \xi, \ldots,
\zeta$.

So now something complicated.
\begin{displaymath}
  \frac{1}{\sqrt{2 \pi}} \int_{-\infty}^{\infty} e^{-t^2/ 2} \, dt = 1.
\end{displaymath}

\section{Methods}

\subsection{R Code}

Running the following R code
\begin{verbatim}
plot(1 : 5)
\end{verbatim}
results in the following plot that we can see in Figure~\ref{fig:plot1}
\begin{figure}
  \label{fig:plot1}
  \includegraphics[width=8cm]{unit5a-figure.pdf}
\end{figure}


\subsection{Deep Learning}

We can also do \emph{fancy} stuff.

\section{Theory}
\label{sec:theory}

\section{Results}

As already explained in Section \ref{sec:theory} bla bla

\end{document}
