[NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode
Fabrice Couvreur
fabrice1.couvreur at gmail.com
Sun Apr 19 22:55:50 CEST 2020
Hi,
I try to reproduce the figure as faithfully as possible. I tried for the
rounded corners to put the key corner = round, but it does not work.
Thanks for your help.
Fabrice
\usecolors[xwi]
\definecolor [prune] [r=1.29,g=.20,b=.83]
\starttext
\setupframed[frameletter][corner=round,align=normal]
\startMPcode
draw outlinetext.f
("\framed[frameletter]{A}")
(withcolor darkred withpen pencircle scaled 1/10)
rotated 5 xsized 2cm ;
draw outlinetext.f
("\framed[frameletter]{L}")
(withcolor green withpen pencircle scaled 1/10)
rotated -5 xsized 2cm shifted (2cm,0);
draw outlinetext.f
("\framed[frameletter]{E}")
(withcolor \MPcolor{blueviolet} withpen pencircle scaled 1/10)
rotated 5 xsized 2cm shifted (4.5cm,0);
draw outlinetext.f
("\framed[frameletter]{A}")
(withcolor \MPcolor{prune} withpen pencircle scaled 1/10)
rotated -5 xsized 2cm shifted (6.5cm,0);
\stopMPcode
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200419/b725d897/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alea.jpg
Type: image/jpeg
Size: 44594 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200419/b725d897/attachment-0001.jpg>
More information about the ntg-context
mailing list