mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Copy across some mathjax config from v1, seems to fix artefacts in rendering
This commit is contained in:
@@ -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: [ ['$$','$$'], ["\\[","\\]"] ]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user