From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5602 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Euro Symbol Date: Tue, 11 Sep 2001 10:49:34 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010911103946.0303d270@server-1> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396182 2989 80.91.224.250 (23 Oct 2002 18:03:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:03:02 +0000 (UTC) Cc: ntg-context Original-To: Patrick Gundlach In-Reply-To: <200109101557.RAA05204@sol.cs.uni-dortmund.de> Xref: main.gmane.org gmane.comp.tex.context:5602 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5602 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------