Set up MetaPost and MetaObj for drawing diagrams.
[matthijs/master-project/report.git] / Utils / Metapost.tex
1 % Some setup for metapost
2 \startMPinclusions 
3
4 % Use metaobj for drawing objects
5 input metaobj; 
6
7 % Set some defaults for pretty pictures
8 setObjectDefaultOption("Box")("framewidth")(.75mm);
9 setObjectDefaultOption("Circle")("framewidth")(.75mm);
10 setObjectDefaultOption("Circle")("circmargin")(3mm);
11 %ahlength := 1.5mm;
12 ahangle := 60;
13
14 setCurveDefaultOption("linewidth",.75mm);
15 % Add a nodesep that's equal to the linewidth, since the linewidth isn't
16 % included in the bounding box for line cutoff.
17 setCurveDefaultOption("nodesep",curve_linewidth_default);
18
19 \stopMPinclusions