mathjax-config.js 730 B

12345678910111213141516171819202122232425262728
  1. /* mathjax-loader.js file */
  2. /* ref: http://facelessuser.github.io/pymdown-extensions/extensions/arithmatex/ */
  3. (function (win, doc) {
  4. win.MathJax = {
  5. config: ["MMLorHTML.js"],
  6. extensions: ["tex2jax.js"],
  7. jax: ["input/TeX"],
  8. tex2jax: {
  9. inlineMath: [ ["\\(","\\)"] ],
  10. displayMath: [ ["\\[","\\]"] ]
  11. },
  12. TeX: {
  13. TagSide: "right",
  14. TagIndent: ".8em",
  15. MultLineWidth: "85%",
  16. equationNumbers: {
  17. autoNumber: "AMS",
  18. },
  19. unicode: {
  20. fonts: "STIXGeneral,'Arial Unicode MS'"
  21. }
  22. },
  23. displayAlign: 'center',
  24. showProcessingMessages: false,
  25. messageStyle: 'none'
  26. };
  27. })(window, document);