Including graphics

In this section I will describe how to include graphics in your slides. Actually this topic is not specific to Prosper at all; the same instructions apply to including graphics in any LaTeX document. Although this is not supposed to be a LaTeX tutorial, I am including this section here because graphics are used so often in slide presentations.

Encapsulated Postscript is the most common image format for inclusion in LaTeX documents. I assume that you know how to create and save graphics as encapsulated Postscript files.

The following sample shows how to include three side-by-side pictures in a slide.


% graphics.tex
\documentclass[pdf,umbc3,slideColor,colorBG]{prosper}
\Logo{\umbclogo}   % add an optional UMBC logo
\begin{document}

\begin{slide}{Graphics}

Use the \verb|\includegraphics| command to include
encapsulated Postscript graphics in \LaTeX\ documents,
like this:

\bigskip

\begin{center}
    \includegraphics[height=35mm]{ns-2d-u.eps}
    \includegraphics[height=35mm]{ns-2d-v.eps}
    \includegraphics[height=35mm]{ns-2d-p.eps}
\end{center}

\end{slide}

\end{document}

These \includegraphics commands insert images stored in the three encapsulated Postscript files named ns-2d-u.eps, ns-2d-v.eps, ns-2d-p.eps into the slide. Here is the result:

[image]

Note the UMBC logo in the bottom-left corner -- a result of the \Logo{\umbclogo} command.

Remark 1: The [height=35mm] arguments to the \includegraphics commands shown above set the scaled heights of the images. Adjust as needed.
Remark 2: The \includegraphics command is defined in LaTeX's graphics package. Normally you would put a \usepackage{graphics} command in your document's preamble to make \includegraphics known to LaTeX. However, the Prosper documentclass adds the graphics package implicitly, therefore no explicit invocation of a \usepackage{graphics} is required.