aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/scripts.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index abd76f6..b087982 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -46,6 +46,9 @@
{{ if or .Params.mathjaxEnableSingleDollar (and .Site.Params.mathjaxEnableSingleDollar (ne .Params.mathjaxEnableSingleDollar false)) -}}
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]},
{{ end -}}
+ {{ if or .Params.mathjaxEnableAutoNumber (and .Site.Params.mathjaxEnableAutoNumber (ne .Params.mathjaxEnableAutoNumber false)) -}}
+ TeX: {equationNumbers: {autoNumber: "AMS"}},
+ {{ end -}}
showProcessingMessages: false,
messageStyle: 'none'
};