Browse code

Add MathJax configuration

Robert Cranston authored on 12/06/2020 13:54:40
Showing 1 changed files

... ...
@@ -173,6 +173,18 @@ $endfor$
173 173
     () => SVGInject(document.querySelectorAll('.figure > embed')),
174 174
   );
175 175
 </script>
176
+<script type="text/x-mathjax-config">
177
+  MathJax.Hub.Config({
178
+    TeX: {
179
+      equationNumbers: {
180
+        autoNumber: "AMS",
181
+      },
182
+      Macros: {
183
+        vec: ["{\\boldsymbol{#1}}", 1],
184
+      },
185
+    },
186
+  });
187
+</script>
176 188
 
177 189
 </body>
178 190
 </html>