From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54873 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Math Alignment - start equation at left margin Date: Mon, 30 Nov 2009 08:50:47 +0100 Message-ID: <8840E08C-8A88-437C-8107-EE0BBB150C82@gmail.com> References: <3b4b12310911291545y46bbbe06x386fe14c6dc7e333@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: multipart/mixed; boundary="===============1458925748==" X-Trace: ger.gmane.org 1259567475 24463 80.91.229.12 (30 Nov 2009 07:51:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 07:51:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 30 08:51:08 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 1NF12J-000774-BB for gctc-ntg-context-518@m.gmane.org; Mon, 30 Nov 2009 08:51:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3DF2C9BA3; Mon, 30 Nov 2009 08:48:02 +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 VZj4OM7WRJfX; Mon, 30 Nov 2009 08:47:59 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C726C9BA6; Mon, 30 Nov 2009 08:47:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0711C9BA6 for ; Mon, 30 Nov 2009 08:47:57 +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 z1IxEnL1DfkD for ; Mon, 30 Nov 2009 08:47:46 +0100 (CET) Original-Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by balder.ntg.nl (Postfix) with ESMTP id 28F50C9BA3 for ; Mon, 30 Nov 2009 08:47:46 +0100 (CET) Original-Received: by ewy1 with SMTP id 1so3582587ewy.14 for ; Sun, 29 Nov 2009 23:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=Ia7R71cCPxGdtj7NIVrx8Zp1pRMSq7DPau8CCfUMK7Y=; b=duYhC3fDqgrnOyV0ul3X5jPjmeYcExnpRLI834yoKjzwjkyWuBnluBDPcBvLVBGq2z HjPOWzeGpPlOTNDTZS0PsEsRQWfv7BhJ5hJhELTb8bEmwamyvIcU7eAueH+6drJKWt7v GODWWZv30JQO+VfpPzCDLTPfKWIzX9H/l8/E8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=IlWTV0vFwht6BjXXjC8L9ASgaFcv51I0pw78fWdsER1ET/3T0ViMckNqS8Hz5/GPW0 5NnlOnzeNOy7viW+6aN+6kkkEXyHW7AVzcjhil6+9vP5+x6ggyNDpamsz456FFnJZnRE mB66v+0Bj+wcC0VpihZiHvqEMmSFZRLbNcQ+E= Original-Received: by 10.213.2.67 with SMTP id 3mr4187616ebi.77.1259567449239; Sun, 29 Nov 2009 23:50:49 -0800 (PST) Original-Received: from ?192.168.0.11? (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id 7sm6385958eyb.18.2009.11.29.23.50.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 23:50:48 -0800 (PST) In-Reply-To: <3b4b12310911291545y46bbbe06x386fe14c6dc7e333@mail.gmail.com> X-Mailer: Apple Mail (2.1077) 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:54873 Archived-At: --===============1458925748== Content-Type: multipart/alternative; boundary=Apple-Mail-3--60110670 --Apple-Mail-3--60110670 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Sorry for sending this again: I forgot a closing "}" in = \type{FLalign]=85)}=85 Hi, Is this what you want to achieve: %%%%%% begin \starttext =46rom Aditya's \type{mathalign.pdf}, where he defines in fact a=20 \type{\definemathalignment[flalign]},=20 (but I prefer \type{FLalign]=85)} one has \definemathalignment[FLalign] [m=3D2, distance=3D5em plus 1 fil] %We = need to set a default value for m Curiouslearn' input was: \startformula \startalign \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} =3D 4 \frac{dx^{2}}{dx} =3D 4 (2x) =3D 8x.\NC{ }\NR \stopalign \stopformula \startformula \startFLalign %% here you can add [m=3D2] or [m=3D3] if you need more = columns \NC\text{\bf Example: } \frac{d(4x^{2})}{dx} =3D 4 \frac{dx^{2}}{dx} =3D 4 (2x) =3D 8x.\NC \NC \NR %% note twice \NC \stopFLalign \stopformula \stoptext %%%%%% end Best regards: OK On 30 nov. 2009, at 00:45, Curiouslearn wrote: > Hi, > Can someone please help with the alignment of the 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. >=20 > Thanks. >=20 > \setuppapersize[letter][letter] >=20 > \starttext >=20 > \startformula\startalign[align=3D{left}] > \NC\text{\bf Example: } = \frac{d(4x^{2})}{dx} =3D 4 > \frac{dx^{2}}{dx} =3D 4 (2x) =3D 8x.\NC{ }\NR > \stopalign\stopformula >=20 > \stoptext > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ %%%%%%%%%%%%%%%%%% Otared Kavian D=E9partement de Math=E9matiques Universit=E9 de Versailles Saint-Quentin B=E2timent Fermat 45 aveue des Etats Unis 78035 Versailles cedex T=E9l=E9phone: +33 1 39 25 46 42 Secr=E9tariat: +33 1 39 25 46 44=20 Secr=E9tariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr --Apple-Mail-3--60110670 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

Hi,

Is this what you want to achieve:

%%%%%% = begin
\starttext

=46rom Aditya's = \type{mathalign.pdf}, where he defines in fact = a 
\type{\definemathalignment[flalign]}, 
(b= ut I prefer \type{FLalign]=85)} one = has

\definemathalignment[FLalign] [m=3D2, = distance=3D5em plus 1 fil] %We need to set a default value for = m

Curiouslearn'  input = was:
\startformula
\startalign
\NC\text{\bf = Example: }  \frac{d(4x^{2})}{dx} =3D 4
\frac{dx^{2}}{dx} = =3D 4 (2x) =3D 8x.\NC{ = }\NR
\stopalign
\stopformula

= \startformula
\startFLalign %% here you can add [m=3D2] or = [m=3D3] if you need more columns
\NC\text{\bf Example: } =  \frac{d(4x^{2})}{dx} =3D 4
\frac{dx^{2}}{dx} =3D 4 (2x) = =3D 8x.\NC \NC \NR %% note twice = \NC
\stopFLalign
\stopformula

\stoptext
%%%%%% end

Best = regards: OK

On 30 nov. 2009, at 00:45, = Curiouslearn wrote:

Hi,
Can someone please help with the alignment of =  the 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]

\startt= ext

\startformula\startalign[align=3D{left}]
= \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} =3D = 4
\frac{dx^{2}}{dx} =3D 4 (2x) =3D 8x.\NC{ = }\NR
\stopalign\stopformula

\stoptext
_______________________= ____________________________________________________________
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 =  : http://foundry.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

Otared.Kavian@math.uvsq.fr<= /div>



= --Apple-Mail-3--60110670-- --===============1458925748== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1458925748==--