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']}
}
};