From 79d61b7608aa8f81d8dfa9db7d7d404fa7477d8e Mon Sep 17 00:00:00 2001 From: edbarz9 Date: Mon, 30 Dec 2019 13:34:25 +0100 Subject: [PATCH] Add 'README.md' --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7aabba5 --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# MathJax TeX woff +mathjax-tex-woff is a minimal [MathJax](https://www.mathjax.org/) package optimized to work with TeX syntax and woff fonts. + +This repo is a copy of [Tibor Simon's Github](https://github.com/tiborsimon/mathjax-minimal-package) without the `MathJax-2.6.1-base` dir. + + +## Usage + +First, in the head of yout html page, load `MathJax.js` with the config setting: + +`` + +Then, before the closing `` tag add the following script: + +``` + +``` + +### Styling with CSS +Since this package uses MathJax's CHTML output, the color can be set directly in the html tag. + +[Here](https://file.brz9.dev/web/mathjax-tex-woff/exemple/taylor.html) is an exemple + +For more info: +* [MathJax Documentation](https://docs.mathjax.org/en/v2.7-latest/tex.html) +* [The original blog post by Tibor Simon](https://tiborsimon.io/articles/web/minimal-mathjax/) + +## License +While **MathJax** is released under the [Apache License](https://github.com/mathjax/MathJax-src/blob/master/LICENSE), Tibor Simon made his build available under the [MIT License](https://github.com/tiborsimon/mathjax-minimal-package/blob/master/LICENSE) (wich is an okay thing to do, to the best of my knowledge) so I'll follow his wish. \ No newline at end of file