aboutsummaryrefslogtreecommitdiff
path: root/_includes/math.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/math.html')
-rw-r--r--_includes/math.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/_includes/math.html b/_includes/math.html
new file mode 100644
index 0000000..d8697fc
--- /dev/null
+++ b/_includes/math.html
@@ -0,0 +1,18 @@
+<script type="text/x-mathjax-config">
+ MathJax.Hub.Config({
+ jax: ["input/TeX","input/MathML","output/SVG", "output/CommonHTML"],
+ extensions: ["tex2jax.js","mml2jax.js","MathMenu.js","MathZoom.js", "CHTML-preview.js"],
+ TeX: {
+ extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
+ },
+ tex2jax: {
+ inlineMath: [ ['$','$'], ["\\(","\\)"] ],
+ displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
+ processEscapes: true,
+ processEnvironments: true
+ },
+ "HTML-CSS": { availableFonts: ["TeX"] }
+ });
+ </script>
+<script type="text/javascript"
+ src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML-full"></script> \ No newline at end of file