From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55221 Path: news.gmane.org!not-for-mail From: Curiouslearn Newsgroups: gmane.comp.tex.context Subject: Re: Math Alignment - start equation at left margin Date: Tue, 15 Dec 2009 22:41:35 -0500 Message-ID: <3b4b12310912151941k53518dfclb5e7f3dcd21b70b9@mail.gmail.com> References: <3b4b12310911291545y46bbbe06x386fe14c6dc7e333@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1260934916 27476 80.91.229.12 (16 Dec 2009 03:41:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Dec 2009 03:41:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 16 04:41:49 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKklp-0003x2-43 for gctc-ntg-context-518@m.gmane.org; Wed, 16 Dec 2009 04:41:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17EDCC9C61; Wed, 16 Dec 2009 04:41:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rXaAJlhhvD+H; Wed, 16 Dec 2009 04:41:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 337D5C9AF1; Wed, 16 Dec 2009 04:41:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D990C9AF1 for ; Wed, 16 Dec 2009 04:41:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PW94pmkZ6C2e for ; Wed, 16 Dec 2009 04:41:38 +0100 (CET) Original-Received: from mail-pw0-f55.google.com (mail-pw0-f55.google.com [209.85.160.55]) by balder.ntg.nl (Postfix) with ESMTP id C3C30C9AC7 for ; Wed, 16 Dec 2009 04:41:36 +0100 (CET) Original-Received: by pwj2 with SMTP id 2so445723pwj.34 for ; Tue, 15 Dec 2009 19:41:35 -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 :content-transfer-encoding; bh=7dStcDEqQx/3CX4SxnIGPLcxmIaW0NbsB8Tn7hWoZWQ=; b=O0+fLq+hRAUfOlqjv8G0/EHKe+nFF5LQZqrUcbRV6ifc1IALA0ulqOrBcTlH8yhy7N 6qklCRQG6ILlVRhV4hnNjc/BkCelxC9Kj26iBgajV/+eIQENgPivBdGoRoQW8obTG4vs fK9nYAyMk4BeD8mpjagQSn2suMOuG3nAM6T9U= 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:content-transfer-encoding; b=NULdFcdIgpNipaIRFdqErQmcfzHZi5p9prh6M19OzQD1HnuqBJsjYR48lDrgkN7V40 m9akVSmPS4q+OERGVEAlU3uuw6uUzX2CWPuR6J4ZVjuy7YCNsZT4UZG8WKUZ7yhorVQe d7BC5fZILkflpJIlH1X0gazHmwMTK67LCA354= Original-Received: by 10.142.67.25 with SMTP id p25mr288738wfa.292.1260934895285; Tue, 15 Dec 2009 19:41:35 -0800 (PST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:55221 Archived-At: I had tried using \setupformulas, but it did not work when I posted my question. I suppose it was for the reason you mentioned. I will try it again, once I have downloaded the latest beta. Thanks. On Tue, Dec 15, 2009 at 6:41 AM, Aditya Mahajan wrote: > On Sun, 29 Nov 2009, Curiouslearn wrote: > >> Hi, >> Can someone please help with the alignment of =A0the equation so that it >> starts at left. I tried flushleft and other options (such as without >> \NC \NR, with align=3Dleft etc.). None of them result in the equation >> starting at the left margin. The equation is either placed in the >> middle or is aligned to the right. I want it to start at the left. >> >> Thanks. >> >> \setuppapersize[letter][letter] >> >> \starttext >> >> \startformula\startalign[align=3D{left}] >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0\NC\text{= \bf Example: } >> =A0\frac{d(4x^{2})}{dx} =3D 4 >> \frac{dx^{2}}{dx} =3D 4 (2x) =3D 8x.\NC{ }\NR >> \stopalign\stopformula >> >> \stoptext > > The correct way to do this is > > \setupformulas[align=3Dflushleft] > > \starttext > \startformula > =A0a =3D b > \stopformula > \stoptext > > However, this does not work in MkIV due to a bug introduced in the splitt= ing > of mkii-mkiv files. math alignment works using commands > > \def\startinnermath > =A0{\getvalue{\e!start\??fm\formulaparameter\c!align}} > > \def\stopinnermath > =A0{\getvalue{\e!stop \??fm\formulaparameter\c!align}} > > which are defined in math-ali.mkiv. However, strc-mat.mkiv redefines these > to \empty, so the simple math alignment does not work anymore. > > Hans: we need to either move these definitions from math-ali to strc-mat = or > remove > > \let\startinnermath\empty > \let\stopinnermath \empty > > from strc-mat.mkiv > > 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 =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: http://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________