From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35478 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Displayed formula Date: Thu, 19 Jul 2007 11:48:03 -0400 Message-ID: <20070719114803.vn6r2tm5wcgoswwc@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> 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 1184860206 26395 80.91.229.12 (19 Jul 2007 15:50:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2007 15:50:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 19 17:50:05 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 1IBYGQ-0001RG-Ej for gctc-ntg-context-518@m.gmane.org; Thu, 19 Jul 2007 17:50:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE38A1FE09; Thu, 19 Jul 2007 17:50:01 +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 03518-04; Thu, 19 Jul 2007 17:50:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8955B1FE0A; Thu, 19 Jul 2007 17:48:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F41831FE0A for ; Thu, 19 Jul 2007 17:48:07 +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 02974-01-4 for ; Thu, 19 Jul 2007 17:48:05 +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 CC1DB1FE08 for ; Thu, 19 Jul 2007 17:48:04 +0200 (CEST) Original-Received: (from www@localhost) by mohican.web.itd.umich.edu (8.12.10/8.12.9) id l6JFm3LU008341 for ntg-context@ntg.nl; Thu, 19 Jul 2007 11:48:03 -0400 Original-Received: from wwwgate2.motorola.com (wwwgate2.motorola.com [129.188.69.161]) by web.mail.umich.edu (Horde MIME library) with HTTP; Thu, 19 Jul 2007 11:48:03 -0400 In-Reply-To: <48A48705-4972-4FE5-A2CA-EAEA9391D792@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: 129.188.69.161 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:35478 Archived-At: Quoting Oliver Buerschaper : > Wolfgang, Jelle, > > thanks for your suggestions ... problem solved! 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? 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 ___________________________________________________________________________________