From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35483 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Displayed formula Date: Thu, 19 Jul 2007 16:22:41 -0400 Message-ID: <20070719162241.hmc6dxmw68c4oc8s@web.mail.umich.edu> References: <65CB1B5B-D604-4CC8-BD56-84087B0BC32E@mpq.mpg.de> <115224fb0707190457s64fd1a3el55a2561250fee172@mail.gmail.com> <48A48705-4972-4FE5-A2CA-EAEA9391D792@mpq.mpg.de> <20070719114803.vn6r2tm5wcgoswwc@web.mail.umich.edu> <6BCCA1CF-923F-445A-B7DF-9E3EFB7AB72A@mpq.mpg.de> 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: sea.gmane.org 1184876579 22251 80.91.229.12 (19 Jul 2007 20:22:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2007 20:22:59 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 19 22:22:57 2007 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 1IBcWW-0002Kz-S8 for gctc-ntg-context-518@m.gmane.org; Thu, 19 Jul 2007 22:22:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 001671FE4A; Thu, 19 Jul 2007 22:22:55 +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 28277-02; Thu, 19 Jul 2007 22:22:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96C351FE31; Thu, 19 Jul 2007 22:22:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 020F71FE31 for ; Thu, 19 Jul 2007 22:22:46 +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 26924-04 for ; Thu, 19 Jul 2007 22:22:42 +0200 (CEST) Original-Received: from mohican.web.itd.umich.edu (mohican.web.itd.umich.edu [141.211.144.149]) by ronja.ntg.nl (Postfix) with ESMTP id 96C041FE26 for ; Thu, 19 Jul 2007 22:22:42 +0200 (CEST) Original-Received: (from www@localhost) by mohican.web.itd.umich.edu (8.12.10/8.12.9) id l6JKMfhb005864 for ntg-context@ntg.nl; Thu, 19 Jul 2007 16:22:41 -0400 Original-Received: from wwwgate33.motorola.com (wwwgate33.motorola.com [136.182.158.137]) by web.mail.umich.edu (Horde MIME library) with HTTP; Thu, 19 Jul 2007 16:22:41 -0400 In-Reply-To: <6BCCA1CF-923F-445A-B7DF-9E3EFB7AB72A@mpq.mpg.de> Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.0.5) X-Remote-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5 X-IMP-Server: 141.211.144.203 X-Originating-IP: 136.182.158.137 X-Originating-User: adityam 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:35483 Archived-At: Quoting Oliver Buerschaper : >> This thread brings up something that I have been thinking of for a >> while. Similar problems occur in amsmath aligned family which accepts >> an optional argument. mathtools.sty has an option so that the optional >> argument will work only if placed on the same line. In terms of >> ConTeXt >> that means, >> >> \startformula[9pt] >> math >> \stopformula >> >> \startformula [9pt] >> math >> \stopformula >> >> will put the formula in 9pt font, while >> \startformula >> [9pt] >> math >> \stopformula >> >> will display "[9pt] math". I have not looked into the details of how >> mathtools implements this, but it should be possible to port it to >> context. Will something like this be useful to have, or is adding >> \relax once in a while alright? > > I guess it'll depend on how hard this is to implement. At the moment > I'm dealing with lots of Lie brackets so I'd certainly appreciate > this feature very much ... in my opinion it would also improve > consistency: the same markup works for any kind of formula! I thought that it was easy, but I can not get it working.... Here is a much simpler alternative (if you do not use font switching feature of formulas) \unprotected\setvalue{\e!start\v!formula}{\dostartformula{}[]} 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 ___________________________________________________________________________________