Skip to content
Snippets Groups Projects
Commit 56eb847a authored by Maciej Topyla's avatar Maciej Topyla
Browse files

Fix Mathjax CommonHTML rendering issue

parent 93aa16e1
No related branches found
No related tags found
1 merge request!39Fixing the vertical offset in inline math rendered by mathjax output/CommonHTML
Pipeline #123198 passed
MathJax.Hub.Config({
jax: ["input/TeX" , "output/SVG"],
"fast-preview": {disabled:true},
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
},
extensions: ["MathMenu.js", "MathZoom.js"]
});
\ No newline at end of file
});
.mjx-chtml {
overflow-y: hidden;
overflow-x: auto;
.MathJax_Display, .MJXc-display, .MathJax_SVG_Display {
overflow-x: auto;
overflow-y: hidden;
}
......@@ -56,7 +56,7 @@ extra_css:
- 'styles/mathjax_overflowfix.css'
extra_javascript:
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_SVG'
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_CHTML'
- 'scripts/mathjaxhelper.js'
copyright: "Copyright © 2019-2022 Delft University of Technology, CC-BY-SA 4.0."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment