From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28031 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: More Feature Requests for math Date: Wed, 17 May 2006 19:16:43 -0400 (EDT) Message-ID: 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 1147907711 11650 80.91.229.2 (17 May 2006 23:15:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 23:15:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu May 18 01:15:05 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FgVEJ-0007IZ-Bc for gctc-ntg-context-518@m.gmane.org; Thu, 18 May 2006 01:14:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C1DE127C6; Thu, 18 May 2006 01:14:59 +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 02825-05; Thu, 18 May 2006 01:14:52 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05937127C1; Thu, 18 May 2006 01:14:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1B832127C1 for ; Thu, 18 May 2006 01:14:47 +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 02792-08-2 for ; Thu, 18 May 2006 01:14:44 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with SMTP id 2B5AF127BF for ; Thu, 18 May 2006 01:14:43 +0200 (CEST) Original-Received: FROM aditya.engin.umich.edu (udhcp-wlan78.public.engin.umich.edu [141.213.120.88]) BY tombraider.mr.itd.umich.edu ID 446BAE62.78939.8847 ; 17 May 2006 19:14:42 -0400 Original-To: mailing list for ConTeXt users X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28031 Archived-At: Hi Hans, Can you provide some more features to \definematrix and \definemathcases. 1. Allow \definematrix and \definemathcases to have a parameter displaystyle or textstyle. Right now, everything is in textstyle. Consider \startformula a = \startcases \NC E = mc^2 \NC nothing interesting to see here \NR \NC \int_0^1 x - 3 d\,x \NC Integral is in text mode \NR \stopcases \stopformula \startformula \startmatrix[n=2] \NC x \NC y \NR \NC \int_0^1 x - 3 d\,x \NC 20 \NR \stopmatrix \stopformula Both integrals are in textstyle. It will be nice if one had a configuration like \definemathcases[displaycases][displaystyle] and \definemathmatrix[displaymatrix][displaystyle] so that \startdisplaymatrix \NC a \NC b \NR \NC d \NC e \NR \stopdisplaymatrix is equivalent to \startmatrix \NC \displaystyle a \NC \displaystyle b \NR \NC \displaystyle d \NC \displaystyle e \NR \stopmatrix and similar for startdisplaycases. I don't know which syntax is better displaystyle=on|off (yes|no) or [mathstyle=display|text]. 2. Allow location=top|center|bottom for \definemathmatrix. Right now, inside \dostartmathmatrix there is a \vcenter. Can this be changed to \vtop or \vbottom depending on the value of location. With these features, it will be straightforward to emulate the behaviour of aligned and gathered environments of amsmath. 3. Can pagebreak inside \startalign be restored. This used to work, but broke while ensuring compatibility with \setupformulas[align=??] \placeformula \startformula \startalign \dorecurse{50} { \NC a \EQ b \NR[+] } \stopalign \stopformula Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008