<div dir="ltr"><span lang="en"><span>Hi,</span><br> <span>Hans</span> <span>Otared</span> <span>and</span> <span>thank you</span> <span>for your suggestions</span><span>.</span><br> <span>A question for</span> <span>Hans</span> : <span>why</span> <span>my code</span> <span>does not give</span> <span>the expected result</span><span> ?</span><br> <span>Fabrice</span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-29 13:35 GMT+02:00 Hans Hagen <span dir="ltr"><<a href="mailto:pragma@wxs.nl" target="_blank">pragma@wxs.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 8/29/2015 1:11 PM, Otared Kavian wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi fabrice,<br>
<br>
I dont’t know whether this the best solution, but you can use the following definition of the MPgraphic Funny:<br>
<br>
\startuseMPgraphic{Funny}<br>
     interim linecap := butt ;<br>
     path p ;<br>
     p := unitsquare xyscaled (OverlayWidth,OverlayHeight) ;<br>
     drawoptions (withpen pencircle scaled 6.5pt withcolor \MPcolor{MyColorA}) ;<br>
     draw lrcorner p --urcorner p --ulcorner p withcolor white;<br>
     draw ulcorner p --llcorner p ;<br>
<br>
\stopuseMPgraphic<br>
</blockquote>
<br>
\startuseMPgraphic{Funny}<br>
    interim linecap := butt ;<br></span>
    draw leftboundary OverlayBox ;<br>
    setbounds currentpicture to OverlayBox ;<br>
\stopuseMPgraphic<br>
<br>
-----------------------------------------------------------------<br>
                                          Hans Hagen | PRAGMA ADE<br>
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands<br>
    tel: 038 477 53 69 | voip: 087 875 68 74 | <a href="http://www.pragma-ade.com" rel="noreferrer" target="_blank">www.pragma-ade.com</a><br>
                                             | <a href="http://www.pragma-pod.nl" rel="noreferrer" target="_blank">www.pragma-pod.nl</a><br>
-----------------------------------------------------------------<div class="HOEnZb"><div class="h5"><br>
___________________________________________________________________________________<br>
If your question is of interest to others as well, please add an entry to the Wiki!<br>
<br>
maillist : <a href="mailto:ntg-context@ntg.nl" target="_blank">ntg-context@ntg.nl</a> / <a href="http://www.ntg.nl/mailman/listinfo/ntg-context" rel="noreferrer" target="_blank">http://www.ntg.nl/mailman/listinfo/ntg-context</a><br>
webpage  : <a href="http://www.pragma-ade.nl" rel="noreferrer" target="_blank">http://www.pragma-ade.nl</a> / <a href="http://tex.aanhet.net" rel="noreferrer" target="_blank">http://tex.aanhet.net</a><br>
archive  : <a href="http://foundry.supelec.fr/projects/contextrev/" rel="noreferrer" target="_blank">http://foundry.supelec.fr/projects/contextrev/</a><br>
wiki     : <a href="http://contextgarden.net" rel="noreferrer" target="_blank">http://contextgarden.net</a><br>
___________________________________________________________________________________</div></div></blockquote></div><br></div>