Figures

There are several possibilities to generate the actual graphics with basic LATEX extension environment. These are very difficult to understand for beginners so we will only look at the use of Encapsulated PostScript (EPS) graphics, because they are quiet easy to use and understand. To generate ".eps" files one may use an image package like "Paint Shop Pro".

Include an image

       1: Load the graphicx package in the preamble of the input file with:

             \usepackage[]{graphicx}

       2: Use the command:

             \includegraphics[key=value,...]{file}

to include file in the document. The optional parameter accepts a comma seperated list of keys and associated values. The keys can be used to alter the width, height and rotation of the included image. The following shows the most important keys:

             width             scale graphic to specified width

             height             scale graphic to specified height

             angle             rotate graphic clockwise specified width

             scale             scale graphic




The following code will hopefully make it clear:

             \begin{figure}

             \begin{center}

             \includegraphics[angle = 90, width = 0.5\textwidth]{test.eps}

             \end{center}

             \end{figure}



This includes the image test.eps. The graphic is rotated by 90 degrees and then scales to the width of 0.5 times the width of a standard paragraph.


We can also add a caption to the image:

             \begin{figure}

             \begin{center}

             \includegraphics[angle = 90, width = 0.5\textwidth]{test.eps}

             \end{center}

             \caption{This is the caption at the bottom of the image}

             \end{figure}