mathjax
Version:
Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers. This package includes the packaged components (install mathjax-full to get the source
1 lines • 1.59 kB
JavaScript
(()=>{"use strict";var e={d:(t,n)=>{for(var a in n)e.o(n,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:n[a]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t),e.d(t,{GensymbConfiguration:()=>l});const n=("undefined"!=typeof window?window:e.g).MathJax._.components.global,a=(n.GLOBAL,n.isObject,n.combineConfig,n.combineDefaults,n.combineWithMathJax),o=(n.MathJax,MathJax._.input.tex.HandlerTypes),r=o.ConfigurationType,i=o.HandlerType,s=MathJax._.input.tex.Configuration,c=s.Configuration,u=(s.ConfigurationHandler,s.ParserConfiguration,MathJax._.input.tex.TexConstants.TexConstant),p=MathJax._.input.tex.TokenMap,b=(p.parseResult,p.AbstractTokenMap,p.RegExpMap,p.AbstractParseMap,p.CharacterMap);p.DelimiterMap,p.MacroMap,p.CommandMap,p.EnvironmentMap;new b("gensymb-symbols",function(e,t){const n=t.attributes||{};n.mathvariant=u.Variant.NORMAL,n.class="MathML-Unit";const a=e.create("token","mi",n,t.char);e.Push(a)},{ohm:"\u2126",degree:"\xb0",celsius:"\u2103",perthousand:"\u2030",micro:"\xb5"});const l=c.create("gensymb",{[r.HANDLER]:{[i.MACRO]:["gensymb-symbols"]}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/gensymb","4.1.1","tex-extension"),a({_:{input:{tex:{gensymb:{GensymbConfiguration:t}}}}})})();