[metapost] How to use a thinner pen?

Rodolfo Medina rodolfo.medina at gmail.com
Mon Jun 16 17:26:56 CEST 2008

Rodolfo Medina wrote:

>> It seems that I don't manage to use a pen thinner than the default 0.5bp.
>> When I give the command: `pickup pencircle scaled 0.1bp', or even `pickup
>> pencircle scaled 0.0000001bp', my eye can't notice any difference with the
>> default thickness.  Instead, a bigger thickness works fine.  What am I
>> missing?

Taco Hoekwater <taco at elvenkind.com> writes:

> You should be able to pick up a smaller pen.  Please post an example
> input file, so we can have a look. Also, how exactly do you view the
> output?

This is a simple test file, let's call it test.mp:

numeric u;
u = 1cm;
draw (0,-u)--(0,0)--(0,4u);
pickup pencircle scaled 2pt;
draw (-2u,0)--(0,0)--(4u,0);
pickup pencircle scaled 0.0000000000000001pt;
draw (0,u)--(u,u);


.  I view it giving the following commands:

 $ mpost test
 $ tex mproof test.1
 $ dvips -Pwww -omproof.ps mproof
 $ gv mproof.ps

.  Thanks for your help.

More information about the metapost mailing list