Skip Navigation.

Document Formatting

Tables

Note: Tables and Figures are called "floats" by professional printers because they float in text. Floating in the text means that they are not part of the normal text, but rather float in the area where they are placed and can move up or down in the text based on spacing needs. Tables and figures always have captions and are always numbered, for easy referencing throughout the text.

Including Graphics

To include graphics, the include graphicx package must be listed in the preamble. The graphicx package is included in the preamble (the preamble is where the document class is defined) with the command:

\usepackage{graphicx}

This enables the \includegraphics command, which is used to inser an image in the document. This command must appear with the name of the file after it, but the name of the image file must not have a file extension. Thus, the command to include graphics appears as:

\includegraphics{ImageName}

Standard LaTeX graphics files must be in EPS (Encapsulated PostScript) format. Difficulty printing graphics normally indicates a problem with the way the graphics program saved the image.

Pdflatex allows graphics files to be in JPG, PNG, or PDF format, but not EPS. This means that if you want to use both standard LaTeX and pdflatex, you will need to jeep to versions of your images: one in EPS and one in either JPG, PDF, or PNG format. Because LaTeX and pdflatex look for their own matching filetypes, no file extensions are listed with the filename on the includegraphics command.

Back