File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -404,10 +404,9 @@ function ConfigureMathJax() {
404404 // Set CHTML data for jax
405405 //
406406 jax . CHTML . ex = ex = ( data || defaults ) . ex ;
407- // jax.CHTML.em = em = ex / CHTML.TEX.x_height * 1000; // scale ex to x_height
408- jax . CHTML . em = em = ex * 2 ;
409- jax . CHTML . cwidth = width / em * 1000 ;
410- jax . CHTML . lineWidth = ( linebreak ? width / em * 1000 : CHTML . BIGDIMEN ) ;
407+ jax . CHTML . em = em = ex / CHTML . TEX . x_height ; // scale ex to x_height
408+ jax . CHTML . cwidth = width / em ;
409+ jax . CHTML . lineWidth = ( linebreak ? width / em : CHTML . BIGDIMEN ) ;
411410 jax . CHTML . scale = 1 ; jax . CHTML . fontsize = "100%" ;
412411 }
413412 //
Original file line number Diff line number Diff line change @@ -400,10 +400,9 @@ function ConfigureMathJax() {
400400 // Set CHTML data for jax
401401 //
402402 jax . CHTML . ex = ex = ( data || defaults ) . ex ;
403- // jax.CHTML.em = em = ex / CHTML.TEX.x_height * 1000; // scale ex to x_height
404- jax . CHTML . em = em = ex * 2 ;
405- jax . CHTML . cwidth = width / em * 1000 ;
406- jax . CHTML . lineWidth = ( linebreak ? width / em * 1000 : CHTML . BIGDIMEN ) ;
403+ jax . CHTML . em = em = ex / CHTML . TEX . x_height ; // scale ex to x_height
404+ jax . CHTML . cwidth = width / em ;
405+ jax . CHTML . lineWidth = ( linebreak ? width / em : CHTML . BIGDIMEN ) ;
407406 jax . CHTML . scale = 1 ; jax . CHTML . fontsize = "100%" ;
408407 }
409408 //
You can’t perform that action at this time.
0 commit comments