[metapost] TeX formulas and withpen

Taco Hoekwater taco at elvenkind.com
Fri Oct 2 15:47:44 CEST 2009


Hi Petr,

Petr Kalinin wrote:
> Hello,
> 
> The following code
> 
> beginfig(1)
> draw btex $\sqrt a \over b $ etex withpen pencircle scaled 2pt;
> endfig

Any

  draw <picture> <withoptions>

overrides the drawing options of the embedded picture, this is
a design decision (<picture>s are also used to implement dash
patterns, where this override is put to very good use).

Best wishes,
Taco





More information about the metapost mailing list