ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@coe.uga.edu>
Cc: walter kehowski <walter.kehowski@gcmail.maricopa.edu>,
	ntg-context@ntg.nl
Subject: Re: Labeling of axes
Date: 29 Jan 2001 10:46:00 -0500	[thread overview]
Message-ID: <m37l3etl8n.fsf@coe.uga.edu> (raw)
In-Reply-To: <3.0.6.32.20010128200347.0093cb40@server-1>

Hans Hagen <pragma@wxs.nl> 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/


  reply	other threads:[~2001-01-29 15:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-17 16:38 Just testing Pierre Goossens
2001-01-26 20:42 ` Labeling of axes walter kehowski
2001-01-28 19:03   ` Hans Hagen
2001-01-29 15:46     ` Ed L Cashin [this message]
2001-01-29 17:32       ` Hans Hagen
2001-01-29 16:13     ` Marc van Dongen
2001-01-29 17:29       ` Hans Hagen
     [not found]         ` <3A769CBD.F164433E@econ.muni.cz>
2001-01-30 12:33           ` Bug in XML + Fields? Hans Hagen
2003-08-24 19:29     ` Labeling of axes Christopher Creutzig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37l3etl8n.fsf@coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --cc=ntg-context@ntg.nl \
    --cc=walter.kehowski@gcmail.maricopa.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).