Quoting Oliver Buerschaper <[EMAIL PROTECTED]>:

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

Reply via email to