Re: [NTG-context] Integral limits
On 11/18/2013 11:45 PM, Aditya Mahajan wrote: 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) Great. is intop the best name? (we don't need to be sparse) How about: integral or integral_operator? we have radical, limop, nolimop so maybe intop and nointop are ok (we can have verbose synonyms but then we also need them for lim) just wrap up what is needed and i'll look into it (or you can provide patches) 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 - ___ 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 ___
Re: [NTG-context] Integral limits
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) Great. is intop the best name? (we don't need to be sparse) How about: integral or integral_operator? 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 ___
Re: [NTG-context] Integral limits
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 - ___ 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 ___
[NTG-context] Integral limits
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 ___
Re: [NTG-context] Integral limits on wrong place
On 23-11-2011 17:21, Mikael P. Sundqvist wrote: On Tue, Nov 15, 2011 at 7:38 PM, Mikael P. Sundqvist wrote: Dear list, in the latest minimals (downloaded today 15 nov 2011) I get the integral limits placed below and above the integral sign, per default. %%% Example %\setupmathematics[integral=nolimits] \starttext $\int_a^b f(x)\, dx$ \startformula \int_a^b f(x)\, dx. \stopformula \stoptext %%% End of example The result is http://tmp.oblandat.se/integraltest.pdf I'd expect the limits to be placed more to the right. Even if the line \setupmathematics[integral=nolimits] is uncommented (as suggested on the wiki) nothing is improved. Is this something that has changed recently? I can add a \nolimits at every integral but that is not a nice option. It would be nice to have the integrals back as they used to be. With best regards (and thanks in advance), Mikael Dear list, also here no reply in a week, so I bump it. it just ends op my (large) stack of to-be-looked into so reminding helps Is it only me having this issue? Is there a fix? patch this in in math-int.mkiv: \appendtoks \mathintlimitmode\executeifdefined{\??mo::\v!integral::\@@mointegral}\zerocount \to \everysetupmathematics - 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 - ___ 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 ___
Re: [NTG-context] Integral limits on wrong place
On Tue, Nov 15, 2011 at 7:38 PM, Mikael P. Sundqvist wrote: > Dear list, > > in the latest minimals (downloaded today 15 nov 2011) I get the > integral limits placed below and above the integral sign, per default. > > %%% Example > %\setupmathematics[integral=nolimits] > \starttext > $\int_a^b f(x)\, dx$ > \startformula > \int_a^b f(x)\, dx. > \stopformula > \stoptext > %%% End of example > > The result is http://tmp.oblandat.se/integraltest.pdf > > I'd expect the limits to be placed more to the right. Even if the line > \setupmathematics[integral=nolimits] is uncommented (as suggested on > the wiki) nothing is improved. > > Is this something that has changed recently? I can add a \nolimits at > every integral but that is not a nice option. > > It would be nice to have the integrals back as they used to be. > > With best regards (and thanks in advance), Mikael > Dear list, also here no reply in a week, so I bump it. Is it only me having this issue? Is there a fix? Best regards, Mikael ___ 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 ___
[NTG-context] Integral limits on wrong place
Dear list, in the latest minimals (downloaded today 15 nov 2011) I get the integral limits placed below and above the integral sign, per default. %%% Example %\setupmathematics[integral=nolimits] \starttext $\int_a^b f(x)\, dx$ \startformula \int_a^b f(x)\, dx. \stopformula \stoptext %%% End of example The result is http://tmp.oblandat.se/integraltest.pdf I'd expect the limits to be placed more to the right. Even if the line \setupmathematics[integral=nolimits] is uncommented (as suggested on the wiki) nothing is improved. Is this something that has changed recently? I can add a \nolimits at every integral but that is not a nice option. It would be nice to have the integrals back as they used to be. With best regards (and thanks in advance), Mikael ___ 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 ___