\documentclass{cmpreprt}

\usepackage{natbib}
\setcitestyle{authoryear,round,semicolon,aysep={ }}

\ccode{CMPSxxxx}

\title{Project Title}
\author{Author's Name\\(or group name and authors)}

\regnum{student registration number(s)}

\supervisor{Dr A.N. Other}

\begin{document}

\maketitle

\tableofcontents
\clearpage

\begin{abstract}
This is a sample document provided to illustrate the use
of the \LaTeXe\ class file \texttt{cmpreprt}.
\end{abstract}

\section{Heading 1}

\subsection{Heading 2}

\subsubsection{Heading 3}

\paragraph{Heading 4}

Normal text (for everything else)
\begin{quote}
Normal indent (good for long quotes, etc)
\end{quote}

\begin{itemize}

\item bullet

bullet continuation (where a point needs a second paragraph)

\end{itemize}

\begin{figure}[hb]
\centering
insert image here
\caption{A figure caption}
\label{fig:sample}
\end{figure}

\begin{table}[hb]
\caption{A sample table}
\label{tab:sample}
\centering
  \begin{tabular}{ll}
  A & B\\
  1 & 2
  \end{tabular}
\par
\end{table}

This document is a template for use in assignments in the School of
Computing Sciences.  It contains the styles illustrated above.

The \texttt{natbib} bibliography style file is recommended for
reports.  Remember to use the \texttt{natbib} package, otherwise the
citations won't come out right.  
Here are some citations: \citet{kopka95,goossens94} are
recommended for beginners and intermediate \LaTeX\ users.  Those
interested in using \LaTeX\ to create images see~\citet{goossens97},
and for those interested in creating documents for the web see~\citet{goossens99}.

Parenthetical citations \citep{kopka95,goossens94}.

\bibliographystyle{plainnat}
\bibliography{sample}

\end{document}
