From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6031 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Scaling mpgraphics Date: Thu, 08 Nov 2001 10:25:21 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011108102440.03e72050@server-1> References: <01110723345601.01212@levana> 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 1035396583 6759 80.91.224.250 (23 Oct 2002 18:09:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:09:43 +0000 (UTC) Cc: ConTeXt ML Original-To: Patrick Gundlach In-Reply-To: <01110723345601.01212@levana> Xref: main.gmane.org gmane.comp.tex.context:6031 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6031 At 11:34 PM 11/7/2001 +0100, Patrick Gundlach wrote: >Hi, > >how do I scale my metafun graphics? >I use > > >\startuseMPgraphic{one} >.... >\stopuseMPgraphic > >and want to place it with > >\placefigure[right]{none}{\useMPgraphic{one}} >Text .... > >and I want to scale it to some size. What is the appropriate way? >\framed[...]{...} did not work (graphic stayed the same size} >Should I put some scaling commands inside the mp graphics and use the >\MPvar{width/height} variables? Or shall I do something with >\externalfigure? Take your choice: \scale [sx=.5,sy=.3] {\startMPcode fill fullcircle scaled 10cm ; \stopMPcode} \startbuffer [patrick] \startMPcode fill fullcircle scaled 10cm ; \stopMPcode \stopbuffer \externalfigure[patrick][type=buffer,width=2cm] as you can see any buffer can be scaled so this is a way to scale down a table too 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 -------------------------------------------------------------------------