\documentclass[12pt,twoside]{article}
%\pagestyle{empty}
\pagestyle{myheadings}
\markboth{{\sc Surfing on the Gower}}{Report for CS~134 -- Mark Well}


\begin{document}
\author{Mark Well \\ 111111 -- G500}
\title{Surfing on the Gower}

\maketitle
\begin{abstract}
Here you could summarise in  a few sentences 
what exactly you want to say about surfing and why 
this is of utmost relevance in the context of computer 
science. 

[It is always an excellent idea to write the 
abstract last -- just after having finished with the introduction, and
certainly after having selected,  
structured and formulated all the rest of the 
material that goes into the main sections] 
\end{abstract}

\clearpage

\tableofcontents

\clearpage

\section{Introduction}
\subsection{Historical background}
\subsubsection{Prehistory}
\subsubsection{Roman contributions: the surfing circus at Cardiff}
\label{romanhistorysection}
\subsubsection{Early medieval surfing culture}
\subsubsection{Modern day surfing}

\subsection{The abstract surfing problem}

\section{Mathematical background}
Large or important formulae are best put into a
{\em display}, like
\[
\alpha^{-1} 
\Bigl(     
\omega 
+ 
17 \chi^2(V) 
+ 
\bigl( 
\rho(x) - 2^{4 - y}
\bigr)
\Bigr)
=
\sum_{i=2}^\infty S_i(x,y)
\]

If we were to explain something about it,
e.g., about the significance of the term  
$\bigl( \rho(x) - 2^{4 - y} \bigr)$,  
we can do so within the body of the text as well. 

Don't forget to reference the important textbooks and papers in the field, like
\cite{chapterinbook}, and to indicate the source of all quotations (see
\cite{myfavoritereference,webreference}).  


\section{Parallel distributed surfing}


\section{Web surfing versus the real thing}


\section{An application}

This is our chapter for systematic listings. 
An itemised list:
\begin{itemize}
\item
this is the first item.
\item
I can't think of a second one, though.
\end{itemize}

Alternatively we could have used a numbered list:
\begin{enumerate}
\item
this is the first item.
\item
I can't think of a second one, though.
\end{enumerate}

Some people even like to put information into tables. 

\bigskip
\begin{tabular}{r||c|c|c|}
year & surfers & fine days & average student id \\
\hline
98 & 16 &  3 & 154333 \\
99 & 27 &  7 & 188000 \\
00 & 13 &  4 & 199999
\end{tabular}

\bigskip
Structured equations and multi-line formulae are often
put into an {\em array}, here we put one into a displayed formula:
\[
\begin{array}{rcl}
X & = & \delta(x,y) - \prod_i f_i(z)
\\
& \leq & \delta(x,y) - \prod_i (f_i(z)+\gamma)
\\
& \leq & X -1 
\end{array}
\]
 
Cross-reference within the document can be useful: see 
section~\ref{romanhistorysection}.


\section{Conclusions}

Or a summary, an outlook, some further remarks, \ldots

\begin{thebibliography}{WW99}
\bibitem[Au96]{chapterinbook}
U.R.~Author, The impact of surfing technology on pre-Cumbrian 
agriculture on the western fringes, in: 
Introduction to Surfing, I.M.~Me (editor), 
Springer McGraw Wesley, 1996. 
\bibitem[On99]{myfavoritereference}
N.O.~One, {\em Report writing on the beach - a personal perspective},
Journal of this that and the other, 56, 1999, pp.~12-17.
\bibitem[XX00]{webreference}
{\em On the unreliability of web sources},  \\
{\tt www.swan.ac.uk/\~{\mbox{}}csmartin/public\underline{\mbox{ }}html/tutorials/sample.tex}
\end{thebibliography}
\end{document}







