##// END OF EJS Templates
Merge pull request 56 from dwf/nbconvert...
Merge pull request 56 from dwf/nbconvert Make repository PEP8-compliant So that we don't introduce poorly formatted code into the main repository when we merge. Conflicts: converters/html.py converters/latex.py converters/python.py nbconvert.py tests/test_simple.py

File last commit:

r7913:9203caef
r8766:0f9a80e1 merge
Show More
initmathjax.js
16 lines | 534 B | application/javascript | JavascriptLexer
MinRK
add some basic css/js for HTML export
r7913 init_mathjax = function() {
if (window.MathJax) {
// MathJax loaded
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
displayAlign: 'left', // Change this to 'center' to center equations.
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 0}}
}
});
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
}
}
init_mathjax();