ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Günter Kolousek via ntg-context" <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: "Günter Kolousek" <guenter@ko-sek.at>
Subject: Re: Font too small with a macro
Date: Sat, 23 Apr 2022 16:30:05 +0200	[thread overview]
Message-ID: <87v8uzx465.fsf@ko-sek.at> (raw)
In-Reply-To: <CAHy-LL9YjMSaNtyz4=55sdENcB21LXLRL+hMQOcnZa3xwbQrsQ@mail.gmail.com>


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@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@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@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
___________________________________________________________________________________

  parent reply	other threads:[~2022-04-23 14:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-23 10:05 Fabrice Couvreur via ntg-context
2022-04-23 13:27 ` Mikael Sundqvist via ntg-context
2022-04-23 14:09   ` Fabrice Couvreur via ntg-context
2022-04-23 14:30   ` Günter Kolousek via ntg-context [this message]
2022-04-23 15:12     ` Mikael Sundqvist via ntg-context
2022-04-23 20:47       ` Günter Kolousek via ntg-context

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=87v8uzx465.fsf@ko-sek.at \
    --to=ntg-context@ntg.nl \
    --cc=guenter@ko-sek.at \
    /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).