From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52478 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Frac (was \everymath problem) Date: Thu, 20 Aug 2009 10:59:07 -0400 (EDT) Message-ID: References: <87pras546e.fsf@gmail.com> <4A8C1091.5000601@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250780390 32211 80.91.229.12 (20 Aug 2009 14:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 14:59:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 20 16:59:42 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1Me976-0001yc-ML for gctc-ntg-context-518@m.gmane.org; Thu, 20 Aug 2009 16:59:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 331F4C9AB7; Thu, 20 Aug 2009 16:59:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xmriBJBWv7MP; Thu, 20 Aug 2009 16:59:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9FDEC9B4F; Thu, 20 Aug 2009 16:59:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7C058C9B4F for ; Thu, 20 Aug 2009 16:59:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mFJQcR8WVOe4 for ; Thu, 20 Aug 2009 16:59:24 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by balder.ntg.nl (Postfix) with ESMTP id 5EC6BC9AB7 for ; Thu, 20 Aug 2009 16:59:24 +0200 (CEST) Original-Received: FROM [192.168.2.8] (c-76-28-88-45.hsd1.ct.comcast.net [76.28.88.45]) By skycaptain.mr.itd.umich.edu ID 4A8D64CA.85639.2006 ; Authuser adityam; 20 Aug 2009 10:59:22 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52478 Archived-At: On Wed, 19 Aug 2009, Wolfgang Schuster wrote: > And with \frac it can be configured at context low level (why no key for > \setupmathematics?) > > \chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, > 4=scriptscriptstyle, 5=mathstyle > > $\frac{a}{b}$ I am thinking of incoprorating a "nath like" frac in ConTeXt. So, we can have \definemathfraction[frac][style=...] where style can take values default: the current frac implementation auto: the nath like implementation displaystyle: the current dfrac implementation textstyle: the current tfrac implementation scriptstyle/scriptscriptstyle: (not sure when they would be needed) I need to check what is the difference between mathfracmode=0 and 5. We can also interface to vulgar fractions. 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 ___________________________________________________________________________________