Learning Metapost By Doing


E-Book Content

Learning METAPOST by Doing Andr´e Heck c 2003, AMSTEL Institute ° Contents 1 Introduction 3 2 A Simple Example 2.1 Running METAPOST . . . . . . . . . . . . . . . . . . . 2.2 Using the Generated PostScript in a LATEX Document 2.3 The Structure of a METAPOST Document . . . . . . . 2.4 Numeric Quantities . . . . . . . . . . . . . . . . . . . . 2.5 If Processing Goes Wrong . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 5 6 8 8 3 Basic Graphical Primitives 3.1 Pair . . . . . . . . . . . . . . . . . . . 3.2 Path . . . . . . . . . . . . . . . . . . . 3.2.1 Open and Closed Curves . . . . 3.2.2 Straight and Curved Lines . . . 3.2.3 Construction of Curves . . . . 3.3 Angle and Direction Vector . . . . . . 3.4 Arrow . . . . . . . . . . . . . . . . . . 3.5 Circle, Ellipse, Square, and Rectangle 3.6 Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 10 13 13 14 14 18 19 19 21 4 Style Directives 4.1 Dashing . . . . . . . . . 4.2 Coloring . . . . . . . . . 4.3 Specifying the Pen . . . 4.4 Setting Drawing Options . . . . . .
You might also like

Information Theory, Inference And Learning Algorithms
Authors: MacKay D.J.C.    264    0


Introduction To Machine Learning
Authors: Nilsson N.J.    286    0


Encyclopedia Of Spectroscopy And Spectrometry. A-l
Authors: Lindon , Tranter , Holmes. (eds.)    177    0


Oxford Dictionary Of Quotations
Authors: Susan Ratcliffe    205    0


Relativity Demystified - A Self-teaching Guide
Authors: David McMahon , Paul M. Alsing    141    0


Physics For Dummies
Authors: Steve Holzner    184    0


Learning Metapost By Doing
Authors: Heck A.    141    0


How To Do Everything With Microsoft Office Access 2003
Authors: Virginia Andersen    150    0


The Beginner's Guide To Broadband And Wireless Internet
Authors: Susan Holden , Matthew Francis    161    0


Sip Demystified
Authors: Gonzalo Camarillo    181    0