Skip to content
Snippets Groups Projects
Commit a6654ef9 authored by Erik Strand's avatar Erik Strand
Browse files

Add siunitx.js

This helps format SI units in MathJax.
parent 0134877c
Branches
No related tags found
No related merge requests found
<script type="text/x-mathjax-config"> <script type="text/x-mathjax-config">
MathJax.Ajax.config.path['siunitx'] = "{{ "/assets/js/" | real_relative_url }}";
MathJax.Hub.Config({ MathJax.Hub.Config({
extensions: [ extensions: [
"MathMenu.js", "MathMenu.js",
"MathZoom.js", "MathZoom.js",
"AssistiveMML.js", "AssistiveMML.js",
"a11y/accessibility-menu.js" "a11y/accessibility-menu.js",
"[siunitx]/siunitx.js",
], ],
jax: ["input/TeX", "output/CommonHTML"], jax: ["input/TeX", "output/CommonHTML"],
TeX: { TeX: {
...@@ -13,6 +15,7 @@ ...@@ -13,6 +15,7 @@
"AMSsymbols.js", "AMSsymbols.js",
"noErrors.js", "noErrors.js",
"noUndefined.js", "noUndefined.js",
"[siunitx]/siunitx.js"
], ],
equationNumbers: { equationNumbers: {
autoNumber: "AMS" autoNumber: "AMS"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment