labeling in meta post
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
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 ___________________________________________________________________________________
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.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
participants (3)
-
Alan Braslau
-
Henri Menke
-
Jeong Dal