[Univ of Cambridge] [Dept of Engineering]

LaTeX Tutorial


\documentclass{article}
\usepackage{a4}
% You needed to do 
%     latex demo2; bibtex demo2; latex demo2;  latex demo2;
% to generate the bibliography

% Now periodical requires you to
% * indent all paragraphs
% * cite using superscripts
% * use Palatino font
% * have 2 columns per page
% The first 3 of these can be done using packages. The last
% can be done by adding something to the \documentclass line.

\begin{document}
\tableofcontents
\listoffigures
\bibliographystyle{plain} % this line has been added
\nocite{pragmatic}        % this line has been added

\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}   % this line has been added

\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}   % this line has been added
\end{document}               

[last] [next]
[LaTeX] [Help]

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