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

Switching to HTML-CSS render

parent 3419f615
No related branches found
No related tags found
1 merge request!37Fixing floating inline math mode
Pipeline #121510 passed
MathJax.Hub.Config({
jax: ["input/TeX", "output/CommonHTML" , "output/SVG"],
jax: ["input/TeX", "output/HTML-CSS" , "output/SVG"],
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
......
.mjx-chtml {
.mjx-html {
overflow-x: auto; /* Horizontally scroll long equations. */
overflow-y: hidden;
}
.MathJax *, .MathJax_Display * { vertical-align: baseline }
.MathJax, .MathJax_Display { vertical-align: baseline }
......@@ -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_CHTML'
- 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS_HTML'
- '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