Socket
Book a DemoInstallSign in
Socket

@amermathsoc/mathjax-ams-macros

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amermathsoc/mathjax-ams-macros

A mathjax extension for AMS production

5.1.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

mathjax-ams-macros

MathJax extension to provide MathJax macros for AMS production.

MathJax Extension: ams-macros.js

This extension implements several TeX macros and environments used in AMS production.

These are re-implementations of macros in existing TeX packages, often in a simplified form.

This extension is meant to become obsolete over time by spawning dedicated extensions (e.g. mathjax-unicode-math, mathjax-dbnsymb).

Using NodeJS

For example, install @mathjax/src and @amermathsoc/mathjax-ams-macros and use something like

import { TeX } from '@mathjax/src/js/input/tex.js';
import { configuration as ams-macros } from 'mathjax-ams-macros';
const tex = new TeX({
    packages: [ams-macros.name]
});

Using a browser

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

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

MathJax = {
    loader: {
        load: ['[ams-macros]/ams-macros.js'],
        paths: {ams-macros: 'https://cdn.jsdelivr.net/npm/@amermathsoc/mathjax-ams-macros@5/browser'}
    },
    tex: {
        packages: {'[+]': ['ams-macros']}
    }
};

Keywords

MathJax

FAQs

Package last updated on 18 Jul 2025

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.