From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25588 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: LaTeX array equivalence with multiline \lbrace Date: Thu, 26 Jan 2006 21:08:46 -0500 (EST) Message-ID: References: <43D67EB3.5020800@nibua-r.org> <43D76D7A.7060106@wxs.nl> <43D7AA52.4090402@nibua-r.org> <43D94435.7090006@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138327753 22994 80.91.229.2 (27 Jan 2006 02:09:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2006 02:09:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 27 03:09:09 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1F2J2p-0004Ls-PS for gctc-ntg-context-518@m.gmane.org; Fri, 27 Jan 2006 03:09:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B077A127D3; Fri, 27 Jan 2006 03:08:57 +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 23306-01; Fri, 27 Jan 2006 03:08:55 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 11755127D6; Fri, 27 Jan 2006 03:08:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AAF61127D6 for ; Fri, 27 Jan 2006 03:08:53 +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 23057-07 for ; Fri, 27 Jan 2006 03:08:52 +0100 (CET) Original-Received: from pushingtin.mr.itd.umich.edu (pushingtin.mr.itd.umich.edu [141.211.14.78]) by ronja.ntg.nl (Postfix) with SMTP id 58554127D3 for ; Fri, 27 Jan 2006 03:08:51 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by pushingtin.mr.itd.umich.edu (smtp) with ESMTP id k0R28jJa010022 for ; Thu, 26 Jan 2006 21:08:50 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <43D94435.7090006@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:25588 Archived-At: <--- On Jan 26, Hans Hagen wrote ---> >> >>> Also, in another post, I had asked if it is possible to have cases that >>> are numbered, that is, can I get >>> >>> { b , if whatever (1a) >>> a ={ >>> { c, otherwise (1b) >>> >>> This is not important, but will be nice to have. >>> >>> > something like this? > > [ code snipped ] > \placeformula \startformula \startcases > \NC 2 \NC $ y > 0 $ \NR > \NC 7 \NC $ x = 7 $ \NR[+] > \NC 4 \NC otherwise \NR > \stopcases \stopformula Not exactly. In this, I get two formula numbers, one for the case `x=7' and the other for the entire equation. I can remove \placeformula and almost get the desired behaviour. There should be an option to flushright the equation number corresponding to each case, i.e., I should be able to get +-----------------------------------------------------+ | | | ,- | | | 15, if something (1) | | x = { | | | 0, otherwise (2) | | `- | +-----------------------------------------------------+ Where the frame is the page boundaries. I hope I am making sense here. Further, I can not get correct subnumbering here. Look at the output of \startformula \startcases \NC a \NC if something \NR[eq:a][a] \NC b \NC otherwise \NR[eq:b][b] \stopcases \stopformula Other than these minor glitches, this is perfect. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008