From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25463 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Align a compound inequality Date: Sat, 21 Jan 2006 02:05:16 -0500 (EST) Message-ID: References: <49477F6D-FCD3-4608-8DA0-8FCEA94BCD7F@cox.net> <906F53FA-4F31-4B82-884F-17B01E9A312F@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1137827136 11265 80.91.229.2 (21 Jan 2006 07:05:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Jan 2006 07:05:36 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 21 08:05:35 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 1F0CoP-0005jM-Rh for gctc-ntg-context-518@m.gmane.org; Sat, 21 Jan 2006 08:05:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3D346128A4; Sat, 21 Jan 2006 08:05:25 +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 32515-05-2; Sat, 21 Jan 2006 08:05:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E818012882; Sat, 21 Jan 2006 08:05:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44C4712882 for ; Sat, 21 Jan 2006 08:05:20 +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 32528-01 for ; Sat, 21 Jan 2006 08:05:19 +0100 (CET) Original-Received: from playinggod.mr.itd.umich.edu (playinggod.mr.itd.umich.edu [141.211.14.79]) by ronja.ntg.nl (Postfix) with SMTP id E05251276C for ; Sat, 21 Jan 2006 08:05:18 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id k0L75HnZ014866 for ; Sat, 21 Jan 2006 02:05:17 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <906F53FA-4F31-4B82-884F-17B01E9A312F@cox.net> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:25463 Archived-At: <--- On Jan 20, David Arnold wrote ---> > Aditya, > > Thanks, and I am getting this to work, which is similar to the way the align > macros from the AMS work: Keep in mind Hans comment in math-ext % amstex compatibility mode: (ugly) I kinda agree. Look at the example in the source for using \NC \NC \NR instead of & .. \\. That gives you more flexibility in using labels and numbering for for specific equations. > \placeformula[eq:twosolve] > \startformula > \startalign[m=3] > 3-2x&>-1 &&\qor& 3-2x&<1\\ > -2x&>-4 &&& -2x&<-2\\ > x&<2 &&& x&>1 > \stopalign > \stopformula > > > On Jan 20, 2006, at 10:07 PM, Aditya Mahajan wrote: > >> <--- On Jan 20, David Arnold wrote ---> >> >>> All, >>> >>> I have: >>> >>> \placeformula[-] >>> \startformula >>> \startalign[m=2] >>> 3-2x&<-1 & 3-2x&>1\\ >>> -2x&<-4 & -2x&>-2\\ >>> x&>2 & x&<1 >>> \stopalign >>> \stopformula >>> >>> And it works. However, I want to sqeeze the word "or" between the >>> inequalities on the first row so that it reads: >>> >>> 3 - 2x < -1 or 3 - 2x > 1 >>> >>> How can I do this? >> >> This is how I would do this, >> >> \startformula \startalign[n=5,align={right,left,middle,right,left}] >> 3 - 2x & < -1 & \quad \text{or} \quad & 3-2x & > 1 \\ >> -2x < & -4 & \text{or} & -2x &> -2 \\ >> \stopalign \stopformula >> >> >> -- >> Aditya Mahajan, EECS Systems, University of Michigan >> http://www.eecs.umich.edu/~adityam || Ph: 7342624008 >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008