From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25292 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: math align Date: Mon, 16 Jan 2006 22:02:14 -0500 (EST) Message-ID: References: <43CACEB2.7030708@wxs.nl> <43CB6121.6080100@elvenkind.com> <43CB91F2.3020009@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1137466971 10451 80.91.229.2 (17 Jan 2006 03:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 03:02:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 17 04:02:41 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 1Eyh77-0006if-Ri for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jan 2006 04:02:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 01D4912798; Tue, 17 Jan 2006 04:02:28 +0100 (CET) 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 09924-05; Tue, 17 Jan 2006 04:02:23 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7BCAB12819; Tue, 17 Jan 2006 04:02:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14A1212819 for ; Tue, 17 Jan 2006 04:02:22 +0100 (CET) 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 09948-04 for ; Tue, 17 Jan 2006 04:02:20 +0100 (CET) Original-Received: from pushingtin.mr.itd.umich.edu (pushingtin.mr.itd.umich.edu [141.211.14.78]) by ronja.ntg.nl (Postfix) with SMTP id 6244212798 for ; Tue, 17 Jan 2006 04:02:19 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by pushingtin.mr.itd.umich.edu (smtp) with ESMTP id k0H32FJa010703 for ; Mon, 16 Jan 2006 22:02:16 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <43CB91F2.3020009@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25292 Archived-At: <--- On Jan 16, Hans Hagen wrote ---> > Taco Hoekwater wrote: > >> >> >> David Arnold wrote: >> >>> And where should we put this module temporarily? >> >> >> Put it in the local directory and do >> >> \input math-ext >> >> at the top of your test files. >> > attached is a next version with 'definable' aligns > > \definemathalign[myalign][...] > > \startmyalign ... The following works as expected. \def\startsplit {\startalign[*]} % no number by default \def\stopsplit {&\doalignNR[+][]\crcr % for a number on last line \stopalign} \placeformula \startformula \startsplit a &= b \\ &= c \stopsplit \stopformula It seems that you are still thinking about [#2] in the definition of \definealign. Can it be such that, \definealign[gather][n=1,align={middle}] \definealign[lgather][n=1,align={left}] \startformula \startgather a = b + c \\ e = f \stopgather \stopformula results in center aligned equations a = b + c e = f and \startformula \startlgather a = b + c \\ e = f \stoplgather \stopformula results in left aligned equations a = b + c e = f Thanks, Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008