8 Graphics Inclusion and Color

The two topics of this chapter have one thing in common: Neither is handled by TEX at all, and thus neither by LATEX. Outputting graphics files produced by other programs, or printing in color, are functions of the output device, that is, the printer, the monitor, and the electronic output file. These are controlled by the DVI driver program that converts the DVI output of LATEX into the final output form. For each output type, a different set of commands is needed to switch color or to send an image.

TEX does have a way of sending special driver-specific commands to the driver by placing them in the .dvi file; the command to do this is even named \special. LATEX exploits this feature to pass driver commands to ...

Get Guide to LaTeX, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.