[NTG-context] Problem with a macro

Fabrice Couvreur fabrice1.couvreur at gmail.com
Sun Feb 25 12:43:28 CET 2018


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 Wolfgang Schuster <schuster.wolfgang at gmail.com>:

>
> Fabrice Couvreur <fabrice1.couvreur at gmail.com>
> 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
>
>
> ____________________________________________________________
> _______________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at 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
> ____________________________________________________________
> _______________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180225/5213361f/attachment.html>


More information about the ntg-context mailing list