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
Hi,
I can confirm. The same problem goes with $\sqrt{\frac{2}{3}}$.
/Mikael
On Thu, Jun 11, 2020 at 1:53 PM Jairo A. del Rio
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 / 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
___________________________________________________________________________________
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
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Jairo A. del Rio
-
Mikael Sundqvist