On Sun, 13 Apr 2008, David Arnold wrote:

> All,
>
> I was trying to help a student today and the following came up.
>
> drawarrow anglebetween(path1, path2, btex $\theta$ etex)
>
> Is there some way to typeset the theta with an "unfilled" background?

I know there is a metapost way to do this, but cannot recall where I read 
that. Something along the lines of (untested)

pic p; p := btex $\theta$ etex ;
unfill (boundingbox p) at the right location ;
draw p ;

However, if you are using the ConTeXt interface, there are easier ways. 
This is what I sometimes use

\definetextext[parbox]
   {\framed
     [     frame=off,
           width=2cm,
          height=.85cm,
       autowidth=no, %also try yes
           align={middle,middle},
     backgroundcolor=white]}

And then

\startMPcode
   drawarrow anglebetween (path1, path2, \sometxt[parbox]{$\theta$} ;
\stopMPcode

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

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to