From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26529 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Feature Request: mathmatrix enhancement Date: Mon, 27 Mar 2006 14:47:07 +0200 Message-ID: <4427DECB.2090509@wxs.nl> References: <44201F4C.5070906@elvenkind.com> 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 1143463661 19064 80.91.229.2 (27 Mar 2006 12:47:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Mar 2006 12:47:41 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 27 14:47:39 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 1FNr7t-0000Ka-6d for gctc-ntg-context-518@m.gmane.org; Mon, 27 Mar 2006 14:47:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 436CC127B5; Mon, 27 Mar 2006 14:47:16 +0200 (CEST) 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 25229-03; Mon, 27 Mar 2006 14:47:12 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9D5B6127AA; Mon, 27 Mar 2006 14:47:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DA50E127AA for ; Mon, 27 Mar 2006 14:47:09 +0200 (CEST) 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 25282-03 for ; Mon, 27 Mar 2006 14:47:08 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id B5B21127A8 for ; Mon, 27 Mar 2006 14:47:08 +0200 (CEST) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 9991 for ; Mon, 27 Mar 2006 16:47:08 +0400 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <44201F4C.5070906@elvenkind.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:26529 Archived-At: Taco Hoekwater wrote: > > Hi, > > See attachment. The final value of the "align=" list is repeated > for any leftover columns, and align=middle is default, of course. > > Cheers, taco > > PS The alignment preamble uses \hskip instead of \tabskip, because > that was the only solution I could find that does all intercolumn > spacing correct while still allowing endlessly repeating columns. > > Aditya Mahajan wrote: >> Hi, >> >> Is it possible to have allow math matrix column alignments to be >> configurable, on the lines of align={left,left} of \startalign. >> I want to be albe to say >> >> \startformula >> \startmatrix[align={right,left}] >> \NC x \NC = a + d \NR >> \NC y \NC = d \NR >> \stopmatrix >> \stopformula >> >> to give me >> x = a + d >> y = d >> >> This is a contrived example. The actual equation that I want to type is >> >> \startformula >> \text{Let }{\cal R} = \bigcup_{P_{X_1},P_{X_2}} \left\{ >> (R_1, R_2) : >> \startmatrix[distance=0.1em] >> \NC \hfill R_1 \NC < I(X_1 ; Y \mid X_2) \hfill \NR >> \NC \hfill R_2 \NC < I(X_2 ; Y \mid X_1) \hfill \NR >> \NC \hfill R_1 + R_2 \NC < I(X_1,X_2 ; Y) \hfill \NR >> \stopmatrix\right\} >> \stopformula >> >> All these manual hfills look ugly. >> >> Is matrix the wrong way to go about this? Should we rather have a >> aligned environment like amsmath? Or is there a simple alternative >> that I have overlooked? >> >> >> Thanks >> Aditya >> added Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------