From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3908 Path: main.gmane.org!not-for-mail From: Ed L Cashin Newsgroups: gmane.comp.tex.context Subject: Re: Labeling of axes Date: 29 Jan 2001 10:46:00 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <3.0.6.32.20010117173850.007a2bd0@pop.wxs.nl> <3.0.6.32.20010128200347.0093cb40@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035394614 21201 80.91.224.250 (23 Oct 2002 17:36:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:36:54 +0000 (UTC) Cc: walter kehowski , ntg-context@ntg.nl Original-To: Hans Hagen Xref: main.gmane.org gmane.comp.tex.context:3908 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3908 Hans Hagen writes: ... > This is indeed a problem, since metapost only sees one btex/etex here and > not obe for every loop. > > This is why in context you can use the textext macro: > > beginfig(1) ; > > numeric u ; u = 1.0cm ; > > for i=-10 upto 10 : > if not (i=0) : > draw textext.lft("$" & decimal i & "$") shifted (i*u,0) ; That is a really great feature! I've been missing an easy way to interpolate data into tex-typeset labels. -- --Ed Cashin integrit file verification system ecashin@coe.uga.edu http://integrit.sourceforge.net/