[NTG-context] Font too small with a macro
Günter Kolousek
guenter at ko-sek.at
Sat Apr 23 22:47:05 CEST 2022
Hi,
I see... Thanx, also for the reference to \definemathcommand!
Best,
Günter
Mikael Sundqvist via ntg-context @ 2022-04-23 17:12 +02:
> Hi,
>
> be careful with spacing. Try
>
> \protected\def\Exp{\normal exp}
> \startformula
> \exp x = \Exp x.
> \stopformula
>
> If you need more math functions, you can try (here for arsinh):
>
> \definemathcommand[arsinh][nolop]{\mfunction{arsinh}}
>
> Best, Mikael
>
> On Sat, Apr 23, 2022 at 5:03 PM Günter Kolousek via ntg-context
> <ntg-context at ntg.nl> wrote:
>>
>>
>> Hi,
>>
>> if I replace your definition of exp by
>>
>> \protected\def\exp{\normal exp}
>>
>> it works well (at least on my installation of lmtx), but
>> I'm just a beginner in using context...
>>
>> Best,
>> Günter
>>
>>
>> Mikael Sundqvist via ntg-context @ 2022-04-23 15:27 +02:
>>
>> > On Sat, Apr 23, 2022 at 12:11 PM Fabrice Couvreur via
>> > ntg-context
>> > <ntg-context at ntg.nl> wrote:
>> >>
>> >> Hello,
>> >> If I compile with context the expected result is correct but
>> >> with lmtx the font under the square root is smaller.
>> >> Thank you
>> >> Fabrice
>> >>
>> >> \protected\def\exp{\text{\normal exp}}
>> >>
>> >> \starttext
>> >> \startformula
>> >> \sqrt{\exp(x)}=\exp\left(\frac{x}{2}\right).
>> >> \stopformula
>> >> \stoptext
>> >
>> > Hi,
>> >
>> > without your redefinition of \exp it looks fine (exp is
>> > already
>> > defined). Does that solve your problem, or are you doing
>> > something
>> > else, and this exp was just an example?
>> >
>> > Best, Mikael
>> > ___________________________________________________________________________________
>> > 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
>> > ___________________________________________________________________________________
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
More information about the ntg-context
mailing list