ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Morgan Brassel <morgan.brassel@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: A few questions about aligned maths
Date: Fri, 14 Mar 2008 01:53:13 +0100	[thread overview]
Message-ID: <200803140153.13072.morgan.brassel@free.fr> (raw)
In-Reply-To: <alpine.DEB.1.00.0803131941440.32106@nqv-yncgbc>

Le Friday 14 March 2008 00:48:55 Aditya Mahajan, vous avez écrit :
> So, will this user interface be enough:
>
> \startformula \startmultline
>    \NC line 1 \FR
>    \NC line 2 \MR
>    \NC line 3 \LR
> \stopmultline \stopformula
>
> Lines with \FR are flush left, lines with \MR are centered, and lines with
> \LR are right flushed. (First row, middle row, last row; as in tables).
> multline also has \pushleft and \pushright with go against the ConTeXt way
> of things.

It seems great to me. Would it be possible to use \FR ou \LR for intermediate 
lines? It could be a way to get the same result as \pushleft and \pushright 
in amsmath. Anyway, I'm not sure this is a very useful feature: centered 
lines in the middle is clearly the best choice (at least for me!).

> It is also possible to just have \NR at each row, and let ConTeXt figure
> out the correct flushing. That will involve a two-pass algorithm, and I
> will give that a try.

If the use of \FR and \LR can address the problem of \pushleft and \pushright, 
the first solution would be more powerful... And maybe it's more coherent 
with ConTeXt tables.

> The other thing is placement of equation numbers. It is easy to implement
> multline so that equation number is always centered. I am not sure if the
> current ConTeXt mechanism allows for equation number to be placed on the
> bottom (similar to tbtags options).
>
> Aditya

As multline is supposed to be used to typeset one only equation, I guess the 
choice made in amsmath is the best for tag placement: last line if placed 
right and first line if placed left. But if it's not possible currently, a 
centered tag would not hurt me at all...

Morgan
___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2008-03-14  0:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  1:13 Morgan Brassel
2008-03-13 12:23 ` Aditya Mahajan
2008-03-13 18:16   ` Morgan Brassel
2008-03-13 23:48     ` Aditya Mahajan
2008-03-14  0:53       ` Morgan Brassel [this message]
2008-03-14  7:13       ` Wolfgang Schuster
2008-03-14 20:45         ` Aditya Mahajan
2008-03-23  5:31 ` Aditya Mahajan
2008-03-24  0:00   ` Morgan Brassel
2008-03-24 10:19     ` Hans Hagen
2008-03-24 12:17       ` Aditya Mahajan
2009-01-18  4:56         ` Dave
2009-01-19 14:52           ` Aditya Mahajan

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=200803140153.13072.morgan.brassel@free.fr \
    --to=morgan.brassel@free.fr \
    --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).