# LaTeX Tutorial

\documentclass{article}
\usepackage{a4}
% Add a bibliography to the end. Cite the documents by Raymond and
% Thomas where indicated. Add Duncan's document to the bibliography,
% but don't cite it. The bibliography file is desktop.bib.

\begin{document}

\tableofcontents  % this line has been added
\listoffigures    % this line has been added
% you have to run latex twice for the lists to appear
\section{Simple Text}

Words are separated by one or more spaces.  Paragraphs are separated by
one or more blank lines.  The output is not affected by adding extra
spaces or extra blank lines to the input file.
\begin{figure}[htbp]
\vspace{1cm}
\caption{1cm of space}
\end{figure}
Double quotes are typed like this: quoted text''.
Single quotes are typed like this: single-quoted text'.

Long dashes are typed as three dash characters---like this.
%Cite the documents by Raymond and Thomas here

\subsection{A Warning or Two}

If you get too much space after a mid-sentence period---abbreviations
like etc.\ are the common culprits)---then type a backslash followed by
a space after the period, as in this sentence.

\subsection{Another Warning}
Remember, don't type the 10 special characters (such as dollar sign and
backslash) except as directed!  The following seven are printed by
typing a backslash in front of them:  \\$  \&  \#  \%  \_  \{  and  \}.
The manual tells how to make other symbols.
\begin{figure}[htbp]
\vspace{1in}
\caption{1in of space}
\end{figure}
`