ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: integral symbol
Date: Wed, 28 Dec 2016 17:42:39 +0100	[thread overview]
Message-ID: <8d2add33-85b8-5a22-c7a3-c9ad70abde24@wxs.nl> (raw)
In-Reply-To: <CACyK-eoCB_vZNX8_rQ_eeoRAMbAxonJmT+TAviqfDA_GHK8AhQ@mail.gmail.com>

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@gmail.com
> <mailto:henrimenke@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@ntg.nl <mailto:ntg-context@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@ntg.nl <mailto:ntg-context@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@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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2016-12-28 16:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28 10:39 Fabrice Couvreur
2016-12-28 11:19 ` Henri Menke
2016-12-28 13:02   ` Fabrice Couvreur
2016-12-28 16:42     ` Hans Hagen [this message]
2016-12-28 17:14       ` Alan Braslau
2016-12-28 17:40         ` Hans Hagen
2016-12-29 11:12           ` Fabrice Couvreur
2016-12-29 12:06             ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d2add33-85b8-5a22-c7a3-c9ad70abde24@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).