### Re: [NTG-context] Problem with a macro

Hi Wolfgang, Thank you for your suggestion. I will now consider the following macro : \setupmathematics[integral=nolimits] \unexpanded\def\integ#1#2#3{\math{\int_{#1}^{#2}{#3}\,\diff x}} \starttext \startformula \integ{0}{1}{g(x)}=1 \stopformula \stoptext Fabrice 2018-02-23 15:03 GMT+01:00

### Re: [NTG-context] Problem with a macro

Fabrice Couvreur 22. Februar 2018 um 22:15 Hi, How to make the numbers of the integral are on the right with the macro of Hans ? The position of the limits are fixed for the \autointegral command. Wolfgang

### Re: [NTG-context] Problem with a macro

Hi, How to make the numbers of the integral are on the right with the macro of Hans ? Thanks Fabrice \setupmathdelimiter[integral][rightoffset=-3mu,exact=yes,factor=2] \unexpanded\def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\,\diff x}} \starttext \setupmathematics[integral=nolimits]

### Re: [NTG-context] Problem with a macro

Jeong Dal 12. Februar 2018 um 00:31 Dear Otared, All of your examples yield the same output in which the numbers locate at the top and at the bottom of the integral sign. Is it what you expected? I am looking for a way to place numbers at the right of the integral

### Re: [NTG-context] Problem with a macro

Dear Otared, All of your examples yield the same output in which the numbers locate at the top and at the bottom of the integral sign. Is it what you expected? I am looking for a way to place numbers at the right of the integral sign under the \startformula … \stopformula environment as the

### Re: [NTG-context] Problem with a macro

Hi Dalyoung, You are right regarding the unnatural way of using \autointegral. An easy way to use the \autointegral command in a more natural way is to define one’s own macro, as in the following: \setupmathdelimiter[integral][rightoffset=-3mu,exact=yes,factor=2]

### Re: [NTG-context] Problem with a macro

Fabrice Couvreur 11. Februar 2018 um 09:35 Hi Hans, The macro that you proposed me worked very well but since my update of context standalone, it does not work any more. Thank you. Fabrice

### Re: [NTG-context] Problem with a macro

Dear Otared, As you said, it is working well. However, the numbers 1, 4 located at the top and the bottom of the integral sign which is not usual in math. I have seen a discussion about such an output, but I may not see the result which I want. As you see in the following example, only the

### Re: [NTG-context] Problem with a macro

Hi Otared, I also found that by removing this line, it worked. However, if Hans proposed this macro, this line should have utility no ? Fabrice 2018-02-11 10:01 GMT+01:00 Otared Kavian : > Hi Fabrice, > > If you remove the line >

### Re: [NTG-context] Problem with a macro

Hi Fabrice, If you remove the line \setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2] then your example typesets well with the last beta version 2018.02.09 00:04. Best regards: OK > On 11 Feb 2018, at 09:35, Fabrice Couvreur > wrote: >