Chapter 7. Wizards and Dialogs

Table of Contents

Include Graphics
Array Wizard
PostScript Utilities
Document Statistics

Include Graphics

The Include Graphics dialog makes insertion of graphics as easy as possible. Please take a look at the section called “Graphic File Formats” and the section called “EPS Graphics” to get an overview of some basic facts concerning graphic formats.

Including a graphics element
  1. Choose a graphics file. This can be a JPEG, PNG, EPS or even a zipped or gzipped EPS file. If you have installed ImageMagick and also configured Kile to use it (Settings->Configure Kile...->LaTeX+General), the width and the height of the graphic is automatically shown. If ImageMagick can determine a resolution, the size of the graphics is also shown in centimeters.

  2. Decide whether your image shall be centered on the page.

  3. Choose either traditional LATEX or PDFLATEX. Please remember that PDFLATEX can also create DVI output, not only PDF.

  4. You can choose whether the filename should be taken relative. This is the preferred way, when you use the \graphicspath command.

    By default graphics files have to be in the same folder than your master document. However it is possible to put them in other folders to make things tidier. Without a \graphicspath command, Kile would include the path for the graphics file. But if you use \graphicspath, like:


    and check this option, Kile with only use the base name of the graphics file.

    Another example: if you set \graphicspath command like:


    LATEX will search in the current folder, then in camera and finally in images to find your graphics file.

  5. If you choose either a width or a height, the whole graphics will be proportionally scaled. If you set two values for width and height at the same time, width and height may be scaled with different factors, and this could not be what you want. See also the information near the top of dialog to know the original size of the graphics.

  6. Insert an angle by which to rotate the graphics counterclockwise.

  7. The bounding-box information is set automatically when you choose a graphics file. This information is only needed when you work with traditional LATEX and bitmapped graphics. See the discussion of EPS graphics.

  8. Your last choice is whether to embed this graphics into a figure environment. If you decide to do so, you can also insert a caption and a label. It is a good idea to add a different prefix to each kind of label. It is common to use the prefix fig: for images.