Permalink
Browse files

Fixes to the latex rendering by adjusting the MathJax config.

  • Loading branch information...
1 parent 9e126bc commit 6c644c6094744887aed87abcb809e44261d8fac6 @ellisonbg ellisonbg committed with ellisonbg May 3, 2011
@@ -967,7 +967,10 @@ $(document).ready(function () {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
},
- displayAlign: 'left' // Change this to 'center' to center equations.
+ displayAlign: 'left', // Change this to 'center' to center equations.
+ "HTML-CSS": {
+ styles: {'.MathJax_Display': {"margin": 0}}
+ }
});
IPYTHON.notebook = new Notebook('div.notebook');
@@ -13,7 +13,7 @@
<!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.11.custom.css" type="text/css" /> -->
<!-- <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script> -->
- <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" charset="utf-8"></script>
+ <script type="text/javascript" src="static/mathjax/MathJax.js?config=TeX-AMS_HTML" charset="utf-8"></script>
</head>

0 comments on commit 6c644c6

Please sign in to comment.