ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Integral limits
@ 2013-11-18 20:41 Aditya Mahajan
  2013-11-18 21:12 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2013-11-18 20:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Thanks,
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-19  0:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-18 20:41 Integral limits Aditya Mahajan
2013-11-18 21:12 ` Hans Hagen
2013-11-18 22:45   ` Aditya Mahajan
2013-11-19  0:14     ` Hans Hagen

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).