ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Mikael Sundqvist <mickep@gmail.com>
Subject: Re: Funny radicals in LMTX
Date: Thu, 11 Jun 2020 19:50:41 +0200	[thread overview]
Message-ID: <94a07edd-4615-a25f-b9a4-c447a8a83efb@xs4all.nl> (raw)
In-Reply-To: <CAHy-LL-BHa3tQzeWZxyBTG5GiB4KkKZTgBZ+4FjZQ=3zS5bmmg@mail.gmail.com>

On 6/11/2020 2:50 PM, Mikael Sundqvist wrote:
> Hi,
> 
> I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.

put this in cont-new.mkiv:

     \unexpanded\def\styledrootradical#1#2%
       {\normalexpanded{\rootradical
          {\normalunexpanded{#1}}%
          {\noexpand\triggermathstyle{\number\normalmathstyle}%
           \normalunexpanded{#2}}}}

but next upload test again (as i'm experimenting with it a bit just for 
the sake of cleaner code).

Hans

> /Mikael
> 
> On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio 
> <jairoadelrio6@gmail.com <mailto:jairoadelrio6@gmail.com>> wrote:
> 
>     Hi list! Nesting radicals in LMTX give a funny font size compared
>     with LuaTeX, which gives the correct output. I cleaned the cache,
>     just in case. I attach code and outputs. Thank you in advance.
> 
>     \startTEXpage
>     \startformula
>     a_{2n} = \sqrt{2-\sqrt{4-a_{2n}}}
>     \stopformula
>     \stopTEXpage
> 
>     Jairo :D
>     ___________________________________________________________________________________
>     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
>     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
> ___________________________________________________________________________________
> 


-- 

-----------------------------------------------------------------
                                           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:[~2020-06-11 17:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 11:52 Jairo A. del Rio
2020-06-11 12:50 ` Mikael Sundqvist
2020-06-11 17:50   ` Hans Hagen [this message]

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=94a07edd-4615-a25f-b9a4-c447a8a83efb@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=mickep@gmail.com \
    --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).