Skip to content

Commit

Permalink
MathJax: use the CommonHTML renderer by default
Browse files Browse the repository at this point in the history
It does better on windows when rendering the vinculum of a square root
symbol.
  • Loading branch information
christianp committed Dec 13, 2024
1 parent 16c2061 commit 855f5cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/default/templates/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
displayMath: [['\\[','\\]'], ['$$','$$']],
processEscapes: true
},
"HTML-CSS": {
"CommonHTML": {
mtextFontInherit: true
},
skipStartupTypeset: true,
Expand All @@ -18,7 +18,7 @@
});
MathJax.Hub.processSectionDelay = 0;
</script>
<script type="text/javascript" src="{{options.mathjax_url}}/MathJax.js?config=TeX-AMS-MML_HTMLorMML.js"></script>
<script type="text/javascript" src="{{options.mathjax_url}}/MathJax.js?config=TeX-AMS_CHTML.js"></script>

<!-- numbas stuff -->
<script charset="UTF-8" type="text/javascript" src="scripts.js?build_time={{build_time}}" charset="utf-8"></script>
Expand Down

0 comments on commit 855f5cc

Please sign in to comment.