Re: [NTG-context] labeling in meta post

2018-09-07 Thread Jeong Dal
Dear Henri Menke, I always use “btex etex” for labeling math. But “…..” is simpler and it works fine. Thank you. Best regards, Dalyoung >> >> \startbuffer[delta] >> label.bot(btex ${\delta}$ etex, (1cm,0));% >> %label.bot(btex $\delta$ etex, (3cm,0)); > &g

Re: [NTG-context] labeling in meta post

2018-09-07 Thread Alan Braslau
> On 7 Sep 2018, at 01:02, Henri Menke wrote: > >> label.bot(btex ${\delta}$ etex, (1cm,0));% >> %label.bot(btex $\delta$ etex, (3cm,0)); > > Why not just > > label.bot("$\delta$", (3cm,0)); Sometimes, one might want to use btex ... etex to produce a picture object, for example: label.

Re: [NTG-context] labeling in meta post

2018-09-06 Thread Henri Menke
On 07/09/18 10:55, Jeong Dal wrote: > Hi, > > What is the difference between {\delta} and \delta? > Former is OK, but the second is not compiled. > > Here is a MWE. > > > \startbuffer[delta] > label.bot(btex ${\delta}$ etex, (1cm,0)); % > %label.bot(btex $\delta$ etex, (3cm,0)); Why not ju

[NTG-context] labeling in meta post

2018-09-06 Thread Jeong Dal
Hi, What is the difference between {\delta} and \delta? Former is OK, but the second is not compiled. Here is a MWE. \startbuffer[delta] label.bot(btex ${\delta}$ etex, (1cm,0)); % %label.bot(btex $\delta$ etex, (3cm,0)); label.bot(btex $\frac{2-\delta}{2}$ etex, (5cm,0)); % \stopbuff

Re: [NTG-context] Metapost labeling question. Please help

2009-04-03 Thread Curiouslearn
Beautiful! Thanks, Wolfgang. On Fri, Apr 3, 2009 at 9:35 AM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 03.04.2009 um 14:47 schrieb Curiouslearn: > > Mojca and Peter, thanks very much for your responses. I used Peter's >> solution and it worked beautifully. >> >> Does an

Re: [NTG-context] Metapost labeling question. Please help

2009-04-03 Thread Wolfgang Schuster
Am 03.04.2009 um 14:47 schrieb Curiouslearn: Mojca and Peter, thanks very much for your responses. I used Peter's solution and it worked beautifully. Does anyone know how I can change the size of these labels? If I try textext(\tfa decimal(tx)) textext("\tfa" & decimal(tx)) Wolfgang ___

Re: [NTG-context] Metapost labeling question. Please help

2009-04-03 Thread Curiouslearn
Mojca and Peter, thanks very much for your responses. I used Peter's solution and it worked beautifully. Does anyone know how I can change the size of these labels? If I try textext(\tfa decimal(tx)) that does not work. On Fri, Apr 3, 2009 at 6:52 AM, Peter Rolf wrote: > Curiouslearn schrieb:

Re: [NTG-context] Metapost labeling question. Please help

2009-04-03 Thread Peter Rolf
Curiouslearn schrieb: Hi, I want the labels as (0.5,0.55,0.6,0.65,0.7,...,1) or (0.50,0.55,0.60,0.65,0.70,...,1). Either of these two is fine. I tried the following code for this. \starttext \startuseMPgraphic{labeltest} numeric rmin,rmax; rmin := 0.5; rmax := 1; ux := 25cm; uy :=10cm; % dr

Re: [NTG-context] Metapost labeling question. Please help

2009-04-02 Thread Mojca Miklavec
On Fri, Apr 3, 2009 at 03:02, Curiouslearn wrote: > Hi, > I want the labels as (0.5,0.55,0.6,0.65,0.7,...,1) > or (0.50,0.55,0.60,0.65,0.70,...,1). Either of these two is fine. > I tried the following code for this. > \starttext > \startuseMPgraphic{labeltest} > numeric rmin,rmax; > rmin := 0.5; rm

[NTG-context] Metapost labeling question. Please help

2009-04-02 Thread Curiouslearn
Hi, I want the labels as (0.5,0.55,0.6,0.65,0.7,...,1) or (0.50,0.55,0.60,0.65,0.70,...,1). Either of these two is fine. I tried the following code for this. \starttext \startuseMPgraphic{labeltest} numeric rmin,rmax; rmin := 0.5; rmax := 1; ux := 25cm; uy :=10cm; % draw axes draw (rmin,0)*ux --

[NTG-context] Re: Labeling of axes

2003-08-25 Thread Christopher Creutzig
Hans Hagen wrote: 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) ; fi ; endfor; endfig ; end given that you have configured texexec well: texexec --mptex thisfile.mp mptopdf thisfile.1