/*
* /MathJax/extensions/TeX/extpfeil.js * * Copyright (c) 2009-2018 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
MathJax.Extension={version:“2.7.5”};MathJax.Hub.Register.StartupHook(“TeX Jax Ready”,function(){var b=MathJax.InputJax.TeX,a=b.Definitions;a.Add({macros:{xtwoheadrightarrow:,xtwoheadleftarrow:,xmapsto:,xlongequal:,xtofrom:,Newextarrow:}},null,true);MathJax.Hub.Register.StartupHook(“TeX AMSmath Ready”,function(){MathJax.Hub.Insert(a,{macros:{xtwoheadrightarrow:,xtwoheadleftarrow:,xmapsto:,xlongequal:,xtofrom:,Newextarrow:“NewExtArrow”}})});b.Parse.Augment({NewExtArrow:function©{var e=this.GetArgument©,f=this.GetArgument©,d=this.GetArgument©;if(!e.match(/^\(+|.)$/i)){b.Error([“NewextarrowArg1”,“First argument to %1 must be a control sequence name”,c])}if(!f.match(/^(d+),(d+)$/)){b.Error([“NewextarrowArg2”,“Second argument to %1 must be two integers separated by a comma”,c])}if(!d.match(/^(d+|0x+)$/i)){b.Error([“NewextarrowArg3”,“Third argument to %1 must be a unicode character number”,c])}e=e.substr(1);f=f.split(“,”);d=parseInt(d);this.setDef(e,[“xArrow”,d,parseInt(f),parseInt(f)])}});MathJax.Hub.Startup.signal.Post(“TeX extpfeil Ready”)});MathJax.Ajax.loadComplete(“/extensions/TeX/extpfeil.js”);