From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46864 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Math align with \startcases Date: Mon, 19 Jan 2009 11:49:56 +0100 Message-ID: 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="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1232367159 29388 80.91.229.12 (19 Jan 2009 12:12:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 12:12:39 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 19 13:13:52 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 1LOt0n-0005Q5-B1 for gctc-ntg-context-518@m.gmane.org; Mon, 19 Jan 2009 13:13:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1ACEC1FCEF; Mon, 19 Jan 2009 11:58: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 05087-02-2; Mon, 19 Jan 2009 11:56:57 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0C4C21FCDE; Mon, 19 Jan 2009 11:55:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D122D1FCD0 for ; Mon, 19 Jan 2009 11:52: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 06259-01-2 for ; Mon, 19 Jan 2009 11:51:49 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 50B591FCCE for ; Mon, 19 Jan 2009 11:51:41 +0100 (CET) Original-Received: from mail-bw0-f16.google.com (mail-bw0-f16.google.com [209.85.218.16]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0JApeDb004295 for ; Mon, 19 Jan 2009 11:51:40 +0100 Original-Received: by bwz9 with SMTP id 9so3254942bwz.2 for ; Mon, 19 Jan 2009 02:51:40 -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 :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=lRkyqJVjoAO42KcLm61j/6ScQkK1IQLl3IX/hMrRnQ0=; b=i7jxicOiSiQfelv4MxnS8iaUV0CPohEuQTYoN0vcww73W6UemL4VRGclYXlJREfjg+ 7q6IjNUJ+TSpn9zaBdz6MkOd7mcCD0RS3WQi6Dc2U87kpRkRZg+LxbTjdo6WmF7zYDgl N5QbFBs3dEwues4jyWCVpL6CD1EQuA488hFNQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=KY5X8Om/qaDCNFbiVmR9jer5vfXTUpoctlOXXcAGdVNu2i0m+pzvrOhHJSUF0Rpg9S N8a7sPciKeYJMBXOo1jEtvSp7p0Hak/HrLWRqLn/ymSVioddET1u20o2XYIA6YxZFaFY Vu0B8h8uYn3n/sE3mXRN+6jDw7sh67w76RkSk= Original-Received: by 10.103.246.1 with SMTP id y1mr2412664mur.116.1232362199020; Mon, 19 Jan 2009 02:49:59 -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 s10sm7875228mue.43.2009.01.19.02.49.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Jan 2009 02:49:58 -0800 (PST) X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.16; 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: 167333702 - 69b104266696 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:46864 Archived-At: Hi everyone, This question is primarily intended for Aditya=85 but I guess other = fellows on the list can also help me solve the following alignment = problem: Is it possible to have an alignment like the rsult of the following = with \startcases...\stopcases? \starttext \startformula \startmatrix[align=3D{right,left,right},distance=3D3pt,left=3D{\left\{}, = right=3D{\right.}] \NC -\Delta u + g(u) \NC{} =3D f \NC \quad\mbox{in } \Omega\NR \NC \displaystyle {\partial u \over \partial {\bf n} } \NC{} =3D = h(u) \NC \quad\mbox{on } \partial\Omega \NR \stopmatrix \stopformula \stoptext Actually I used to have such alignments with the following structure = (in good old plain TeX...): \starttext \startformula \cases{ \eqalign{ -\Delta u + g(u) &=3D f \cr \displaystyle {\partial u \over \partial {\bf n} } &=3D h(u) \cr } \quad \eqalign{ &\hbox{in } \Omega \cr &\vphantom{{\partial u \over \partial {\bf n} }} \hbox{on } \partial = \Omega \cr } } \stopformula \stoptext (which gives approximately the same result as the first example above, = but clearly the math-alignment structure set up by Aditya and Hans is = much more elegant. (Although I prefer the vertical distance between = the lines obtained with my plain TeX structure: by the way is it = possible to fine tune such things in ConTeXt). 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? Thanks in advance: OK ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________