Witten Bainbridge Nichols
HOME HELP PREFERENCES SEARCHFIGURESTABLES

## LaTeX example

 \documentclass[a4paper,11pt]{article} % This is a comment \author{I. H. Witten and D. Bainbridge} \title{Welcome example} \date{10 August 2001} \begin{document} \maketitle \section{Introduction} % This is another comment. Welcome, Haere mai, Wilkommen, Bienvenue, Akw\"aba \section{Syntax} LaTeX syntax is a little bit like RTF. It uses the $\backslash$ character for special formatting commands: what you see as the end result is certainly \emph{not} what you type. One important difference from RTF is that it is designed to be generated by people, not automatically generated by computer. This means that a written file can be more liberal with its use of white space and this does not affect the overall prose. If you really need extra spaces you need to do it \ \ like \ \ this. Special symbols include: \{ \} \% \_ \# \&. Speech marks are done like this''. A blank line is used to separate paragraphs. It supports all the usual document structures: \begin{itemize} \item bullet point list \item enumerated list \item tables and figures \item drawn graphics \item \ldots \end{itemize} In particular Latex has a powerful maths mode capable of expressing complex equations. A rudimentary example is: \begin{displaymath} x \geq \sum_{i=0}^{\infty}\frac{1}{i^2\pi} \end{displaymath} \end{document}  Figure 4.24a: LaTeX example; LaTeX source document