##// END OF EJS Templates
html title
Matthias BUSSONNIER -
Show More
@@ -1,45 +1,46 b''
1 1 {%- extends 'basichtml.tpl' -%}
2 2
3 3 {%- block header -%}
4 4 <html>
5 5 <head>
6 6 <meta charset="UTF-8">
7 <title>[{{nb.metadata.name}}]</title>
7 8 {% for css in inlining.css -%}
8 9 <style type="text/css">
9 10 {{css}}
10 11 </style>
11 12 {% endfor %}
12 13 <script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" type="text/javascript">
13 14
14 15 </script>
15 16 <script type="text/javascript">
16 17 init_mathjax = function() {
17 18 if (window.MathJax) {
18 19 // MathJax loaded
19 20 MathJax.Hub.Config({
20 21 tex2jax: {
21 22 inlineMath: [ ['$','$'], ["\\(","\\)"] ],
22 23 displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
23 24 },
24 25 displayAlign: 'left', // Change this to 'center' to center equations.
25 26 "HTML-CSS": {
26 27 styles: {'.MathJax_Display': {"margin": 0}}
27 28 }
28 29 });
29 30 MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
30 31 }
31 32 }
32 33 init_mathjax();
33 34 </script>
34 35 </head>
35 36 {%- endblock header -%}
36 37
37 38
38 39 {% block body %}
39 40 <body>{{ super() }}
40 41 </body>
41 42 {%- endblock body %}
42 43
43 44
44 45 {% block footer %}
45 46 </html>{% endblock footer %}
General Comments 0
You need to be logged in to leave comments. Login now