From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27473 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt 2006.04.24 released Date: Tue, 25 Apr 2006 12:12:32 -0400 (EDT) Message-ID: References: <444DF472.3080501@elvenkind.com> 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 1145981577 7603 80.91.229.2 (25 Apr 2006 16:12:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 16:12:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 25 18:12:54 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 1FYQ9c-0000Gk-OW for gctc-ntg-context-518@m.gmane.org; Tue, 25 Apr 2006 18:12:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EA97127A5; Tue, 25 Apr 2006 18:12:44 +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 21636-02; Tue, 25 Apr 2006 18:12:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95AE21277C; Tue, 25 Apr 2006 18:12:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D9161277C for ; Tue, 25 Apr 2006 18:12:35 +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 15454-04 for ; Tue, 25 Apr 2006 18:12:34 +0200 (CEST) Original-Received: from beyondborders.mr.itd.umich.edu (beyondborders.mr.itd.umich.edu [141.211.93.146]) by ronja.ntg.nl (Postfix) with SMTP id 9E68D126F8 for ; Tue, 25 Apr 2006 18:12:33 +0200 (CEST) Original-Received: from aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) by beyondborders.mr.itd.umich.edu (smtp) with ESMTP id k3PGCViT019227 for ; Tue, 25 Apr 2006 12:12:31 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: 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:27473 Archived-At: On Tue, 25 Apr 2006, Nikolai Weibull wrote: > On 4/25/06, Taco Hoekwater wrote: >> * New math environments: \startintertext and \startsubstack > > Is ConTeXt coming closer to what LaTeX and Nath has in way of math > support? I.e., are we more or less incorporating the nice stuff from > the two into ConTeXt now? I have been playing around with context math to see if I can do everything that latex+amsmath can do and the answer is yes. Have a look at http://dl.contextgarden.net/myway/mathalign.pdf There are other things that I have tested (using matrix and cases) and will be updating the myway document soon. The functionality of following latex environments is there amsmath ======= align gather alignat split lgather (from mathtools) flalign aligned (limited features) gathered (limited features) lgathered(limited features) matrix pmatrix bmatrix Bmatrix vmatrix Vmatrix cases substack intertext The syntax is different, and the internals are different, so you do not get the "same result" as latex. If you really want exact same result, you can coax context to do so, but I do not think that it is worth the trouble. In some cases, the context support is much better than latex+packages. See what can be done for numbered multicolumn aligns, which AFAIK are hard to do in latex. There are a few (very few) features missing to be able to reproduce ALL the functionality of amsmath. One is multline equation environment, but I do not know how all its details in amsmath, so can not comment on whether the same is doable with context. Another missing feature (I will send a detailed feature request soon) is that matrices are always center aligned. I would like to have \startmatrix[location=top|bottom|middle] to faithfully reproduce aligned series of environments. This should not be too hard to do, \vcenter is hard coded in matrix, it needs to be configurable to \vtop and \vbottom. With such a feature, it is easy to provide a \wall ... \return thing like Nath. The other features of Nath are too extreme, and can not be done right now. You need to wait till Hans weaves some more magic. If you have some specific details in mind, please post them. I am very interested in knowing myself on how much can the context math environments be pushed :-) Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008