From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/18840 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt equivalent for \ensuremath? Date: Fri, 11 Mar 2005 17:20:21 +0000 Message-ID: <20050311172021.17680@mail.comp.lancs.ac.uk> References: <3174c268c21997de08d338255598529a@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1110561829 18402 80.91.229.2 (11 Mar 2005 17:23:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Mar 2005 17:23:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 11 18:23:49 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9nnn-0005cA-Mp for gctc-ntg-context-518@m.gmane.org; Fri, 11 Mar 2005 18:19:55 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7BE012882; Fri, 11 Mar 2005 18:20:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23154-05-9; Fri, 11 Mar 2005 18:20:27 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABDAA12874; Fri, 11 Mar 2005 18:20:27 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E13B12874 for ; Fri, 11 Mar 2005 18:20:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 23154-05-8 for ; Fri, 11 Mar 2005 18:20:25 +0100 (CET) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 4B7CB12870 for ; Fri, 11 Mar 2005 18:20:25 +0100 (CET) Original-Received: from [192.168.31.119] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j2BHKNAX018798 for ; Fri, 11 Mar 2005 17:20:24 GMT Original-To: "mailing list for ConTeXt users" In-Reply-To: <3174c268c21997de08d338255598529a@rna.nl> X-Mailer: CTM PowerMail version 5.1 build 4340 English X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:18840 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:18840 Gerben Wierda said this at Fri, 11 Mar 2005 16:54:38 +0100: >But my way also doesn't work. I get empty output as a result of the >\bit{b}{off} command. > >Help? This is probably not satisfying, because you probably want to get new mathematics commands working, but if this is to be used solely in text, you could use (or expand to): b\low{off} \low (and \hi and \lohi) look like they work robustly in both math and text modes. I'm a bit confused by you using \newcommand in your (ConTeXt?) examples, though... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-