2.0.1 • Published 6 months ago

@amermathsoc/mathjax-unicode-math v2.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

mathjax-unicode-math

MathJax TeX extension aiming to (partially) implement the unicode-math package.

MathJax Extension: unicode-math.js

For supported macros and environments, see ./test/unicode-math.html

Using NodeJS

For example, install mathjax-full and mathjax-unicode-math and use something like

import { TeX } from 'mathjax/js/input/tex.js';
import { configuration as unicodeMath } from 'mathjax-unicode-math';
const tex = new TeX({
    packages: [unicodeMath.name]
});

Using a browser

For client-side use, you need load browser/unicode-math.js, e.g., from a CDN.

Follow the instructions from the MathJax documentation on loading a third-party extensions, e.g.,

MathJax = {
    loader: {
        load: ['[unicodeMath]/unicode-math.js'],
        paths: {unicodeMath: 'https://cdn.jsdelivr.net/npm/@amermathsoc/mathjax-unicode-math@2/browser'}
    },
    tex: {
        packages: {'[+]': ['unicode-math']}
    }
};
2.0.1

6 months ago

1.4.0

8 months ago

2.0.0

8 months ago

1.3.0

9 months ago

1.2.3

1 year ago

1.2.2

3 years ago

1.2.1

3 years ago