From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46868 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Math align with \startcases Date: Mon, 19 Jan 2009 19:05:00 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232388425 14578 80.91.229.12 (19 Jan 2009 18:07:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 18:07:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 19 19:08:15 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 1LOyXY-0000Ba-Ci for gctc-ntg-context-518@m.gmane.org; Mon, 19 Jan 2009 19:08:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE3E21FE13; Mon, 19 Jan 2009 19:06:39 +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 03669-02-4; Mon, 19 Jan 2009 19:05:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B21691FBE8; Mon, 19 Jan 2009 19:05:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5CFBD1FBE8 for ; Mon, 19 Jan 2009 19:05:40 +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 03669-02-3 for ; Mon, 19 Jan 2009 19:05:04 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 4B4731FB60 for ; Mon, 19 Jan 2009 19:05:04 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0JI533N019866 for ; Mon, 19 Jan 2009 19:05:03 +0100 Original-Received: by fg-out-1718.google.com with SMTP id 19so1366466fgg.8 for ; Mon, 19 Jan 2009 10:05:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=6BHq79byZp9Ih3ee4JZ3B+WbxiSamJOEmfWsRSH/4e8=; b=TdINC2fljvJ3BVZzSptgViMGy4Whee3VunuW6jmKA91mauucqt54BWqxPXETR+JEp7 OtCsSLO4vf3sePEPOhEnnleP6F/5kT7GbN7vMmwEU4eATXjRWqSoRYYwDheuwN76toSk ZUwpnDoADIqCJWGKSyXrVObz9045n5vYMjfxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=IyBCkY5L+glawTfu19jzjvYvmAxy2MMjUVU+PY5TsBEhIt6vN/Vz2t/l1B/pCTzrGC e4uiHo8XjojiXN5w+Wf7ZyuJbn8h761iBItSBk1znYM5xpS9zr2o8BWwRVrfZ/rIY5vj xVBwH8eBj5tEXaE0XXLY4FfDRBv+dIBD0aKXc= Original-Received: by 10.86.100.19 with SMTP id x19mr658837fgb.29.1232388303413; Mon, 19 Jan 2009 10:05:03 -0800 (PST) Original-Received: from ?192.168.0.10? (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id e20sm4408061fga.43.2009.01.19.10.05.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Jan 2009 10:05:02 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.154; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 167608666 - 0b22ebc7d35a X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:46868 Archived-At: 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? Many thanks: OK ___________________________________________________________________________________ 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 ___________________________________________________________________________________