mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-05 05:18:21 +00:00
Copy across some mathjax config from v1, seems to fix artefacts in rendering
This commit is contained in:
parent
db518e16aa
commit
9af906b7dc
1 changed files with 11 additions and 4 deletions
|
@ -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: [ ['$$','$$'], ["\\[","\\]"] ]
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue