From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46869 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Math align with \startcases Date: Mon, 19 Jan 2009 13:49:25 -0500 (EST) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232391969 18137 80.91.229.12 (19 Jan 2009 19:06:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 19:06:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 19 20:07:21 2009 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 1LOzFU-0000oI-0E for gctc-ntg-context-518@m.gmane.org; Mon, 19 Jan 2009 19:53:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B32291FDC7; Mon, 19 Jan 2009 19:52:04 +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 13593-03; Mon, 19 Jan 2009 19:50:57 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B00BE1FADC; Mon, 19 Jan 2009 19:50:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B51611FADC for ; Mon, 19 Jan 2009 19:50:54 +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 03857-05-4 for ; Mon, 19 Jan 2009 19:50:18 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 41E6B1FADB for ; Mon, 19 Jan 2009 19:50:18 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0JIoGof002883 for ; Mon, 19 Jan 2009 19:50:17 +0100 Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY tombraider.mr.itd.umich.edu ID 4974CB67.9D819.22913 ; 19 Jan 2009 13:50:15 -0500 In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.93.161; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 167622001 - ba638c0445f7 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:46869 Archived-At: On Mon, 19 Jan 2009, Otared Kavian wrote: > > On 19 janv. 09, at 15:38, Aditya Mahajan wrote: > >> On Mon, 19 Jan 2009, Otared Kavian wrote: >> >>> [...] >>> So my question is: whether one can use \startcases ...\stopcases instead >>> of \startmatrix ... \stopmatrix in order to obtain the result of the plain >>> TeX example? >> >> No, but there is not much difference between cases and matrix. Consider: >> >> \definemathmatrix[alignedcase] >> [align={right,left,right},distance=3pt,left={\left\{}, >> right={\right.},style=\displaystyle] >> \starttext >> >> \startformula >> \startalignedcase >> \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR >> \NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on } >> \partial\Omega \NR >> \stopalignedcase >> \stopformula >> >> Aditya___________________________________________________________________________________ > > Thanks Aditya: actually an alternative definition in order to get what I > mentioned in my question is the following: > > \starttext > \definemathmatrix[alignedcase] > [align={right,left,left}, % <---- instead of > align={right,left,right} > distance=3pt, > left={\left\{}, > right={\right.}, > style=\displaystyle] > > \startformula > \startalignedcase > \NC -\Delta u + g(u) \NC{} = f \NC \quad\mbox{in } \Omega\NR > \NC {\partial u \over \partial {\bf n} } \NC{} = h(u) \NC \quad\mbox{on } > \partial\Omega \NR > \stopalignedcase > \stopformula > \stoptext > > Should I add this to the wiki? Please do. 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 ___________________________________________________________________________________