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]

\startformula
\int_{0}^{1} g(x)\,\diff x = 1
\stopformula

\startformula
\integ{1}{0}{g(x)}=1
\stopformula

\stoptext



2018-02-12 0:39 GMT+01:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

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 sign under the \startformula … \stopformula environment as the output of $\displaystyle\int_1^4 …$.

\starttext

\startformula
\int_{0}^{1} g(x)\,\diff x = 1
\stopformula

\setupmathematics[integral=nolimits]

\startformula
\int_{0}^{1} g(x)\,\diff x = 1
\stopformula

\setupmathematics[integral=limits]

\startformula
\int_{0}^{1} g(x)\,\diff x = 1
\stopformula

\stoptext


Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________