Welcome to the UK List of
TeX Frequently Asked Questions
on the Web
The MetaPost system (by John Hobby) implements a picture-drawing language
very much like that of Metafont; the difference is that MetaPost outputs
Encapsulated PostScript files instead of run-length-encoded bitmaps. MetaPost
is a powerful language for producing figures for documents to be
printed on PostScript printers, either directly or embedded in (La)TeX
documents. MetaPost is able to integrate text and mathematics, marked up
for use with TeX, within the graphics. (Knuth tells us that he
uses nothing but MetaPost for diagrams in text that he is writing.)
Although PDFLaTeX cannot ordinarily handle PostScript graphics, the
output of MetaPost is sufficiently simple and regular that PDFLaTeX
can handle it direct, using code borrowed from
see graphics in PDFLaTeX
Much of MetaPost’s source code was copied from Metafont’s sources, with
A mailing list discussing MetaPost is available;
subscribe via the
The TUG website also hosts a
MetaPost summary page
, and the
document gives you a lot more detail (and some
explanatory background material).
- info/tex-overview (or browse the directory); catalogue entry
This answer last edited: 2011-09-01
previous question, or
Go to FAQ home.
URL for this question: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=MP
Comments, suggestions, or error reports? - see
“how to improve the FAQ”.
This is FAQ version 3.27, released on 2013-06-07.