Copy across some mathjax config from v1, seems to fix artefacts in rendering

This commit is contained in:
Alasdair Smith 2018-07-23 16:03:49 +01:00
parent db518e16aa
commit 9af906b7dc

View file

@ -31,14 +31,21 @@ define [
extensions: ["Safe.js"]
messageStyle: "none"
imageFont:null
"HTML-CSS": { availableFonts: ["TeX"] },
"HTML-CSS":
availableFonts: ["TeX"]
# MathJax's automatic font scaling does not work well when we render math
# that isn't yet on the page, so we disable it and set a global font
# scale factor
scale: 110
matchFontHeight: false
TeX:
equationNumbers: { autoNumber: "AMS" },
equationNumbers: { autoNumber: "AMS" }
useLabelIDs: false
skipStartupTypeset: true
tex2jax:
processEscapes: true,
inlineMath: [ ["\\(","\\)"] ],
processEscapes: true
# Dollar delimiters are added by the mathjax directive
inlineMath: [ ["\\(","\\)"] ]
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
)