[NTG-context] integral symbol

Hans Hagen pragma at wxs.nl
Wed Dec 28 17:42:39 CET 2016


On 12/28/2016 2:02 PM, Fabrice Couvreur wrote:
> Hi Henri,
> Thank you for your suggestion.

The problem with integrals is that they don't adapt because they are not 
wrapped as delimiters (like left/right stuff). If \int were a command 
taking an argument it would be easier. As in:


\starttext

\setupmathextensible[integral][rightoffset=-3mu,exact=yes,factor=2]

\startlines
\ruledhbox{$\integral           f\frac{1}{2}$}
\ruledhbox{$\integral[factor=1] f\frac{1}{2}$}
\ruledhbox{$\integral[factor=3] f\frac{1}{2}$}
\stoplines

\startformula
     a =
     \autointegral{t}{b}1 +
     \autointegral{t}{b}{\frac{\frac{3}{4}}{\frac{1}{2}}} +
     \autointegral{t}{b}{\frac{\frac{\frac{\frac{1}{2}}{2}}{2}}{2}}
\stopformula

\stoptext



> Fabrice
>
> 2016-12-28 12:19 GMT+01:00 Henri Menke <henrimenke at gmail.com
> <mailto:henrimenke at gmail.com>>:
>
>     On 12/28/2016 11:39 AM, Fabrice Couvreur wrote:
>     > Hello,
>     > The integral symbol is little in inline math mode. Is it possible to have it bigger ?
>     > thank you,
>     > Fabrice
>     >
>     > \definetypeface [mainface] [rm]
>     >    [serif] [palatino]    [default]   [encoding=texnansi]
>     >
>     > \definetypeface [mainface] [ss]
>     >    [sans]  [helvetica]   [default]   [encoding=texnansi]
>     >
>     > \definetypeface [mainface] [tt]
>     >    [mono]  [palatino]    [default]   [encoding=texnansi]
>     >
>     > \definetypeface [mainface] [mm]
>     >    [math]  [palatino]    [default]   [encoding=texnansi]
>     >
>     > \setupbodyfont[mainface,11pt]
>     >
>     > \starttext
>     >
>     > L'aire hachurée se note \math{\int_1^3 k(x)\mathop{dx}}.
>
>     \math{\displaystyle\int_1^3 k(x)\diff x}
>
>     >
>     > L'aire hachurée se note :
>     >
>     > \startformula
>     >   \int_1^3 k(x)\mathop{dx}.
>     > \stopformula
>     >
>     > \stoptext
>     >
>     >
>     >
>     ___________________________________________________________________________________
>     > If your question is of interest to others as well, please add an
>     entry to the Wiki!
>     >
>     > maillist : ntg-context at ntg.nl <mailto:ntg-context at ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     <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/
>     <https://bitbucket.org/phg/context-mirror/commits/>
>     > wiki     : http://contextgarden.net
>     >
>     ___________________________________________________________________________________
>     >
>
>     ___________________________________________________________________________________
>     If your question is of interest to others as well, please add an
>     entry to the Wiki!
>
>     maillist : ntg-context at ntg.nl <mailto:ntg-context at ntg.nl> /
>     http://www.ntg.nl/mailman/listinfo/ntg-context
>     <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/
>     <https://bitbucket.org/phg/context-mirror/commits/>
>     wiki     : http://contextgarden.net
>     ___________________________________________________________________________________
>
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list