For instance:

\switchtobodyfont[21pt]

\startformula
\frac{MTC}{MTE}
\stopformula

is OK.

While

\switchtobodyfont[22pt]

\startformula
\frac{MTC}{MTE}
\stopformula

gives an error

but

\switchtobodyfont[22pt]

$\frac{MTC}{MTE}$ works fine.

Thanks

Below: part of the error message

tex error       > tex error on line 75 in file chapter8.tex: Dimension too large


<macro> \math_strut_htdp #1->\s!height \dimexpr \mathscale #1\fontcharht #1\c_math_strut     /\glyphscale \relax \s!depth \dimexpr \mathscale #1\fontchardp #1\c_math_strut /\glyphscale \relax <macro> \commalistcommand \vrule \s!width \zeropoint \normalexpanded {\math_strut_htdp {\mathstylefont \normalmathstyle }}
    \relax
<macro> \math_fraction_inner_normal #1#2->\Ustack {\math_frac_command_u {\usemathstyleparameter \mathfractionparameter {\m_fractions_strut_top     #1}}{\usemathstyleparameter \mathfractionparameter {\m_fractions_strut_bot #2}}}\math_frac_wrapup

<line 4.75> \frac{MTC}{MTE}

On 19/04/2021 09:35, Hans Hagen wrote:
On 4/19/2021 9:21 AM, thierry horsin wrote:
Hi again everybody

I have tested some more examples. This error occurs when I fix the current font size to 22 pt (for some slide purposes). For sizes lower than 22pt, I have no error messages.
can you make a MWE

-----------------------------------------------------------------
                                          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 via email to