Socket
Socket
Sign inDemoInstall

@amermathsoc/mathjax-unicode-math

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @amermathsoc/mathjax-unicode-math

MathJax TeX input extension reimplementing (parts of) the unicode-math package


Version published
Weekly downloads
6
increased by100%
Maintainers
1
Install size
6.15 MB
Created
Weekly downloads
 

Changelog

Source

2.0.1 (2023-11-14)

Bug Fixes

  • adjust to mathjax v4-beta.4 (e870acd), closes #28

Readme

Source

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

Keywords

FAQs

Last updated on 14 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc