ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Unfill with anglebetween
@ 2008-04-14  3:39 David Arnold
  2008-04-14  7:01 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: David Arnold @ 2008-04-14  3:39 UTC (permalink / raw)
  To: Context Mailing List List

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?

David.
___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Unfill with anglebetween
  2008-04-14  3:39 Unfill with anglebetween David Arnold
@ 2008-04-14  7:01 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2008-04-14  7:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________


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

end of thread, other threads:[~2008-04-14  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-14  3:39 Unfill with anglebetween David Arnold
2008-04-14  7:01 ` Aditya Mahajan

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