Show More
@@ -1,23 +1,23 b'' | |||||
1 | {%- macro mathjax() -%} |
|
1 | {%- macro mathjax() -%} | |
2 | <!-- Load mathjax --> |
|
2 | <!-- Load mathjax --> | |
3 |
<script src="https://c |
|
3 | <script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script> | |
4 | <!-- MathJax configuration --> |
|
4 | <!-- MathJax configuration --> | |
5 | <script type="text/x-mathjax-config"> |
|
5 | <script type="text/x-mathjax-config"> | |
6 | MathJax.Hub.Config({ |
|
6 | MathJax.Hub.Config({ | |
7 | tex2jax: { |
|
7 | tex2jax: { | |
8 | inlineMath: [ ['$','$'], ["\\(","\\)"] ], |
|
8 | inlineMath: [ ['$','$'], ["\\(","\\)"] ], | |
9 | displayMath: [ ['$$','$$'], ["\\[","\\]"] ], |
|
9 | displayMath: [ ['$$','$$'], ["\\[","\\]"] ], | |
10 | processEscapes: true, |
|
10 | processEscapes: true, | |
11 | processEnvironments: true |
|
11 | processEnvironments: true | |
12 | }, |
|
12 | }, | |
13 | // Center justify equations in code and markdown cells. Elsewhere |
|
13 | // Center justify equations in code and markdown cells. Elsewhere | |
14 | // we use CSS to left justify single line equations in code cells. |
|
14 | // we use CSS to left justify single line equations in code cells. | |
15 | displayAlign: 'center', |
|
15 | displayAlign: 'center', | |
16 | "HTML-CSS": { |
|
16 | "HTML-CSS": { | |
17 | styles: {'.MathJax_Display': {"margin": 0}}, |
|
17 | styles: {'.MathJax_Display': {"margin": 0}}, | |
18 | linebreaks: { automatic: true } |
|
18 | linebreaks: { automatic: true } | |
19 | } |
|
19 | } | |
20 | }); |
|
20 | }); | |
21 | </script> |
|
21 | </script> | |
22 | <!-- End of mathjax configuration --> |
|
22 | <!-- End of mathjax configuration --> | |
23 | {%- endmacro %} No newline at end of file |
|
23 | {%- endmacro %} |
General Comments 0
You need to be logged in to leave comments.
Login now