ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: labeling in meta post
       [not found] <mailman.2980.1536311454.2042.ntg-context@ntg.nl>
@ 2018-09-07 14:24 ` Jeong Dal
  0 siblings, 0 replies; 4+ messages in thread
From: Jeong Dal @ 2018-09-07 14:24 UTC (permalink / raw)
  To: ntg-context

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));
> 
> Why not just
> 
> label.bot("$\delta$", (3cm,0));

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: labeling in meta post
  2018-09-06 23:02   ` Henri Menke
@ 2018-09-07  9:41     ` Alan Braslau
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Braslau @ 2018-09-07  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users



> On 7 Sep 2018, at 01:02, Henri Menke <henrimenke@gmail.com> 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.lft(btex $\delta$ etex rotated 90, frame) ;



A few notes:

1) Hans has recently rewritten btex ... etex so there may be a bug

2) I recently rewrote label to accept a closed path or a picture in addition to a location (a pair), in which case it places the label relative to the bounding box (by default, at the center). I illustrate this above above.

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: labeling in meta post
  2018-09-06 22:55 ` Jeong Dal
@ 2018-09-06 23:02   ` Henri Menke
  2018-09-07  9:41     ` Alan Braslau
  0 siblings, 1 reply; 4+ messages in thread
From: Henri Menke @ 2018-09-06 23:02 UTC (permalink / raw)
  To: ntg-context

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 just

label.bot("$\delta$", (3cm,0));

> label.bot(btex $\frac{2-\delta}{2}$ etex, (5cm,0));	%
> \stopbuffer
> \starttext
> \processMPbuffer[delta]
> \stoptext
> 
> Best regards,
> 
> Dalyoung
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* labeling in meta post
       [not found] <mailman.1.1536055201.23631.ntg-context@ntg.nl>
@ 2018-09-06 22:55 ` Jeong Dal
  2018-09-06 23:02   ` Henri Menke
  0 siblings, 1 reply; 4+ messages in thread
From: Jeong Dal @ 2018-09-06 22:55 UTC (permalink / raw)
  To: ntg-context

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));	%
\stopbuffer
\starttext
\processMPbuffer[delta]
\stoptext

Best regards,

Dalyoung
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-07 14:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.2980.1536311454.2042.ntg-context@ntg.nl>
2018-09-07 14:24 ` labeling in meta post Jeong Dal
     [not found] <mailman.1.1536055201.23631.ntg-context@ntg.nl>
2018-09-06 22:55 ` Jeong Dal
2018-09-06 23:02   ` Henri Menke
2018-09-07  9:41     ` Alan Braslau

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).