X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FMetapost.tex;fp=Utils%2FMetapost.tex;h=cac69ddbd68bac88ae4bbf2b8591e862376ea5f8;hp=0000000000000000000000000000000000000000;hb=48cad63619d532983939384e62e0921003a5a1cb;hpb=455c7501c167577b1edc2887689c458a3f18bdc7 diff --git a/Utils/Metapost.tex b/Utils/Metapost.tex new file mode 100644 index 0000000..cac69dd --- /dev/null +++ b/Utils/Metapost.tex @@ -0,0 +1,19 @@ +% Some setup for metapost +\startMPinclusions + +% Use metaobj for drawing objects +input metaobj; + +% Set some defaults for pretty pictures +setObjectDefaultOption("Box")("framewidth")(.75mm); +setObjectDefaultOption("Circle")("framewidth")(.75mm); +setObjectDefaultOption("Circle")("circmargin")(3mm); +%ahlength := 1.5mm; +ahangle := 60; + +setCurveDefaultOption("linewidth",.75mm); +% Add a nodesep that's equal to the linewidth, since the linewidth isn't +% included in the bounding box for line cutoff. +setCurveDefaultOption("nodesep",curve_linewidth_default); + +\stopMPinclusions