% This is a comment -- LaTeX will ignore it

\documentclass[a4paper,12pt]{articl}

%\usepackage{graphics}

\title{\LaTeX\ Errors}
\author{Diana McCarthy}  




\begin{document}
\maketitle

\section{Introduction}

\begin{itemize}
\item a list 
\item a numbered list:
      \begin{enumerate}
      \item {\bf some text in bold}
      \item {\it some text in italic}
      \item {\sc some text in small caps}
      \item {\sf some text in a sans serif font}
      \item {\tt some text in a monospaced typewriter font}
\item equations:

\begin{equation}
e = mc^2
\label{energy}
\end{equation}
\item cross references (see equation~\ref{energy} and ~\ref{probability})
\item multicolumn tables
      (see Section \ref{table})
\item an embedded PostScript image
      (see Section \ref{stickman})
\item lots of nested section structure

\end{itemize}

\section{The middle section}

This section contains, {\it inter alia, \ldots

\subsection{A subsection}

Which itself contains \ldots

\subsubsection{A subsubsection}

Which itself contains \ldots

\paragraph{A subsubsubsection}
which is called a \verb|\paragraph| in \LaTeX .

\rubbish never heard of that command before

\subsection{More tables}
\label{table}

\begin{figure}[!htbp]
\begin{center}
\begin{tabular}{l|cc|cc}
\hline
& \multicolumn{2}{c|}{My model} &  \multicolumn{2}{c|}{previous rubbish}\\
threshold & precision & recall & precision & recall  \\
0.1 & .3 .4 &  .2 .1 
0.01 & .4 & .5 & .4 & .3 \\
\hline
\end{tabular}
\caption{Results}
\end{center}
\end{figure}

\subsection{An embedded PostScript image}
\label{stickman}

\begin{figure}[!htbp]
\begin{center}
\rotatebox{270}{\scalebox{0.5}{\includegraphics{stickman.ps}}}
\caption{Diana's best ever stickman}
\end{center}
\end{figure}

\section{Related Work}

Have a look at \cite{Lamport} \citeA{McCarthy} and supplement your reading with
\cite{Goossens}.




\section{Conclusion}

Easy huh! 

\section{acknowledgements}

\bibliographystyle{plain} % just one style, there are others

\bibliography{my} % don't forget to supply a path

\end{docment}






















