From ba8f2f8e6b0e7196f3b6ef52597a701eb7e4a427 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz>
Date: Wed, 15 Feb 2017 11:00:54 +0100
Subject: [PATCH] Enable MathJax

---
 docs.it4i/snippets/mathjax.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 docs.it4i/snippets/mathjax.md

diff --git a/docs.it4i/snippets/mathjax.md b/docs.it4i/snippets/mathjax.md
new file mode 100644
index 000000000..4a3c0d865
--- /dev/null
+++ b/docs.it4i/snippets/mathjax.md
@@ -0,0 +1,23 @@
+<script type="text/x-mathjax-config">
+MathJax.Hub.Config({
+    config: ["MMLorHTML.js"],
+    jax: ["input/TeX", "output/HTML-CSS", "output/NativeMML"],
+    extensions: ["tex2jax.js", "MathMenu.js", "MathZoom.js"],
+    tex2jax: {
+        inlineMath: [ ["\\(","\\)"] ],
+        displayMath: [ ["\\[","\\]"] ]
+    },
+    TeX: {
+        TagSide: "right",
+        TagIndent: ".8em",
+        MultLineWidth: "85%",
+        equationNumbers: {
+            autoNumber: "AMS",
+        }
+    },
+    displayAlign: 'left',
+    showProcessingMessages: false,
+    messageStyle: 'none'
+});
+</script>
+<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
-- 
GitLab