At 05:57 PM 9/10/2001 +0200, Patrick Gundlach wrote:
>http://levana.de/en/type/euro/euro.tex
nice picture, but you need to fix the boundingbox:
setbounds currentpicture to
(xpart bottombarleft,ypart o1) --
(xpart c8, ypart o1) --
(xpart c8,ypart ulcorner currentpicture) --
(xpart bottombarleft,ypart ulcorner currentpicture)-- cycle ;
if show_labels:
draw boundingbox currentpicture withcolor red ;
fi ;
the right bbline is wrong, since you need an extra point between c2 and c5
which will replace the xpart c8.
it would make a nice example for the metafun manual [explore a couple of
alternatives and so].
How about the following addition:
\startuniqueMPgraphic{euro}{height}
\includeMPgraphic{euro1} ;
currentpicture := currentpicture ysized \MPvar{height} ;
\stopuniqueMPgraphic
\definesymbol[euro][\uniqueMPgraphic{euro}{height=1.5ex}]
\symbol[euro] \tfd \symbol[euro]
that way you get the euro scaled proportionally to the running text
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------