Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous contents
Next: Postscript Up: LATEX maths and graphics Previous: Examples

Graphics

Graphics can be produced

Whatever graphics you want to add, you should use the figure environment so that LATEX can cope sensibly with situations where, for example, you attempt to insert near the bottom of a page a graphic that's half a page high. The figure environment will float the graphic to the top or bottom of the page, or on the next page, with preferences that you can provide.

h here
t top of page
b bottom of page
p on a page with no text

Putting ! as the first argument in the square brackets will encourage LATEX to do what you say, even if the result's sub-optimal. See the online hints about floats in LaTeX for further details.

\begin{figure}[htbp]
   \vspace{0.5in}
   \caption{0.5 inch of space}
\end{figure}

 
Figure 1: 0.5 inch of space

It's possible to have more than one graphic in a figure. See the example later on.



 
next up previous contents
Next: Postscript Up: LATEX maths and graphics Previous: Examples
© Cambridge University Engineering Dept
Information provided by Tim Love
2006-07-27