From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40169 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Unfill with anglebetween Date: Mon, 14 Apr 2008 03:01:41 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208156600 14128 80.91.229.12 (14 Apr 2008 07:03:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2008 07:03:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 14 09:03:45 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JlIj6-0007Qe-J4 for gctc-ntg-context-518@m.gmane.org; Mon, 14 Apr 2008 09:03:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6793D1FC43; Mon, 14 Apr 2008 09:02:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27038-03-7; Mon, 14 Apr 2008 09:02:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A7AF1FC27; Mon, 14 Apr 2008 09:02:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E25921FC11 for ; Mon, 14 Apr 2008 09:02:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27404-01-3 for ; Mon, 14 Apr 2008 09:01:40 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id B79951FB57 for ; Mon, 14 Apr 2008 09:01:38 +0200 (CEST) Original-Received: FROM adi-laptop.local (c-68-40-40-75.hsd1.mi.comcast.net [68.40.40.75]) BY hellskitchen.mr.itd.umich.edu ID 4803014F.62C5E.32759 ; 14 Apr 2008 03:01:35 -0400 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40169 Archived-At: 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 ___________________________________________________________________________________