From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46843 Path: news.gmane.org!not-for-mail From: Dave Newsgroups: gmane.comp.tex.context Subject: Re: A few questions about aligned maths Date: Sat, 17 Jan 2009 23:56:05 -0500 Message-ID: <7a884c7c0901172056o728ed92q896102df2bf26709@mail.gmail.com> References: <47E7802D.20304@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1617818956==" X-Trace: ger.gmane.org 1232254692 841 80.91.229.12 (18 Jan 2009 04:58:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2009 04:58:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 18 05:59:23 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 1LOPkm-0000Rw-9l for gctc-ntg-context-518@m.gmane.org; Sun, 18 Jan 2009 05:59:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 400041FD48; Sun, 18 Jan 2009 05:58:00 +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 31836-01; Sun, 18 Jan 2009 05:56:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A02561FD04; Sun, 18 Jan 2009 05:56:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 596121FD04 for ; Sun, 18 Jan 2009 05:56:44 +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 24037-03-3 for ; Sun, 18 Jan 2009 05:56:08 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 501861FCEF for ; Sun, 18 Jan 2009 05:56:08 +0100 (CET) Original-Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.243]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0I4u69t025784 for ; Sun, 18 Jan 2009 05:56:07 +0100 Original-Received: by rv-out-0708.google.com with SMTP id f25so2386968rvb.14 for ; Sat, 17 Jan 2009 20:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=iVpmH3P2jSZknIVHXj/TnBJQLGM8Bw6g8ixzlk7a/GQ=; b=T32WGw6XpPNMnMwO+qAXS25g9r38w58fOeT1IVL8Ig5bS5tbhShlyTY9O3+236+RkU noClnxp4Wvu9pKrNhddIrEwA5CsM226+0oj1jCFvnn74RawpFSNoIPKRLLDi5XGQWzGB Q7LpcPqWgK2zCWmA9YQlzVBr5sLMdaAoyxkGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hU3Euo9QUvyUiwcCSSG75AEs5T8udEmKni2zqd7gLJqBOExBBR7XbbDBI7GjKdWLhS FmMl8nRC8xHi/LaCMwVpmqufDGNuBzBWYCOF94bnuJOqf2POAUkk6dGMi1W88A803h/t HzLFNNTc7MRAVTZmiCB8uYm6UQe3N2L1wYCmc= Original-Received: by 10.140.170.12 with SMTP id s12mr902525rve.38.1232254565685; Sat, 17 Jan 2009 20:56:05 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.198.243; 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: 166958712 - 310fad17725f X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:46843 Archived-At: --===============1617818956== Content-Type: multipart/alternative; boundary=000e0cd2c14aa91c230460ba9f06 --000e0cd2c14aa91c230460ba9f06 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Is there any progress on this? I notice it is not yet in the core. I'm in need of an AMSL split-like environment but the above doesn't work entirely as expected. Below is an example. Any ideas? Thanks, Dave \placeformula \startformula \startalign \NC \sigma_{L_s}^2 \NC= E\left\{ \eps_L^2 \right\} \NR \NC \NC= \startmathlines \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu)} \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu)\right) \right)^2 \right\} - \NR \NC E\left\{ \frac{2}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}(\nu)}{L_{\ref}(\nu)} \left( \Re{\eps_{\pth} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\pth} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) \right) \NR \NC \left( \Re{\eps_{\ref} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\ref} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) + \right) \right\} + \NR \NC E\left\{ \frac{1}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}^2(\nu)}{L_{\ref}^2(\nu)} \left( \Re{\eps_{\ref} + \eps_{\off}}\,\cos\left(\phi(\nu)\right) + \Im{\eps_{\ref} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) \right)^2 \right\} \NR \stopmathlines \NR \NC \NC= \frac{1}{L_{\ref}^2} \, \left( \sigma_{\pth}^2 + \left(\frac{L_{\pth}}{L_{\ref}} - 1\right)^2 \sigma_{\off}^2 + \left(\frac{L_{\pth}}{L_{\ref}}\right)^2 \sigma_{\ref}^2 \right) \NR[eq:SpcTransVarC2] \stopalign \stopformula On Mon, Mar 24, 2008 at 7:17 AM, Aditya Mahajan wrote: > On Mon, 24 Mar 2008, Hans Hagen wrote: > > > Morgan Brassel wrote: > > > >> Sorry that I can't help you with the implementation, Aditya... I just > want > >> to confirm that your new macro perfectly fits my needs. I hope it will > >> make it into the core, it really is useful! > > > > once aditya is confident that it makes sense and works as expected it > > will probably end up in the core, but as usual i'll wait till he sends > > me an updated core file > > It will be a while before I am able to get all the bells and whistles > (take care of where the formula number is to be placed, and how how the > formula is to be aligned). > > Aditya > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > --000e0cd2c14aa91c230460ba9f06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Is there any progress on this?  I notice it is not yet in the core. &n= bsp;I'm in need of an AMSL split-like environment but the above doesn&#= 39;t work entirely as expected.  Below is an example.

Any ideas?
Thanks, Dave

\placeformula
\star= tformula \startalign
  \NC \sigma_{L_s}^2 
      \NC=3D E\left\{ \eps_L^2 \right\} \NR
  \NC \NC=3D \startmathlines
       \NC E\left\{ \left( \frac{1}{L_{\ref}^2(\nu= )} 
               &= nbsp;      \Re{\eps_{\pth}+\eps_{\off}}\,\cos\left(\phi(\nu)= \right) +
               =        \Im{\eps_{\pth}+\eps_{\off}}\,\sin\left(\phi(\nu= )\right)
                   &= nbsp;\right)^2 \right\} - \NR
       \NC E\le= ft\{ \frac{2}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}(\nu)}{L_{\ref}(\nu)}
=
                   &= nbsp;\left(
              = ;        \Re{\eps_{\pth} + \eps_{\off}}\,\cos\left(\phi= (\nu)\right) +
                   &= nbsp;  \Im{\eps_{\pth} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) = ;
                 &= nbsp;  \right) \NR
           =      \NC \left(
         =              \Re{\eps_{\ref} + \eps_{\of= f}}\,\cos\left(\phi(\nu)\right) +
                   &= nbsp;  \Im{\eps_{\ref} + \eps_{\off}}\,\sin\left(\phi(\nu)\right) +
                  = ;  \right) 
           &n= bsp;        \right\} + \NR
    = ;   \NC E\left\{ \frac{1}{L_{\ref}^2(\nu)} \, \frac{L_{\pth}^2(\nu)}{L= _{\ref}^2(\nu)}
                   &= nbsp;\left( 
            =          \Re{\eps_{\ref} + \eps_{\off}}\,\cos\lef= t(\phi(\nu)\right) +
           &nb= sp;          \Im{\eps_{\ref} + \eps_{\off}}\,\sin\= left(\phi(\nu)\right)
                   &= nbsp;\right)^2 \right\} \NR
         &nb= sp;  \stopmathlines \NR
  \NC \NC=3D \frac{1}{L_{\= ref}^2} \, \left( \sigma_{\pth}^2 + 
     &nb= sp;     \left(\frac{L_{\pth}}{L_{\ref}} - 1\right)^2 \sigma_{\off= }^2 +
           \left(\frac{L_{\pth}}{L_{\ref= }}\right)^2 \sigma_{\ref}^2 \right) 
     &nb= sp;     \NR[eq:SpcTransVarC2]
\stopalign \stopformula


On Mon, Mar 24, 2008 at 7= :17 AM, Aditya Mahajan <adityam@umich.edu> wrote:
On Mon, 24 Mar 2008, = Hans Hagen wrote:

> Morgan Brassel wrote:
>
>> Sorry that I can't help you with the implementation, Aditya...= I just want
>> to confirm that your new macro perfectly fits my needs. I hope it = will
>> make it into the core, it really is useful!
>
> once aditya is confident that it makes sense and works as expected it<= br> > will probably end up in the core, but as usual i'll wait till he s= ends
> me an updated core file

It will be a while before I am able to get all the bells and whistles=
(take care of where the formula number is to be placed, and how how the
formula is to be aligned).

Aditya
______________________________= _____________________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" target=3D"_blank"= >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
___________________________________________________________________________= ________

--000e0cd2c14aa91c230460ba9f06-- --===============1617818956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1617818956==--