From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39511 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: A few questions about aligned maths Date: Fri, 14 Mar 2008 16:45:10 -0400 (EDT) Message-ID: References: <200803131916.37335.morgan.brassel@free.fr> <20080314081339.495b1193.schuster.wolfgang@googlemail.com> 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: ger.gmane.org 1205527486 4143 80.91.229.12 (14 Mar 2008 20:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 20:44:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 14 21:45:14 2008 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 1JaGm6-0000YJ-QB for gctc-ntg-context-518@m.gmane.org; Fri, 14 Mar 2008 21:45:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A18241FBB8; Fri, 14 Mar 2008 21:44:34 +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 31570-01-6; Fri, 14 Mar 2008 21:44:18 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5B9C1FB4E; Fri, 14 Mar 2008 21:44:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5DD4E1FB4E for ; Fri, 14 Mar 2008 21:44:16 +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 26266-04-19 for ; Fri, 14 Mar 2008 21:44:11 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id C2C371FB1D for ; Fri, 14 Mar 2008 21:44:10 +0100 (CET) Original-Received: FROM udhcp-wlan60.public.engin.umich.edu (udhcp-wlan60.public.engin.umich.edu [141.213.120.70]) BY hellskitchen.mr.itd.umich.edu ID 47DAE397.205F4.13710 ; 14 Mar 2008 16:44:07 -0400 In-Reply-To: <20080314081339.495b1193.schuster.wolfgang@googlemail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:39511 Archived-At: On Fri, 14 Mar 2008, Wolfgang Schuster wrote: > On Thu, 13 Mar 2008 19:48:55 -0400 (EDT) > Aditya Mahajan wrote: > >> On Thu, 13 Mar 2008, Morgan Brassel wrote: >> >>> Concerning multline, I only read the specification given in amsldoc.pdf: >>> "3.3 Split equations without alignment". Multline does not support alignment, >>> so you can't put '&' inside it, only '\\'. All it does is cut the equation >>> into several lines: the first is left aligned, the last is right aligned, and >>> all the intermediate are centered. I don't if this is sufficient as an >>> explanation. Please let me know if I can help or test. And thank you for your >>> time! >> >> So, will this user interface be enough: >> >> \startformula \startmultline >> \NC line 1 \FR >> \NC line 2 \MR >> \NC line 3 \LR >> \stopmultline \stopformula > > I would change myself the name for the environment from multline to > multiline, we don't have to rely on the short command names as old TeX > packages did for many macros. Yes, of course. I never really understood the stange naming conventions of amstex. >> Lines with \FR are flush left, lines with \MR are centered, and lines with >> \LR are right flushed. (First row, middle row, last row; as in tables). >> multline also has \pushleft and \pushright with go against the ConTeXt way >> of things. >> >> It is also possible to just have \NR at each row, and let ConTeXt figure >> out the correct flushing. That will involve a two-pass algorithm, and I >> will give that a try. > > I think you should use NR at the end of a line and not different > commands for the first, the last and all other lines. You could change > the alignment of each line with \NC[align=...], this will fit to the > normal commands for tables. This will also make it easier to implement ;) 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 ___________________________________________________________________________________