Next: C.1 Making GMT Encapsulated Up: GMT - Technical Reference Previous: B.3 Sun raster files Contents Index

# C. Including GMT graphics into your documents

Now that you made some nice graphics with GMT, it is time to add them to a document, an article, a report, your dissertation, a poster, a web page, or a presentation. Of course, you could try the old-fashioned scissors and glue stick. More likely, you want to incorporate your graphics electronically into the document. Depending on the application, the GMT PostScript file will need to be converted to Encapsulated PostScript (EPS), Portable Document Format (PDF), or some raster format (e.g., JPEG, PNG, or TIFF) in order to incorporate them into the document.

- When creating a document intended for printing (article, dissertation, or poster) it is best to preserve the scalable vector characteristics of the PostScript file. Many applications can directly incorporate PostScript in the form of EPS files. Modern programs will often allow the inclusion of PDF files. Either way, the sharpness of lines and fonts will be preserved and can be scaled up or down as required.
- When the aim is to display the graphics on a computer screen or present it using a projector, it is wise to convert the PostScript into a raster format. Although applications like PowerPoint can do this for you, you can best take the conversion into your own hands for the best results.

A large number of questions to the GMT-Help mailing list are related to these rendering issues, showing that something as seemingly straightforward as incorporating a PostScript file into a document is a far from trivial exercise. This Chapter will show how to include GMT graphics into documents and how to achieve the best quality results.

Subsections

- C.1 Making GMT Encapsulated PostScript Files
- C.2 Converting GMT PostScript to PDF or raster images
  - C.2.1 When converting or viewing PostScript goes awry
  - C.2.2 Using ps2raster
- C.3 Examples
  - C.3.1 GMT graphics in LATEX
  - C.3.2 GMT graphics in PowerPoint
- C.4 Concluding remarks

Next: C.1 Making GMT Encapsulated Up: GMT - Technical Reference Previous: B.3 Sun raster files Contents Index