On Wed, 19 Aug 2009, Wolfgang Schuster wrote:
And with \frac it can be configured at context low level (why no key for \setupmathematics?)
\chardef\mathfracmode=1 % 0=auto, 1=displaystyle, 2=textstyle, 3=scriptstyle, 4=scriptscriptstyle, 5=mathstyle
$\frac{a}{b}$
I am thinking of incoprorating a "nath like" frac in ConTeXt. So, we can have \definemathfraction[frac][style=...] where style can take values default: the current frac implementation auto: the nath like implementation displaystyle: the current dfrac implementation textstyle: the current tfrac implementation scriptstyle/scriptscriptstyle: (not sure when they would be needed) I need to check what is the difference between mathfracmode=0 and 5. We can also interface to vulgar fractions. Aditya