ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Curiouslearn <curiouslearn@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math Alignment - start equation at left margin
Date: Mon, 30 Nov 2009 18:54:26 -0500	[thread overview]
Message-ID: <3b4b12310911301554p1092dce1uf186d3e9099c6b8@mail.gmail.com> (raw)
In-Reply-To: <8840E08C-8A88-437C-8107-EE0BBB150C82@gmail.com>

Otared, thanks very much for bringing Aditya's article to my
attention. The method worked well.



On Mon, Nov 30, 2009 at 2:50 AM, Otared Kavian <otared@gmail.com> wrote:
> Sorry for sending this again: I forgot a closing "}" in  \type{FLalign]…)}…
> Hi,
> Is this what you want to achieve:
> %%%%%% begin
> \starttext
> From Aditya's \type{mathalign.pdf}, where he defines in fact a
> \type{\definemathalignment[flalign]},
> (but I prefer \type{FLalign]…)} one has
> \definemathalignment[FLalign] [m=2, distance=5em 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} = 4
> \frac{dx^{2}}{dx} = 4 (2x) = 8x.\NC{ }\NR
> \stopalign
> \stopformula
> \startformula
> \startFLalign %% here you can add [m=2] or [m=3] if you need more columns
> \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} = 4
> \frac{dx^{2}}{dx} = 4 (2x) = 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=left 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={left}]
> \NC\text{\bf Example: }  \frac{d(4x^{2})}{dx} = 4
> \frac{dx^{2}}{dx} = 4 (2x) = 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.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>
> %%%%%%%%%%%%%%%%%%
> Otared Kavian
> Département de Mathématiques
> Université de Versailles Saint-Quentin
> Bâtiment Fermat
> 45 aveue des Etats Unis
> 78035 Versailles cedex
> Téléphone: +33 1 39 25 46 42
> Secrétariat: +33 1 39 25 46 44
> Secrétariat: +33 1 39 25 46 46
> e-mail: Otared.Kavian@math.uvsq.fr
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
>
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2009-11-30 23:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-29 23:45 Curiouslearn
2009-11-30  7:40 ` Otared Kavian
2009-11-30  7:50 ` Otared Kavian
2009-11-30 23:54   ` Curiouslearn [this message]
2009-12-15 11:41 ` Aditya Mahajan
2009-12-15 11:56   ` Hans Hagen
2009-12-16  3:41   ` Curiouslearn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3b4b12310911301554p1092dce1uf186d3e9099c6b8@mail.gmail.com \
    --to=curiouslearn@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).