ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Displayed formula
Date: Thu, 19 Jul 2007 18:41:06 +0200	[thread overview]
Message-ID: <6BCCA1CF-923F-445A-B7DF-9E3EFB7AB72A@mpq.mpg.de> (raw)
In-Reply-To: <20070719114803.vn6r2tm5wcgoswwc@web.mail.umich.edu>

> This thread brings up something that I have been thinking of for a
> while. Similar problems occur in amsmath aligned family which accepts
> an optional argument. mathtools.sty has an option so that the optional
> argument will work only if placed on the same line. In terms of  
> ConTeXt
> that means,
>
> \startformula[9pt]
> math
> \stopformula
>
> \startformula [9pt]
> math
> \stopformula
>
> will put the formula in 9pt font, while
> \startformula
>   [9pt]
>   math
> \stopformula
>
> will display "[9pt] math". I have not looked into the details of how
> mathtools implements this, but it should be possible to port it to
> context. Will something like this be useful to have, or is adding
> \relax once in a while alright?

I guess it'll depend on how hard this is to implement. At the moment  
I'm dealing with lots of Lie brackets so I'd certainly appreciate  
this feature very much ... in my opinion it would also improve  
consistency: the same markup works for any kind of formula!

On the other hand one could also enforce the use of \[ whenever the  
glyph [ should be actually typeset. This would be the other road to  
consistency ;-)

Oliver


___________________________________________________________________________________
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:[~2007-07-19 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19 11:42 Oliver Buerschaper
2007-07-19 11:57 ` Wolfgang Schuster
2007-07-19 15:27   ` Oliver Buerschaper
2007-07-19 15:48     ` Aditya Mahajan
2007-07-19 16:41       ` Oliver Buerschaper [this message]
2007-07-19 20:22         ` Aditya Mahajan
2007-07-19 12:14 ` Jelle Huisman

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=6BCCA1CF-923F-445A-B7DF-9E3EFB7AB72A@mpq.mpg.de \
    --to=oliver.buerschaper@mpq.mpg.de \
    --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).