[Univ of Cambridge] [Dept of Engineering]

LaTeX Tutorial


\documentclass[twocolumn,dvips]{article} % this line has been changed
\usepackage{a4,indentfirst,palatino,overcite,graphicx} % this line has been changed

\makeatletter
\renewcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {1.5ex \@plus .2ex}%
                                     {\reset@font\large\centering\sffamily}}
\makeatother
\begin{document}
\pagestyle{empty}  % this line has been added
% the lines until \tableofcontents have been added
\title{A demo \LaTeX{} document\\
\includegraphics{p_a_p.eps}}
\author{T.P. Love}
\date{\today}
\maketitle
\clearpage
\pagestyle{plain}
\tableofcontents
\listoffigures
\bibliographystyle{plain}
\nocite{pragmatic}
\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{ohp,cuedcbt}

\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}

\bibliography{desktop}

\end{document}               

[last]
[LaTeX] [Help]

Updated on 13th January, 1998
tpl@eng.cam.ac.uk