@amermathsoc/mathjax-unicode-math
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

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

Package Sidebar

Install

npm i @amermathsoc/mathjax-unicode-math

Weekly Downloads

5

Version

2.0.1

License

Apache-2.0

Unpacked Size

6.44 MB

Total Files

26

Last publish

Collaborators

  • pkra