[metapost] Re: [metafont] [question about metapost]How to make
color text in boxes?
Hartmut Henkel
hartmut_henkel at gmx.de
Sun Jan 23 14:58:30 CET 2005
On Sun, 23 Jan 2005, Laurence Finston wrote:
> Very nice, and thank you. However, this fails:
>
> beginfig(1);
> dotlabel(btex $A$ etex, origin) withcolor red;
> endfig;
> end;
> I think if it works for `label', it ought to work for `dotlabel', too.
somehow these are not compatible (no idea why), but this does:
beginfig(1);
draw image(dotlabel(btex $A$ etex, origin)) withcolor red;
draw image(label(btex $A$ etex, (10mm,10mm))) withcolor blue;
endfig;
end;
Regards, Hartmut
More information about the metapost
mailing list