minimal CDN-free MathJax package
Go to file
ed barz 965f9eaef8 TexMath wiki book link added 2019-12-31 00:50:20 +01:00
config initial commit 2019-12-29 15:28:33 +01:00
fonts/HTML-CSS/TeX/woff initial commit 2019-12-29 15:28:33 +01:00
jax initial commit 2019-12-29 15:28:33 +01:00
LICENSE Update 'LICENSE' 2019-12-30 13:37:42 +01:00
MathJax.js initial commit 2019-12-29 15:28:33 +01:00
README.md TexMath wiki book link added 2019-12-31 00:50:20 +01:00

README.md

MathJax TeX woff

mathjax-tex-woff is a minimal MathJax package optimized to work with TeX syntax and woff fonts.

This repo is a copy of Tibor Simon's Github without the MathJax-2.6.1-base dir.

Usage

To download: $ git clone https://git.brz9.dev/ed/mathjax-tex-woff.git

In the head of your html page, load MathJax.js with the config setting:

<script type="text/javascript" async src="path/to/mathjax-tex-woff/MathJax.js?config=TeX-AMS_CHTML"></script>

Before the closing </body> tag add the following script:

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {
  inlineMath: [ ['$','$'], ["\\(","\\)"] ],
  processEscapes: true
  }
  });
</script>

Styling with CSS

Since this package uses MathJax's CHTML output, the color can be set directly in the html tag.

Here is an exemple

For more info:

License

While MathJax is released under the Apache License, Tibor Simon made his build available under the MIT License (wich is an okay thing to do, to the best of my knowledge) so I'll follow his wish.