From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39498 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: A few questions about aligned maths Date: Thu, 13 Mar 2008 19:48:55 -0400 (EDT) Message-ID: References: <200803131916.37335.morgan.brassel@free.fr> 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 1205452170 31424 80.91.229.12 (13 Mar 2008 23:49:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 23:49:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 14 00:49:57 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 1JZxBN-0006IV-NR for gctc-ntg-context-518@m.gmane.org; Fri, 14 Mar 2008 00:49:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ACE271FB6D; Fri, 14 Mar 2008 00:49:19 +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 17237-03-15; Fri, 14 Mar 2008 00:48:35 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B7241FB74; Fri, 14 Mar 2008 00:48:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 10ACE1FB74 for ; Fri, 14 Mar 2008 00:48:32 +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 17237-03-14 for ; Fri, 14 Mar 2008 00:47:57 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id EA4F41FB6D for ; Fri, 14 Mar 2008 00:47:56 +0100 (CET) Original-Received: FROM udhcp-wlan45.public.engin.umich.edu (udhcp-wlan45.public.engin.umich.edu [141.213.120.55]) BY tombraider.mr.itd.umich.edu ID 47D9BD2A.3C1F5.11390 ; 13 Mar 2008 19:47:54 -0400 In-Reply-To: <200803131916.37335.morgan.brassel@free.fr> 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:39498 Archived-At: 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 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. The other thing is placement of equation numbers. It is easy to implement multline so that equation number is always centered. I am not sure if the current ConTeXt mechanism allows for equation number to be placed on the bottom (similar to tbtags options). 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 ___________________________________________________________________________________