ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: ntg-context@ntg.nl
Subject: Re: Displayed formula
Date: Thu, 19 Jul 2007 11:48:03 -0400	[thread overview]
Message-ID: <20070719114803.vn6r2tm5wcgoswwc@web.mail.umich.edu> (raw)
In-Reply-To: <48A48705-4972-4FE5-A2CA-EAEA9391D792@mpq.mpg.de>

Quoting Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>:

> Wolfgang, Jelle,
>
> thanks for your suggestions ... problem solved!

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?

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  : 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 15:48 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 [this message]
2007-07-19 16:41       ` Oliver Buerschaper
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=20070719114803.vn6r2tm5wcgoswwc@web.mail.umich.edu \
    --to=adityam@umich.edu \
    --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).