From: Aditya Mahajan <adityam@umich.edu>
To: ntg-context@ntg.nl
Subject: Re: Displayed formula
Date: Thu, 19 Jul 2007 16:22:41 -0400 [thread overview]
Message-ID: <20070719162241.hmc6dxmw68c4oc8s@web.mail.umich.edu> (raw)
In-Reply-To: <6BCCA1CF-923F-445A-B7DF-9E3EFB7AB72A@mpq.mpg.de>
Quoting Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>:
>> 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!
I thought that it was easy, but I can not get it working.... Here is a
much simpler alternative (if you do not use font switching feature of
formulas)
\unprotected\setvalue{\e!start\v!formula}{\dostartformula{}[]}
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-07-19 20:22 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
2007-07-19 20:22 ` Aditya Mahajan [this message]
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=20070719162241.hmc6dxmw68c4oc8s@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).