UNPKG

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 2.16 kB
(()=>{"use strict";var e={d:(a,t)=>{for(var p in t)e.o(t,p)&&!e.o(a,p)&&Object.defineProperty(a,p,{enumerable:!0,get:t[p]})}};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,a)=>Object.prototype.hasOwnProperty.call(e,a),e.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};e.r(a),e.d(a,{UpgreekConfiguration:()=>l});const t=("undefined"!=typeof window?window:e.g).MathJax._.components.global,p=(t.GLOBAL,t.isObject,t.combineConfig,t.combineDefaults,t.combineWithMathJax),n=(t.MathJax,MathJax._.input.tex.HandlerTypes),o=n.ConfigurationType,i=n.HandlerType,r=MathJax._.input.tex.Configuration,u=r.Configuration,s=(r.ConfigurationHandler,r.ParserConfiguration,MathJax._.input.tex.TokenMap),c=(s.parseResult,s.AbstractTokenMap,s.RegExpMap,s.AbstractParseMap,s.CharacterMap),g=(s.DelimiterMap,s.MacroMap,s.CommandMap,s.EnvironmentMap,MathJax._.input.tex.TexConstants.TexConstant);new c("upgreek",function(e,a){const t=a.attributes||{};t.mathvariant=g.Variant.NORMAL;const p=e.create("token","mi",t,a.char);e.Push(p)},{upalpha:"\u03b1",upbeta:"\u03b2",upgamma:"\u03b3",updelta:"\u03b4",upepsilon:"\u03f5",upzeta:"\u03b6",upeta:"\u03b7",uptheta:"\u03b8",upiota:"\u03b9",upkappa:"\u03ba",uplambda:"\u03bb",upmu:"\u03bc",upnu:"\u03bd",upxi:"\u03be",upomicron:"\u03bf",uppi:"\u03c0",uprho:"\u03c1",upsigma:"\u03c3",uptau:"\u03c4",upupsilon:"\u03c5",upphi:"\u03d5",upchi:"\u03c7",uppsi:"\u03c8",upomega:"\u03c9",upvarepsilon:"\u03b5",upvartheta:"\u03d1",upvarpi:"\u03d6",upvarrho:"\u03f1",upvarsigma:"\u03c2",upvarphi:"\u03c6",Upgamma:"\u0393",Updelta:"\u0394",Uptheta:"\u0398",Uplambda:"\u039b",Upxi:"\u039e",Uppi:"\u03a0",Upsigma:"\u03a3",Upupsilon:"\u03a5",Upphi:"\u03a6",Uppsi:"\u03a8",Upomega:"\u03a9"});const l=u.create("upgreek",{[o.HANDLER]:{[i.MACRO]:["upgreek"]}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/upgreek","4.1.1","tex-extension"),p({_:{input:{tex:{upgreek:{UpgreekConfiguration:a}}}}})})();