##// END OF EJS Templates
Fixed mathjax macro to be synced with the mathjax config in the live notebook.
damianavila -
Show More
@@ -2,14 +2,19 b''
2 <!-- MathJax configuration -->
2 <!-- MathJax configuration -->
3 <script type="text/x-mathjax-config">
3 <script type="text/x-mathjax-config">
4 MathJax.Hub.Config({
4 MathJax.Hub.Config({
5 tex2jax: {
5 tex2jax: {
6 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
6 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
7 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
7 displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
8 },
8 processEscapes: true,
9 displayAlign: 'left', // Change this to 'center' to center equations.
9 processEnvironments: true
10 "HTML-CSS": {
10 },
11 styles: {'.MathJax_Display': {"margin": 0}}
11 // Center justify equations in code and markdown cells. Elsewhere
12 }
12 // we use CSS to left justify single line equations in code cells.
13 displayAlign: 'center',
14 "HTML-CSS": {
15 styles: {'.MathJax_Display': {"margin": 0}},
16 linebreaks: { automatic: true }
17 }
13 });
18 });
14 </script>
19 </script>
15 <!-- End of mathjax configuration -->
20 <!-- End of mathjax configuration -->
1 NO CONTENT: file was removed
NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now