{"_id":"@amermathsoc/mathjax-ams-macros","name":"@amermathsoc/mathjax-ams-macros","dist-tags":{"latest":"5.1.0"},"versions":{"5.1.0":{"name":"@amermathsoc/mathjax-ams-macros","main":"./js/ams-macros.js","type":"module","version":"5.1.0","description":"A mathjax extension for AMS production","keywords":["MathJax","TeX","AmerMathSoc"],"license":"Apache-2.0","contributors":[{"name":"Peter Krautzberger","url":"https://github.com/pkra"}],"repository":{"type":"git","url":"git://github.com/AmerMathSoc/mathjax-ams-macros.git"},"homepage":"https://github.com/AmerMathSoc/mathjax-ams-macros/","bugs":{"url":"https://github.com/AmerMathSoc/mathjax-ams-macros/issues"},"devDependencies":{"@mathjax/src":"4.0.0-rc.4","@mathjax/mathjax-stix2-font":"v4.0.0-rc.4","commit-and-tag-version":"12.5.1","terser-webpack-plugin":"5.3.14","typescript":"5.8.3","typescript-eslint":"8.33.1","typescript-tools":"0.3.1","webpack":"5.99.9","webpack-cli":"5.1.4"},"scripts":{"build":"npx tsc &&  node ./node_modules/@mathjax/src/components/bin/makeAll --mjs components","release":"commit-and-tag-version","pretest":"npx tsc","test":"node test/base.js"},"_id":"@amermathsoc/mathjax-ams-macros@5.1.0","gitHead":"e9818324ebd4b635ae2e83e760f52e53268f38bb","types":"./js/ams-macros.d.ts","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-4R9Om4pTJfz7VMUBWpJmZTk1waWNsik2AkPZoX3T4/gN6SM5xiVORA93GCnHq1ST0FN0xKgai4DFUgPpR6pQsw==","shasum":"1258163a1099411f194ed728dfc6e15236b98fba","tarball":"https://registry.npmjs.org/@amermathsoc/mathjax-ams-macros/-/mathjax-ams-macros-5.1.0.tgz","fileCount":17,"unpackedSize":104763,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCIpyNhJjf152TEefN6WSbkTNL9naT2CuiNqQx18hON0wIhAMyu+Ay//SSxFLGMwglR/j23Dq7tbovD+zreuxIMmUiF"}]},"_npmUser":{"name":"pkra","email":"p.krautzberger@gmail.com"},"directories":{},"maintainers":[{"name":"pkra","email":"p.krautzberger@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mathjax-ams-macros_5.1.0_1752842372401_0.3496439646794083"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-18T12:39:32.265Z","5.1.0":"2025-07-18T12:39:32.603Z","modified":"2025-07-18T12:39:32.967Z"},"maintainers":[{"name":"pkra","email":"p.krautzberger@gmail.com"}],"description":"A mathjax extension for AMS production","homepage":"https://github.com/AmerMathSoc/mathjax-ams-macros/","keywords":["MathJax","TeX","AmerMathSoc"],"repository":{"type":"git","url":"git://github.com/AmerMathSoc/mathjax-ams-macros.git"},"contributors":[{"name":"Peter Krautzberger","url":"https://github.com/pkra"}],"bugs":{"url":"https://github.com/AmerMathSoc/mathjax-ams-macros/issues"},"license":"Apache-2.0","readme":"# mathjax-ams-macros\n\nMathJax extension to provide MathJax macros for AMS production.\n\n## MathJax Extension: `ams-macros.js`\n\nThis extension implements several TeX macros and environments used in AMS production.\n\nThese are re-implementations of macros in existing TeX packages, often in a simplified form.\n\nThis extension is meant to become obsolete over time by spawning dedicated extensions (e.g. [mathjax-unicode-math](https://github.com/AmerMathSoc/mathjax-unicode-math), [mathjax-dbnsymb](https://github.com/AmerMathSoc/mathjax-dbnsymb)).\n\n## Using NodeJS\n\nFor example, install `@mathjax/src` and `@amermathsoc/mathjax-ams-macros` and use something like\n\n```js\nimport { TeX } from '@mathjax/src/js/input/tex.js';\nimport { configuration as ams-macros } from 'mathjax-ams-macros';\nconst tex = new TeX({\n    packages: [ams-macros.name]\n});\n```\n\n## Using a browser\n\nFor client-side use, you need load `browser/ams-macros.js`, e.g., from a CDN.\n\nFollow the instructions from the MathJax documentation on [loading a third-party extensions](http://docs.mathjax.org/en/latest/web/webpack.html#loading-the-extension), e.g.,\n\n```js\nMathJax = {\n    loader: {\n        load: ['[ams-macros]/ams-macros.js'],\n        paths: {ams-macros: 'https://cdn.jsdelivr.net/npm/@amermathsoc/mathjax-ams-macros@5/browser'}\n    },\n    tex: {\n        packages: {'[+]': ['ams-macros']}\n    }\n};\n```\n","readmeFilename":"README.md","_rev":"1-fb6a10ab345f0ca01a696615f056e360"}