A short introduction to METAPOST
(Klaus Höppner)
Abstract
METAPOST is a program strongly related to Knuth’s orginal METAFONT. It uses nearly the same graphics language and syntax, but instead of bitmap fonts it roduces PostScript output. So it can be used to create high quality graphics. In METAPOST, points and paths may be described by a set of linear equations that are solved by the program. Thus, METAPOST becomes unique among other tools like PSTricks or commercial applications (e. g., Corel Draw). Additionally, the PostScript subset created by METAPOST can be interpreted by pdfTEX. So METAPOST figure can be directly included with e. g., the standard graphics package, while normal EPS images have to be converted first to be usable with pdfLaTeX.
Sommario
METAPOST è un programma fortemente legato al METAFONT originale di Knuth. Usa pressoché uguali sintassi e linguaggio orientato alla grafica, ma produce un output PostScript invece di font bitmap. Dunque può essere usato per creare grafici di alta qualità. In METAPOST, punti e linee (percorsi) possono essere descritti da un insieme di equazioni lineari risolte dal programma. Dunque, METAPOST svetta unico tra strumenti come PSTricks o applicazioni commerciali (ad esempio Corel Draw). In più, il sottoinsieme di PostScript generato da METAPOST può essere interpretato da pdfLaTeX. Quindi le figure di METAPOST possono essere incluse direttamente tramite, ad esempio,il pacchetto standard graphics, mentre le normali immagini EPS devono essere convertite prima di essere usate con pdfLaTeX.
Leggi l’articolo