On 11/18/2013 9:41 PM, Aditya Mahajan wrote:
Hi,
In MkII, it was possible to change the limits on integrals using
\setupmathematics[integral=...] % limits, nolimits, displaylimits
that would affect how \int, \iint, \iiint, \oint, etc behaved.
I can see two ways of definining a similar feature in MkIV.
1. Define \intop, \iintop, etc in char-def.lua and then somewhere define:
\define\int{\intop\intlimits} \define\iint{\intop\intlimits}
etc.
2. Define a new mathclass "intop" and use that in char-def.lua. Then, in the appropriate math-*.lua file, map intop to the appropriate macro.
What would be the best way to go?
i prefer 2 (as these set the defaults) and we can make a definer for specific variants if needed (at all) is intop the best name? (we don't need to be sparse) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------