next up previous contents index
Next: The Graphics System Up: FIT2D V12.012 Reference Manual V6.0   ESRF98HA01T Previous: Coordinate Systems

Including Graphics in LATEX $2_{\varepsilon }$Documents

The PostScript files produced by FIT2D are suitable for including in LATEX $2_{\varepsilon }$documents using the graphicx package. To use the graphicx package include the following line near the start of your LATEX file (before the $\backslash$begin{ document} line):

\usepackage{graphicx}

The $\backslash$includegraphics command is used within the LATEX document to specify the inclusion of a PostScript file. e.g. If a file called fit2d.ps has been created and we want include it in a document taking up 150mm vertically we can used the command:

\centerline{\includegraphics[height=150mm]{fit2d.ps}}

The FIT2D graphics are designed to occupy a page of A4 so the height option is necessary to tell LATEX $2_{\varepsilon }$ to reduce the size of the graphics.

In the GUI mode FIT2D always outputs one graphics page per PostScript file. In the ``keyboard'' mode FIT2D will output several graphics pages into a single PostScript file, unless the END GRAPHICS FILE command is used in between PRINT GRAPHICS commands.

To use only part of a diagram it is necessary to specify the region as part of the $\backslash$includegraphics command.

See the ``LATEX User's Guide and Reference Manual'' [19], or ``Using EPS Graphics in LATEX $2_{\varepsilon }$ Documents'' [28], for further details.


next up previous contents index
Next: The Graphics System Up: FIT2D V12.012 Reference Manual V6.0   ESRF98HA01T Previous: Coordinate Systems
Andrew Hammersley
2004-01-09