Go to the first, previous, next, last question, table of contents.

Drawing with TeX

There are many packages to do pictures in (La)TeX itself (rather than importing graphics created externally), ranging from simple use of LaTeX picture environment, through enhancements like epic, to sophisticated (but slow) drawing with PicTeX. Depending on your type of drawing, and setup, four systems should be at the top of your list to look at:

  1. graphics/pstricks; this gives you access to all the power of PostScript from TeX itself, by sophisticated use of \specials. You need a decent DVI to PostScript driver (like dvips), but the results are worth it. The well-documented package gives you not only low-level drawing commands (and full colour) like lines, circles, shapes at arbitrary coordinates, but also high-level macros for framing text, drawing trees and matrices, 3D effects, and more.
  2. MetaPost; you liked METAFONT, but never got to grips with font files? Try MetaPost - all the power of METAFONT, but it generates PostScript figures. Knuth uses it for all his work...
  3. Mfpic; you liked METAFONT, but can't understand the language? The package (graphics/mfpic) makes up METAFONT code for you within using familiar-looking TeX macros. Not quite the full power of METAFONT, but a friendlier interface.
  4. You liked PicTeX but don't have enough memory or time? Look at Eitan Gurari's macros/generic/dratex, which is as powerful as most other TeX drawing packages, but is an entirely new implementation, which is not as hard on memory, is much more readable (and is fully documented).

Go to the first, previous, next, last question, table of contents.