##// END OF EJS Templates
Fixes to the latex rendering by adjusting the MathJax config.
Brian Granger -
Show More
@@ -967,7 +967,10 b' $(document).ready(function () {'
967 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
967 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
968 displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
968 displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
969 },
969 },
970 displayAlign: 'left' // Change this to 'center' to center equations.
970 displayAlign: 'left', // Change this to 'center' to center equations.
971 "HTML-CSS": {
972 styles: {'.MathJax_Display': {"margin": 0}}
973 }
971 });
974 });
972
975
973 IPYTHON.notebook = new Notebook('div.notebook');
976 IPYTHON.notebook = new Notebook('div.notebook');
@@ -13,7 +13,7 b''
13 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
13 <!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
14
14
15 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> -->
15 <!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> -->
16 <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script>
16 <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
17
17
18 </head>
18 </head>
19
19
General Comments 0
You need to be logged in to leave comments. Login now