diff --git a/Math.hooks.php b/Math.hooks.php index 61636d3..a56828e 100644 --- a/Math.hooks.php +++ b/Math.hooks.php @@ -49,11 +49,8 @@ class MathHooks { if ( $wgUseMathJax ) { self::addMathJax( $parser ); - $output = Html::rawElement('noscript', null, $renderedMath ) . - Html::element( 'script', array( 'type' => 'math/tex' ), $content ); - } else { - $output = $renderedMath; } + $output = $renderedMath; return $wgContLang->armourMath( $output ); } @@ -161,6 +158,7 @@ class MathHooks { //$script = Html::element( 'script', array( 'type' => 'text/x-mathjax-config' ), $config ); $html = Html::element( 'script', array( 'src' => $wgMathJaxUrl ) ); - $parser->getOutput()->addHeadItem( $html, 'mathjax' ); + //$parser->getOutput()->addHeadItem( $html, 'mathjax' ); + $parser->getOutput()->addModules( array( 'ext.math.mathjax.enabler' ) ); } } diff --git a/Math.php b/Math.php index 4b45792..7d84e79 100644 --- a/Math.php +++ b/Math.php @@ -116,3 +116,33 @@ $wgAutoloadClasses['MathRenderer'] = $dir . 'Math.body.php'; $wgExtensionMessagesFiles['Math'] = $dir . 'Math.i18n.php'; $wgParserTestFiles[] = $dir . 'mathParserTests.txt'; + +$moduleTemplate = array( + 'localBasePath' => dirname( __FILE__ ) . '/modules', + 'remoteExtPath' => 'Math/modules', +); + +$wgResourceModules['ext.math.mathjax'] = array( + 'scripts' => array( + 'MathJax/MathJax.js', + 'MathJax/jax/input/TeX/config.js', + 'MathJax/jax/output/HTML-CSS/config.js', + 'MathJax/jax/element/mml/jax.js', + 'MathJax/extensions/TeX/noErrors.js', + 'MathJax/extensions/TeX/noUndefined.js', + 'MathJax/jax/input/TeX/jax.js', + 'MathJax/extensions/TeX/AMSmath.js', + 'MathJax/extensions/TeX/AMSsymbols.js', + 'MathJax/extensions/TeX/boldsymbol.js', + 'MathJax/extensions/TeX/mathchoice.js', + 'MathJax/jax/output/HTML-CSS/jax.js', + 'MathJax/jax/output/HTML-CSS/autoload/mtable.js', + 'MathJax-custom/extensions/wiki2jax.js', + 'MathJax-custom/extensions/TeX/texvc.js' + ), + 'group' => 'ext.math.mathjax', +) + $moduleTemplate; + +$wgResourceModules['ext.math.mathjax.enabler'] = array( + 'scripts' => 'ext.math.mathjax.enabler.js', +) + $moduleTemplate; diff --git a/README b/README new file mode 100644 index 0000000..f7c6493 --- /dev/null +++ b/README @@ -0,0 +1,9 @@ +This version (for MediaWiki 1.19) has some changes since previous versions: + +* rendering options have been reduced to just 'Always PNG' and 'Leave it as TeX' +** all other rendering options will merge to PNG. +* initial experimental support for integrating MathJax client-side rendering + +See the README in the math subdirectory for more info on setting up the +low-level conversion tools. + diff --git a/modules/MathJax-custom/extensions/TeX/texvc.js b/modules/MathJax-custom/extensions/TeX/texvc.js new file mode 100644 index 0000000..2e5343f --- /dev/null +++ b/modules/MathJax-custom/extensions/TeX/texvc.js @@ -0,0 +1,92 @@ +/** + * From https://en.wikipedia.org/wiki/User:Nageh/mathJax/config/TeX-AMS-texvc_HTML.js + */ + +MathJax.Extension.wiki2jax = { + version: "1.0", + + config: { + element: null, // The ID of the element to be processed + // (defaults to full document) + + preview: "TeX" // Set to "none" to prevent preview strings from being inserted + // or to an array that specifies an HTML snippet to use for + // the preview. + }, + + PreProcess: function (element) { + if (!this.configured) { + MathJax.Hub.Insert(this.config,(MathJax.Hub.config.wiki2jax||{})); + if (this.config.Augment) {MathJax.Hub.Insert(this,this.config.Augment)} + if (typeof(this.config.previewTeX) !== "undefined" && !this.config.previewTeX) + {this.config.preview = "none"} // backward compatibility for previewTeX parameter + this.previewClass = MathJax.Hub.config.preRemoveClass; + this.configured = true; + } + var span, i; + if ((!element || element == document.body) && mathJax.span) { // dirty hack + span = mathJax.span; + i = mathJax.spanIndex; + } + else { + if (typeof(element) === "string") {element = document.getElementById(element)} + if (!element) {element = this.config.element || document.body} + span = element.getElementsByTagName("span"); + i = span.length-1; + } + for (; i >= 0; i--) + if (span[i].className === "tex") this.ConvertMath(span[i]) + }, + + ConvertMath: function (node) { + var parent = node.parentNode, + mode = parent.tagName === "DD" && parent.firstChild === parent.lastChild ? "; mode=display" : "", + tex = node.innerHTML.substring(node.innerHTML[0]=='$',node.innerHTML.length-(node.innerHTML[node.innerHTML.length-1]=='$')); + + tex = tex.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/ /g," "); + tex = tex.replace(/\\iiint([^!]*)!\\!\\!\\!\\!.*\\subset\\!\\supset/g,"\\iiint$1mkern-2.5em\\subset\\!\\supset").replace(/\\iint([^!]*)!\\!\\!\\!\\!\\!\\!\\!\\!\\!\\!(.*)\\subset\\!\\supset/g,"\\iint$1mkern-1.65em$2\\subset\\!\\!\\supset").replace(/\\int\\!\\!\\!(\\!)+\\int\\!\\!\\!(\\!)+\\int([^!]*)!\\!\\!\\!\\!.*\\bigcirc(\\,)*/g,"\\iiint$3mkern-2.5em\\subset\\!\\supset").replace(/\\int\\!\\!\\!(\\!)+\\int([^!]*)!\\!\\!\\!\\!\\!\\!\\!\\!(.*)\\bigcirc(\\,)*/g,"\\iint$2mkern-1.65em$3\\subset\\!\\!\\supset"); + if (mode === "") { + tex = tex.replace(/ *\\scriptstyle(\W)/g,"\\textstyle$1").replace(/ *\\scriptscriptstyle(\W)/g,"\\scriptstyle$1"); + if (parent.firstChild === node) tex = "\\displaystyle "+tex; + } + + var i; + while ((i = tex.search(/\\color{/)) != -1) { + var braces = 0; + for (i += 6; i < tex.length; i++) { + if (tex[i] == '{') braces++; + else if (tex[i] == '}') { + if (braces-- == 0) + break; + } + } + tex = (tex.substring(0, i) + "}" + tex.substring(i, tex.length)).replace(/\\color{(\w*)}/, "\\textcolor{$1}{"); + } + + var script = document.createElement("script"); + script.type = "math/tex" + mode; + if (MathJax.Hub.Browser.isMSIE) {script.text = tex} + else {script.appendChild(document.createTextNode(tex))} + + if (node.nextSibling) {parent.insertBefore(script,node.nextSibling)} + else {parent.appendChild(script)} + if (this.config.preview !== "none") {this.createPreview(node)} + parent.removeChild(node); + }, + + createPreview: function (node) { + var preview; + if (this.config.preview === "TeX") {preview = [this.filterTeX(node.innerHTML)]} + else if (this.config.preview instanceof Array) {preview = this.config.preview} + if (preview) { + preview = MathJax.HTML.Element("span",{className: MathJax.Hub.config.preRemoveClass},preview); + node.parentNode.insertBefore(preview,node); + } + }, + + filterTeX: function (tex) {return tex} + +}; + +MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.wiki2jax]); +MathJax.Ajax.loadComplete("[MathJax]/extensions/wiki2jax.js"); diff --git a/modules/MathJax-custom/extensions/wiki2jax.js b/modules/MathJax-custom/extensions/wiki2jax.js new file mode 100644 index 0000000..56c98f7 --- /dev/null +++ b/modules/MathJax-custom/extensions/wiki2jax.js @@ -0,0 +1,128 @@ +/** + * From https://en.wikipedia.org/wiki/User:Nageh/mathJax/config/TeX-AMS-texvc_HTML.js + */ + +MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.0"; + + var MML = MathJax.ElementJax.mml; + + MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{ + + mathchar0mi: { + // Lowercase Greek letters + thetasym: '03B8', // theta + koppa: '03DF', + stigma: '03DB', + coppa: '03D9', // archaic koppa + + // Ord symbols + C: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + cnums: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Complex: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + N: ['004E',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + natnums: ['004E',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + R: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + reals: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Reals: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Z: ['005A',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + sect: '00A7', // S + P: '00B6', + alef: ['2135',{mathvariant: MML.VARIANT.NORMAL}], // aleph + alefsym: ['2135',{mathvariant: MML.VARIANT.NORMAL}], // aleph + weierp: ['2118',{mathvariant: MML.VARIANT.NORMAL}], // wp + real: ['211C',{mathvariant: MML.VARIANT.NORMAL}], // Re + part: ['2202',{mathvariant: MML.VARIANT.NORMAL}], // partial + infin: ['221E',{mathvariant: MML.VARIANT.NORMAL}], // infty + empty: ['2205',{mathvariant: MML.VARIANT.NORMAL}], // emptyset + O: ['2205',{mathvariant: MML.VARIANT.NORMAL}], // emptyset (but should probably be Swedish O) + ang: ['2220',{mathvariant: MML.VARIANT.NORMAL}], // angle + exist: ['2203',{mathvariant: MML.VARIANT.NORMAL}], // exists + clubs: ['2663',{mathvariant: MML.VARIANT.NORMAL}], // clubsuit + diamonds: ['2662',{mathvariant: MML.VARIANT.NORMAL}], // diamondsuit + hearts: ['2661',{mathvariant: MML.VARIANT.NORMAL}], // heartsuit + spades: ['2660',{mathvariant: MML.VARIANT.NORMAL}], // spadesuit + textvisiblespace: '2423' + }, + + mathchar0mo: { + // Binary operators + and: '2227', // land + or: '2228', // lor + bull: '2219', // bullet + plusmn: '00B1', // pm + sdot: '22C5', // cdot + + // Binary relations + sup: '2283', // supset + sub: '2282', // subset + supe: '2287', // supseteq + sube: '2286', // subseteq + isin: '2208', // in + + hAar: '21D4', // Leftrightarrow [sic] + hArr: '21D4', // Leftrightarrow + Harr: '21D4', // Leftrightarrow + Lrarr: '21D4', // Leftrightarrow + lrArr: '21D4', // Leftrightarrow + lArr: '21D0', // Leftarrow + Larr: '21D0', // Leftarrow + rArr: '21D2', // Rightarrow + Rarr: '21D2', // Rightarrow + harr: '2194', // leftrightarrow + lrarr: '2194', // leftrightarrow + larr: '2190', // leftarrow + gets: '2190', // leftarrow + rarr: '2192', // rightarrow + + // big ops + oiint: ['222F',{texClass: MML.TEXCLASS.OP}], // not part of texvc but nice to have + oiiint: ['2230',{texClass: MML.TEXCLASS.OP}] + }, + + mathchar7: { + // Uppercase Greek letters + Alpha: '0391', + Beta: '0392', + Epsilon: '0395', + Zeta: '0396', + Eta: '0397', + Iota: '0399', + Kappa: '039A', + Mu: '039C', + Nu: '039D', + Omicron: '039F', + Rho: '03A1', + Tau: '03A4', + Chi: '03A7', + + Koppa: '03DE', + Stigma: '03DA', + Coppa: '03D8', // archaic Koppa + }, + + delimiter: { + '\\uarr': '2191', // uparrow + '\\darr': '2193', // downarrow + '\\Uarr': '21D1', // Uparrow + '\\uArr': '21D1', // Uparrow + '\\Darr': '21D3', // Downarrow + '\\dArr': '21D3', // Downarrow + '\\rang': '27E9', // rangle + '\\lang': '27E8' // langle + }, + + macros: { + sgn: ['NamedOp',0], + textcolor: ['Macro','\\color{#1}',1], + bold: ['Macro','{\\boldsymbol #1}',1] // boldsymbol + } + + }); +}); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + MathJax.Hub.Startup.signal.Post("TeX texvc Ready"); +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/texvc.js"); diff --git a/modules/MathJax/LICENSE b/modules/MathJax/LICENSE new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/modules/MathJax/LICENSE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + 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. diff --git a/modules/MathJax/MathJax.js b/modules/MathJax/MathJax.js new file mode 100644 index 0000000..6bb55f8 --- /dev/null +++ b/modules/MathJax/MathJax.js @@ -0,0 +1,2096 @@ +/************************************************************* + * + * MathJax.js + * + * The main support code for the MathJax Hub, including the + * Ajax, Callback, Messaging, and Object-Oriented Programming + * libraries, as well as the base Jax classes, and startup + * processing code. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + +if (document.getElementById && document.childNodes && document.createElement) { + +if (!window.MathJax) {window.MathJax= {}} +if (!MathJax.Hub) { // skip if already loaded + +MathJax.version = "1.1a"; +MathJax.fileversion = "1.1.7"; + +/**********************************************************/ + +(function (BASENAME) { + var BASE = window[BASENAME]; + if (!BASE) {BASE = window[BASENAME] = {}} + + var PROTO = []; // a static object used to indicate when a prototype is being created + var OBJECT = function (def) { + var obj = def.constructor; if (!obj) {obj = new Function("")} + for (var id in def) {if (id !== 'constructor' && def.hasOwnProperty(id)) {obj[id] = def[id]}} + return obj; + }; + var CONSTRUCTOR = function () { + return new Function ("return arguments.callee.Init.call(this,arguments)"); + }; + // + // Test for Safari 2.x bug (can't replace prototype for result of new Function()). + // (We don't use this version for everyone since it is a closure and we don't need that). + // + var BUGTEST = CONSTRUCTOR(); BUGTEST.prototype = {bug_test: 1}; + if (!BUGTEST.prototype.bug_test) { + CONSTRUCTOR = function () { + return function () {return arguments.callee.Init.call(this,arguments)}; + }; + }; + + BASE.Object = OBJECT({ + constructor: CONSTRUCTOR(), + + Subclass: function (def,classdef) { + var obj = CONSTRUCTOR(); + obj.SUPER = this; obj.Init = this.Init; + obj.Subclass = this.Subclass; obj.Augment = this.Augment; + obj.protoFunction = this.protoFunction; + obj.can = this.can; obj.has = this.has; obj.isa = this.isa; + obj.prototype = new this(PROTO); + obj.prototype.constructor = obj; // the real constructor + obj.Augment(def,classdef); + return obj; + }, + + Init: function (args) { + var obj = this; + if (args.length === 1 && args[0] === PROTO) {return obj} + if (!(obj instanceof args.callee)) {obj = new args.callee(PROTO)} + return obj.Init.apply(obj,args) || obj; + }, + + Augment: function (def,classdef) { + var id; + if (def != null) { + for (id in def) {if (def.hasOwnProperty(id)) {this.protoFunction(id,def[id])}} + // MSIE doesn't list toString even if it is not native so handle it separately + if (def.toString !== this.prototype.toString && def.toString !== {}.toString) + {this.protoFunction('toString',def.toString)} + } + if (classdef != null) { + for (id in classdef) {if (classdef.hasOwnProperty(id)) {this[id] = classdef[id]}} + } + return this; + }, + + protoFunction: function (id,def) { + this.prototype[id] = def; + if (typeof def === "function") {def.SUPER = this.SUPER.prototype} + }, + + prototype: { + Init: function () {}, + SUPER: function (fn) {return fn.callee.SUPER}, + can: function (method) {return typeof(this[method]) === "function"}, + has: function (property) {return typeof(this[property]) !== "undefined"}, + isa: function (obj) {return (obj instanceof Object) && (this instanceof obj)} + }, + + can: function (method) {return this.prototype.can.call(this,method)}, + has: function (property) {return this.prototype.has.call(this,property)}, + isa: function (obj) { + var constructor = this; + while (constructor) { + if (constructor === obj) {return true} else {constructor = constructor.SUPER} + } + return false; + }, + + + SimpleSUPER: OBJECT({ + constructor: function (def) {return this.SimpleSUPER.define(def)}, + + define: function (src) { + var dst = {}; + if (src != null) { + for (var id in src) {if (src.hasOwnProperty(id)) {this.protoFunction(id,src[id])}} + // MSIE doesn't list toString even if it is not native so handle it separately + if (src.toString !== this.prototype.toString && src.toString !== {}.toString) + {this.protoFunction('toString',src.toString)} + } + return dst; + }, + + wrap: function (id,f) { + if (typeof(f) === 'function' && f.toString().match(/\.\s*SUPER\s*\(/)) { + var fn = new Function(this.wrapper); + fn.label = id; fn.original = f; f = fn; + fn.toString = this.stringify; + } + return f; + }, + + wrapper: function () { + var fn = arguments.callee; + this.SUPER = fn.SUPER[fn.label]; + try {var result = fn.original.apply(this,arguments)} + catch (err) {delete this.SUPER; throw err} + delete this.SUPER; + return result; + }.toString().replace(/^\s*function \(\)\s*\{\s*/i,"").replace(/\s*\}\s*$/i,""), + + toString: function () { + return this.original.toString.apply(this.original,arguments); + } + }) + }); + +})("MathJax"); + +/**********************************************************/ + +/* + * Create a callback function from various forms of data: + * + * MathJax.Callback(fn) -- callback to a function + * + * MathJax.Callback([fn]) -- callback to function + * MathJax.Callback([fn,data...]) + * -- callback to function with given data as arguments + * MathJax.Callback([object,fn]) + * -- call fn with object as "this" + * MathJax.Callback([object,fn,data...]) + * -- call fn with object as "this" and data as arguments + * MathJax.Callback(["method",object]) + * -- call method of object wth object as "this" + * MathJax.Callback(["method",object,data...]) + * -- as above, but with data as arguments to method + * + * MathJax.Callback({hook: fn, data: [...], object: this}) + * -- give function, data, and object to act as "this" explicitly + * + * MathJax.Callback("code") -- callback that compiles and executes a string + * + * MathJax.Callback([...],i) + * -- use slice of array starting at i and interpret + * result as above. (Used for passing "arguments" array + * and trimming initial arguments, if any.) + */ + +/* + * MathJax.Callback.After([...],cb1,cb2,...) + * -- make a callback that isn't called until all the other + * ones are called first. I.e., wait for a union of + * callbacks to occur before making the given callback. + */ + +/* + * MathJax.Callback.Queue([callback,...]) + * -- make a synchronized queue of commands that process + * sequentially, waiting for those that return uncalled + * callbacks. + */ + +/* + * MathJax.Callback.Signal(name) + * -- finds or creates a names signal, to which listeners + * can be attached and are signaled by messages posted + * to the signal. Responses can be asynchronous. + */ + +(function (BASENAME) { + var BASE = window[BASENAME]; + if (!BASE) {BASE = window[BASENAME] = {}} + // + // Create a callback from an associative array + // + var CALLBACK = function (data) { + var cb = new Function("return arguments.callee.execute.apply(arguments.callee,arguments)"); + for (var id in CALLBACK.prototype) { + if (CALLBACK.prototype.hasOwnProperty(id)) { + if (typeof(data[id]) !== 'undefined') {cb[id] = data[id]} + else {cb[id] = CALLBACK.prototype[id]} + } + } + cb.toString = CALLBACK.prototype.toString; + return cb; + }; + CALLBACK.prototype = { + isCallback: true, + hook: function () {}, + data: [], + object: window, + execute: function () { + if (!this.called || this.autoReset) { + this.called = !this.autoReset; + return this.hook.apply(this.object,this.data.concat([].slice.call(arguments,0))); + } + }, + reset: function () {delete this.called}, + toString: function () {return this.hook.toString.apply(this.hook,arguments)} + }; + var ISCALLBACK = function (f) { + return (typeof(f) === "function" && f.isCallback); + } + // + // Evaluate a string in global context + // + var EVAL = function (code) {return eval.call(window,code)} + EVAL("var __TeSt_VaR__ = 1"); // check if it works in global context + if (window.__TeSt_VaR__) { + try { delete window.__TeSt_VaR__; } // NOTE IE9 throws when in IE7 mode + catch (error) { window.__TeSt_VaR__ = null; } + } else { + if (window.execScript) { + // IE + EVAL = function (code) { + BASE.__code = code; + code = "try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}"; + window.execScript(code); + var result = BASE.__result; delete BASE.__result; delete BASE.__code; + if (result instanceof Error) {throw result} + return result; + } + } else { + // Safari2 + EVAL = function (code) { + BASE.__code = code; + code = "try {"+BASENAME+".__result = eval("+BASENAME+".__code)} catch(err) {"+BASENAME+".__result = err}"; + var head = (document.getElementsByTagName("head"))[0]; if (!head) {head = document.body} + var script = document.createElement("script"); + script.appendChild(document.createTextNode(code)); + head.appendChild(script); head.removeChild(script); + var result = BASE.__result; delete BASE.__result; delete BASE.__code; + if (result instanceof Error) {throw result} + return result; + } + } + } + // + // Create a callback from various types of data + // + var USING = function (args,i) { + if (arguments.length > 1) { + if (arguments.length === 2 && !(typeof arguments[0] === 'function') && + arguments[0] instanceof Object && typeof arguments[1] === 'number') + {args = [].slice.call(args,i)} + else {args = [].slice.call(arguments,0)} + } + if (args instanceof Array && args.length === 1) {args = args[0]} + if (typeof args === 'function') { + if (args.execute === CALLBACK.prototype.execute) {return args} + return CALLBACK({hook: args}); + } else if (args instanceof Array) { + if (typeof(args[0]) === 'string' && args[1] instanceof Object && + typeof args[1][args[0]] === 'function') { + return CALLBACK({hook: args[1][args[0]], object: args[1], data: args.slice(2)}); + } else if (typeof args[0] === 'function') { + return CALLBACK({hook: args[0], data: args.slice(1)}); + } else if (typeof args[1] === 'function') { + return CALLBACK({hook: args[1], object: args[0], data: args.slice(2)}); + } + } else if (typeof(args) === 'string') { + return CALLBACK({hook: EVAL, data: [args]}); + } else if (args instanceof Object) { + return CALLBACK(args); + } else if (typeof(args) === 'undefined') { + return CALLBACK({}); + } + throw Error("Can't make callback from given data"); + }; + + // + // Wait for a given time to elapse and then perform the callback + // + var DELAY = function (time,callback) { + callback = USING(callback); + callback.timeout = setTimeout(callback,time); + return callback; + }; + + // + // Callback used by AFTER, QUEUE, and SIGNAL to check if calls have completed + // + var WAITFOR = function (callback,signal) { + callback = USING(callback); + if (!callback.called) {WAITSIGNAL(callback,signal); signal.pending++} + }; + var WAITEXECUTE = function () { + var signals = this.signal; delete this.signal; + this.execute = this.oldExecute; delete this.oldExecute; + var result = this.execute.apply(this,arguments); + if (ISCALLBACK(result) && !result.called) {WAITSIGNAL(result,signals)} else { + for (var i = 0, m = signals.length; i < m; i++) { + signals[i].pending--; + if (signals[i].pending <= 0) {signals[i].call()} + } + } + }; + var WAITSIGNAL = function (callback,signals) { + if (!(signals instanceof Array)) {signals = [signals]} + if (!callback.signal) { + callback.oldExecute = callback.execute; + callback.execute = WAITEXECUTE; + callback.signal = signals; + } else if (signals.length === 1) {callback.signal.push(signals[0])} + else {callback.signal = callback.signal.concat(signals)} + }; + + // + // Create a callback that is called when a collection of other callbacks have + // all been executed. If the callback gets called immediately (i.e., the + // others are all already called), check if it returns another callback + // and return that instead. + // + var AFTER = function (callback) { + callback = USING(callback); + callback.pending = 0; + for (var i = 1, m = arguments.length; i < m; i++) + {if (arguments[i]) {WAITFOR(arguments[i],callback)}} + if (callback.pending === 0) { + var result = callback(); + if (ISCALLBACK(result)) {callback = result} + } + return callback; + }; + + // + // Run an array of callbacks passing them the given data. + // If any return callbacks, return a callback that will be + // executed when they all have completed. + // + var HOOKS = function (hooks,data,reset) { + if (!hooks) {return null} + if (!(hooks instanceof Array)) {hooks = [hooks]} + if (!(data instanceof Array)) {data = (data == null ? [] : [data])} + var callbacks = [{}]; + for (var i = 0, m = hooks.length; i < m; i++) { + if (reset) {hooks[i].reset()} + var result = hooks[i].apply(window,data); + if (ISCALLBACK(result) && !result.called) {callbacks.push(result)} + } + if (callbacks.length === 1) {return null} + if (callbacks.length === 2) {return callbacks[1]} + return AFTER.apply({},callbacks); + }; + + // + // Command queue that performs commands in order, waiting when + // necessary for commands to complete asynchronousely + // + var QUEUE = BASE.Object.Subclass({ + // + // Create the queue and push any commands that are specified + // + Init: function () { + this.pending = 0; this.running = 0; + this.queue = []; + this.Push.apply(this,arguments); + }, + // + // Add commands to the queue and run them. Adding a callback object + // (rather than a callback specification) queues a wait for that callback. + // Return the final callback for synchronization purposes. + // + Push: function () { + var callback; + for (var i = 0, m = arguments.length; i < m; i++) { + callback = USING(arguments[i]); + if (callback === arguments[i] && !callback.called) + {callback = USING(["wait",this,callback])} + this.queue.push(callback); + } + if (!this.running && !this.pending) {this.Process()} + return callback; + }, + // + // Process the command queue if we aren't waiting on another command + // + Process: function (queue) { + while (!this.running && !this.pending && this.queue.length) { + var callback = this.queue[0]; + queue = this.queue.slice(1); this.queue = []; + this.Suspend(); var result = callback(); this.Resume(); + if (queue.length) {this.queue = queue.concat(this.queue)} + if (ISCALLBACK(result) && !result.called) {WAITFOR(result,this)} + } + }, + // + // Suspend/Resume command processing on this queue + // + Suspend: function () {this.running++}, + Resume: function () {if (this.running) {this.running--}}, + // + // Used by WAITFOR to restart the queue when an action completes + // + call: function () {this.Process.apply(this,arguments)}, + wait: function (callback) {return callback} + }); + + // + // Create a named signal that listeners can attach to, to be signaled by + // postings made to the signal. Posts are queued if they occur while one + // is already in process. + // + var SIGNAL = QUEUE.Subclass({ + Init: function (name) { + QUEUE.prototype.Init.call(this); + this.name = name; + this.posted = []; // the messages posted so far + this.listeners = []; // those with interest in this signal + }, + // + // Post a message to the signal listeners, with callback for when complete + // + Post: function (message,callback,forget) { + callback = USING(callback); + if (this.posting || this.pending) { + this.Push(["Post",this,message,callback,forget]); + } else { + this.callback = callback; callback.reset(); + if (!forget) {this.posted.push(message)} + this.Suspend(); this.posting = 1; + for (var i = 0, m = this.listeners.length; i < m; i++) { + this.listeners[i].reset(); + var result = (this.listeners[i])(message); + if (ISCALLBACK(result) && !result.called) {WAITFOR(result,this)} + } + this.Resume(); delete this.posting; + if (!this.pending) {this.call()} + } + return callback; + }, + // + // Clear the post history (so new listeners won't get old messages) + // + Clear: function (callback) { + callback = USING(callback); + if (this.posting || this.pending) { + callback = this.Push(["Clear",this,callback]); + } else { + this.posted = []; + callback(); + } + return callback; + }, + // + // Call the callback (all replies are in) and process the command queue + // + call: function () {this.callback(this); this.Process()}, + + // + // A listener calls this to register intrest in the signal (so it will be called + // when posts occur). If ignorePast is 1, it will not be sent the post history. + // + Interest: function (callback,ignorePast) { + callback = USING(callback); + this.listeners[this.listeners.length] = callback; + if (!ignorePast) { + for (var i = 0, m = this.posted.length; i < m; i++) { + callback.reset(); + var result = callback(this.posted[i]); + if (ISCALLBACK(result) && i === this.posted.length-1) {WAITFOR(result,this)} + } + } + return callback; + }, + // + // A listener calls this to remove itself from a signal + // + NoInterest: function (callback) { + for (var i = 0, m = this.listeners.length; i < m; i++) { + if (this.listeners[i] === callback) {this.listeners.splice(i,1); return} + } + }, + + // + // Hook a callback to a particular message on this signal + // + MessageHook: function (msg,callback) { + callback = USING(callback); + if (!this.hooks) {this.hooks = {}; this.Interest(["ExecuteHooks",this])} + if (!this.hooks[msg]) {this.hooks[msg] = []} + this.hooks[msg].push(callback); + for (var i = 0, m = this.posted.length; i < m; i++) + {if (this.posted[i] == msg) {callback.reset(); callback(this.posted[i])}} + return callback; + }, + // + // Execute the message hooks for the given message + // + ExecuteHooks: function (msg,more) { + var type = ((msg instanceof Array) ? msg[0] : msg); + return HOOKS(this.hooks[type],[msg],true); + } + + },{ + signals: {}, // the named signals + find: function (name) { + if (!SIGNAL.signals[name]) {SIGNAL.signals[name] = new SIGNAL(name)} + return SIGNAL.signals[name]; + } + }); + + // + // The main entry-points + // + BASE.Callback = BASE.CallBack = USING; + BASE.Callback.Delay = DELAY; + BASE.Callback.After = AFTER; + BASE.Callback.Queue = QUEUE; + BASE.Callback.Signal = SIGNAL.find; + BASE.Callback.ExecuteHooks = HOOKS; +})("MathJax"); + +/**********************************************************/ + +(function (BASENAME) { + var BASE = window[BASENAME]; + if (!BASE) {BASE = window[BASENAME] = {}} + + var isSafari2 = (navigator.vendor === "Apple Computer, Inc." && + typeof navigator.vendorSub === "undefined"); + var sheets = 0; // used by Safari2 + + // + // Update sheets count and look up the head object + // + var HEAD = function (head) { + if (document.styleSheets && document.styleSheets.length > sheets) + {sheets = document.styleSheets.length} + if (!head) { + head = (document.getElementsByTagName("head"))[0]; + if (!head) {head = document.body} + } + return head; + }; + + // + // Remove scripts that are completed so they don't clutter up the HEAD. + // This runs via setTimeout since IE7 can't remove the script while it is running. + // + var SCRIPTS = []; // stores scripts to be removed after a delay + var REMOVESCRIPTS = function () { + for (var i = 0, m = SCRIPTS.length; i < m; i++) {BASE.Ajax.head.removeChild(SCRIPTS[i])} + SCRIPTS = []; + }; + + BASE.Ajax = { + loaded: {}, // files already loaded + loading: {}, // files currently in process of loading + loadHooks: {}, // hooks to call when files are loaded + timeout: 15*1000, // timeout for loading of files (15 seconds) + styleDelay: 1, // delay to use before styles are available + config: {root: ""}, // URL of root directory to load from + + STATUS: { + OK: 1, // file is loading or did load OK + ERROR: -1 // file timed out during load + }, + + rootPattern: new RegExp("^\\["+BASENAME+"\\]"), + + // + // Return a complete URL to a file (replacing the root pattern) + // + fileURL: function (file) {return file.replace(this.rootPattern,this.config.root)}, + + // + // Load a file if it hasn't been already. + // Make sure the file URL is "safe"? + // + Require: function (file,callback) { + callback = BASE.Callback(callback); var type; + if (file instanceof Object) {for (var i in file) {}; type = i.toUpperCase(); file = file[i]} + else {type = file.split(/\./).pop().toUpperCase()} + file = this.fileURL(file); + // FIXME: check that URL is OK + if (this.loaded[file]) { + callback(this.loaded[file]); + } else { + var FILE = {}; FILE[type] = file; + this.Load(FILE,callback); + } + return callback; + }, + + // + // Load a file regardless of where it is and whether it has + // already been loaded. + // + Load: function (file,callback) { + callback = BASE.Callback(callback); var type; + if (file instanceof Object) {for (var i in file) {}; type = i.toUpperCase(); file = file[i]} + else {type = file.split(/\./).pop().toUpperCase()} + file = this.fileURL(file); + if (this.loading[file]) { + if (!this.loadHooks[file]) {this.loadHooks[file] = []} + this.loadHooks[file].push(callback); + } else { + this.head = HEAD(this.head); + if (this.loader[type]) {this.loader[type].call(this,file,callback)} + else {throw Error("Can't load files of type "+type)} + } + return callback; + }, + + // + // Register a load hook for a particular file (it will be called when + // loadComplete() is called for that file) + // + LoadHook: function (file,callback) { + callback = BASE.Callback(callback); + if (file instanceof Object) {for (var i in file) {file = file[i]}} + file = this.fileURL(file); + if (this.loaded[file]) { + callback(this.loaded[file]); + } else { + if (!this.loadHooks[file]) {this.loadHooks[file] = []} + this.loadHooks[file].push(callback); + } + return callback; + }, + + // + // Used when files are combined in a preloading configuration file + // + Preloading: function () { + for (var i = 0, m = arguments.length; i < m; i++) { + var file = this.fileURL(arguments[i]); + if (!this.loading[file]) {this.loading[file] = {preloaded: true}} + } + }, + + // + // Code used to load the various types of files + // (JS for JavaScript, CSS for style sheets) + // + loader: { + // + // Create a SCRIPT tag to load the file + // + JS: function (file,callback) { + var script = document.createElement("script"); + var timeout = BASE.Callback(["loadTimeout",this,file]); + this.loading[file] = { + callback: callback, + message: BASE.Message.File(file), + timeout: setTimeout(timeout,this.timeout), + status: this.STATUS.OK, + script: script + }; + script.onerror = timeout; // doesn't work in IE and no apparent substitute + script.type = "text/javascript"; + script.src = file; + this.head.appendChild(script); + }, + // + // Create a LINK tag to load the style sheet + // + CSS: function (file,callback) { + var link = document.createElement("link"); + link.rel = "stylesheet"; link.type = "text/css"; link.href = file; + this.loading[file] = { + callback: callback, + message: BASE.Message.File(file), + status: this.STATUS.OK + }; + this.head.appendChild(link); + this.timer.create.call(this,[this.timer.file,file],link); + } + }, + + // + // Timing code for checking when style sheets are available. + // + timer: { + // + // Create the timing callback and start the timing loop. + // We use a delay because some browsers need it to allow the styles + // to be processed. + // + create: function (callback,node) { + callback = BASE.Callback(callback); + if (node.nodeName === "STYLE" && node.styleSheet && + typeof(node.styleSheet.cssText) !== 'undefined') { + callback(this.STATUS.OK); // MSIE processes style immediately, but doesn't set its styleSheet! + } else if (window.chrome && typeof(window.sessionStorage) !== "undefined" && + node.nodeName === "STYLE") { + callback(this.STATUS.OK); // Same for Chrome 5 (beta), Grrr. + } else if (isSafari2) { + this.timer.start(this,[this.timer.checkSafari2,sheets++,callback],this.styleDelay); + } else { + this.timer.start(this,[this.timer.checkLength,node,callback],this.styleDelay); + } + return callback; + }, + // + // Start the timer for the given callback checker + // + start: function (AJAX,check,delay,timeout) { + check = BASE.Callback(check); + check.execute = this.execute; check.time = this.time; + check.STATUS = AJAX.STATUS; check.timeout = timeout || AJAX.timeout; + check.delay = check.total = 0; + setTimeout(check,delay); + }, + // + // Increment the time total, increase the delay + // and test if we are past the timeout time. + // + time: function (callback) { + this.total += this.delay; + this.delay = Math.floor(this.delay * 1.05 + 5); + if (this.total >= this.timeout) {callback(this.STATUS.ERROR); return 1} + return 0; + }, + // + // For JS file loads, call the proper routine according to status + // + file: function (file,status) { + if (status < 0) {BASE.Ajax.loadTimeout(file)} else {BASE.Ajax.loadComplete(file)} + }, + // + // Call the hook with the required data + // + execute: function () {this.hook.call(this.object,this,this.data[0],this.data[1])}, + // + // Safari2 doesn't set the link's stylesheet, so we need to look in the + // document.styleSheets array for the new sheet when it is created + // + checkSafari2: function (check,length,callback) { + if (check.time(callback)) return; + if (document.styleSheets.length > length && + document.styleSheets[length].cssRules && + document.styleSheets[length].cssRules.length) + {callback(check.STATUS.OK)} else {setTimeout(check,check.delay)} + }, + // + // Look for the stylesheets rules and check when they are defined + // and no longer of length zero. (This assumes there actually ARE + // some rules in the stylesheet.) + // + checkLength: function (check,node,callback) { + if (check.time(callback)) return; + var isStyle = 0; var sheet = (node.sheet || node.styleSheet); + try {if ((sheet.cssRules||sheet.rules||[]).length > 0) {isStyle = 1}} catch(err) { + if (err.message.match(/protected variable|restricted URI/)) {isStyle = 1} + else if (err.message.match(/Security error/)) { + // Firefox3 gives "Security error" for missing files, so + // can't distinguish that from OK files on remote servers. + // or OK files in different directory from local files. + isStyle = 1; // just say it is OK (can't really tell) + } + } + if (isStyle) { + // Opera 9.6 requires this setTimeout + setTimeout(BASE.Callback([callback,check.STATUS.OK]),0); + } else { + setTimeout(check,check.delay); + } + } + }, + + // + // JavaScript code must call this when they are completely initialized + // (this allows them to perform asynchronous actions before indicating + // that they are complete). + // + loadComplete: function (file) { + file = this.fileURL(file); + var loading = this.loading[file]; + if (loading && !loading.preloaded) { + BASE.Message.Clear(loading.message); + clearTimeout(loading.timeout); + if (loading.script) { + if (SCRIPTS.length === 0) {setTimeout(REMOVESCRIPTS,0)} + SCRIPTS.push(loading.script); + } + this.loaded[file] = loading.status; delete this.loading[file]; + if (!this.loadHooks[file]) {this.loadHooks[file] = []} + this.loadHooks[file].push(loading.callback); + } else { + this.loaded[file] = this.STATUS.OK; + loading = {status: this.STATUS.OK} + } + BASE.Callback.ExecuteHooks(this.loadHooks[file],loading.status); + }, + + // + // If a file fails to load within the timeout period (or the onerror handler + // is called), this routine runs to signal the error condition. + // + loadTimeout: function (file) { + if (this.loading[file].timeout) {clearTimeout(this.loading[file].timeout)} + this.loading[file].status = this.STATUS.ERROR; + this.loadError(file); + this.loadComplete(file); + }, + + // + // The default error hook for file load failures + // + loadError: function (file) {BASE.Message.Set("File failed to load: "+file,null,2000)}, + + // + // Defines a style sheet from a hash of style declarations (key:value pairs + // where the key is the style selector and the value is a hash of CSS attributes + // and values). + // + Styles: function (styles,callback) { + var styleString = this.StyleString(styles); + if (styleString === "") { + callback = BASE.Callback(callback); + callback(); + } else { + var style = document.createElement("style"); style.type = "text/css"; + this.head = HEAD(this.head); + this.head.appendChild(style); + if (style.styleSheet && typeof(style.styleSheet.cssText) !== 'undefined') { + style.styleSheet.cssText = styleString; + } else { + style.appendChild(document.createTextNode(styleString)); + } + callback = this.timer.create.call(this,callback,style); + } + return callback; + }, + + // + // Create a stylesheet string from a style declaration object + // + StyleString: function (styles) { + if (typeof(styles) === 'string') {return styles} + var string = "", id, style; + for (id in styles) {if (styles.hasOwnProperty(id)) { + if (typeof styles[id] === 'string') { + string += id + " {"+styles[id]+"}\n"; + } else if (styles[id] instanceof Array) { + for (var i = 0; i < styles[id].length; i++) { + style = {}; style[id] = styles[id][i]; + string += this.StyleString(style); + } + } else if (id.substr(0,6) === '@media') { + string += id + " {"+this.StyleString(styles[id])+"}\n"; + } else if (styles[id] != null) { + style = []; + for (var name in styles[id]) {if (styles[id].hasOwnProperty(name)) { + if (styles[id][name] != null) + {style[style.length] = name + ': ' + styles[id][name]} + }} + string += id +" {"+style.join('; ')+"}\n"; + } + }} + return string; + } + }; + +})("MathJax"); + +/**********************************************************/ + +MathJax.HTML = { + // + // Create an HTML element with given attributes and content. + // The def parameter is an (optional) object containing key:value pairs + // of the attributes and their values, and contents is an (optional) + // array of strings to be inserted as text, or arrays of the form + // [type,def,contents] that describes an HTML element to be inserted + // into the current element. Thus the contents can describe a complete + // HTML snippet of arbitrary complexity. E.g.: + // + // MathJax.HTML.Element("span",{id:"mySpan",style{"font-style":"italic"}},[ + // "(See the ",["a",{href:"http://www.mathjax.org"},["MathJax home page"]], + // " for more details.)"]); + // + Element: function (type,def,contents) { + var obj = document.createElement(type); + if (def) { + if (def.style) { + var style = def.style; def.style = {}; + for (var id in style) {if (style.hasOwnProperty(id)) + {def.style[id.replace(/-([a-z])/g,this.ucMatch)] = style[id]}} + } + MathJax.Hub.Insert(obj,def); + } + if (contents) { + for (var i = 0; i < contents.length; i++) { + if (contents[i] instanceof Array) { + obj.appendChild(this.Element(contents[i][0],contents[i][1],contents[i][2])); + } else { + obj.appendChild(document.createTextNode(contents[i])); + } + } + } + return obj; + }, + ucMatch: function (match,c) {return c.toUpperCase()}, + addElement: function (span,type,def,contents) {return span.appendChild(this.Element(type,def,contents))}, + TextNode: function (text) {return document.createTextNode(text)}, + addText: function (span,text) {return span.appendChild(this.TextNode(text))}, + + // + // Set the text of a script + // + setScript: function (script,text) { + if (this.setScriptBug) {script.text = text} else { + while (script.firstChild) {script.removeChild(script.firstChild)} + this.addText(script,text); + } + }, + + // + // Manage cookies + // + Cookie: { + prefix: "mjx", + expires: 365, + + // + // Save an object as a named cookie + // + Set: function (name,def) { + var keys = []; + if (def) { + for (var id in def) {if (def.hasOwnProperty(id)) { + keys.push(id+":"+def[id].toString().replace(/&/g,"&&")); + }} + } + var cookie = this.prefix+"."+name+"="+escape(keys.join('&;')); + if (this.expires) { + var time = new Date(); time.setDate(time.getDate() + this.expires); + cookie += '; expires='+time.toGMTString(); + } + document.cookie = cookie+"; path=/"; + }, + + // + // Get the contents of a named cookie and incorporate + // it into the given object (or return a fresh one) + // + Get: function (name,obj) { + if (!obj) {obj = {}} + var pattern = new RegExp("(?:^|;\\s*)"+this.prefix+"\\."+name+"=([^;]*)(?:;|$)"); + var match = pattern.exec(document.cookie); + if (match && match[1] !== "") { + var keys = unescape(match[1]).split('&;'); + for (var i = 0, m = keys.length; i < m; i++) { + match = keys[i].match(/([^:]+):(.*)/); + var value = match[2].replace(/&&/g,'&'); + if (value === "true") {value = true} else if (value === "false") {value = false} + else if (value.match(/^-?(\d+(\.\d+)?|\.\d+)$/)) {value = parseFloat(value)} + obj[match[1]] = value; + } + } + return obj; + } + } +}; + +/**********************************************************/ + +MathJax.Message = { + ready: false, // used to tell when the styles are available + log: [{}], current: null, + textNodeBug: (navigator.vendor === "Apple Computer, Inc." && + typeof navigator.vendorSub === "undefined") || + (window.hasOwnProperty && window.hasOwnProperty("konqueror")), // Konqueror displays some gibberish with text.nodeValue = "..." + + styles: { + "#MathJax_Message": { + position: "fixed", left: "1px", bottom: "2px", + 'background-color': "#E6E6E6", border: "1px solid #959595", + margin: "0px", padding: "2px 8px", + 'z-index': "102", color: "black", 'font-size': "80%", + width: "auto", 'white-space': "nowrap" + }, + + "#MathJax_MSIE_Frame": { + position: "absolute", + top:0, left: 0, width: "0px", 'z-index': 101, + border: "0px", margin: "0px", padding: "0px" + } + }, + + browsers: { + MSIE: function (browser) { + MathJax.Hub.config.styles["#MathJax_Message"].position = "absolute"; + MathJax.Message.quirks = (document.compatMode === "BackCompat"); + }, + Chrome: function (browser) { + MathJax.Hub.config.styles["#MathJax_Message"].bottom = "1.5em"; + MathJax.Hub.config.styles["#MathJax_Message"].left = "1em"; + } + }, + + Init: function (styles) { + if (styles) {this.ready = true} + if (!document.body || !this.ready) {return false} + // + // ASCIIMathML replaces the entire page with a copy of itself (@#!#%@!!) + // so check that this.div is still part of the page, otherwise look up + // the copy and use that. + // + if (this.div && this.div.parentNode == null) { + this.div = document.getElementById("MathJax_Message"); + if (this.div) {this.text = this.div.firstChild} + } + if (!this.div) { + var frame = document.body; + if (MathJax.Hub.Browser.isMSIE) { + frame = this.frame = this.addDiv(document.body); frame.removeAttribute("id"); + frame.style.position = "absolute"; + frame.style.border = frame.style.margin = frame.style.padding = "0px"; + frame.style.zIndex = "101"; frame.style.height = "0px"; + frame = this.addDiv(frame); + frame.id = "MathJax_MSIE_Frame"; + window.attachEvent("onscroll",this.MoveFrame); + window.attachEvent("onresize",this.MoveFrame); + this.MoveFrame(); + } + this.div = this.addDiv(frame); this.div.style.display = "none"; + this.text = this.div.appendChild(document.createTextNode("")); + } + return true; + }, + + addDiv: function (parent) { + var div = document.createElement("div"); + div.id = "MathJax_Message"; + if (parent.firstChild) {parent.insertBefore(div,parent.firstChild)} + else {parent.appendChild(div)} + return div; + }, + + MoveFrame: function () { + var body = (MathJax.Message.quirks ? document.body : document.documentElement); + var frame = MathJax.Message.frame; + frame.style.left = body.scrollLeft + 'px'; + frame.style.top = body.scrollTop + 'px'; + frame.style.width = body.clientWidth + 'px'; + frame = frame.firstChild; + frame.style.height = body.clientHeight + 'px'; + }, + + filterText: function (text,n) { + if (MathJax.Hub.config.messageStyle === "simple") { + if (text.match(/^Loading /)) { + if (!this.loading) {this.loading = "Loading "} + text = this.loading; this.loading += "."; + } else if (text.match(/^Processing /)) { + if (!this.processing) {this.processing = "Processing "} + text = this.processing; this.processing += "."; + } + } + return text; + }, + + Set: function (text,n,clearDelay) { + if (this.timer) {clearTimeout(this.timer); delete this.timeout} + if (n == null) {n = this.log.length; this.log[n] = {}} + this.log[n].text = text; this.log[n].filteredText = text = this.filterText(text,n); + if (typeof(this.log[n].next) === "undefined") { + this.log[n].next = this.current; + if (this.current != null) {this.log[this.current].prev = n} + this.current = n; + } + if (this.current === n && MathJax.Hub.config.messageStyle !== "none") { + if (this.Init()) { + if (this.textNodeBug) {this.div.innerHTML = text} else {this.text.nodeValue = text} + this.div.style.display = ""; + if (this.status) {window.status = ""; delete this.status} + } else { + window.status = text; + this.status = true; + } + } + if (clearDelay) {setTimeout(MathJax.Callback(["Clear",this,n]),clearDelay)} + return n; + }, + + Clear: function (n,delay) { + if (this.log[n].prev != null) {this.log[this.log[n].prev].next = this.log[n].next} + if (this.log[n].next != null) {this.log[this.log[n].next].prev = this.log[n].prev} + if (this.current === n) { + this.current = this.log[n].next; + if (this.text) { + if (this.div.parentNode == null) {this.Init()} // see ASCIIMathML comments above + if (this.current == null) { + if (this.timer) {clearTimeout(this.timer)} + this.timer = setTimeout(MathJax.Callback(["Remove",this]),(delay||600)); + } else if (MathJax.Hub.config.messageStyle !== "none") { + if (this.textNodeBug) {this.div.innerHTML = this.log[this.current].filteredText} + else {this.text.nodeValue = this.log[this.current].filteredText} + } + if (this.status) {window.status = ""; delete this.status} + } else if (this.status) { + window.status = (this.current == null ? "" : this.log[this.current].text); + } + } + delete this.log[n].next; delete this.log[n].prev; + delete this.log[n].filteredText; + }, + + Remove: function () { + // FIXME: do a fade out or something else interesting? + this.text.nodeValue = ""; + this.div.style.display = "none"; + }, + + File: function (file) { + var root = MathJax.Ajax.config.root; + if (file.substr(0,root.length) === root) {file = "[MathJax]"+file.substr(root.length)} + return this.Set("Loading "+file); + }, + + Log: function () { + var strings = []; + for (var i = 1, m = this.log.length; i < m; i++) {strings[i] = this.log[i].text} + return strings.join("\n"); + } + +}; + +/**********************************************************/ + +MathJax.Hub = { + config: { + root: "", + config: [], // list of configuration files to load + styleSheets: [], // list of CSS files to load + styles: {}, // styles to generate in-line + jax: [], // list of input and output jax to load + extensions: [], // list of extensions to load + preJax: null, // pattern to remove from before math script tag + postJax: null, // pattern to remove from after math script tag + displayAlign: 'center', // how to align displayed equations (left, center, right) + displayIndent: '0', // indentation for displayed equations (when not centered) + preRemoveClass: 'MathJax_Preview', // class of objects to remove preceeding math script + showProcessingMessages: true, // display "Processing math: nn%" messages or not + messageStyle: "normal", // set to "none" or "simple" (for "Loading..." and "Processing...") + delayStartupUntil: "none", // set to "onload" to delay setup until the onload handler runs + // set to "configured" to delay startup until MathJax.Hub.Configured() is called + // set to a Callback to wait for before continuing with the startup + skipStartupTypeset: false, // set to true to skip PreProcess and Process during startup + "v1.0-compatible": true, // set to false to prevent loading of default configuration file + elements: [], // array of elements to process when none is given explicitly + + preProcessors: [], // list of callbacks for preprocessing (initialized by extensions) + inputJax: {}, // mime-type mapped to input jax (by registration) + outputJax: {order:{}}, // mime-type mapped to output jax list (by registration) + + menuSettings: { + //format: "MathML", // the Show Source format (set in MathMenu.js) + zoom: "None", // when to do MathZoom + CTRL: false, // require CTRL for MathZoom? + ALT: false, // require Alt or Option? + CMD: false, // require CMD? + Shift: false, // require Shift? + zscale: "200%", // the scaling factor for MathZoom + renderer: "", // set when Jax are loaded + font: "Auto", // what font HTML-CSS should use + context: "MathJax" // or "Browser" for pass-through to browser menu + }, + + errorSettings: { + message: ["[Math Processing Error]"], // HTML snippet structure for message to use + style: {color: "#CC0000", "font-style":"italic"} // style for message + } + }, + + processUpdateTime: 250, // time between screen updates when processing math (milliseconds) + + signal: MathJax.Callback.Signal("Hub"), // Signal used for Hub events + + Config: function (def) { + this.Insert(this.config,def); + if (this.config.Augment) {this.Augment(this.config.Augment)} + }, + CombineConfig: function (name,def) { + var config = this.config, id, parent; name = name.split(/\./); + for (var i = 0, m = name.length; i < m; i++) { + id = name[i]; if (!config[id]) {config[id] = {}} + parent = config; config = config[id]; + } + parent[id] = config = this.Insert(def,config); + return config; + }, + + Register: { + PreProcessor: function (callback) {MathJax.Hub.config.preProcessors.push(MathJax.Callback(callback))}, + MessageHook: function () {return MathJax.Hub.signal.MessageHook.apply(MathJax.Hub.signal,arguments)}, + StartupHook: function () {return MathJax.Hub.Startup.signal.MessageHook.apply(MathJax.Hub.Startup.signal,arguments)}, + LoadHook: function () {return MathJax.Ajax.LoadHook.apply(MathJax.Ajax,arguments)} + }, + + getAllJax: function (element) { + var jax = [], scripts = this.elementScripts(element); + for (var i = 0, m = scripts.length; i < m; i++) { + if (scripts[i].MathJax && scripts[i].MathJax.elementJax) + {jax.push(scripts[i].MathJax.elementJax)} + } + return jax; + }, + + getJaxByType: function (type,element) { + var jax = [], scripts = this.elementScripts(element); + for (var i = 0, m = scripts.length; i < m; i++) { + if (scripts[i].MathJax && scripts[i].MathJax.elementJax && + scripts[i].MathJax.elementJax.mimeType === type) + {jax.push(scripts[i].MathJax.elementJax)} + } + return jax; + }, + + getJaxByInputType: function (type,element) { + var jax = [], scripts = this.elementScripts(element); + for (var i = 0, m = scripts.length; i < m; i++) { + if (scripts[i].MathJax && scripts[i].MathJax.elementJax && + scripts[i].type && scripts[i].type.replace(/ *;(.|\s)*/,"") === type) + {jax.push(scripts[i].MathJax.elementJax)} + } + return jax; + }, + + getJaxFor: function (element) { + if (typeof(element) === 'string') {element = document.getElementById(element)} + if (element && element.MathJax) {return element.MathJax.elementJax} + // FIXME: also check for results of outputJax + return null; + }, + + isJax: function (element) { + if (typeof(element) === 'string') {element = document.getElementById(element)} + if (element && element.tagName != null && element.tagName.toLowerCase() === 'script') { + if (element.MathJax) + {return (element.MathJax.state === MathJax.ElementJax.STATE.PROCESSED ? 1 : -1)} + if (element.type && this.config.inputJax[element.type.replace(/ *;(.|\s)*/,"")]) {return -1} + } + // FIXME: check for results of outputJax + return 0; + }, + + Queue: function () { + return this.queue.Push.apply(this.queue,arguments); + }, + + Typeset: function (element,callback) { + if (!MathJax.isReady) return null; + var ec = this.elementCallback(element,callback); + var queue = MathJax.Callback.Queue(); + for (var i = 0, m = ec.elements.length; i < m; i++) { + if (ec.elements[i]) { + queue.Push( + ["PreProcess",this,ec.elements[i]], + ["Process",this,ec.elements[i]] + ); + } + } + return queue.Push(ec.callback); + }, + + PreProcess: function (element,callback) { + var ec = this.elementCallback(element,callback); + var queue = MathJax.Callback.Queue(); + for (var i = 0, m = ec.elements.length; i < m; i++) { + if (ec.elements[i]) { + queue.Push( + ["Post",this.signal,["Begin PreProcess",ec.elements[i]]], + ["ExecuteHooks",MathJax.Callback, + (arguments.callee.disabled ? [] : this.config.preProcessors), ec.elements[i], true], + ["Post",this.signal,["End PreProcess",ec.elements[i]]] + ); + } + } + return queue.Push(ec.callback); + }, + + Process: function (element,callback) {return this.takeAction("Process",element,callback)}, + Update: function (element,callback) {return this.takeAction("Update",element,callback)}, + Reprocess: function (element,callback) {return this.takeAction("Reprocess",element,callback)}, + + takeAction: function (action,element,callback) { + var ec = this.elementCallback(element,callback); + var queue = MathJax.Callback.Queue(["Clear",this.signal]); + for (var i = 0, m = ec.elements.length; i < m; i++) { + if (ec.elements[i]) { + var scripts = []; // filled in by prepareScripts + queue.Push( + ["Post",this.signal,["Begin "+action,ec.elements[i]]], + ["Post",this.signal,["Begin Math",ec.elements[i]]], + ["prepareScripts",this,action,ec.elements[i],scripts], + ["processScripts",this,scripts], + ["Post",this.signal,["End Math",ec.elements[i]]], + ["Post",this.signal,["End "+action,ec.elements[i]]] + ); + } + } + return queue.Push(ec.callback); + }, + + scriptAction: { + Process: function (script) {}, + Update: function (script) { + var jax = script.MathJax.elementJax; + // FIXME: Have intputJax determine if things have changed? + if (jax && jax.originalText === (script.text == "" ? script.innerHTML : script.text)) + {script.MathJax.state = jax.STATE.PROCESSED} else + {jax.outputJax.Remove(jax); script.MathJax.state = jax.STATE.UPDATE} + }, + Reprocess: function (script) { + var jax = script.MathJax.elementJax; + if (jax) {jax.outputJax.Remove(jax); script.MathJax.state = jax.STATE.UPDATE} + } + }, + + prepareScripts: function (action,element,math) { + if (arguments.callee.disabled) return; + var scripts = this.elementScripts(element); + var STATE = MathJax.ElementJax.STATE; + for (var i = 0, m = scripts.length; i < m; i++) { + var script = scripts[i]; + if (script.type && this.config.inputJax[script.type.replace(/ *;(.|\n)*/,"")]) { + if (script.MathJax && script.MathJax.state !== STATE.PENDING) + {this.scriptAction[action](script)} + if (!script.MathJax) {script.MathJax = {state: STATE.PENDING}} + if (script.MathJax.state !== STATE.PROCESSED) {math.push(script)} + } + } + }, + + checkScriptSiblings: function (script) { + if (script.MathJax && script.MathJax.checked) return; + var config = this.config; + var pre = script.previousSibling; + if (pre && pre.nodeName == "#text") { + var preJax,postJax; + var post = script.nextSibling; + if (post && post.nodeName != "#text") {post = null} + if (config.preJax) { + if (typeof(config.preJax) === "string") {config.preJax = new RegExp(config.preJax+"$")} + preJax = pre.nodeValue.match(config.preJax); + } + if (config.postJax && post) { + if (typeof(config.postJax) === "string") {config.postJax = new RegExp("^"+config.postJax)} + postJax = post.nodeValue.match(config.postJax); + } + if (preJax && (!config.postJax || postJax)) { + pre.nodeValue = pre.nodeValue.replace + (config.preJax,(preJax.length > 1? preJax[1] : "")); + pre = null; + } + if (postJax && (!config.preJax || preJax)) { + post.nodeValue = post.nodeValue.replace + (config.postJax,(postJax.length > 1? postJax[1] : "")); + } + if (pre && !pre.nodeValue.match(/\S/)) {pre = pre.previousSibling} + } + if (config.preRemoveClass && pre && pre.className == config.preRemoveClass) { + try {pre.innerHTML = ""} catch (err) {} + pre.style.display = "none"; + } + if (script.MathJax) {script.MathJax.checked = 1} + }, + + processScripts: function (scripts,start,n) { + if (arguments.callee.disabled) {return null} + var result, STATE = MathJax.ElementJax.STATE; + var inputJax = this.config.inputJax, outputJax = this.config.outputJax; + try { + if (!start) {start = new Date().getTime()} + var i = 0, script, prev; + while (i < scripts.length) { + script = scripts[i]; if (!script) {i++; continue} + prev = script.previousSibling; + if (prev && prev.className === "MathJax_Error") {prev.parentNode.removeChild(prev)} + var type = script.type.replace(/ *;(.|\s)*/,""); + if (!script.MathJax || script.MathJax.state === STATE.PROCESSED) {i++; continue}; + if (!script.MathJax.elementJax || script.MathJax.state === STATE.UPDATE) { + this.checkScriptSiblings(script); + result = inputJax[type].Process(script); + if (typeof result === 'function') { + if (result.called) continue; // go back and call Process() again + this.RestartAfter(result); + } + result.Attach(script,inputJax[type]); + script.MathJax.state = STATE.OUTPUT; + } + var jax = script.MathJax.elementJax; + if (!outputJax[jax.mimeType]) { + script.MathJax.state = STATE.UPDATE; + throw Error("No output jax registered for "+jax.mimeType); + } + jax.outputJax = outputJax[jax.mimeType][0]; + result = jax.outputJax.Process(script); + if (typeof result === 'function') { + if (result.called) continue; // go back and call Process() again + this.RestartAfter(result); + } + script.MathJax.state = STATE.PROCESSED; + this.signal.Post(["New Math",jax.inputID]); // FIXME: wait for this? (i.e., restart if returns uncalled callback) + i++; + if (new Date().getTime() - start > this.processUpdateTime && i < scripts.length) + {start = 0; this.RestartAfter(MathJax.Callback.Delay(1))} + } + } catch (err) { + if (!err.restart) { + if (!this.config.errorSettings.message) {throw err} + this.formatError(script,err); i++; + } + if (!n) {n = 0}; var m = Math.floor((n+i)/(n+scripts.length)*100); n += i; + if (this.config.showProcessingMessages) {MathJax.Message.Set("Processing math: "+m+"%",0)} + return MathJax.Callback.After(["processScripts",this,scripts.slice(i),start,n],err.restart); + } + if ((n || scripts.length) && this.config.showProcessingMessages) { + MathJax.Message.Set("Processing Math: 100%",0); + MathJax.Message.Clear(0); + } + return null; + }, + formatError: function (script,err) { + var error = MathJax.HTML.Element("span",{className:"MathJax_Error"},this.config.errorSettings.message); + script.parentNode.insertBefore(error,script); + this.lastError = err; + }, + + RestartAfter: function (callback) { + throw this.Insert(Error("restart"),{restart: MathJax.Callback(callback)}); + }, + + elementCallback: function (element,callback) { + if (callback == null && (element instanceof Array || typeof element === 'function')) + {try {MathJax.Callback(element); callback = element; element = null} catch(e) {}} + if (element == null) {element = this.config.elements || []} + if (!(element instanceof Array)) {element = [element]} + element = [].concat(element); // make a copy so the original isn't changed + for (var i = 0, m = element.length; i < m; i++) + {if (typeof(element[i]) === 'string') {element[i] = document.getElementById(element[i])}} + if (element.length == 0) {element.push(document.body)} + if (!callback) {callback = {}} + return {elements: element, callback: callback}; + }, + + elementScripts: function (element) { + if (typeof(element) === 'string') {element = document.getElementById(element)} + if (element == null) {element = document.body} + if (element.tagName != null && element.tagName.toLowerCase() === "script") {return [element]} + return element.getElementsByTagName("script"); + }, + + Insert: function (dst,src) { + for (var id in src) {if (src.hasOwnProperty(id)) { + // allow for concatenation of arrays? + if (typeof src[id] === 'object' && !(src[id] instanceof Array) && + (typeof dst[id] === 'object' || typeof dst[id] === 'function')) { + this.Insert(dst[id],src[id]); + } else { + dst[id] = src[id]; + } + }} + return dst; + } +}; +MathJax.Hub.Insert(MathJax.Hub.config.styles,MathJax.Message.styles); +MathJax.Hub.Insert(MathJax.Hub.config.styles,{".MathJax_Error":MathJax.Hub.config.errorSettings.style}); + +// +// Storage area for preprocessors and extensions +// (should these be classes?) +// +MathJax.Extension = {}; + +// +// Hub Startup code +// +MathJax.Hub.Configured = MathJax.Callback({}); // called when configuration is complete +MathJax.Hub.Startup = { + script: "", // the startup script from the SCRIPT call that loads MathJax.js + queue: MathJax.Callback.Queue(), // Queue used for startup actions + signal: MathJax.Callback.Signal("Startup"), // Signal used for startup events + params: {}, + + // + // Load the configuration files + // + Config: function () { + this.queue.Push(["Post",this.signal,"Begin Config"]); + // + // Check for user cookie configuration + // + var user = MathJax.HTML.Cookie.Get("user"); + if (user.URL || user.Config) { + if (confirm( + "MathJax has found a user-configuration cookie that includes code to be run. " + + "Do you want to run it?\n\n"+ + "(You should press Cancel unless you set up the cookie yourself.)" + )) { + if (user.URL) {this.queue.Push(["Require",MathJax.Ajax,user.URL])} + if (user.Config) {this.queue.Push(new Function(user.Config))} + } else {MathJax.HTML.Cookie.Set("user",{})} + } + // + // Run the config files, if any are given in the parameter list + // + if (this.params.config) { + var files = this.params.config.split(/,/); + for (var i = 0, m = files.length; i < m; i++) { + if (!files[i].match(/\.js$/)) {files[i] += ".js"} + this.queue.Push(["Require",MathJax.Ajax,this.URL("config",files[i])]); + } + } + // + // Run the deprecated configuration script, if any (ignoring return value) + // Wait for the startup delay signal + // Run the mathjax-config blocks + // Handle the default configuration (v1.0 compatible) + // Load the files in the configuration's config array + // + if (this.script.match(/\S/)) {this.queue.Push(this.script+";\n1;")} + this.queue.Push( + ["ConfigDelay",this], + ["ConfigBlocks",this], + ["ConfigDefault",this], + [function (THIS) {return THIS.loadArray(MathJax.Hub.config.config,"config",null,true)},this], + ["Post",this.signal,"End Config"] + ); + }, + // + // Return the delay callback + // + ConfigDelay: function () { + var delay = this.params.delayStartupUntil || MathJax.Hub.config.delayStartupUntil; + if (delay === "onload") {return this.onload} + if (delay === "configured") {return MathJax.Hub.Configured} + return delay; + }, + // + // Run the scipts of type=text/x-mathajx-config + // + ConfigBlocks: function () { + var scripts = document.getElementsByTagName("script"); + var last = null, queue = MathJax.Callback.Queue(); + for (var i = 0, m = scripts.length; i < m; i++) { + var type = String(scripts[i].type).replace(/ /g,""); + if (type.match(/^text\/x-mathjax-config(;.*)?$/) && !type.match(/;executed=true/)) { + scripts[i].type += ";executed=true"; + last = queue.Push(scripts[i].innerHTML+";\n1;"); + } + } + return last; + }, + // + // Check for v1.0 no-configuration and put up a warning message. + // + ConfigDefault: function () { + var CONFIG = MathJax.Hub.config; + if (CONFIG["v1.0-compatible"] && CONFIG.jax.length === 0) + {return MathJax.Ajax.Require(this.URL("extensions","v1.0-warning.js"))} + }, + + // + // Read cookie and set up menu defaults + // (adjust the jax to accommodate renderer preferences) + // + Cookie: function () { + return this.queue.Push( + ["Post",this.signal,"Begin Cookie"], + ["Get",MathJax.HTML.Cookie,"menu",MathJax.Hub.config.menuSettings], + [function (config) { + var renderer = config.menuSettings.renderer, jax = config.jax; + if (renderer) { + var name = "output/"+renderer; jax.sort(); + for (var i = 0, m = jax.length; i < m; i++) { + if (jax[i].substr(0,7) === "output/") break; + } + if (i == m-1) {jax.pop()} else { + while (i < m) {if (jax[i] === name) {jax.splice(i,1); break}; i++} + } + jax.unshift(name); + } + },MathJax.Hub.config], + ["Post",this.signal,"End Cookie"] + ); + }, + // + // Setup stylesheets and extra styles + // + Styles: function () { + return this.queue.Push( + ["Post",this.signal,"Begin Styles"], + ["loadArray",this,MathJax.Hub.config.styleSheets,"config"], + ["Styles",MathJax.Ajax,MathJax.Hub.config.styles], + ["Post",this.signal,"End Styles"] + ); + }, + // + // Load the input and output jax + // + Jax: function () { + var config = MathJax.Hub.config; + // Save the order of the output jax since they are loading asynchronously + for (var i = 0, m = config.jax.length, k = 0; i < m; i++) { + if (config.jax[i].substr(0,7) === "output/") + {config.outputJax.order[config.jax[i].substr(7)] = k; k++} + } + var queue = MathJax.Callback.Queue(); + return queue.Push( + ["Post",this.signal,"Begin Jax"], + ["loadArray",this,config.jax,"jax","config.js"], + ["Post",this.signal,"End Jax"] + ); + }, + // + // Load the extensions + // + Extensions: function () { + var queue = MathJax.Callback.Queue(); + return queue.Push( + ["Post",this.signal,"Begin Extensions"], + ["loadArray",this,MathJax.Hub.config.extensions,"extensions"], + ["Post",this.signal,"End Extensions"] + ); + }, + + // + // Initialize the Message system + // + Message: function () { + MathJax.Message.Init(true); + }, + + // + // Set the math menu renderer, if it isn't already + // (this must come after the jax are loaded) + // + Menu: function () { + var menu = MathJax.Hub.config.menuSettings, jax = MathJax.Hub.config.outputJax, registered; + for (var id in jax) {if (jax.hasOwnProperty(id)) { + if (jax[id].length) {registered = jax[id]; break} + }} + if (registered && registered.length) { + if (menu.renderer && menu.renderer !== registered[0].id) + {registered.unshift(MathJax.OutputJax[menu.renderer])} + menu.renderer = registered[0].id; + } + }, + + // + // Setup the onload callback + // + onLoad: function (when) { + var onload = this.onload = + MathJax.Callback(function () {MathJax.Hub.Startup.signal.Post("onLoad")}); + if (window.addEventListener) {window.addEventListener("load",onload,false)} + else if (window.attachEvent) {window.attachEvent("onload",onload)} + else {window.onload = onload} + return onload; + }, + + // + // Perform the initial typesetting (or skip if configuration says to) + // + Typeset: function (element,callback) { + if (MathJax.Hub.config.skipStartupTypeset) {return function () {}} + return this.queue.Push( + ["Post",this.signal,"Begin Typeset"], + ["Typeset",MathJax.Hub,element,callback], + ["Post",this.signal,"End Typeset"] + ); + }, + + // + // Create a URL in the MathJax hierarchy + // + URL: function (dir,name) { + if (!name.match(/^([a-z]+:\/\/|\[|\/)/)) {name = "[MathJax]/"+dir+"/"+name} + return name; + }, + + // + // Load an array of files, waiting for all of them + // to be loaded before going on + // + loadArray: function (files,dir,name,synchronous) { + if (files) { + if (!(files instanceof Array)) {files = [files]} + if (files.length) { + var queue = MathJax.Callback.Queue(), callback = {}, file; + for (var i = 0, m = files.length; i < m; i++) { + file = this.URL(dir,files[i]); + if (name) {file += "/" + name} + if (synchronous) {queue.Push(["Require",MathJax.Ajax,file,callback])} + else {queue.Push(MathJax.Ajax.Require(file,callback))} + } + return queue.Push({}); // wait for everything to finish + } + } + return null; + } + +}; + + +/**********************************************************/ + +(function (BASENAME) { + var BASE = window[BASENAME], ROOT = "["+BASENAME+"]"; + var HUB = BASE.Hub, AJAX = BASE.Ajax, CALLBACK = BASE.Callback; + + var JAX = MathJax.Object.Subclass({ + JAXFILE: "jax.js", + require: null, // array of files to load before jax.js is complete + config: {}, + // + // Make a subclass and return an instance of it. + // (FIXME: should we replace config with a copy of the constructor's + // config? Otherwise all subclasses share the same config structure.) + // + Init: function (def,cdef) { + if (arguments.length === 0) {return this} + return (this.constructor.Subclass(def,cdef))(); + }, + // + // Augment by merging with class definition (not replacing) + // + Augment: function (def,cdef) { + var cObject = this.constructor, ndef = {}; + if (def != null) { + for (var id in def) {if (def.hasOwnProperty(id)) { + if (typeof def[id] === "function") + {cObject.protoFunction(id,def[id])} else {ndef[id] = def[id]} + }} + // MSIE doesn't list toString even if it is not native so handle it separately + if (def.toString !== cObject.prototype.toString && def.toString !== {}.toString) + {cObject.protoFunction('toString',def.toString)} + } + HUB.Insert(cObject.prototype,ndef); + cObject.Augment(null,cdef); + return this; + }, + Process: function (element) { + var load = AJAX.Require(this.directory+"/"+this.JAXFILE); + if (!load.called) {this.constructor.prototype.Process = function (element) {return load}} + return load; + }, + Translate: function (element) { + throw Error(this.directory+"/"+this.JAXFILE+" failed to redefine the Translate() method"); + }, + Register: function (mimetype) {}, + Config: function () { + this.config = HUB.CombineConfig(this.id,this.config); + if (this.config.Augment) {this.Augment(this.config.Augment)} + }, + Startup: function () {}, + loadComplete: function (file) { + if (file === "config.js") { + AJAX.loadComplete(this.directory+"/"+file); + } else { + var queue = CALLBACK.Queue(); + queue.Push( + HUB.Register.StartupHook("End Config",{}), // wait until config complete + ["Post",HUB.Startup.signal,this.id+" Jax Config"], + ["Config",this], + ["Post",HUB.Startup.signal,this.id+" Jax Require"], + // Config may set the required and extensions array, + // so use functions to delay making the reference until needed + [function (THIS) {return MathJax.Hub.Startup.loadArray(THIS.require,this.directory)},this], + [function (config,id) {return MathJax.Hub.Startup.loadArray(config.extensions,"extensions/"+id)},this.config||{},this.id], + ["Post",HUB.Startup.signal,this.id+" Jax Startup"], + ["Startup",this], + ["Post",HUB.Startup.signal,this.id+" Jax Ready"], + [function (THIS) {THIS.Process = THIS.Translate},this.constructor.prototype], + ["loadComplete",AJAX,this.directory+"/"+file] + ); + } + } + },{ + id: "unknown", + version: "1.1", + directory: ROOT+"/jax", + extensionDir: ROOT+"/extensions" + }); + + /***********************************/ + + BASE.InputJax = JAX.Subclass({ + elementJax: "mml", // the element jax to load for this input jax + Process: function (element) { + var queue = CALLBACK.Queue(); + // Load any needed element jax + var jax = this.elementJax; if (!(jax instanceof Array)) {jax = [jax]} + for (var i = 0, m = jax.length; i < m; i++) { + var file = BASE.ElementJax.directory+"/"+jax[i]+"/"+this.JAXFILE; + if (!this.require) {this.require = []} + else if (!(this.require instanceof Array)) {this.require = [this.require]}; + this.require.push(file); // so Startup will wait for it to be loaded + queue.Push(AJAX.Require(file)); + } + // Load the input jax + var load = queue.Push(AJAX.Require(this.directory+"/"+this.JAXFILE)); + if (!load.called) {this.constructor.prototype.Process = function () {return load}} + // Load the associated output jax + jax = HUB.config.outputJax["jax/"+jax[0]]; + if (jax) {queue.Push(AJAX.Require(jax[0].directory+"/"+this.JAXFILE))} + return queue.Push({}); + }, + Register: function (mimetype) { + if (!HUB.config.inputJax) {HUB.config.inputJax = {}} + HUB.config.inputJax[mimetype] = this; + } + },{ + version: "1.1", + directory: JAX.directory+"/input", + extensionDir: JAX.extensionDir + }); + + /***********************************/ + + BASE.OutputJax = JAX.Subclass({ + Register: function (mimetype) { + var jax = HUB.config.outputJax; + if (!jax[mimetype]) {jax[mimetype] = []} + // If the output jax is earlier in the original configuration list, put it first here + if (jax[mimetype].length && (this.id === HUB.config.menuSettings.renderer || + (jax.order[this.id]||0) < (jax.order[jax[mimetype][0].id]||0))) + {jax[mimetype].unshift(this)} else {jax[mimetype].push(this)} + // Make sure the element jax is loaded before Startup is called + if (!this.require) {this.require = []} + else if (!(this.require instanceof Array)) {this.require = [this.require]}; + this.require.push(BASE.ElementJax.directory+"/"+(mimetype.split(/\//)[1])+"/"+this.JAXFILE); + }, + Remove: function (jax) {} + },{ + version: "1.1", + directory: JAX.directory+"/output", + extensionDir: JAX.extensionDir, + fontDir: ROOT+(BASE.isPacked?"":"/..")+"/fonts" + }); + + /***********************************/ + + BASE.ElementJax = JAX.Subclass({ + // make a subclass, not an instance + Init: function (def,cdef) {return this.constructor.Subclass(def,cdef)}, + + inputJax: null, + outputJax: null, + inputID: null, + originalText: "", + mimeType: "", + + Text: function (text,callback) { + var script = this.SourceElement(); + BASE.HTML.setScript(script,text); + script.MathJax.state = this.STATE.UPDATE; + return HUB.Update(script,callback); + }, + Reprocess: function (callback) { + var script = this.SourceElement(); + script.MathJax.state = this.STATE.UPDATE; + return HUB.Reprocess(script,callback); + }, + Update: function (callback) { + var script = this.SourceElement(); + script.MathJax.state = this.STATE.OUTPUT; + return HUB.Process(script,callback); + }, + Remove: function () { + this.outputJax.Remove(this); + HUB.signal.Post(["Remove Math",this.inputID]); // wait for this to finish? + this.Detach(); + }, + + SourceElement: function () {return document.getElementById(this.inputID)}, + + Attach: function (script,inputJax) { + var jax = script.MathJax.elementJax; + if (script.MathJax.state === this.STATE.UPDATE) { + jax.Clone(this); + } else { + jax = script.MathJax.elementJax = this; + if (script.id) {this.inputID = script.id} + else {script.id = this.inputID = BASE.ElementJax.GetID(); this.newID = 1} + } + jax.originalText = (script.text == "" ? script.innerHTML : script.text); + jax.inputJax = inputJax; + if (jax.root) {jax.root.inputID = jax.inputID} + }, + Detach: function () { + var script = this.SourceElement(); if (!script) return; + try {delete script.MathJax} catch(err) {script.MathJax = null} + if (this.newID) {script.id = ""} + }, + Clone: function (jax) { + var id; + for (id in this) { + if (!this.hasOwnProperty(id)) continue; + if (typeof(jax[id]) === 'undefined' && id !== 'newID') {delete this[id]} + } + for (id in jax) { + if (!this.hasOwnProperty(id)) continue; + if (typeof(this[id]) === 'undefined' || (this[id] !== jax[id] && id !== 'inputID')) + {this[id] = jax[id]} + } + } + },{ + version: "1.1", + directory: JAX.directory+"/element", + extensionDir: JAX.extensionDir, + ID: 0, // jax counter (for IDs) + STATE: { + PENDING: 1, // script is identified as math but not yet processed + PROCESSED: 2, // script has been processed + UPDATE: 3, // elementJax should be updated + OUTPUT: 4 // output should be updated (input is OK) + }, + + GetID: function () {this.ID++; return "MathJax-Element-"+this.ID}, + Subclass: function () { + var obj = JAX.Subclass.apply(this,arguments); + obj.loadComplete = this.prototype.loadComplete; + return obj; + } + }); + BASE.ElementJax.prototype.STATE = BASE.ElementJax.STATE; + +})("MathJax"); + +/**********************************************************/ + +(function (BASENAME) { + var BASE = window[BASENAME]; + if (!BASE) {BASE = window[BASENAME] = {}} + + var HUB = BASE.Hub; var STARTUP = HUB.Startup; var CONFIG = HUB.config; + var HEAD = document.getElementsByTagName("head")[0]; + if (!HEAD) {HEAD = document.childNodes[0]}; + var scripts = (document.documentElement || document).getElementsByTagName("script"); + var namePattern = new RegExp("(^|/)"+BASENAME+"\\.js(\\?.*)?$"); + for (var i = scripts.length-1; i >= 0; i--) { + if (scripts[i].src.match(namePattern)) { + STARTUP.script = scripts[i].innerHTML; + if (RegExp.$2) { + var params = RegExp.$2.substr(1).split(/\&/); + for (var j = 0, m = params.length; j < m; j++) { + var KV = params[j].match(/(.*)=(.*)/); + if (KV) {STARTUP.params[unescape(KV[1])] = unescape(KV[2])} + } + } + CONFIG.root = scripts[i].src.replace(/(^|\/)[^\/]*(\?.*)?$/,''); + break; + } + } + BASE.Ajax.config = CONFIG; + + var BROWSERS = { + isMac: (navigator.platform.substr(0,3) === "Mac"), + isPC: (navigator.platform.substr(0,3) === "Win"), + isMSIE: (window.ActiveXObject != null && window.clipboardData != null), + isFirefox: (window.netscape != null && document.ATTRIBUTE_NODE != null && !window.opera), + isSafari: (navigator.userAgent.match(/ (Apple)?WebKit\//) != null && !window.chrome), + isChrome: (window.chrome != null && window.chrome.loadTimes != null), + isOpera: (window.opera != null && window.opera.version != null), + isKonqueror: (window.hasOwnProperty && window.hasOwnProperty("konqueror") && navigator.vendor == "KDE"), + versionAtLeast: function (v) { + var bv = (this.version).split('.'); v = (new String(v)).split('.'); + for (var i = 0, m = v.length; i < m; i++) + {if (bv[i] != v[i]) {return parseInt(bv[i]||"0") >= parseInt(v[i])}} + return true; + }, + Select: function (choices) { + var browser = choices[HUB.Browser]; + if (browser) {return browser(HUB.Browser)} + return null; + } + }; + + var AGENT = navigator.userAgent + .replace(/^Mozilla\/(\d+\.)+\d+ /,"") // remove initial Mozilla, which is never right + .replace(/[a-z][-a-z0-9._: ]+\/\d+[^ ]*-[^ ]*\.([a-z][a-z])?\d+ /i,"") // remove linux version + .replace(/Gentoo |Ubuntu\/(\d+\.)*\d+ (\([^)]*\) )?/,""); // special case for these + + HUB.Browser = HUB.Insert(HUB.Insert(new String("Unknown"),{version: "0.0"}),BROWSERS); + for (var browser in BROWSERS) {if (BROWSERS.hasOwnProperty(browser)) { + if (BROWSERS[browser] && browser.substr(0,2) === "is") { + browser = browser.slice(2); + if (browser === "Mac" || browser === "PC") continue; + HUB.Browser = HUB.Insert(new String(browser),BROWSERS); + var VERSION = new RegExp( + ".*(Version)/((?:\\d+\\.)+\\d+)|" + // for Safari and Opera10 + ".*("+browser+")"+(browser == "MSIE" ? " " : "/")+"((?:\\d+\\.)*\\d+)|"+ // for one of the main browser + "(?:^|\\(| )([a-z][-a-z0-9._: ]+|(?:Apple)?WebKit)/((?:\\d+\\.)+\\d+)"); // for unrecognized browser + var MATCH = VERSION.exec(AGENT) || ["","","","unknown","0.0"]; + HUB.Browser.name = (MATCH[1] == "Version" ? browser : (MATCH[3] || MATCH[5])); + HUB.Browser.version = MATCH[2] || MATCH[4] || MATCH[6]; + break; + } + }}; + + // + // Initial browser-specific info (e.g., touch up version or name) + // + HUB.Browser.Select({ + Safari: function (browser) { + var v = parseInt((String(browser.version).split("."))[0]); + if (v > 85) {browser.webkit = browser.version} + if (v >= 533) {browser.version = "5.0"} + else if (v >= 526) {browser.version = "4.0"} + else if (v >= 525) {browser.version = "3.1"} + else if (v > 500) {browser.version = "3.0"} + else if (v > 400) {browser.version = "2.0"} + else if (v > 85) {browser.version = "1.0"} + }, + Firefox: function (browser) { + if (browser.version === "0.0" && navigator.product === "Gecko" && navigator.productSub) { + var date = navigator.productSub.substr(0,8); + if (date >= "20090630") {browser.version = "3.5"} + else if (date >= "20080617") {browser.version = "3.0"} + else if (date >= "20061024") {browser.version = "2.0"} + } + }, + Opera: function (browser) {browser.version = opera.version()}, + MSIE: function (browser) { + browser.isIE9 = !!(document.documentMode && (window.performance || window.msPerformance)); + MathJax.HTML.setScriptBug = !browser.isIE9 || document.documentMode < 9; + } + }); + HUB.Browser.Select(MathJax.Message.browsers); + + HUB.queue = BASE.Callback.Queue(); + HUB.queue.Push( + ["Post",STARTUP.signal,"Begin"], + ["Config",STARTUP], + ["Cookie",STARTUP], + ["Styles",STARTUP], + ["Message",STARTUP], + function () { + // Do Jax and Extensions in parallel, but wait for them all to complete + var queue = BASE.Callback.Queue( + STARTUP.Jax(), + STARTUP.Extensions() + ); + return queue.Push({}); + }, + ["Menu",STARTUP], + STARTUP.onLoad(), + function () {MathJax.isReady = true}, // indicates that MathJax is ready to process math + ["Typeset",STARTUP], + ["Post",STARTUP.signal,"End"] + ); + +})("MathJax"); + +}} + +/**********************************************************/ diff --git a/modules/MathJax/README-branch.txt b/modules/MathJax/README-branch.txt new file mode 100644 index 0000000..321fcf2 --- /dev/null +++ b/modules/MathJax/README-branch.txt @@ -0,0 +1 @@ +This is release branch v1.1 of MathJax. diff --git a/modules/MathJax/README.md b/modules/MathJax/README.md new file mode 100644 index 0000000..eee7fca --- /dev/null +++ b/modules/MathJax/README.md @@ -0,0 +1,52 @@ +# MathJax + +## Beautiful math in all browsers + +MathJax is an open-source JavaScript display engine for LaTeX and MathML +that works in all modern browsers. It was designed with the goal of +consolidating the recent advances in web technologies into a single, +definitive, math-on-the-web platform supporting the major browsers and +operating systems. It requires no setup on the part of the user (no +plugins to download or software to install), so the page author can write +web documents that include mathematics and be confident that users will be +able to view it naturally and easily. Simply include MathJax and some +mathematics in a web page, and MathJax does the rest. + +Some of the main features of MathJax include: + +- High-quality display of LaTeX and MathML math notation in HTML pages + +- Supported in most browsers with no plug-ins, extra fonts, or special + setup for the reader + +- Easy for authors, flexible for publishers, extensible for developers + +- Supports math accessibility, cut-and-paste interoperability and other + advanced functionality + +- Powerful API for integration with other web applications + +See for additional details. + + +## Installation and Usage + +The MathJax installation and usage documentation is available in the +`docs/html` directory of the MathJax distribution (see +`docs/html/index.html` for the starting point). The documents are also +available on the MathJax web site on line at . + + +## Community + +The main MathJax website is , and it includes +announcements and other important information. MathJax is maintained and +distributed on GitHub at . A user forum +for asking questions and getting assistance is hosted at Google, and the +bug tracker is hosted at GitHub: + +Bug tracker: +MathJax-Users Group: + +Before reporting a bug, please check that it has not already been reported. +Also, please use the bug tracker for reporting bugs rather than the help forum. diff --git a/modules/MathJax/config/Accessible-full.js b/modules/MathJax/config/Accessible-full.js new file mode 100644 index 0000000..ff9f55b --- /dev/null +++ b/modules/MathJax/config/Accessible-full.js @@ -0,0 +1,30 @@ +/* + * /MathJax/unpacked/config/Accessible-full.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["tex2jax.js","mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML"], + NativeMML: { + showMathMenuMSIE: false + }, + menuSettings: { + zoom: "Double-Click" + }, + errorSettings: { + message: ["[Math Error]"] + } +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/Accessible-full.js"); diff --git a/modules/MathJax/config/Accessible.js b/modules/MathJax/config/Accessible.js new file mode 100644 index 0000000..e8a5296 --- /dev/null +++ b/modules/MathJax/config/Accessible.js @@ -0,0 +1,30 @@ +/* + * /MathJax/unpacked/config/Accessible.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["tex2jax.js","mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML"], + NativeMML: { + showMathMenuMSIE: false + }, + menuSettings: { + zoom: "Double-Click" + }, + errorSettings: { + message: ["[Math Error]"] + } +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/Accessible.js"); diff --git a/modules/MathJax/config/MML_HTMLorMML-full.js b/modules/MathJax/config/MML_HTMLorMML-full.js new file mode 100644 index 0000000..41cd5c4 --- /dev/null +++ b/modules/MathJax/config/MML_HTMLorMML-full.js @@ -0,0 +1,21 @@ +/* + * /MathJax/unpacked/config/MML_HTMLorMML-full.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js"], + jax: ["input/MathML","output/HTML-CSS","output/NativeMML"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/MML_HTMLorMML-full.js"); diff --git a/modules/MathJax/config/MML_HTMLorMML.js b/modules/MathJax/config/MML_HTMLorMML.js new file mode 100644 index 0000000..2cf3c10 --- /dev/null +++ b/modules/MathJax/config/MML_HTMLorMML.js @@ -0,0 +1,21 @@ +/* + * /MathJax/unpacked/config/MML_HTMLorMML.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js"], + jax: ["input/MathML","output/HTML-CSS","output/NativeMML"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/MML_HTMLorMML.js"); diff --git a/modules/MathJax/config/MMLorHTML.js b/modules/MathJax/config/MMLorHTML.js new file mode 100644 index 0000000..f2bccf1 --- /dev/null +++ b/modules/MathJax/config/MMLorHTML.js @@ -0,0 +1,101 @@ +/************************************************************* + * + * MathJax/config/MMLorHTML.js + * + * Chooses between the NativeMML and HTML-CSS output jax depending + * on the capabilities of the browser and configuration settings + * of the page. + * + * This file should be added to the config array when configuring + * MathJax. Note that if you include this, you should NOT include + * an output jax in the jax array (it will be added for you by + * this file). + * + * You can specify the preferred output jax on a global or + * browser-by-browser basis. To specify it globally, use + * + * MathJax.Hub.Config({ + * MMLorHTML: {prefer: "MML"} // or "HTML" + * }); + * + * To specify on a browser-by-borwser basis, use + * + * MathJax.Hub.Config({ + * MMLorHTML: {prefer: { + * MSIE: "MML", + * Firefox: "MML", + * Opera: "HTML", + * other: "HTML" + * }} + * }); + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB) { + var VERSION = "1.1.1"; + + var CONFIG = MathJax.Hub.CombineConfig("MMLorHTML",{ + prefer: {MSIE:"MML", Firefox:"MML", Opera:"HTML", other:"HTML"} + }); + + var MINBROWSERVERSION = { + Firefox: 3.0, + Opera: 9.52, + MSIE: 6.0, + Chrome: 0.3, + Safari: 2.0, + Konqueror: 4.0 + }; + + var canUseHTML = (HUB.Browser.version === "0.0" || + HUB.Browser.versionAtLeast(MINBROWSERVERSION[HUB.Browser]||0.0)); + + var MathPlayer = false; + if (!HUB.Browser.isIE9) // this crashes IE9 RC, so skip it for now + {try {new ActiveXObject("MathPlayer.Factory.1"); MathPlayer = true} catch(err) {}} + + var canUseMML = (HUB.Browser.isFirefox && HUB.Browser.versionAtLeast("1.5")) || + (HUB.Browser.isMSIE && MathPlayer) || + (HUB.Browser.isOpera && HUB.Browser.versionAtLeast("9.52")); + + HUB.Register.StartupHook("End Config",function () { + var prefer = (CONFIG.prefer && typeof(CONFIG.prefer) === "object" ? + CONFIG.prefer[MathJax.Hub.Browser]||CONFIG.prefer.other||"HTML" : + CONFIG.prefer); + + if (canUseHTML || canUseMML) { + if (canUseMML && (prefer === "MML" || !canUseHTML)) { + if (MathJax.OutputJax.NativeMML) {MathJax.OutputJax.NativeMML.Register("jax/mml")} + else {HUB.config.jax.unshift("output/NativeMML")} + HUB.Startup.signal.Post("NativeMML output selected"); + } else { + if (MathJax.OutputJax["HTML-CSS"]) {MathJax.OutputJax["HTML-CSS"].Register("jax/mml")} + else {HUB.config.jax.unshift("output/HTML-CSS")} + HUB.Startup.signal.Post("HTML-CSS output selected"); + } + } else { + HUB.PreProcess.disabled = true; + HUB.prepareScripts.disabled = true; + MathJax.Message.Set("Your browser does not support MathJax",null,4000); + HUB.Startup.signal.Post("MathJax not supported"); + } + }); + +})(MathJax.Hub); + +MathJax.Ajax.loadComplete("[MathJax]/config/MMLorHTML.js"); diff --git a/modules/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js b/modules/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js new file mode 100644 index 0000000..a094b67 --- /dev/null +++ b/modules/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js @@ -0,0 +1,21 @@ +/* + * /MathJax/unpacked/config/TeX-AMS-MML_HTMLorMML-full.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["tex2jax.js","mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-MML_HTMLorMML-full.js"); diff --git a/modules/MathJax/config/TeX-AMS-MML_HTMLorMML.js b/modules/MathJax/config/TeX-AMS-MML_HTMLorMML.js new file mode 100644 index 0000000..237dd01 --- /dev/null +++ b/modules/MathJax/config/TeX-AMS-MML_HTMLorMML.js @@ -0,0 +1,21 @@ +/* + * /MathJax/unpacked/config/TeX-AMS-MML_HTMLorMML.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + config: ["MMLorHTML.js"], + extensions: ["tex2jax.js","mml2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","input/MathML","output/HTML-CSS","output/NativeMML"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-MML_HTMLorMML.js"); diff --git a/modules/MathJax/config/TeX-AMS_HTML-full.js b/modules/MathJax/config/TeX-AMS_HTML-full.js new file mode 100644 index 0000000..835a573 --- /dev/null +++ b/modules/MathJax/config/TeX-AMS_HTML-full.js @@ -0,0 +1,20 @@ +/* + * /MathJax/unpacked/config/TeX-AMS_HTML-full.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + extensions: ["tex2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","output/HTML-CSS"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS_HTML-full.js"); diff --git a/modules/MathJax/config/TeX-AMS_HTML.js b/modules/MathJax/config/TeX-AMS_HTML.js new file mode 100644 index 0000000..8b0ee80 --- /dev/null +++ b/modules/MathJax/config/TeX-AMS_HTML.js @@ -0,0 +1,20 @@ +/* + * /MathJax/unpacked/config/TeX-AMS_HTML.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ + +MathJax.Hub.Config({ + extensions: ["tex2jax.js","MathZoom.js","MathMenu.js","toMathML.js","TeX/noErrors.js","TeX/noUndefined.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + jax: ["input/TeX","output/HTML-CSS"] +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS_HTML.js"); diff --git a/modules/MathJax/config/default.js b/modules/MathJax/config/default.js new file mode 100644 index 0000000..e77e94c --- /dev/null +++ b/modules/MathJax/config/default.js @@ -0,0 +1,606 @@ +/************************************************************* + * + * MathJax/config/default.js + * + * This configuration file is loaded when you load MathJax + * via + * + * Use it to customize the MathJax settings. See comments below. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + + +/* + * This file lists most, but not all, of the options that can be set for + * MathJax and its various components. Some additional options are + * available, however, and are listed in the various links at: + * + * http://www.mathjax.org/resources/docs/?configuration.html#configuration-options-by-component + * + * You can add these to the configuration object below if you + * want to change them from their default values. + */ + +MathJax.Hub.Config({ + + // + // A comma-separated list of configuration files to load + // when MathJax starts up. E.g., to define local macros, etc. + // The default directory is the MathJax/config directory. + // + // Example: config: ["local/local.js"], + // Example: config: ["local/local.js","MMLtoHTML.js"], + // + config: [], + + // + // A comma-separated list of CSS stylesheet files to be loaded + // when MathJax starts up. The default directory is the + // MathJax/config directory. + // + // Example: styleSheets: ["MathJax.css"], + // + styleSheets: [], + + // + // Styles to be defined dynamically at startup time. + // + // Example: + // styles: { + // ".MathJax .merror": { + // color: "blue", + // "background-color": "green" + // } + // }, + // + styles: {}, + + // + // A comma-separated list of input and output jax to initialize at startup. + // Their main code is loaded only when they are actually used, so it is not + // inefficient to include jax that may not actually be used on the page. These + // are found in the MathJax/jax directory. + // + jax: ["input/TeX","output/HTML-CSS"], + + // + // A comma-separated list of extensions to load at startup. The default + // directory is MathJax/extensions. + // + // Example: extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"], + // + extensions: ["tex2jax.js"], + + // + // Patterns to remove from before and after math script tags. If you are not + // using one of the preprocessors (e.g., tex2jax), you need to insert something + // extra into your HTML file in order to avoid a bug in Internet Explorer. IE + // removes spaces from the DOM that it thinks are redundent, and since a SCRIPT + // tag usually doesn't add content to the page, if there is a space before and after + // a MathJax SCRIPT tag, IE will remove the first space. When MathJax inserts + // the typeset mathematics, this means there will be no space before it and the + // preceeding text. In order to avoid this, you should include some "guard characters" + // before or after the math SCRIPT tag; define the patterns you want to use below. + // Note that these are used as regular expressions, so you will need to quote + // special characters. Furthermore, since they are javascript strings, you must + // quote javascript special characters as well. So to obtain a backslash, you must + // use \\ (doubled for javascript). For example, "\\[" is the pattern \[ in the + // regular expression. That means that if you want an actual backslash in your + // guard characters, you need to use "\\\\" in order to get \\ in the regular + // expression, and \ in the actual text. If both preJax and postJax are defined, + // both must be present in order to be removed. + // + // See also the preRemoveClass comments below. + // + // Example: + // preJax: "\\\\\\\\", // makes a double backslash the preJax text + // or + // preJax: "\\[\\[", // jax scripts must be enclosed in double brackets + // postJax: "\\]\\]", + // + preJax: null, + postJax: null, + + // + // The CSS class for a math preview to be removed preceeding a MathJax + // SCRIPT tag. If the tag just before the MathJax SCRIPT tag is of this + // class, its contents are removed when MathJax processes the SCRIPT + // tag. This allows you to include a math preview in a form that will + // be displayed prior to MathJax performing its typesetting. It also + // avoids the Internet Explorer space-removal bug, and can be used in + // place of preJax and postJax if that is more convenient. + // + // For example + // + // [math] + // + // would display "[math]" in place of the math until MathJax is able to typeset it. + // + preRemoveClass: "MathJax_Preview", + + // + // This value controls whether the "Processing Math: nn%" message are displayed + // in the lower left-hand corner. Set to "false" to prevent those messages (though + // file loading and other messages will still be shown). + // + showProcessingMessages: true, + + // + // This value controls the verbosity of the messages in the lower left-hand corner. + // Set it to "none" to eliminate all messages, or set it to "simple" to show + // "Loading..." and "Processing..." rather than showing the full file name and the + // percentage of the mathematics processed. + // + messageStyle: "normal", + + // + // These two parameters control the alignment and shifting of displayed equations. + // The first can be "left", "center", or "right", and determines the alignment of + // displayed equations. When the alignment is not "center", the second determines + // an indentation from the left or right side for the displayed equations. + // + displayAlign: "center", + displayIndent: "0em", + + // + // Normally MathJax will perform its starup commands (loading of + // configuration, styles, jax, and so on) as soon as it can. If you + // expect to be doing additional configuration on the page, however, you + // may want to have it wait until the page's onload hander is called. If so, + // set this to "onload". + // + delayStartupUntil: "none", + + // + // Normally MathJax will typeset the mathematics on the page as soon as + // the page is loaded. If you want to delay that process, in which case + // you will need to call MathJax.Hub.Typeset() yourself by hand, set + // this value to true. + // + skipStartupTypeset: false, + + // + // A list of element ID's that are the ones to process for mathematics + // when any of the Hub typesetting calls (Typeset, Process, Update, etc) + // are called with no element specified. This lets you restrict the + // processing to particular containers rather than scanning the entire + // document for mathematics. If none are supplied, the entire document + // is processed. + // + elements: [], + + //============================================================================ + // + // These parameters control the tex2jax preprocessor (when you have included + // "tex2jax.js" in the extensions list above). + // + tex2jax: { + + // + // The delimiters that surround in-line math expressions. The first in each + // pair is the initial delimiter and the second is the terminal delimiter. + // Comment out any that you don't want, but be sure there is no extra + // comma at the end of the last item in the list -- some browsers won't + // be able to handle that. + // + inlineMath: [ +// ['$','$'], // uncomment this for standard TeX math delimiters + ['\\(','\\)'] + ], + + // + // The delimiters that surround displayed math expressions. The first in each + // pair is the initial delimiter and the second is the terminal delimiter. + // Comment out any that you don't want, but be sure there is no extra + // comma at the end of the last item in the list -- some browsers won't + // be able to handle that. + // + displayMath: [ + ['$$','$$'], + ['\\[','\\]'] + ], + + // + // This array lists the names of the tags whose contents should not be + // processed by tex2jax (other than to look for ignore/process classes + // as listed below). You can add to (or remove from) this list to prevent + // MathJax from processing mathematics in specific contexts. + // + skipTags: ["script","noscript","style","textarea","pre","code"], + + // + // This is the class name used to mark elements whose contents should + // not be processed by tex2jax (other than to look for the + // processClass pattern below). Note that this is a regular + // expression, and so you need to be sure to quote any regexp special + // characters. The pattern is automatically preceeded by '(^| )(' and + // followed by ')( |$)', so your pattern will have to match full words + // in the class name. Assigning an element this class name will + // prevent `tex2jax` from processing its contents. + // + ignoreClass: "tex2jax_ignore", + + // + // This is the class name used to mark elements whose contents SHOULD + // be processed by tex2jax. This is used to turn on processing within + // tags that have been marked as ignored or skipped above. Note that + // this is a regular expression, and so you need to be sure to quote + // any regexp special characters. The pattern is automatically + // preceeded by '(^| )(' and followed by ')( |$)', so your pattern + // will have to match full words in the class name. Use this to + // restart processing within an element that has been marked as + // ignored above. + // + processClass: "tex2jax_process", + + // + // Set to "true" to allow \$ to produce a dollar without starting in-line + // math mode. If you uncomment the ['$','$'] line above, you should change + // this to true so that you can insert plain dollar signs into your documents + // + processEscapes: false, + + // + // Controls whether tex2jax processes LaTeX environments outside of math + // mode. Set to "false" to prevent processing of environments except within + // math mode. + // + processEnvironments: true, + + // + // Controls whether tex2jax inserts MathJax_Preview spans to make a + // preview available, and what preview to use, when it locates in-line + // and display mathetics on the page. The default is "TeX", which + // means use the TeX code as the preview (until it is processed by + // MathJax). Set to "none" to prevent the previews from being + // inserted (the math will simply disappear until it is typeset). Set + // to an array containing the description of an HTML snippet in order + // to use the same preview for all equations on the page (e.g., you + // could have it say "[math]" or load an image). + // + // E.g., preview: ["[math]"], + // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]] + // + preview: "TeX" + + }, + + //============================================================================ + // + // These parameters control the mml2jax preprocessor (when you have included + // "mml2jax.js" in the extensions list above). + // + mml2jax: { + + // + // Controls whether mml2jax inserts MathJax_Preview spans to make a + // preview available, and what preview to use, whrn it locates + // mathematics on the page. The default is "alttext", which means use + // the tag's alttext attribute as the preview (until it is + // processed by MathJax), if the tag has one. Set to "none" to + // prevent the previews from being inserted (the math will simply + // disappear until it is typeset). Set to an array containing the + // description of an HTML snippet in order to use the same preview for + // all equations on the page (e.g., you could have it say "[math]" or + // load an image). + // + // E.g., preview: ["[math]"], + // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]] + // + preview: "alttext" + + }, + + //============================================================================ + // + // These parameters control the jsMath2jax preprocessor (when you have included + // "jsMath2jax.js" in the extensions list above). + // + jsMath2jax: { + + // + // Controls whether jsMath2jax inserts MathJax_Preview spans to make a + // preview available, and what preview to use, when it locates + // mathematics on the page. The default is "TeX", which means use the + // TeX code as the preview (until it is processed by MathJax). Set to + // "none" to prevent the previews from being inserted (the math will + // simply disappear until it is typeset). Set to an array containing + // the description of an HTML snippet in order to use the same preview + // for all equations on the page (e.g., you could have it say "[math]" + // or load an image). + // + // E.g., preview: ["[math]"], + // or preview: [["img",{src: "http://myserver.com/images/mypic.jpg"}]] + // + preview: "TeX" + + }, + + //============================================================================ + // + // These parameters control the TeX input jax. + // + TeX: { + + // + // This specifies the side on which \tag{} macros will place the tags. + // Set to "left" to place on the left-hand side. + // + TagSide: "right", + + // + // This is the amound of indentation (from right or left) for the tags. + // + TagIndent: ".8em", + + // + // This is the width to use for the multline environment + // + MultLineWidth: "85%", + + // + // List of macros to define. These are of the form + // name: value + // where 'value' is the replacement text for the macro \name. + // The 'value' can also be [value,n] where 'value' is the replacement + // text and 'n' is the number of parameters for the macro. + // Note that backslashes must be doubled in the replacement string. + // + // E.g., + // + // Macros: { + // RR: '{\\bf R}', + // bold: ['{\\bf #1}', 1] + // } + // + Macros: {} + + }, + + //============================================================================ + // + // These parameters control the MathML inupt jax. + // + MathML: { + // + // This specifies whether to use TeX spacing or MathML spacing when the + // HTML-CSS output jax is used. + // + useMathMLspacing: false + }, + + //============================================================================ + // + // These parameters control the HTML-CSS output jax. + // + "HTML-CSS": { + + // + // This controls the global scaling of mathematics as compared to the + // surrounding text. Values between 100 and 133 are usually good choices. + // + scale: 100, + + // + // This is a list of the fonts to look for on a user's computer in + // preference to using MathJax's web-based fonts. These must + // correspond to directories available in the jax/output/HTML-CSS/fonts + // directory, where MathJax stores data about the characters available + // in the fonts. Set this to ["TeX"], for example, to prevent the + // use of the STIX fonts, or set it to an empty list, [], if + // you want to force MathJax to use web-based or image fonts. + // + availableFonts: ["STIX","TeX"], + + // + // This is the preferred font to use when more than one of those + // listed above is available. + // + preferredFont: "TeX", + + // + // This is the web-based font to use when none of the fonts listed + // above are available on the user's computer. Note that currently + // only the TeX font is available in a web-based form. Set this to + // + // webFont: null, + // + // if you want to prevent the use of web-based fonts. + // + webFont: "TeX", + + // + // This is the font to use for image fallback mode (when none of the + // fonts listed above are available and the browser doesn't support + // web-fonts via the @font-face CSS directive). Note that currently + // only the TeX font is available as an image font. Set this to + // + // imageFont: null, + // + // if you want to prevent the use of image fonts (e.g., you have not + // installed the image fonts on your server). In this case, only + // browsers that support web-based fonts will be able to view your pages + // without having the fonts installed on the client computer. The browsers + // that support web-based fonts include: IE6 and later, Chrome, Safari3.1 + // and above, Firefox3.5 and later, and Opera10 and later. Note that + // Firefox3.0 is NOT on this list, so without image fonts, FF3.0 users + // will be required to to download and install either the STIX fonts or the + // MathJax TeX fonts. + // + imageFont: "TeX", + + // + // This is the font-family CSS value used for characters that are not + // in the selected font (e.g., for web-based fonts, this is where to + // look for characters not included in the MathJax_* fonts). IE will + // stop looking after the first font that exists on the system (even + // if it doesn't contain the needed character), so order these carefully. + // + undefinedFamily: "STIXGeneral,'Arial Unicode MS',serif", + + // + // This controls whether the MathJax contextual menu will be available + // on the mathematics in the page. If true, then right-clicking (on + // the PC) or control-clicking (on the Mac) will produce a MathJax + // menu that allows you to get the source of the mathematics in + // various formats, change the size of the mathematics relative to the + // surrounding text, and get information about MathJax. + // + // Set this to false to disable the menu. When true, the MathMenu + // items below configure the actions of the menu. + // + showMathMenu: true, + + // + // This allows you to define or modify the styles used to display + // various math elements created by MathJax. + // + // Example: + // styles: { + // ".MathJax_Preview": { + // "font-size": "80%", // preview uses a smaller font + // color: "red" // and is in red + // } + // } + // + styles: {}, + + // + // Configuration for tooltips + // (see also the #MathJax_Tooltip CSS in MathJax/jax/output/HTML-CSS/config.js, + // which can be overriden using the styles values above). + // + tooltip: { + delayPost: 600, // milliseconds delay before tooltip is posted after mouseover + delayClear: 600, // milliseconds delay before tooltip is cleared after mouseout + offsetX: 10, offsetY: 5 // pixels to offset tooltip from mouse position + } + }, + + //============================================================================ + // + // These parameters control the NativeMML output jax. + // + NativeMML: { + + // + // This controls the global scaling of mathematics as compared to the + // surrounding text. Values between 100 and 133 are usually good choices. + // + scale: 100, + + // + // This controls whether the MathJax contextual menu will be available + // on the mathematics in the page. If true, then right-clicking (on + // the PC) or control-clicking (on the Mac) will produce a MathJax + // menu that allows you to get the source of the mathematics in + // various formats, change the size of the mathematics relative to the + // surrounding text, and get information about MathJax. + // + // Set this to false to disable the menu. When true, the MathMenu + // items below configure the actions of the menu. + // + // There is a separate setting for MSIE, since the code to handle that + // is a bit delicate; if it turns out to have unexpected consequences, + // you can turn it off without turing off other browser support. + // + showMathMenu: true, + showMathMenuMSIE: true, + + // + // This allows you to define or modify the styles used to display + // various math elements created by MathJax. + // + // Example: + // styles: { + // ".MathJax_MathML": { + // color: "red" // MathML is in red + // } + // } + // + styles: {} + }, + + //============================================================================ + // + // These parameters control the contextual menus that are available on the + // mathematics within the page (provided the showMathMenu value is true above). + // + MathMenu: { + // + // This is the hover delay for the display of submenus in the + // contextual menu. When the mouse is still over a submenu label for + // this long, the menu will appear. (The menu also will appear if you + // click on the label.) It is in milliseconds. + // + delay: 400, + + // + // This is the URL for the MathJax Help menu item. + // + helpURL: "http://www.mathjax.org/help/user/", + + // + // These control whether the "Math Renderer", "Font Preferences", + // and "Contextual Menu" submenus will be displayed or not. + // + showRenderer: true, + showFontMenu: false, + showContext: false, + + // + // These are the settings for the Show Source window. The initial + // width and height will be reset after the source is shown in an + // attempt to make the window fit the output better. + // + windowSettings: { + status: "no", toolbar: "no", locationbar: "no", menubar: "no", + directories: "no", personalbar: "no", resizable: "yes", scrollbars: "yes", + width: 100, height: 50 + }, + + // + // This allows you to change the CSS that controls the menu + // appearance. See the extensions/MathMenu.js file for details + // of the default settings. + // + styles: {} + + }, + + //============================================================================ + // + // These parameters control the MMLorHTML configuration file. + // NOTE: if you add MMLorHTML.js to the config array above, + // you must REMOVE the output jax from the jax array. + // + MMLorHTML: { + // + // The output jax that is to be preferred when both are possible + // (set to "MML" for native MathML, "HTML" for MathJax's HTML-CSS output jax). + // + prefer: { + MSIE: "MML", + Firefox: "MML", + Opera: "HTML", + other: "HTML" + } + } +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/default.js"); diff --git a/modules/MathJax/config/local/local.js b/modules/MathJax/config/local/local.js new file mode 100644 index 0000000..7bf733c --- /dev/null +++ b/modules/MathJax/config/local/local.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/config/local/local.js + * + * Include changes and configuration local to your installation + * in this file. For example, common macros can be defined here + * (see below). To use this file, add "local/local.js" to the + * config array in MathJax.js or your MathJax.Hub.Config() call. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var TEX = MathJax.InputJax.TeX; + + // place macros here. E.g.: + // TEX.Macro("R","{\\bf R}"); + // TEX.Macro("op","\\mathop{\\rm #1}",1); // a macro with 1 parameter + +}); + +MathJax.Ajax.loadComplete("[MathJax]/config/local/local.js"); diff --git a/modules/MathJax/extensions/FontWarnings.js b/modules/MathJax/extensions/FontWarnings.js new file mode 100644 index 0000000..a4608e1 --- /dev/null +++ b/modules/MathJax/extensions/FontWarnings.js @@ -0,0 +1,286 @@ +/************************************************************* + * + * MathJax/extensions/FontWarnings.js + * + * Implements a font warning message window that appears when + * the image fonts, no fonts, or web fonts are used, informing + * the user where to download the fonts, or to update to a more + * modern browser. The window will fade out automatically after + * a time, and the user can dismiss it by a close box. + * + * To include font warning messages, add "FontWarnings.js" to the + * extensions array in your MathJax configuration. + * + * You can customize the warning messages in a number of ways. Use the + * FontWarnings section of the configuration to specify any of the items + * shown in the CONFIG variable below. These include + * + * messageStyle the style to apply to the warning box that is + * displayed when MathJax uses one of its fallback + * methods. + * + * removeAfter the amount of time to show the warning message (in ms) + * fadeoutTime how long the message should take to fade out + * fadeoutSteps how many separate steps to use during the fade out + * (set to 0 to use no fadeout and simply remove the window) + * + * Messages stores the descriptions of the messages to use for the + * various warnings (webFonts, imageFonts, and noFonts). + * These are arrays of strings to be inserted into the window, + * or identifiers within brackets, which refer to the HTML + * snippets in the HTML section described below. To disable a + * specific message, set its value to null (see example below). + * + * HTML stores snippets of HTML descriptions for various + * common parts of the error messages. These include + * the closeBox, the message about web fonts being available + * in modern browser, and messages about downloadable fonts. + * The STIX and TeX font messages are used when only one + * of these is in the availableFonts list. The data for these + * are arrays of either strings to include or a description of + * an HTML item enclosed in square brackets. That description + * has (up to) three parts: the name of the tag to be included, + * a list (enclosed in braces) of attributes and their values + * to be set on the tag (optional), and an array of the contents + * of the tag (optional). See the definitions below for examples. + * + * For example, + * + * MathJax.Hub.Config({ + * ... + * extensions: ["FontWarnings.js"], + * FontWarnings: { + * removeAfter: 20*1000, // 20 seconds + * messageStyle: { + * border: "2px solid black", + * padding: "2em" + * }, + * Message: { + * webFont: null // no webfont messages (only image and no fonts) + * } + * } + * }); + * + * would extend the time the message is displayed from 12 seconds to 20, + * and changes the border to a solid black one, with 2em of padding + * rather than the default of 1em. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB,HTML) { + var VERSION = "1.1"; + + var CONFIG = HUB.CombineConfig("FontWarnings",{ + // + // The CSS for the message window + // + messageStyle: { + position:"fixed", bottom:"4em", left:"3em", width:"40em", + border: "3px solid #880000", "background-color": "#E0E0E0", + padding: "1em", "font-size":"small", "white-space":"normal", + + "border-radius": ".75em", // Opera 10.5 and IE9 + "-webkit-border-radius": ".75em", // Safari and Chrome + "-moz-border-radius": ".75em", // Firefox + "-khtml-border-radius": ".75em", // Konqueror + + "box-shadow": "4px 4px 10px #AAAAAA", // Opera 10.5 and IE9 + "-webkit-box-shadow": "4px 4px 10px #AAAAAA", // Safari 3 and Chrome + "-moz-box-shadow": "4px 4px 10px #AAAAAA", // Forefox 3.5 + "-khtml-box-shadow": "4px 4px 10px #AAAAAA", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color='gray', Positive='true')" // IE + }, + + // + // The messages for the various situations + // + Message: { + webFont: [ + ["closeBox"], + "MathJax is using web-based fonts to display the mathematics ", + "on this page. These take time to download, so the page would", + "render faster if you installed math fonts directly in your ", + "system's font folder.", + ["fonts"] + ], + + imageFonts: [ + ["closeBox"], + "MathJax is using its image fonts rather than local or web-based fonts. ", + "This will render slower than usual, and the mathematics may not print ", + "at the full resolution of your printer.", + ["fonts"], + ["webfonts"] + ], + + noFonts: [ + ["closeBox"], + "MathJax is unable to locate a font to use to display ", + "its mathematics, and image fonts are not available, so it ", + "is falling back on generic unicode characters in hopes that ", + "your browser will be able to display them. Some characters ", + "may not show up properly, or possibly not at all.", + ["fonts"], + ["webfonts"] + ] + }, + + // + // HTML objects that can be referred to in the message definitions + // + HTML: { + // + // The definition of the close box + // + closeBox: [[ + "div",{ + style: { + position:"absolute", overflow:"hidden", top:".1em", right:".1em", + border: "1px outset", width:"1em", height:"1em", + "text-align": "center", cursor: "pointer", + "background-color": "#EEEEEE", color:"#606060", + + "border-radius": ".5em", // Opera 10.5 + "-webkit-border-radius": ".5em", // Safari and Chrome + "-moz-border-radius": ".5em", // Firefox + "-khtml-border-radius": ".5em" // Konqueror + }, + onclick: function () { + if (DATA.div && DATA.fade === 0) + {if (DATA.timer) {clearTimeout(DATA.timer)}; DATA.div.style.display = "none"} + } + }, + [["span",{style:{position:"relative", bottom:".2em"}},["x"]]] + ]], + + webfonts: [ + ["p"], + "Most modern browsers allow for fonts to be downloaded over the web. ", + "Updating to a more recent version of your browser (or changing browsers) ", + "could improve the quality of the mathematics on this page." + ], + + fonts: [ + ["p"], + "MathJax can use either the ", + ["a",{href:"http://www.stixfonts.org/",target:"_blank"},"STIX fonts"], + " or the ", + ["a",{href:"http://www.mathjax.org/help/fonts/",target:"_blank"},["MathJax TeX fonts"]], + ". Download and install either one to improve your MathJax experience." + ], + + STIXfonts: [ + ["p"], + "This page is designed to use the ", + ["a",{href:"http://www.stixfonts.org/",target:"_blank"},"STIX fonts"], + ". Download and install those fonts to improve your MathJax experience." + ], + + TeXfonts: [ + ["p"], + "This page is designed to use the ", + ["a",{href:"http://www.mathjax.org/help/fonts/",target:"_blank"},["MathJax TeX fonts"]], + ". Download and install those fonts to improve your MathJax experience." + ] + + }, + + removeAfter: 12*1000, // time to show message (in ms) + fadeoutSteps: 10, // fade-out steps + fadeoutTime: 1.5*1000 // fadeout over this amount of time (in ms) + + }); + if (MathJax.Hub.Browser.isIE9 && document.documentMode >= 9) + {delete CONFIG.messageStyle.filter} + + // + // Data for the window + // + var DATA = { + div: null, // the message window, when displayed + fade: 0 // number of fade-out steps so far + }; + + // + // Create the message window and start the fade-out timer + // + var CREATEMESSAGE = function (data) { + if (DATA.div) return; + var HTMLCSS = MathJax.OutputJax["HTML-CSS"], frame = document.body; + if (HUB.Browser.isMSIE) { + if (CONFIG.messageStyle.position === "fixed") { + MathJax.Message.Init(); // make sure MathJax_MSIE_frame exists + frame = document.getElementById("MathJax_MSIE_Frame"); + CONFIG.messageStyle.position = "absolute"; + } + } else {delete CONFIG.messageStyle.filter} + CONFIG.messageStyle.maxWidth = (document.body.clientWidth-75) + "px"; + var i = 0; while (i < data.length) { + if (data[i] instanceof Array && CONFIG.HTML[data[i][0]]) + {data.splice.apply(data,[i,1].concat(CONFIG.HTML[data[i][0]]))} else {i++} + } + DATA.div = HTMLCSS.addElement(frame,"div",{id:"MathJax_FontWarning",style:CONFIG.messageStyle},data); + if (CONFIG.removeAfter) { + HUB.Register.StartupHook("End",function () + {DATA.timer = setTimeout(FADEOUT,CONFIG.removeAfter)}); + } + HTML.Cookie.Set("fontWarn",{warned:true}); + }; + + // + // Set the opacity based on the number of steps taken so far + // and remove the window when it gets to 0 + // + var FADEOUT = function () { + DATA.fade++; if (DATA.timer) {delete DATA.timer} + if (DATA.fade < CONFIG.fadeoutSteps) { + var opacity = 1 - DATA.fade/CONFIG.fadeoutSteps; + DATA.div.style.opacity = opacity; + DATA.div.style.filter = "alpha(opacity="+Math.floor(100*opacity)+")"; + setTimeout(FADEOUT,CONFIG.fadeoutTime/CONFIG.fadeoutSteps); + } else { + DATA.div.style.display = "none"; + } + }; + + // + // Check that we haven't already issued a warning + // + if (!HTML.Cookie.Get("fontWarn").warned) { + // + // Hook into the Startup signal and look for font warning messages. + // When one comes, issue the correct message. + // + HUB.Startup.signal.Interest(function (message) { + if (message.match(/HTML-CSS Jax - /) && !DATA.div) { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"], FONTS = HTMLCSS.config.availableFonts, MSG; + var localFonts = (FONTS && FONTS.length); + if (!localFonts) {CONFIG.HTML.fonts = [""]} + else if (FONTS.length === 1) {CONFIG.HTML.fonts = CONFIG.HTML[FONTS[0]+"fonts"]} + if (HTMLCSS.allowWebFonts) {CONFIG.HTML.webfonts = [""]} + if (message.match(/- Web-Font/)) {if (localFonts) {MSG = "webFont"}} + else if (message.match(/- using image fonts/)) {MSG = "imageFonts"} + else if (message.match(/- no valid font/)) {MSG = "noFonts"} + if (MSG && CONFIG.Message[MSG]) {CREATEMESSAGE(CONFIG.Message[MSG])} + } + }); + } + +})(MathJax.Hub,MathJax.HTML); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/FontWarnings.js"); diff --git a/modules/MathJax/extensions/MathMenu.js b/modules/MathJax/extensions/MathMenu.js new file mode 100644 index 0000000..11189a2 --- /dev/null +++ b/modules/MathJax/extensions/MathMenu.js @@ -0,0 +1,794 @@ +/************************************************************* + * + * MathJax/extensions/MathMenu.js + * + * Implements a right-mouse (or CTRL-click) menu over mathematics + * elements that gives the user the ability to copy the source, + * change the math size, and zoom settings. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB,HTML,AJAX) { + var VERSION = "1.1.4"; + + MathJax.Extension.MathMenu = {version: VERSION}; + + var isPC = HUB.Browser.isPC, isMSIE = HUB.Browser.isMSIE; + var ROUND = (isPC ? null : "5px"); + + var CONFIG = HUB.CombineConfig("MathMenu",{ + delay: 150, // the delay for submenus + helpURL: "http://www.mathjax.org/help/user/", // the URL for the "MathJax Help" menu + + showRenderer: true, // show the "Math Renderer" menu? + showFontMenu: false, // show the "Font Preference" menu? + showContext: false, // show the "Context Menu" menu? + + windowSettings: { // for source window + status: "no", toolbar: "no", locationbar: "no", menubar: "no", + directories: "no", personalbar: "no", resizable: "yes", scrollbars: "yes", + width: 100, height: 50 + }, + + styles: { + "#MathJax_About": { + position:"fixed", left:"50%", width:"auto", "text-align":"center", + border:"3px outset", padding:"1em 2em", "background-color":"#DDDDDD", color:"black", + cursor: "default", "font-family":"message-box", "font-size":"120%", + "font-style":"normal", "text-indent":0, "text-transform":"none", + "line-height":"normal", "letter-spacing":"normal", "word-spacing":"normal", + "word-wrap":"normal", "white-space":"nowrap", "float":"none", "z-index":201, + + "border-radius": "15px", // Opera 10.5 and IE9 + "-webkit-border-radius": "15px", // Safari and Chrome + "-moz-border-radius": "15px", // Firefox + "-khtml-border-radius": "15px", // Konqueror + + "box-shadow":"0px 10px 20px #808080", // Opera 10.5 and IE9 + "-webkit-box-shadow":"0px 10px 20px #808080", // Safari 3 and Chrome + "-moz-box-shadow":"0px 10px 20px #808080", // Forefox 3.5 + "-khtml-box-shadow":"0px 10px 20px #808080", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')" // IE + }, + + ".MathJax_Menu": { + position:"absolute", "background-color":"white", color:"black", + width:"auto", padding:(isPC ? "2px" : "5px 0px"), + border:"1px solid #CCCCCC", margin:0, cursor:"default", + font: "menu", "text-align":"left", "text-indent":0, "text-transform":"none", + "line-height":"normal", "letter-spacing":"normal", "word-spacing":"normal", + "word-wrap":"normal", "white-space":"nowrap", "float":"none", "z-index":201, + + "border-radius": ROUND, // Opera 10.5 and IE9 + "-webkit-border-radius": ROUND, // Safari and Chrome + "-moz-border-radius": ROUND, // Firefox + "-khtml-border-radius": ROUND, // Konqueror + + "box-shadow":"0px 10px 20px #808080", // Opera 10.5 and IE9 + "-webkit-box-shadow":"0px 10px 20px #808080", // Safari 3 and Chrome + "-moz-box-shadow":"0px 10px 20px #808080", // Forefox 3.5 + "-khtml-box-shadow":"0px 10px 20px #808080", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')" // IE + }, + + ".MathJax_MenuItem": { + padding: (isPC ? "2px 2em" : "1px 2em"), + background:"transparent" + }, + + ".MathJax_MenuTitle": { + "background-color":"#CCCCCC", + margin: (isPC ? "-1px -1px 1px -1px" : "-5px 0 0 0"), + "text-align":"center", "font-style":"italic", "font-size":"80%", color:"#444444", + padding:"2px 0", overflow:"hidden" + }, + + ".MathJax_MenuArrow": { + position:"absolute", right:".5em", color:"#666666", + "font-family": (isMSIE ? "'Arial unicode MS'" : null) + }, + ".MathJax_MenuActive .MathJax_MenuArrow": {color:"white"}, + + ".MathJax_MenuCheck": { + position:"absolute", left:".7em", + "font-family": (isMSIE ? "'Arial unicode MS'" : null) + }, + + ".MathJax_MenuRadioCheck": { + position:"absolute", left: (isPC ? "1em" : ".7em") + }, + + ".MathJax_MenuLabel": { + padding: (isPC ? "2px 2em 4px 1.33em" : "1px 2em 3px 1.33em"), + "font-style":"italic" + }, + + ".MathJax_MenuRule": { + "border-top": (isPC ? "1px solid #CCCCCC" : "1px solid #DDDDDD"), + margin: (isPC ? "4px 1px 0px" : "4px 3px") + }, + + ".MathJax_MenuDisabled": { + color:"GrayText" + }, + + ".MathJax_MenuActive": { + "background-color": (isPC ? "Highlight" : "#606872"), + color: (isPC ? "HighlightText" : "white") + } + } + }); + + /*************************************************************/ + /* + * Cancel event's default action (try everything we can) + */ + var FALSE = function (event) { + if (!event) {event = window.event} + if (event) { + if (event.preventDefault) {event.preventDefault()} + if (event.stopPropagation) {event.stopPropagation()} + event.cancelBubble = true; + event.returnValue = false; + } + return false; + }; + + /*************************************************************/ + /* + * The main menu class + */ + var MENU = MathJax.Menu = MathJax.Object.Subclass({ + version: VERSION, + items: [], + posted: false, + title: null, + margin: 5, + + Init: function (def) {this.items = [].slice.call(arguments,0)}, + With: function (def) {if (def) {HUB.Insert(this,def)}; return this}, + + /* + * Display the menu + */ + Post: function (event,parent) { + if (!event) {event = window.event}; + var title = (!this.title ? null : [["div",{className: "MathJax_MenuTitle"},[this.title]]]); + var div = document.getElementById("MathJax_MenuFrame"); + if (!div) {div = MENU.Background(this)} + var menu = HTML.addElement(div,"div",{ + onmouseup: MENU.Mouseup, ondblclick: this.False, + ondragstart: this.False, onselectstart: this.False, oncontextmenu: this.False, + menuItem: this, className: "MathJax_Menu" + },title); + + for (var i = 0, m = this.items.length; i < m; i++) {this.items[i].Create(menu)} + this.posted = true; + + menu.style.width = (menu.offsetWidth+2) + "px"; + var x = event.pageX, y = event.pageY; + if (!x && !y) { + x = event.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; + y = event.clientY + document.body.scrollTop + document.documentElement.scrollTop; + } + if (!parent) { + if (x + menu.offsetWidth > document.body.offsetWidth - this.margin) + {x = document.body.offsetWidth - menu.offsetWidth - this.margin} + MENU.skipUp = true; + } else { + var side = "left", mw = parent.offsetWidth; + x = parent.offsetWidth - 2; y = 0; + while (parent && parent !== div) { + x += parent.offsetLeft; y += parent.offsetTop; + parent = parent.parentNode; + } + if (x + menu.offsetWidth > document.body.offsetWidth - this.margin) + {side = "right"; x = Math.max(this.margin,x - mw - menu.offsetWidth + 6)} + if (!isPC) { + // in case these ever get implemented + menu.style["borderRadiusTop"+side] = 0; // Opera 10.5 + menu.style["WebkitBorderRadiusTop"+side] = 0; // Safari and Chrome + menu.style["MozBorderRadiusTop"+side] = 0; // Firefox + menu.style["KhtmlBorderRadiusTop"+side] = 0; // Konqueror + } + } + + menu.style.left = x+"px"; menu.style.top = y+"px"; + + if (document.selection && document.selection.empty) {document.selection.empty()} + return this.False(event); + }, + + /* + * Remove the menu from the screen + */ + Remove: function (event,menu) { + var div = document.getElementById("MathJax_MenuFrame"); + if (div) { + div.parentNode.removeChild(div); + if (this.msieBackgroundBug) {detachEvent("onresize",MENU.Resize)} + } + }, + Mouseup: function (event,menu) { + if (MENU.skipUp) {delete MENU.skipUp} else {this.Remove(event,menu)} + }, + + False: FALSE + },{ + config: CONFIG, + + div: null, // the DOM elements for the menu and submenus + + Remove: function (event) {MENU.Event(event,this,"Remove")}, + Mouseover: function (event) {MENU.Event(event,this,"Mouseover")}, + Mouseout: function (event) {MENU.Event(event,this,"Mouseout")}, + Mousedown: function (event) {MENU.Event(event,this,"Mousedown")}, + Mouseup: function (event) {MENU.Event(event,this,"Mouseup")}, + Mousemove: function (event) {MENU.Event(event,this,"Mousemove")}, + Event: function (event,menu,type) { + if (!event) {event = window.event} + var item = menu.menuItem; + if (item && item[type]) {return item[type](event,menu)} + return null; + }, + + /* + * Style for the background DIV + */ + BGSTYLE: { + position:"absolute", left:0, top:0, "z-index":200, + width:"100%", height:"100%", border:0, padding:0, margin:0 + }, + + Background: function (menu) { + var div = HTML.addElement(document.body,"div",{style:this.BGSTYLE, id:"MathJax_MenuFrame"}, + [["div",{style: this.BGSTYLE, menuItem: menu, onmousedown: this.Remove}]]); + var bg = div.firstChild; + if (menu.msieBackgroundBug) { + // MSIE doesn't allow transparent background to be hit boxes, so + // fake it using opacity with solid background color + bg.style.backgroundColor = "white"; bg.style.filter = "alpha(opacity=0)"; + // MSIE can't do fixed position, so use a full-sized background + // and an onresize handler to update it (stupid, but necessary) + div.width = div.height = 0; this.Resize(); + attachEvent("onresize",this.Resize); + } else { + // otherwise, use a fixed position DIV to cover the viewport + bg.style.position = "fixed"; + } + return div; + }, + Resize: function () {setTimeout(MENU.SetWH,0)}, + SetWH: function () { + var bg = document.getElementById("MathJax_MenuFrame"); + if (bg) { + bg = bg.firstChild; + bg.style.width = bg.style.height = "1px"; // so scrollWidth/Height will be right below + bg.style.width = document.body.scrollWidth + "px"; + bg.style.height = document.body.scrollHeight + "px"; + } + }, + + saveCookie: function () {HTML.Cookie.Set("menu",this.cookie)}, + getCookie: function () {this.cookie = HTML.Cookie.Get("menu")} + + }); + + /*************************************************************/ + /* + * The menu item root subclass + */ + var ITEM = MENU.ITEM = MathJax.Object.Subclass({ + name: "", // the menu item's label + + Create: function (menu) { + if (!this.hidden) { + var def = { + onmouseover: MENU.Mouseover, onmouseout: MENU.Mouseout, + onmouseup: MENU.Mouseup, onmousedown: this.False, + ondragstart: this.False, onselectstart: this.False, onselectend: this.False, + className: "MathJax_MenuItem", menuItem: this + }; + if (this.disabled) {def.className += " MathJax_MenuDisabled"} + HTML.addElement(menu,"div",def,this.Label(def,menu)); + } + }, + + Mouseover: function (event,menu) { + if (!this.disabled) {this.Activate(menu)} + if (!this.menu || !this.menu.posted) { + var menus = document.getElementById("MathJax_MenuFrame").childNodes, + items = menu.parentNode.childNodes; + for (var i = 0, m = items.length; i < m; i++) { + var item = items[i].menuItem; + if (item && item.menu && item.menu.posted) {item.Deactivate(items[i])} + } + m = menus.length-1; + while (m >= 0 && menu.parentNode.menuItem !== menus[m].menuItem) { + menus[m].menuItem.posted = false; + menus[m].parentNode.removeChild(menus[m]); + m--; + } + if (this.Timer) {this.Timer(event,menu)} + } + }, + Mouseout: function (event,menu) { + if (!this.menu || !this.menu.posted) {this.Deactivate(menu)} + if (this.timer) {clearTimeout(this.timer); delete this.timer} + }, + Mouseup: function (event,menu) {return this.Remove(event,menu)}, + + Remove: function (event,menu) { + menu = menu.parentNode.menuItem; + return menu.Remove(event,menu); + }, + + Activate: function (menu) {this.Deactivate(menu); menu.className += " MathJax_MenuActive"}, + Deactivate: function (menu) {menu.className = menu.className.replace(/ MathJax_MenuActive/,"")}, + + With: function (def) {if (def) {HUB.Insert(this,def)}; return this}, + False: FALSE + }); + + /*************************************************************/ + /* + * A menu item that performs a command when selected + */ + MENU.ITEM.COMMAND = MENU.ITEM.Subclass({ + action: function () {}, + + Init: function (name,action,def) { + this.name = name; this.action = action; + this.With(def); + }, + Label: function (def,menu) {return [this.name]}, + Mouseup: function (event,menu) { + if (!this.disabled) {this.Remove(event,menu); this.action.call(this,event)} + return this.False(event); + } + }); + + /*************************************************************/ + /* + * A menu item that posts a submenu + */ + MENU.ITEM.SUBMENU = MENU.ITEM.Subclass({ + menu: null, // the submenu + marker: (isPC && !HUB.Browser.isSafari ? "\u25B6" : "\u25B8"), // the menu arrow + + Init: function (name,def) { + this.name = name; var i = 1; + if (!(def instanceof MENU.ITEM)) {this.With(def), i++} + this.menu = MENU.apply(MENU,[].slice.call(arguments,i)); + }, + Label: function (def,menu) { + def.onmousemove = MENU.Mousemove; this.menu.posted = false; + return [this.name+" ",["span",{className:"MathJax_MenuArrow"},[this.marker]]]; + }, + Timer: function (event,menu) { + if (this.timer) {clearTimeout(this.timer)} + event = {clientX: event.clientX, clientY: event.clientY}; // MSIE can't pass the event below + this.timer = setTimeout(MathJax.Callback(["Mouseup",this,event,menu]),CONFIG.delay); + }, + Mouseup: function (event,menu) { + if (!this.disabled) { + if (!this.menu.posted) { + if (this.timer) {clearTimeout(this.timer); delete this.timer} + this.menu.Post(event,menu); + } else { + var menus = document.getElementById("MathJax_MenuFrame").childNodes, + m = menus.length-1; + while (m >= 0) { + var child = menus[m]; + child.menuItem.posted = false; + child.parentNode.removeChild(child); + if (child.menuItem === this.menu) {break}; + m--; + } + } + } + return this.False(event); + } + }); + + /*************************************************************/ + /* + * A menu item that is one of several radio buttons + */ + MENU.ITEM.RADIO = MENU.ITEM.Subclass({ + variable: null, // the variable name + marker: (isPC ? "\u25CF" : "\u2713"), // the checkmark + + Init: function (name,variable,def) { + this.name = name; this.variable = variable; this.With(def); + if (this.value == null) {this.value = this.name} + }, + Label: function (def,menu) { + var span = {className:"MathJax_MenuRadioCheck"}; + if (CONFIG.settings[this.variable] !== this.value) {span = {style:{display:"none"}}} + return [["span",span,[this.marker]]," "+this.name]; + }, + Mouseup: function (event,menu) { + if (!this.disabled) { + var child = menu.parentNode.childNodes; + for (var i = 0, m = child.length; i < m; i++) { + var item = child[i].menuItem; + if (item && item.variable === this.variable) + {child[i].firstChild.style.display = "none"} + } + menu.firstChild.display = ""; + CONFIG.settings[this.variable] = this.value; + MENU.cookie[this.variable] = CONFIG.settings[this.variable]; MENU.saveCookie(); + if (this.action) {this.action.call(MENU)} + } + this.Remove(event,menu); + return this.False(event); + } + }); + + /*************************************************************/ + /* + * A menu item that is checkable + */ + MENU.ITEM.CHECKBOX = MENU.ITEM.Subclass({ + variable: null, // the variable name + marker: "\u2713", // the checkmark + + Init: function (name,variable,def) { + this.name = name; this.variable = variable; this.With(def); + }, + Label: function (def,menu) { + var span = {className:"MathJax_MenuCheck"}; + if (!CONFIG.settings[this.variable]) {span = {style:{display:"none"}}} + return [["span",span,[this.marker]]," "+this.name]; + }, + Mouseup: function (event,menu) { + if (!this.disabled) { + menu.firstChild.display = (CONFIG.settings[this.variable] ? "none" : ""); + CONFIG.settings[this.variable] = !CONFIG.settings[this.variable]; + MENU.cookie[this.variable] = CONFIG.settings[this.variable]; MENU.saveCookie(); + if (this.action) {this.action.call(MENU)} + } + this.Remove(event,menu); + return this.False(event); + } + }); + + /*************************************************************/ + /* + * A menu item that is a label + */ + MENU.ITEM.LABEL = MENU.ITEM.Subclass({ + Init: function (name,def) {this.name = name; this.With(def)}, + Label: function (def,menu) { + delete def.onmouseover, delete def.onmouseout; delete def.onmousedown; + def.className += " MathJax_MenuLabel"; + return [this.name]; + } + }); + + /*************************************************************/ + /* + * A rule in a menu + */ + MENU.ITEM.RULE = MENU.ITEM.Subclass({ + Label: function (def,menu) { + delete def.onmouseover, delete def.onmouseout; delete def.onmousedown; + def.className += " MathJax_MenuRule"; + return null; + } + }); + + /*************************************************************/ + /*************************************************************/ + + /* + * Handle the ABOUT box + */ + MENU.About = function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"] || {fontInUse: ""}; + var local = (HTMLCSS.webFonts ? "" : "local "), web = (HTMLCSS.webFonts ? " web" : ""); + var font = (HTMLCSS.imgFonts ? "Image" : local+HTMLCSS.fontInUse+web) + " fonts"; + var jax = ["MathJax.js v"+MathJax.fileversion,["br"]]; + jax.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]); + MENU.About.GetJax(jax,MathJax.InputJax,"Input Jax"); + MENU.About.GetJax(jax,MathJax.OutputJax,"Output Jax"); + MENU.About.GetJax(jax,MathJax.ElementJax,"Element Jax"); + jax.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}]); + MENU.About.GetJax(jax,MathJax.Extension,"Extension",true); + jax.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[ + HUB.Browser + " v"+HUB.Browser.version + + (HTMLCSS.webFonts ? " \u2014 "+HTMLCSS.allowWebFonts+" fonts" : "") + ]]); + MENU.About.div = MENU.Background(MENU.About); + var about = MathJax.HTML.addElement(MENU.About.div,"div",{ + id: "MathJax_About", onclick: MENU.About.Remove + },[ + ["b",{style:{fontSize:"120%"}},["MathJax"]]," v"+MathJax.version,["br"], + "using "+font,["br"],["br"], + ["span",{style:{ + display:"inline-block", "text-align":"left", "font-size":"80%", + "background-color":"#E4E4E4", padding:".4em .6em", border:"1px inset" + }},jax],["br"],["br"], + ["a",{href:"http://www.mathjax.org/"},["www.mathjax.org"]] + ]); + var doc = (document.documentElement||{}); + var H = window.innerHeight || doc.clientHeight || doc.scrollHeight || 0; + if (MENU.prototype.msieAboutBug) { + about.style.width = "20em"; about.style.position = "absolute"; + about.style.left = Math.floor((document.documentElement.scrollWidth - about.offsetWidth)/2)+"px"; + about.style.top = (Math.floor((H-about.offsetHeight)/3)+document.body.scrollTop)+"px"; + } else { + about.style.marginLeft = Math.floor(-about.offsetWidth/2)+"px"; + about.style.top = Math.floor((H-about.offsetHeight)/3)+"px"; + } + }; + MENU.About.Remove = function (event) { + if (MENU.About.div) {document.body.removeChild(MENU.About.div); delete MENU.About.div} + }; + MENU.About.GetJax = function (jax,JAX,type,noTypeCheck) { + for (var id in JAX) {if (JAX.hasOwnProperty(id) && JAX[id]) { + if ((noTypeCheck && JAX[id].version) || (JAX[id].isa && JAX[id].isa(JAX))) + {jax.push((JAX[id].id||id)+" "+type+" v"+JAX[id].version,["br"])} + }} + return jax; + }; + + + /* + * Handle the MathJax HELP menu + */ + MENU.Help = function () { + window.open(CONFIG.helpURL,"MathJaxHelp"); + }; + + /* + * Handle showing of element's source + */ + MENU.ShowSource = function (event) { + if (!event) {event = window.event} + var EVENT = {screenX:event.screenX, screenY:event.screenY}; + if (!MENU.jax) return; + if (CONFIG.settings.format === "MathML") { + var MML = MathJax.ElementJax.mml; + if (MML && typeof(MML.mbase.prototype.toMathML) !== "undefined") { + // toMathML() can call MathJax.Hub.RestartAfter, so trap errors and check + try {MENU.ShowSource.Text(MENU.jax.root.toMathML(),event)} catch (err) { + if (!err.restart) {throw err} + MathJax.Callback.After([this,arguments.callee,EVENT]); + } + } else if (!AJAX.loadingToMathML) { + AJAX.loadingToMathML = true; + MENU.ShowSource.Window(event); // WeBKit needs to open window on click event + MathJax.Callback.Queue( + AJAX.Require("[MathJax]/extensions/toMathML.js"), + function () {delete AJAX.loadingToMathML}, + [this,arguments.callee,EVENT] // call this function again + ); + return; + } + } else { + if (MENU.jax.originalText == null) {alert("No TeX form available"); return} + MENU.ShowSource.Text(MENU.jax.originalText,event); + } + }; + MENU.ShowSource.Window = function (event) { + if (!MENU.ShowSource.w) { + var def = [], DEF = CONFIG.windowSettings; + for (var id in DEF) {if (DEF.hasOwnProperty(id)) {def.push(id+"="+DEF[id])}} + MENU.ShowSource.w = window.open("","_blank",def.join(",")); + } + return MENU.ShowSource.w; + }; + MENU.ShowSource.Text = function (text,event) { + var w = MENU.ShowSource.Window(event); + text = text.replace(/^\s*/,"").replace(/\s*$/,""); + text = text.replace(/&/g,"&").replace(//g,">"); + w.document.open(); + w.document.write("MathJax Equation Source"); + w.document.write("
"+text+"
"); + w.document.write(""); w.document.close(); + var table = w.document.body.firstChild; + var H = (w.outerHeight-w.innerHeight)||30, W = (w.outerWidth-w.innerWidth)||30; + W = Math.min(Math.floor(.5*screen.width),table.offsetWidth+W+25); + H = Math.min(Math.floor(.5*screen.height),table.offsetHeight+H+25); + w.resizeTo(W,H); + if (event && event.screenX != null) { + var x = Math.max(0,Math.min(event.screenX-Math.floor(W/2), screen.width-W-20)), + y = Math.max(0,Math.min(event.screenY-Math.floor(H/2), screen.height-H-20)); + w.moveTo(x,y); + } + delete MENU.ShowSource.w; + }; + + /* + * Handle rescaling all the math + */ + MENU.Scale = function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"], nMML = MathJax.OutputJax.NativeMML; + var SCALE = (HTMLCSS ? HTMLCSS.config.scale : nMML.config.scale); + var scale = prompt("Scale all mathematics (compared to surrounding text) by",SCALE+"%"); + if (scale) { + if (scale.match(/^\s*\d+\s*%?\s*$/)) { + scale = parseInt(scale); + if (scale) { + if (scale !== SCALE) { + if (HTMLCSS) {HTMLCSS.config.scale = scale} + if (nMML) {nMML.config.scale = scale} + MENU.cookie.scale = scale; + MENU.saveCookie(); HUB.Reprocess(); + } + } else {alert("The scale should not be zero")} + } else {alert("The scale should be a perentage (e.g., 120%)")} + } + }; + + /* + * Handle loading the zoom code + */ + MENU.Zoom = function () { + if (!MathJax.Extension.MathZoom) {AJAX.Require("[MathJax]/extensions/MathZoom.js")} + }; + + /* + * Handle changing the renderer + */ + MENU.Renderer = function () { + var jax = HUB.config.outputJax["jax/mml"]; + if (jax[0] !== CONFIG.settings.renderer) { + MathJax.Callback.Queue( + ["Require",AJAX,"[MathJax]/jax/output/"+CONFIG.settings.renderer+"/config.js"], + ["Post",HUB.Startup.signal,CONFIG.settings.renderer+" output selected"], + [function () { + var JAX = MathJax.OutputJax[CONFIG.settings.renderer]; + for (var i = 0, m = jax.length; i < m; i++) + {if (jax[i] === JAX) {jax.splice(i,1); break}} + jax.unshift(JAX); + }], + ["Reprocess",HUB] + ); + } + }; + + /* + * Handle setting the HTMLCSS fonts + */ + MENU.Font = function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; if (!HTMLCSS) return; + document.location.reload(); + }; + + /*************************************************************/ + /*************************************************************/ + + HUB.Browser.Select({ + MSIE: function (browser) { + var quirks = (document.compatMode === "BackCompat"); + var isIE8 = browser.versionAtLeast("8.0") && document.documentMode > 7; + MENU.Augment({ + margin: 20, + msieBackgroundBug: (quirks || !isIE8), + msieAboutBug: quirks + }); + if (document.documentMode >= 9) { + delete CONFIG.styles["#MathJax_About"].filter; + delete CONFIG.styles[".MathJax_Menu"].filter; + } + } + }); + + /*************************************************************/ + + HUB.Register.StartupHook("End Config",function () { + + /* + * Get the menu settings from the HUB (which includes the + * data from the cookie already), and add the format, if + * it wasn't set in the cookie. + */ + CONFIG.settings = HUB.config.menuSettings; + if (!CONFIG.settings.format) + {CONFIG.settings.format = (MathJax.InputJax.TeX ? "Original" : "MathML")} + if (typeof(CONFIG.settings.showRenderer) !== "undefined") {CONFIG.showRenderer = CONFIG.settings.showRenderer} + if (typeof(CONFIG.settings.showFontMenu) !== "undefined") {CONFIG.showFontMenu = CONFIG.settings.showFontMenu} + if (typeof(CONFIG.settings.showContext) !== "undefined") {CONFIG.showContext = CONFIG.settings.showContext} + MENU.getCookie(); + + /* + * The main menu + */ + MENU.menu = MENU( + ITEM.COMMAND("Show Source",MENU.ShowSource), + ITEM.SUBMENU("Format", + ITEM.RADIO("MathML", "format"), + ITEM.RADIO("Original", "format", {value: "Original"}) + ), + ITEM.RULE(), + ITEM.SUBMENU("Settings", + ITEM.SUBMENU("Zoom Trigger", + ITEM.RADIO("Hover", "zoom", {action: MENU.Zoom}), + ITEM.RADIO("Click", "zoom", {action: MENU.Zoom}), + ITEM.RADIO("Double-Click", "zoom", {action: MENU.Zoom}), + ITEM.RADIO("No Zoom", "zoom", {value: "None"}), + ITEM.RULE(), + ITEM.LABEL("Trigger Requires:"), + ITEM.CHECKBOX((HUB.Browser.isMac ? "Option" : "Alt"), "ALT"), + ITEM.CHECKBOX("Command", "CMD", {hidden: !HUB.Browser.isMac}), + ITEM.CHECKBOX("Control", "CTRL", {hidden: HUB.Browser.isMac}), + ITEM.CHECKBOX("Shift", "Shift") + ), + ITEM.SUBMENU("Zoom Factor", + ITEM.RADIO("125%", "zscale"), + ITEM.RADIO("133%", "zscale"), + ITEM.RADIO("150%", "zscale"), + ITEM.RADIO("175%", "zscale"), + ITEM.RADIO("200%", "zscale"), + ITEM.RADIO("250%", "zscale"), + ITEM.RADIO("300%", "zscale"), + ITEM.RADIO("400%", "zscale") + ), + ITEM.RULE(), + ITEM.SUBMENU("Math Renderer", {hidden:!CONFIG.showRenderer}, + ITEM.RADIO("HTML-CSS", "renderer", {action: MENU.Renderer}), + ITEM.RADIO("MathML", "renderer", {action: MENU.Renderer, value:"NativeMML"}) + ), + ITEM.SUBMENU("Font Preference", {hidden:!CONFIG.showFontMenu}, + ITEM.LABEL("For HTML-CSS:"), + ITEM.RADIO("Auto", "font", {action: MENU.Font}), + ITEM.RULE(), + ITEM.RADIO("TeX (local)", "font", {action: MENU.Font}), + ITEM.RADIO("TeX (web)", "font", {action: MENU.Font}), + ITEM.RADIO("TeX (image)", "font", {action: MENU.Font}), + ITEM.RULE(), + ITEM.RADIO("STIX (local)", "font", {action: MENU.Font}) + ), + ITEM.SUBMENU("Contextual Menu", {hidden:!CONFIG.showContext}, + ITEM.RADIO("MathJax", "context"), + ITEM.RADIO("Browser", "context") + ), + ITEM.COMMAND("Scale All Math ...",MENU.Scale) + ), + ITEM.RULE(), + ITEM.COMMAND("About MathJax",MENU.About), + ITEM.COMMAND("MathJax Help",MENU.Help) + ); + + }); + + MENU.showRenderer = function (show) { + MENU.cookie.showRenderer = CONFIG.showRenderer = show; MENU.saveCookie(); + MENU.menu.items[3].menu.item[3].hidden = !show; + }; + MENU.showFontMenu = function (show) { + MENU.cookie.showFontMenu = CONFIG.showFontMenu = show; MENU.saveCookie(); + MENU.menu.items[3].menu.items[4].hidden = !show + }; + MENU.showContext = function (show) { + MENU.cookie.showContext = CONFIG.showContext = show; MENU.saveCookie(); + MENU.menu.items[3].menu.items[5].hidden = !show + }; + + /*************************************************************/ + + MathJax.Callback.Queue( + ["Styles",AJAX,CONFIG.styles], + ["Post",HUB.Startup.signal,"MathMenu Ready"], + ["loadComplete",AJAX,"[MathJax]/extensions/MathMenu.js"] + ); + +})(MathJax.Hub,MathJax.HTML,MathJax.Ajax); diff --git a/modules/MathJax/extensions/MathZoom.js b/modules/MathJax/extensions/MathZoom.js new file mode 100644 index 0000000..90d3aeb --- /dev/null +++ b/modules/MathJax/extensions/MathZoom.js @@ -0,0 +1,409 @@ +/************************************************************* + * + * MathJax/extensions/MathZoom.js + * + * Implements the zoom feature for enlarging math expressions. It is + * loaded automatically when the Zoom menu selection changes from "None". + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB,HTML,AJAX,HTMLCSS,nMML) { + var VERSION = "1.1"; + + var CONFIG = HUB.CombineConfig("MathZoom",{ + delay: 400, // mouse must be still this long (milliseconds) + + styles: { + // + // The styles for the MathZoom display box + // + "#MathJax_Zoom": { + position:"absolute", "background-color":"#F0F0F0", overflow:"auto", + display:"block", "z-index":301, padding:".5em", border:"1px solid black", margin:0, + "font-family":"serif", "font-size":"85%", "font-weight":"normal", + "font-style":"normal", "text-align":"left", "text-indent":0, "text-transform":"none", + "line-height":"normal", "letter-spacing":"normal", "word-spacing":"normal", + "word-wrap":"normal", "white-space":"nowrap", "float":"none", + "box-shadow":"5px 5px 15px #AAAAAA", // Opera 10.5 and IE9 + "-webkit-box-shadow":"5px 5px 15px #AAAAAA", // Safari 3 and Chrome + "-moz-box-shadow":"5px 5px 15px #AAAAAA", // Forefox 3.5 + "-khtml-box-shadow":"5px 5px 15px #AAAAAA", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')" // IE + }, + + // + // The styles for the hidden overlay (should not need to be adjusted by the page author) + // + "#MathJax_ZoomOverlay": { + position:"absolute", left:0, top:0, "z-index":300, display:"inline-block", + width:"100%", height:"100%", border:0, padding:0, margin:0, + "background-color":"white", opacity:0, filter:"alpha(opacity=0)" + } + } + }); + + /*************************************************************/ + /* + * Cancel event's default action (try everything we can) + */ + var FALSE = function (event) { + if (!event) {event = window.event} + if (event) { + if (event.preventDefault) {event.preventDefault()} + if (event.stopPropagation) {event.stopPropagation()} + event.cancelBubble = true; + event.returnValue = false; + } + return false; + }; + + /*************************************************************/ + + var ZOOM = MathJax.Extension.MathZoom = { + version: VERSION, + settings: HUB.config.menuSettings, + + // + // Used to override HTMLCSS or nMML method of the same name + // + HandleEvent: function (event,type,math) { + if (!event) {event = window.event} + if (ZOOM.settings.CTRL && !event.ctrlKey) return true; + if (ZOOM.settings.ALT && !event.altKey) return true; + if (ZOOM.settings.CMD && !event.metaKey) return true; + if (ZOOM.settings.Shift && !event.shiftKey) return true; + return ZOOM[type](event,math); + }, + + // + // Zoom on click + // + Click: function (event,math) { + if (this.settings.zoom === "Click") {return this.Zoom(math,event)} + }, + + // + // Zoom on double click + // + DblClick: function (event,math) { + if (this.settings.zoom === "Double-Click") {return this.Zoom(math,event)} + }, + + // + // Zoom on hover + // + Mouseover: function (event,math) { + if (this.settings.zoom === "Hover") { + ZOOM.oldMouseOver = math.onmouseover; + math.onmouseover = null; + math.onmousemove = this.Mousemove; + math.onmouseout = this.Mouseout; + return ZOOM.Timer(event,math); + } + }, + Mouseout: function (event) { + this.onmouseover = ZOOM.oldMouseOver; delete ZOOM.oldMouseOver; + this.onmousemove = this.onmouseout = null; + ZOOM.ClearTimer(); + return FALSE(event); + }, + Mousemove: function (event) { + return ZOOM.Timer(event||window.event,this); + }, + Timer: function (event,math) { + this.ClearTimer(); + this.timer = setTimeout(MathJax.Callback(["Zoom",this,math,{}]),CONFIG.delay); + return FALSE(event); + }, + ClearTimer: function () { + if (this.timer) {clearTimeout(this.timer); delete this.timer} + }, + + // + // Handle the actual zooming + // + Zoom: function (math,event) { + this.ClearTimer(); this.Remove(); + + // + // Find the jax and its type + // + var parent = math.parentNode; + if (parent.className === "MathJax_MathContainer") {parent = parent.parentNode} + if (parent.parentNode.className === "MathJax_MathContainer") {parent = parent.parentNode.parentNode} + var script = (String(parent.className).match(/^MathJax_(MathML|Display)$/) ? parent : math).nextSibling; + var jax = HUB.getJaxFor(script), root = jax.root; + var JAX = (HTMLCSS && jax.outputJax.isa(HTMLCSS.constructor) ? "HTMLCSS" : + (nMML && jax.outputJax.isa(nMML.constructor) ? "MathML" : null)); + if (!JAX) return; // FIXME: report an error? + + // + // Create the DOM elements for the zoom box + // + var Mw = Math.floor(.85*document.body.clientWidth), + Mh = Math.floor(.85*document.body.clientHeight); + var div = HTML.Element( + "span",{ + style: {position:"relative", display:"inline-block", height:0, width:0}, + id:"MathJax_ZoomFrame" + },[ + ["span",{id:"MathJax_ZoomOverlay", onmousedown:this.Remove}], + ["span",{ + id:"MathJax_Zoom", onclick: this.Remove, + style:{ + visibility:"hidden", fontSize:this.settings.zscale, + "max-width":Mw+"px", "max-height":Mh+"px" + } + },[["span"]]] + ] + ); + var zoom = div.lastChild, span = zoom.firstChild, overlay = div.firstChild; + math.parentNode.insertBefore(div,math); + + // + // Display the zoomed math + // + if (this.msieZIndexBug) { + // MSIE doesn't do z-index properly, so move the div to the document.body, + // and use an empty span as a tracker for the usual position + var tracker = HTML.Element("img",{ + src:"about:blank", id:"MathJax_ZoomTracker", + style:{width:0, height:0, position:"relative"} + }); + document.body.appendChild(div); + div.style.position = "absolute"; + div.style.zIndex = CONFIG.styles["#MathJax_ZoomOverlay"]["z-index"]; + div = tracker; + } + var bbox = (this["Zoom"+JAX])(root,span,math); + if (this.msiePositionBug) { + if (this.msieIE8Bug) { + // IE8 gets height completely wrong + span.style.position = "absolute"; zoom.style.height = span.offsetHeight; span.style.position = ""; + if (zoom.offsetHeight <= Mh && zoom.offsetWidth <= Mw) {zoom.style.overflow = "visible"} + } + if (this.msieWidthBug) {zoom.style.width = Math.min(Mw,bbox.w)} + else if (bbox.w > Mw) {zoom.style.width = Mw} + if (zoom.offsetHeight > Mh) {zoom.style.Height = Mh+"px"} // IE doesn't do max-height? + if (math.nextSibling) {math.parentNode.insertBefore(div,math.nextSibling)} + else {parent.appendChild(div)} // needs to be after to be above? + } else if (this.operaPositionBug) { + zoom.style.width = Math.min(Mw,span.offsetWidth)+"px"; // gets width as 0? + } + this.Position(zoom,bbox,(JAX === "MathML" && parent.nodeName.toLowerCase() === "div")); + zoom.style.visibility = ""; + + // + // Add event handlers + // + if (this.settings.zoom === "Hover") {overlay.onmouseover = this.Remove} + if (window.addEventListener) {addEventListener("resize",this.Resize,false)} + else if (window.attachEvent) {attachEvent("onresize",this.Resize)} + else {this.onresize = window.onresize; window.onresize = this.Resize} + + + // + // Canel further actions + // + return FALSE(event); + }, + + // + // Handle the jax-specific output + // + ZoomHTMLCSS: function (root,span,math) { + span.className = "MathJax"; + HTMLCSS.idPostfix = "-zoom"; + HTMLCSS.getScales(span,span); + root.toHTML(span,span); + var bbox = root.HTMLspanElement().bbox; + HTMLCSS.idPostfix = ""; + if (bbox.width && bbox.width !== "100%") { + // Handle full-width displayed equations + // FIXME: this is a hack for now + var Mw = Math.floor(.85*document.body.clientWidth); + span.style.width = Mw+"px"; span.style.display="inline-block"; + var id = (root.id||"MathJax-Span-"+root.spanID)+"-zoom"; + var child = document.getElementById(id).firstChild; + while (child && child.style.width !== bbox.width) {child = child.nextSibling} + if (child) {child.style.width = "100%"} + } + span.appendChild(this.topImg); var top = this.topImg.offsetTop; span.removeChild(this.topImg); + var W = (this.msieWidthBug ? HTMLCSS.getW(math)*HTMLCSS.em : math.offsetWidth); + return {w:bbox.w*HTMLCSS.em, Y:-top, W:W}; + }, + ZoomMathML: function (root,span,math) { + root.toNativeMML(span,span); var top; + span.appendChild(this.topImg); top = this.topImg.offsetTop; span.removeChild(this.topImg); + var W = (this.ffMMLwidthBug ? math.parentNode : math).offsetWidth; + return {w:span.offsetWidth, Y:-top, W:W} + }, + + // + // Set the position of the zoom box and overlay + // + Position: function (zoom,bbox,MMLdisplay) { + var XY = this.Resize(), x = XY.x, y = XY.y, W = bbox.W; + if (this.msiePositionBug) {W = -W} + if (MMLdisplay && this.ffMMLcenterBug) {W = 0} + var dx = -Math.floor((zoom.offsetWidth-W)/2), dy = bbox.Y; + zoom.style.left = Math.max(dx,20-x)+"px"; zoom.style.top = Math.max(dy,20-y)+"px"; + }, + + // + // Handle resizing of overlay while zoom is displayed + // + Resize: function (event) { + if (ZOOM.onresize) {ZOOM.onresize(event)} + var x = 0, y = 0, + div = document.getElementById("MathJax_ZoomFrame"), + overlay = document.getElementById("MathJax_ZoomOverlay"); + var obj = (ZOOM.msieZIndexBug ? document.getElementById("MathJax_ZoomTracker") : div); + if (ZOOM.operaPositionBug) {div.style.border = "1px solid"} // to get vertical position right + if (obj.offsetParent) { + do {x += obj.offsetLeft; y += obj.offsetTop} while (obj = obj.offsetParent); + } + if (ZOOM.operaPositionBug) {div.style.border = ""} + if (ZOOM.msieZIndexBug) {div.style.left = x+"px"; div.style.top = y+"px"} + overlay.style.left = (-x)+"px"; overlay.style.top = (-y)+"px"; + if (ZOOM.msiePositionBug) {setTimeout(ZOOM.SetWH,0)} else {ZOOM.SetWH()} + return {x:x, y:y}; + }, + SetWH: function () { + var overlay = document.getElementById("MathJax_ZoomOverlay"); + overlay.style.width = overlay.style.height = "1px"; // so scrollWidth/Height will be right below + overlay.style.width = document.body.scrollWidth + "px"; + overlay.style.height = document.body.scrollHeight + "px"; + }, + + // + // Remove zoom display and event handlers + // + Remove: function (event) { + var div = document.getElementById("MathJax_ZoomFrame"); + if (div) { + div.parentNode.removeChild(div); + div = document.getElementById("MathJax_ZoomTracker"); + if (div) {div.parentNode.removeChild(div)} + if (ZOOM.operaRefreshBug) { + // force a redisplay of the page + // (Opera doesn't refresh properly after the zoom is removed) + var overlay = HTML.addElement(document.body,"div",{ + style:{position:"fixed", left:0, top:0, width:"100%", height:"100%", + backgroundColor:"white", opacity:0}, + id: "MathJax_OperaDiv" + }); + document.body.removeChild(overlay); + } + if (window.removeEventListener) {removeEventListener("resize",ZOOM.Resize,false)} + else if (window.detachEvent) {detachEvent("onresize",ZOOM.Resize)} + else {window.onresize = ZOOM.onresize; delete ZOOM.onresize} + } + return FALSE(event); + } + + }; + + // + // Hook into the HTML-CSS and NativeMML event handling + // + HUB.Register.StartupHook("HTML-CSS Jax Ready",function () { + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + HTMLCSS.Augment({HandleEvent: ZOOM.HandleEvent}); + }); + HUB.Register.StartupHook("NativeMML Jax Ready", function () { + nMML = MathJax.OutputJax.NativeMML; + nMML.Augment({ + HandleEvent: ZOOM.HandleEvent, + MSIEmouseup: function (event,math,span) { + if (this.trapUp) {delete this.trapUp; return true} + if (this.MSIEzoomKeys(event)) {return true} + return false; + }, + MSIEclick: function (event,math,span) { + if (this.trapClick) {delete this.trapClick; return true} + if (!this.MSIEzoomKeys(event)) return false; + if (!this.settings.zoom.match(/Click/)) return false; + return (ZOOM.Click(event,math) === false); + }, + MSIEdblclick: function (event,math,span) { + if (!this.MSIEzoomKeys(event)) return false; + return (ZOOM.DblClick(event,math) === false); + }, + MSIEmouseover: function (event,math,span) { + if (this.settings.zoom !== "Hover") {return false} + ZOOM.Timer(event,math); return true; + }, + MSIEmouseout: function (event,math,span) { + if (this.settings.zoom !== "Hover") {return false} + ZOOM.ClearTimer(); return true; + }, + MSIEmousemove: function (event,math,span) { + if (this.settings.zoom !== "Hover") {return false} + ZOOM.Timer(event,math); return true; + }, + MSIEzoomKeys: function (event) { + if (this.settings.CTRL && !event.ctrlKey) return false; + if (this.settings.CMD && !event.metaKey) return false; + if (this.settings.ALT && !event.altKey) return false; + if (this.settings.Shift && !event.shiftKey) return false; + return true; + } + }); + }); + + /*************************************************************/ + + HUB.Browser.Select({ + MSIE: function (browser) { + var quirks = (document.compatMode === "BackCompat"); + var isIE8 = browser.versionAtLeast("8.0") && document.documentMode > 7; + ZOOM.msiePositionBug = true; + ZOOM.msieWidthBug = !quirks; + ZOOM.msieIE8Bug = isIE8; + ZOOM.msieZIndexBug = !isIE8; + ZOOM.msieInlineBlockAlignBug = (!isIE8 || quirks); + if (document.documentMode >= 9) {delete CONFIG.styles["#MathJax_Zoom"].filter} + }, + + Opera: function (browser) { + ZOOM.operaPositionBug = true; + ZOOM.operaRefreshBug = true; + }, + + Firefox: function (browser) { + ZOOM.ffMMLwidthBug = true; + ZOOM.ffMMLcenterBug = true; + } + }); + + ZOOM.topImg = (ZOOM.msieInlineBlockAlignBug ? + HTML.Element("img",{style:{width:0,height:0},src:"about:blank"}) : + HTML.Element("span",{style:{width:0,height:0,display:"inline-block"}}) + ); + if (ZOOM.operaPositionBug) {ZOOM.topImg.style.border="1px solid"} + + /*************************************************************/ + + MathJax.Callback.Queue( + ["Styles",AJAX,CONFIG.styles], + ["Post",HUB.Startup.signal,"MathZoom Ready"], + ["loadComplete",AJAX,"[MathJax]/extensions/MathZoom.js"] + ); + +})(MathJax.Hub,MathJax.HTML,MathJax.Ajax,MathJax.OutputJax["HTML-CSS"],MathJax.OutputJax.NativeMML); diff --git a/modules/MathJax/extensions/TeX/AMSmath.js b/modules/MathJax/extensions/TeX/AMSmath.js new file mode 100644 index 0000000..c8f2ca0 --- /dev/null +++ b/modules/MathJax/extensions/TeX/AMSmath.js @@ -0,0 +1,394 @@ +/************************************************************* + * + * MathJax/extensions/TeX/AMSmath.js + * + * Implements AMS math environments and macros. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var MML = MathJax.ElementJax.mml; + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + var STACKITEM = TEX.Stack.Item; + + var COLS = function (W) {return W.join("em ") + "em"}; + + MathJax.Hub.Insert(TEXDEF,{ + macros: { + mathring: ['Accent','2DA'], // or 0x30A + + nobreakspace: 'Tilde', + negmedspace: ['Spacer',MML.LENGTH.NEGATIVEMEDIUMMATHSPACE], + negthickspace: ['Spacer',MML.LENGTH.NEGATIVETHICKMATHSPACE], + + intI: ['Macro','\\mathchoice{\\!}{}{}{}\\!\\!\\int'], +// iint: ['MultiIntegral','\\int\\intI'], // now in core TeX input jax +// iiint: ['MultiIntegral','\\int\\intI\\intI'], // now in core TeX input jax + iiiint: ['MultiIntegral','\\int\\intI\\intI\\intI'], + idotsint: ['MultiIntegral','\\int\\cdots\\int'], + + dddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}}',1], + ddddot: ['Macro','\\mathop{#1}\\limits^{\\textstyle \\mathord{.}\\mathord{.}\\mathord{.}\\mathord{.}}',1], + + sideset: ['Macro','\\mathop{\\mathop{\\rlap{\\phantom{#3}}}\\nolimits#1\\!\\mathop{#3}\\nolimits#2}',3], + + boxed: ['Macro','\\fbox{$\\displaystyle{#1}$}',1], + + tag: 'HandleTag', + notag: 'HandleNoTag', + + substack: ['Macro','\\begin{subarray}{c}#1\\end{subarray}',1], + + injlim: ['Macro','\\mathop{\\rm inj\\,lim}'], + projlim: ['Macro','\\mathop{\\rm proj\\,lim}'], + varliminf: ['Macro','\\mathop{\\underline{\\rm lim}}'], + varlimsup: ['Macro','\\mathop{\\overline{\\rm lim}}'], + varinjlim: ['Macro','\\mathop{\\underrightarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'], + varprojlim: ['Macro','\\mathop{\\underleftarrow{\\rm lim\\Rule{-1pt}{0pt}{1pt}}\\Rule{0pt}{0pt}{.45em}}'], + + DeclareMathOperator: 'HandleDeclareOp', + operatorname: 'HandleOperatorName', + + genfrac: 'Genfrac', + frac: ['Genfrac',"","","",""], + tfrac: ['Genfrac',"","","",1], + dfrac: ['Genfrac',"","","",0], + binom: ['Genfrac',"(",")","0em",""], + tbinom: ['Genfrac',"(",")","0em",1], + dbinom: ['Genfrac',"(",")","0em",0], + + cfrac: 'CFrac', + + shoveleft: ['HandleShove',MML.ALIGN.LEFT], + shoveright: ['HandleShove',MML.ALIGN.RIGHT], + + xrightarrow: ['xArrow',0x2192,5,6], + xleftarrow: ['xArrow',0x2190,7,3] + }, + + environment: { + align: ['AMSarray',null,true,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])], + 'align*': ['AMSarray',null,false,true, 'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18])], + multline: ['Multline',null,true], + 'multline*': ['Multline',null,false], + split: ['AMSarray',null,false,false,'rl',COLS([5/18])], + gather: ['AMSarray',null,true,true, 'c'], + 'gather*': ['AMSarray',null,false,true, 'c'], + + alignat: ['AlignAt',null,true,true], + 'alignat*': ['AlignAt',null,false,true], + alignedat: ['AlignAt',null,false,false], + + aligned: ['Array',null,null,null,'rlrlrlrlrlrl',COLS([5/18,2,5/18,2,5/18,2,5/18,2,5/18,2,5/18]),".5em",'D'], + gathered: ['Array',null,null,null,'c',null,".5em",'D'], + + subarray: ['Array',null,null,null,null,COLS([0,0,0,0]),"0.1em",'S',1], + smallmatrix: ['Array',null,null,null,'c',COLS([1/3]),".2em",'S',1] + }, + + delimiter: { + '\\lvert': ['2223',{texClass:MML.TEXCLASS.OPEN}], + '\\rvert': ['2223',{texClass:MML.TEXCLASS.CLOSE}], + '\\lVert': ['2225',{texClass:MML.TEXCLASS.OPEN}], + '\\rVert': ['2225',{texClass:MML.TEXCLASS.CLOSE}] + } + }); + + + TEX.Parse.Augment({ + + /* + * Add the tag to the environment to be added to the table row later + */ + HandleTag: function (name) { + var arg = this.trimSpaces(this.GetArgument(name)); + if (arg === "*") {arg = this.GetArgument(name)} else {arg = "("+arg+")"} + if (this.stack.global.notag) + {TEX.Error(name+" not allowed in "+this.stack.global.notag+" environment")} + if (this.stack.global.tag) {TEX.Error("Multiple "+name)} + this.stack.global.tag = MML.mtd.apply(MML,this.InternalMath(arg)); + }, + HandleNoTag: function (name) { + if (this.stack.global.tag) {delete this.stack.global.tag} + }, + + /* + * Handle \DeclareMathOperator + */ + HandleDeclareOp: function (name) { + var limits = ""; + var cs = this.trimSpaces(this.GetArgument(name)); + if (cs == "*") { + limits = "\\limits"; + cs = this.trimSpaces(this.GetArgument(name)); + } + if (cs.charAt(0) == "\\") {cs = cs.substr(1)} + var op = this.GetArgument(name); + op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}'); + TEX.Definitions.macros[cs] = ['Macro','\\mathop{\\rm '+op+'}'+limits]; + }, + + HandleOperatorName: function (name) { + var limits = "\\nolimits"; + var op = this.trimSpaces(this.GetArgument(name)); + if (op == "*") { + limits = "\\limits"; + op = this.trimSpaces(this.GetArgument(name)); + } + op = op.replace(/\*/g,'\\text{*}').replace(/-/g,'\\text{-}'); + this.string = '\\mathop{\\rm '+op+'}'+limits+" "+this.string.slice(this.i); + this.i = 0; + }, + + /* + * Record presence of \shoveleft and \shoveright + */ + HandleShove: function (name,shove) { + var top = this.stack.Top(); + if (top.type !== "multline" || top.data.length) {TEX.Error(name+" must come at the beginning of the line")} + top.data.shove = shove; + }, + + /* + * Handle \cfrac + */ + CFrac: function (name) { + var lr = this.trimSpaces(this.GetBrackets(name)), + num = this.GetArgument(name), + den = this.GetArgument(name); + var frac = MML.mfrac(TEX.Parse('\\strut\\textstyle{'+num+'}',this.stack.env).mml(), + TEX.Parse('\\strut\\textstyle{'+den+'}',this.stack.env).mml()); + lr = ({l:MML.ALIGN.LEFT, r:MML.ALIGN.RIGHT,"":""})[lr]; + if (lr == null) {TEX.Error("Illegal alignment specified in "+name)} + if (lr) {frac.numalign = frac.denomalign = lr} + this.Push(frac); + }, + + /* + * Implement AMS generalized fraction + */ + Genfrac: function (name,left,right,thick,style) { + if (left == null) {left = this.GetDelimiterArg(name)} else {left = this.convertDelimiter(left)} + if (right == null) {right = this.GetDelimiterArg(name)} else {right = this.convertDelimiter(right)} + if (thick == null) {thick = this.GetArgument(name)} + if (style == null) {style = this.trimSpaces(this.GetArgument(name))} + var num = this.ParseArg(name); + var den = this.ParseArg(name); + var frac = MML.mfrac(num,den); + if (thick !== "") {frac.linethickness = thick} + if (left || right) {frac = MML.mfenced(frac).With({open: left, close: right})} + if (style !== "") { + var STYLE = (["D","T","S","SS"])[style]; + if (STYLE == null) {TEX.Error("Bad math style for "+name)} + frac = MML.mstyle(frac); + if (STYLE === "D") {frac.displaystyle = true; frac.scriptlevel = 0} + else {frac.displaystyle = false; frac.scriptlevel = style - 1} + } + + this.Push(frac); + }, + + /* + * Implements multline environment (mostly handled through STACKITEM below) + */ + Multline: function (begin,numbered) { + this.Push(begin); + return STACKITEM.multline().With({ + arraydef: { + displaystyle: true, + rowspacing: ".5em", + width: TEX.config.MultLineWidth, columnwidth:"100%", + side: TEX.config.TagSide, + minlabelspacing: TEX.config.TagIndent + } + }); + }, + + /* + * Handle AMS aligned environments + */ + AMSarray: function (begin,numbered,taggable,align,spacing) { + this.Push(begin); + align = align.replace(/[^clr]/g,'').split('').join(' '); + align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center'); + return STACKITEM.AMSarray(begin.name,numbered,taggable,this.stack).With({ + arraydef: { + displaystyle: true, + rowspacing: ".5em", + columnalign: align, + columnspacing: (spacing||"1em"), + rowspacing: "3pt", + side: TEX.config.TagSide, + minlabelspacing: TEX.config.TagIndent + } + }); + }, + + AlignAt: function (begin,numbered,taggable) { + var n = this.GetArgument("\\begin{"+begin.name+"}"); + if (n.match(/[^0-9]/)) {TEX.Error("Argument to \\begin{"+begin.name+"} must me a positive integer")} + align = ""; spacing = []; + while (n > 0) {align += "rl"; spacing.push("0em 0em"); n--} + spacing = spacing.join(" "); + if (taggable) {return this.AMSarray(begin,numbered,taggable,align,spacing)} + return this.Array(begin,null,null,align,spacing,".5em",'D'); + }, + + /* + * Handle multiple integrals (make a mathop if followed by limits) + */ + MultiIntegral: function (name,integral) { + var next = this.GetNext(); + if (next === "\\") { + var i = this.i; next = this.GetArgument(name); this.i = i; + if (next === "\\limits") { + if (name === "\\idotsint") {integral = "\\!\\!\\mathop{\\,\\,"+integral+"}"} + else {integral = "\\!\\!\\!\\mathop{\\,\\,\\,"+integral+"}"} + } + } + this.string = integral + " " + this.string.slice(this.i); + this.i = 0; + }, + + xArrow: function (name,chr,l,r) { + var def = {width: "+"+(l+r)+"mu", lspace: l+"mu"}; + var bot = this.GetBrackets(name), + top = this.ParseArg(name); + var arrow = MML.mo(MML.chars(String.fromCharCode(chr))).With({ + stretchy: true, texClass: MML.TEXCLASS.REL + }); + var mml = MML.munderover(arrow); + mml.SetData(mml.over,MML.mpadded(top).With(def).With({voffset:".15em"})); + if (bot) { + bot = TEX.Parse(bot,this.stack.env).mml() + mml.SetData(mml.under,MML.mpadded(bot).With(def).With({voffset:"-.24em"})); + } + this.Push(mml); + }, + + /* + * Get a delimiter or empty argument + */ + GetDelimiterArg: function (name) { + var c = this.trimSpaces(this.GetArgument(name)); + if (c == "") {return null} + if (!TEXDEF.delimiter[c]) {TEX.Error("Missing or unrecognized delimiter for "+name)} + return this.convertDelimiter(c); + } + }); + + /* + * Implement multline environment via a STACKITEM + */ + STACKITEM.multline = STACKITEM.array.Subclass({ + type: "multline", + EndEntry: function () { + var mtd = MML.mtd.apply(MML,this.data); + if (this.data.shove) {mtd.columnalign = this.data.shove} + this.row.push(mtd); + this.data = []; + }, + EndRow: function () { + if (this.row.length != 1) {TEX.Error("multline rows must have exactly one column")} + this.table.push(this.row); this.row = []; + }, + EndTable: function () { + this.SUPER(arguments).EndTable.call(this); + if (this.table.length) { + var m = this.table.length-1, i; + if (!this.table[0][0].columnalign) {this.table[0][0].columnalign = MML.ALIGN.LEFT} + if (!this.table[m][0].columnalign) {this.table[m][0].columnalign = MML.ALIGN.RIGHT} + var mtr = MML.mtr; + if (this.global.tag) { + this.table[0] = [this.global.tag].concat(this.table[0]); + delete this.global.tag; mtr = MML.mlabeledtr; + } + this.table[0] = mtr.apply(MML,this.table[0]); + for (i = 1, m = this.table.length; i < m; i++) + {this.table[i] = MML.mtr.apply(MML,this.table[i])} + } + } + }); + + STACKITEM.AMSarray = STACKITEM.array.Subclass({ + type: "AMSarray", + Init: function (name,numbered,taggable,stack) { + this.SUPER(arguments).Init.apply(this); + this.numbered = numbered; + this.save_notag = stack.global.notag; + stack.global.notag = (taggable ? null : name); + }, + EndRow: function () { + var mtr = MML.mtr; + if (this.global.tag) { + this.row = [this.global.tag].concat(this.row); + mtr = MML.mlabeledtr; + delete this.global.tag; + } + this.table.push(mtr.apply(MML,this.row)); this.row = []; + }, + EndTable: function () { + this.SUPER(arguments).EndTable.call(this); + this.global.notag = this.save_notag; + } + }); + + // + // Look for \tag on a formula and make an mtable to include it + // + STACKITEM.start.Augment({ + oldCheckItem: STACKITEM.start.prototype.checkItem, + checkItem: function (item) { + if (item.type === "stop") { + var mml = this.mmlData(); + if (this.global.tag) { + var row = [this.global.tag,MML.mtd(mml)]; delete this.global.tag; + var def = { + side: TEX.config.TagSide, + minlabelspacing: TEX.config.TagIndent, + columnalign: mml.displayAlign + }; + if (mml.displayAlign === MML.INDENTALIGN.LEFT) { + def.width = "100%"; + if (mml.displayIndent && !String(mml.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)) { + def.columnwidth = mml.displayIndent + " fit"; def.columnspacing = "0" + row = [row[0],MML.mtd(),row[1]]; + } + } else if (mml.displayAlign === MML.INDENTALIGN.RIGHT) { + def.width = "100%"; + if (mml.displayIndent && !String(mml.displayIndent).match(/^0+(\.0*)?($|[a-z%])/)) { + def.columnwidth = "fit "+mml.displayIndent; def.columnspacing = "0" + row[2] = MML.mtd(); + } + } + mml = MML.mtable(MML.mlabeledtr.apply(MML,row)).With(def); + } + return STACKITEM.mml(mml); + } + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + MathJax.Hub.Startup.signal.Post("TeX AMSmath Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSmath.js"); diff --git a/modules/MathJax/extensions/TeX/AMSsymbols.js b/modules/MathJax/extensions/TeX/AMSsymbols.js new file mode 100644 index 0000000..c3efe45 --- /dev/null +++ b/modules/MathJax/extensions/TeX/AMSsymbols.js @@ -0,0 +1,390 @@ +/************************************************************* + * + * MathJax/extensions/TeX/AMSsymbols.js + * + * Implements macros for accessing the AMS symbol fonts. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1.2"; + + var MML = MathJax.ElementJax.mml; + + MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{ + + mathchar0mi: { + // Lowercase Greek letters + digamma: '03DD', + varkappa: '03F0', + + // Uppercase Greek letters + varGamma: ['0393',{mathvariant: MML.VARIANT.ITALIC}], + varDelta: ['0394',{mathvariant: MML.VARIANT.ITALIC}], + varTheta: ['0398',{mathvariant: MML.VARIANT.ITALIC}], + varLambda: ['039B',{mathvariant: MML.VARIANT.ITALIC}], + varXi: ['039E',{mathvariant: MML.VARIANT.ITALIC}], + varPi: ['03A0',{mathvariant: MML.VARIANT.ITALIC}], + varSigma: ['03A3',{mathvariant: MML.VARIANT.ITALIC}], + varUpsilon: ['03A5',{mathvariant: MML.VARIANT.ITALIC}], + varPhi: ['03A6',{mathvariant: MML.VARIANT.ITALIC}], + varPsi: ['03A8',{mathvariant: MML.VARIANT.ITALIC}], + varOmega: ['03A9',{mathvariant: MML.VARIANT.ITALIC}], + + // Hebrew letters + beth: '2136', + gimel: '2137', + daleth: '2138', + + // Miscellaneous symbols +// hbar: '0127', // in MathJax_Main + backprime: ['2035',{variantForm: true}], + hslash: ['210F',{variantForm: true}], + varnothing: ['2205',{variantForm: true}], + blacktriangle: '25B2', + triangledown: '25BD', + blacktriangledown: '25BC', + square: '25A1', + Box: '25A1', + blacksquare: '25A0', + lozenge: '25CA', + Diamond: '25CA', + blacklozenge: '29EB', + circledS: ['24C8',{mathvariant: MML.VARIANT.NORMAL}], + bigstar: '2605', +// angle: '2220', // in MathJax_Main + sphericalangle: '2222', + measuredangle: '2221', + nexists: '2204', + complement: '2201', + mho: '2127', + eth: ['00F0',{mathvariant: MML.VARIANT.NORMAL}], + Finv: '2132', + diagup: '2571', + Game: '2141', + diagdown: '2572', + Bbbk: ['006B',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + + yen: '00A5', + circledR: '00AE', + checkmark: '2713', + maltese: '2720' + }, + + mathchar0mo: { + // Binary operators + dotplus: '2214', + ltimes: '22C9', + smallsetminus: ['2216',{variantForm: true}], + rtimes: '22CA', + Cap: '22D2', + doublecap: '22D2', + leftthreetimes: '22CB', + Cup: '22D3', + doublecup: '22D3', + rightthreetimes: '22CC', + barwedge: '22BC', + curlywedge: '22CF', + veebar: '22BB', + curlyvee: '22CE', + doublebarwedge: '2A5E', + boxminus: '229F', + circleddash: '229D', + boxtimes: '22A0', + circledast: '229B', + boxdot: '22A1', + circledcirc: '229A', + boxplus: '229E', + centerdot: '22C5', + divideontimes: '22C7', + intercal: '22BA', + + // Binary relations + leqq: '2266', + geqq: '2267', + leqslant: '2A7D', + geqslant: '2A7E', + eqslantless: '2A95', + eqslantgtr: '2A96', + lesssim: '2272', + gtrsim: '2273', + lessapprox: '2A85', + gtrapprox: '2A86', + approxeq: '224A', + lessdot: '22D6', + gtrdot: '22D7', + lll: '22D8', + llless: '22D8', + ggg: '22D9', + gggtr: '22D9', + lessgtr: '2276', + gtrless: '2277', + lesseqgtr: '22DA', + gtreqless: '22DB', + lesseqqgtr: '2A8B', + gtreqqless: '2A8C', + doteqdot: '2251', + Doteq: '2251', + eqcirc: '2256', + risingdotseq: '2253', + circeq: '2257', + fallingdotseq: '2252', + triangleq: '225C', + backsim: '223D', + thicksim: ['223C',{variantForm: true}], + backsimeq: '22CD', + thickapprox: '2248', + subseteqq: '2AC5', + supseteqq: '2AC6', + Subset: '22D0', + Supset: '22D1', + sqsubset: '228F', + sqsupset: '2290', + preccurlyeq: '227C', + succcurlyeq: '227D', + curlyeqprec: '22DE', + curlyeqsucc: '22DF', + precsim: '227E', + succsim: '227F', + precapprox: '2AB7', + succapprox: '2AB8', + vartriangleleft: '22B2', + lhd: '22B2', + vartriangleright: '22B3', + rhd: '22B3', + trianglelefteq: '22B4', + unlhd: '22B4', + trianglerighteq: '22B5', + unrhd: '22B5', + vDash: '22A8', + Vdash: '22A9', + Vvdash: '22AA', + smallsmile: '2323', + shortmid: ['2223',{variantForm: true}], + smallfrown: '2322', + shortparallel: ['2225',{variantForm: true}], + bumpeq: '224F', + between: '226C', + Bumpeq: '224E', + pitchfork: '22D4', + varpropto: '221D', + backepsilon: '220D', + blacktriangleleft: '25C0', + blacktriangleright: '25B6', + therefore: '2234', + because: '2235', + eqsim: '2242', + vartriangle: ['25B3',{variantForm: true}], + Join: '22C8', + + // Negated relations + nless: '226E', + ngtr: '226F', + nleq: '2270', + ngeq: '2271', + nleqslant: ['2A87',{variantForm: true}], + ngeqslant: ['2A88',{variantForm: true}], + nleqq: ['2270',{variantForm: true}], + ngeqq: ['2271',{variantForm: true}], + lneq: '2A87', + gneq: '2A88', + lneqq: '2268', + gneqq: '2269', + lvertneqq: ['2268',{variantForm: true}], + gvertneqq: ['2269',{variantForm: true}], + lnsim: '22E6', + gnsim: '22E7', + lnapprox: '2A89', + gnapprox: '2A8A', + nprec: '2280', + nsucc: '2281', + npreceq: ['22E0',{variantForm: true}], + nsucceq: ['22E1',{variantForm: true}], + precneqq: '2AB5', + succneqq: '2AB6', + precnsim: '22E8', + succnsim: '22E9', + precnapprox: '2AB9', + succnapprox: '2ABA', + nsim: '2241', + ncong: '2246', + nshortmid: ['2224',{variantForm: true}], + nshortparallel: ['2226',{variantForm: true}], + nmid: '2224', + nparallel: '2226', + nvdash: '22AC', + nvDash: '22AD', + nVdash: '22AE', + nVDash: '22AF', + ntriangleleft: '22EA', + ntriangleright: '22EB', + ntrianglelefteq: '22EC', + ntrianglerighteq: '22ED', + nsubseteq: '2288', + nsupseteq: '2289', + nsubseteqq: ['2288',{variantForm: true}], + nsupseteqq: ['2289',{variantForm: true}], + subsetneq: '228A', + supsetneq: '228B', + varsubsetneq: ['228A',{variantForm: true}], + varsupsetneq: ['228B',{variantForm: true}], + subsetneqq: '2ACB', + supsetneqq: '2ACC', + varsubsetneqq: ['2ACB',{variantForm: true}], + varsupsetneqq: ['2ACC',{variantForm: true}], + + + // Arrows + leftleftarrows: '21C7', + rightrightarrows: '21C9', + leftrightarrows: '21C6', + rightleftarrows: '21C4', + Lleftarrow: '21DA', + Rrightarrow: '21DB', + twoheadleftarrow: '219E', + twoheadrightarrow: '21A0', + leftarrowtail: '21A2', + rightarrowtail: '21A3', + looparrowleft: '21AB', + looparrowright: '21AC', + leftrightharpoons: '21CB', + rightleftharpoons: ['21CC',{variantForm: true}], + curvearrowleft: '21B6', + curvearrowright: '21B7', + circlearrowleft: '21BA', + circlearrowright: '21BB', + Lsh: '21B0', + Rsh: '21B1', + upuparrows: '21C8', + downdownarrows: '21CA', + upharpoonleft: '21BF', + upharpoonright: '21BE', + downharpoonleft: '21C3', + restriction: '21BE', + multimap: '22B8', + downharpoonright: '21C2', + leftrightsquigarrow: '21AD', + rightsquigarrow: '21DD', + leadsto: '21DD', + dashrightarrow: '21E2', + dashleftarrow: '21E0', + + // Negated arrows + nleftarrow: '219A', + nrightarrow: '219B', + nLeftarrow: '21CD', + nRightarrow: '21CF', + nleftrightarrow: '21AE', + nLeftrightarrow: '21CE' + }, + + delimiter: { + // corners + "\\ulcorner": '250C', + "\\urcorner": '2510', + "\\llcorner": '2514', + "\\lrcorner": '2518' + }, + + macros: { + implies: ['Macro','\\;\\Longrightarrow\\;'], + impliedby: ['Macro','\\;\\Longleftarrow\\;'] + } + + }); + + var REL = MML.mo.OPTYPES.REL; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + infix: { + '\u2322': REL, // smallfrown + '\u2323': REL, // smallsmile + '\u25B3': REL, // vartriangle + '\uE006': REL, // nshortmid + '\uE007': REL, // nshortparallel + '\uE00C': REL, // lvertneqq + '\uE00D': REL, // gvertneqq + '\uE00E': REL, // ngeqq + '\uE00F': REL, // ngeqslant + '\uE010': REL, // nleqslant + '\uE011': REL, // nleqq + '\uE016': REL, // nsubseteqq + '\uE017': REL, // varsubsetneqq + '\uE018': REL, // nsupseteqq + '\uE019': REL, // varsupsetneqq + '\uE01A': REL, // varsubsetneq + '\uE01B': REL, // varsupsetneq + '\uE04B': REL, // npreceq + '\uE04F': REL // nsucceq + } + } + }); + +// if (MathJax.Hub.Browser.isMSIE) { +// MathJax.InputJax.TeX.Definitions.mathchar0mi.digamma = ['03DD',{variantForm: true}]; +// MathJax.InputJax.TeX.Definitions.mathchar0mi.varkappa = ['03F0',{variantForm: true}]; +// } +}); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + var VARIANT = HTMLCSS.FONTDATA.VARIANT; + if (HTMLCSS.fontInUse === "TeX") { + VARIANT["-TeX-variant"] = { + fonts: ["MathJax_AMS","MathJax_Main","MathJax_Size1"], + remap: {0x2268: 0xE00C, 0x2269: 0xE00D, 0x2270: 0xE011, 0x2271: 0xE00E, + 0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2224: 0xE006, 0x2226: 0xE007, + 0x2288: 0xE016, 0x2289: 0xE018, 0x228A: 0xE01A, 0x228B: 0xE01B, + 0x2ACB: 0xE017, 0x2ACC: 0xE019, 0x03DC: 0xE008, 0x03F0: 0xE009} + }; + if (HTMLCSS.msieIE6) { + MathJax.Hub.Insert(VARIANT["-TeX-variant"].remap,{ + 0x2190:[0xE2C1,"-WinIE6"], 0x2192:[0xE2C0,"-WinIE6"], + 0x2223:[0xE2C2,"-WinIE6"], 0x2225:[0xE2C3,"-WinIE6"], + 0x223C:[0xE2C4,"-WinIE6"], 0x25B3:[0xE2D3,"-WinIE6"] + }); + } + } + if (HTMLCSS.fontInUse === "STIX") { + MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + var TEXDEF = MathJax.InputJax.TeX.Definitions; + TEXDEF.mathchar0mi.varnothing = '2205'; + TEXDEF.mathchar0mi.hslash = '210F'; + TEXDEF.mathchar0mi.blacktriangle = '25B4'; + TEXDEF.mathchar0mi.blacktriangledown = '25BE'; + TEXDEF.mathchar0mi.square = '25FB'; + TEXDEF.mathchar0mi.blacksquare = '25FC'; + TEXDEF.mathchar0mi.vartriangle = ['25B3',{mathsize:"71%"}]; + TEXDEF.mathchar0mi.triangledown = ['25BD',{mathsize:"71%"}]; + TEXDEF.mathchar0mo.blacktriangleleft = '25C2'; + TEXDEF.mathchar0mo.blacktriangleright = '25B8'; + TEXDEF.mathchar0mo.smallsetminus = '2216'; + MathJax.Hub.Insert(VARIANT["-STIX-variant"],{ + remap: {0x2A87: 0xE010, 0x2A88: 0xE00F, 0x2270: 0xE011, 0x2271: 0xE00E, + 0x22E0: 0xE04B, 0x22E1: 0xE04F, 0x2288: 0xE016, 0x2289: 0xE018} + }); + }); + } + + MathJax.Hub.Startup.signal.Post("TeX AMSsymbols Ready"); + +}); + + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/AMSsymbols.js"); diff --git a/modules/MathJax/extensions/TeX/HTML.js b/modules/MathJax/extensions/TeX/HTML.js new file mode 100644 index 0000000..801dd7c --- /dev/null +++ b/modules/MathJax/extensions/TeX/HTML.js @@ -0,0 +1,96 @@ +/************************************************************* + * + * MathJax/extensions/TeX/HTML.js + * + * Implements the \href, \class, \style, \cssId macros. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + + TEXDEF.macros.href = 'HREF_attribute'; + TEXDEF.macros["class"] = 'CLASS_attribute'; + TEXDEF.macros.style = 'STYLE_attribute'; + TEXDEF.macros.cssId = 'ID_attribute'; + + TEX.Parse.Augment({ + + // + // Implements \href{url}{math} + // + HREF_attribute: function (name) { + var url = this.GetArgument(name), + arg = this.GetArgumentMML(name); + this.Push(arg.With({href:url})); + }, + + // + // Implements \class{name}{math} + // + CLASS_attribute: function (name) { + var CLASS = this.GetArgument(name), + arg = this.GetArgumentMML(name); + if (arg["class"] != null) {CLASS = arg["class"] + " " + CLASS} + this.Push(arg.With({"class":CLASS})); + }, + + // + // Implements \style{style-string}{math} + // + STYLE_attribute: function (name) { + var style = this.GetArgument(name), + arg = this.GetArgumentMML(name); + // check that it looks like a style string + if (arg.style != null) { + if (style.charAt(style.length-1) !== ";") {style += ";"} + style = arg.style + " " + style; + } + this.Push(arg.With({style: style})); + }, + + // + // Implements \cssId{id}{math} + // + ID_attribute: function (name) { + var ID = this.GetArgument(name), + arg = this.GetArgumentMML(name); + this.Push(arg.With({id:ID})); + }, + + // + // returns an argument that is a single MathML element + // (in an mrow if necessary) + // + GetArgumentMML: function (name) { + var arg = this.ParseArg(name); + if (arg.inferred && arg.data.length == 1) + {arg = arg.data[0]} else {delete arg.inferred} + return arg; + } + + }); + + MathJax.Hub.Startup.signal.Post("TeX HTML Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/HTML.js"); diff --git a/modules/MathJax/extensions/TeX/autobold.js b/modules/MathJax/extensions/TeX/autobold.js new file mode 100644 index 0000000..c78802f --- /dev/null +++ b/modules/MathJax/extensions/TeX/autobold.js @@ -0,0 +1,45 @@ +/************************************************************* + * + * MathJax/extensions/TeX/autobold.js + * + * Adds \boldsymbol around mathematics that appears in a section + * of an HTML page that is in bold. + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var TEX = MathJax.InputJax.TeX; + var oldPrefilter = TEX.prefilterMath; + + TEX.prefilterMath = function (math,displaystyle,script) { + var span = script.parentNode.insertBefore(document.createElement("span"),script); + span.visibility = "hidden"; + span.style.fontFamily = "Times, serif"; + span.appendChild(document.createTextNode("ABCXYZabcxyz")); + var W = span.offsetWidth; + span.style.fontWeight = "bold"; + if (span.offsetWidth == W) {math = "\\bf {"+math+"}"} + span.parentNode.removeChild(span); + return oldPrefilter.call(TEX,math,displaystyle,script); + }; + + MathJax.Hub.Startup.signal.Post("TeX autobold Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/autobold.js"); diff --git a/modules/MathJax/extensions/TeX/boldsymbol.js b/modules/MathJax/extensions/TeX/boldsymbol.js new file mode 100644 index 0000000..efd8a53 --- /dev/null +++ b/modules/MathJax/extensions/TeX/boldsymbol.js @@ -0,0 +1,110 @@ +/************************************************************* + * + * MathJax/extensions/TeX/boldsymbol.js + * + * Implements the \boldsymbol{...} command to make bold + * versions of all math characters (not just variables). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var MML = MathJax.ElementJax.mml; + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + + var BOLDVARIANT = {}; + BOLDVARIANT[MML.VARIANT.NORMAL] = MML.VARIANT.BOLD; + BOLDVARIANT[MML.VARIANT.ITALIC] = MML.VARIANT.BOLDITALIC; + BOLDVARIANT[MML.VARIANT.FRAKTUR] = MML.VARIANT.BOLDFRAKTUR; + BOLDVARIANT[MML.VARIANT.SCRIPT] = MML.VARIANT.BOLDSCRIPT; + BOLDVARIANT[MML.VARIANT.SANSSERIF] = MML.VARIANT.BOLDSANSSERIF; + BOLDVARIANT["-tex-caligraphic"] = "-tex-caligraphic-bold"; + BOLDVARIANT["-tex-oldstyle"] = "-tex-oldstyle-bold"; + + TEXDEF.macros.boldsymbol = 'Boldsymbol'; + + TEX.Parse.Augment({ + mmlToken: function (token) { + if (this.stack.env.boldsymbol) { + var variant = token.Get("mathvariant"); + if (variant == null) {token.mathvariant = MML.VARIANT.BOLD} + else {token.mathvariant = (BOLDVARIANT[variant]||variant)} + } + return token; + }, + + Boldsymbol: function (name) { + var boldsymbol = this.stack.env.boldsymbol, + font = this.stack.env.font; + this.stack.env.boldsymbol = true; + this.stack.env.font = null; + var mml = this.ParseArg(name); + this.stack.env.font = font; + this.stack.env.boldsymbol = boldsymbol; + this.Push(mml); + } + }); + +}); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + var FONTS = HTMLCSS.FONTDATA.FONTS; + var VARIANT = HTMLCSS.FONTDATA.VARIANT; + + if (HTMLCSS.fontInUse === "TeX") { + FONTS["MathJax_Caligraphic-bold"] = "Caligraphic/Bold/Main.js"; + + VARIANT["-tex-caligraphic-bold"] = + {fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"], + offsetA: 0x41, variantA: "bold-italic"}; + VARIANT["-tex-oldstyle-bold"] = + {fonts:["MathJax_Caligraphic-bold","MathJax_Main-bold","MathJax_Main","MathJax_Math","MathJax_Size1"]}; + + if (HTMLCSS.msieCheckGreek && HTMLCSS.Font.testFont({ + family:"MathJax_Greek", weight:"bold", style:"italic", testString: HTMLCSS.msieCheckGreek + })) { + VARIANT["bold-italic"].offsetG = 0x391; VARIANT["bold-italic"].variantG = "-Greek-Bold-Italic"; + VARIANT["-Greek-Bold-Italic"] = {fonts:["MathJax_Greek-bold-italic"]}; + FONTS["MathJax_Greek-bold-italic"] = "Greek/BoldItalic/Main.js"; + } + + if (MathJax.Hub.Browser.isChrome && !MathJax.Hub.Browser.versionAtLeast("5.0")) { + VARIANT["-tex-caligraphic-bold"].remap = {0x54: [0xE2F0,"-WinChrome"]}; + } + + } else if (HTMLCSS.fontInUse === "STIX") { + VARIANT["-tex-caligraphic-bold"] = { + fonts:["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic","STIXNonUnicode","STIXGeneral","STIXSizeOneSym"], + offsetA: 0xE247, noLowerCase: 1 + }; + VARIANT["-tex-oldstyle-bold"] = { + fonts:["STIXGeneral-bold","STIXNonUnicode-bold","STIXGeneral","STIXSizeOneSym"], offsetN: 0xE263, + remap: {0xE264: 0xE267, 0xE265: 0xE26B, 0xE266: 0xE26F, 0xE267: 0xE273, + 0xE268: 0xE277, 0xE269: 0xE27B, 0xE26A: 0xE27F, 0xE26B: 0xE283, + 0xE26C: 0xE287} + }; + } + + MathJax.Hub.Startup.signal.Post("TeX boldsymbol Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/boldsymbol.js"); diff --git a/modules/MathJax/extensions/TeX/mathchoice.js b/modules/MathJax/extensions/TeX/mathchoice.js new file mode 100644 index 0000000..cb8c294 --- /dev/null +++ b/modules/MathJax/extensions/TeX/mathchoice.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/extensions/TeX/mathchoice.js + * + * Implements the \mathchoice macro (rarely used) + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var MML = MathJax.ElementJax.mml; + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + + TEXDEF.macros.mathchoice = 'MathChoice'; + + TEX.Parse.Augment({ + + MathChoice: function (name) { + var D = this.ParseArg(name), + T = this.ParseArg(name), + S = this.ParseArg(name), + SS = this.ParseArg(name); + this.Push(MML.TeXmathchoice(D,T,S,SS)); + } + + }); + + MML.TeXmathchoice = MML.mbase.Subclass({ + type: "TeXmathchoice", + choice: function () { + var values = this.getValues("displaystyle","scriptlevel"); + if (values.scriptlevel > 0) {return Math.min(3,values.scriptlevel + 1)} + return (values.displaystyle ? 0 : 1); + }, + setTeXclass: function (prev) {return this.Core().setTeXclass(prev)}, + isSpacelike: function () {return this.Core().isSpacelike()}, + isEmbellished: function () {return this.Core().isEmbellished()}, + Core: function () {return this.data[this.choice()]}, + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + span.bbox = this.Core().toHTML(span).bbox; + return span; + } + }); + + MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mathchoice.js"); diff --git a/modules/MathJax/extensions/TeX/newcommand.js b/modules/MathJax/extensions/TeX/newcommand.js new file mode 100644 index 0000000..168e550 --- /dev/null +++ b/modules/MathJax/extensions/TeX/newcommand.js @@ -0,0 +1,190 @@ +/************************************************************* + * + * MathJax/extensions/TeX/newcommand.js + * + * Implements the \newcommand, \newenvironment and \def + * macros, and is loaded automatically when needed. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + + MathJax.Hub.Insert(TEXDEF,{ + macros: { + newcommand: 'NewCommand', + renewcommand: 'NewCommand', + newenvironment: 'NewEnvironment', + def: 'MacroDef' + } + }) + + TEX.Parse.Augment({ + + /* + * Implement \newcommand{\name}[n]{...} + */ + NewCommand: function (name) { + var cs = this.trimSpaces(this.GetArgument(name)), + n = this.trimSpaces(this.GetBrackets(name)), + def = this.GetArgument(name); + if (n === '') {n = null} + if (cs.charAt(0) === "\\") {cs = cs.substr(1)} + if (!cs.match(/^(.|[a-z]+)$/i)) {TEX.Error("Illegal control sequence name for "+name)} + if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)} + TEXDEF.macros[cs] = ['Macro',def,n]; + }, + + /* + * Implement \newenvironment{name}[n]{begincmd}{endcmd} + */ + NewEnvironment: function (name) { + var env = this.trimSpaces(this.GetArgument(name)), + n = this.trimSpaces(this.GetBrackets(name)), + bdef = this.GetArgument(name), + edef = this.GetArgument(name); + if (n === '') {n = null} + if (n != null && !n.match(/^[0-9]+$/)) {TEX.Error("Illegal number of parameters specified in "+name)} + TEXDEF.environment[env] = ['BeginEnv','EndEnv',bdef,edef,n]; + }, + + /* + * Implement \def command + */ + MacroDef: function (name) { + var cs = this.GetCSname(name), + params = this.GetTemplate(name,"\\"+cs), + def = this.GetArgument(name); + if (!(params instanceof Array)) {TEXDEF.macros[cs] = ['Macro',def,params]} + else {TEXDEF.macros[cs] = ['MacroWithTemplate',def,params[0],params[1]]} + }, + + /* + * Get a CS name or give an error + */ + GetCSname: function (cmd) { + var c = this.GetNext(); + if (c !== "\\") {TEX.Error("\\ must be followed by a control sequence")} + var cs = this.trimSpaces(this.GetArgument(cmd)); + return cs.substr(1); + }, + + /* + * Get a \def parameter template + */ + GetTemplate: function (cmd,cs) { + var c, params = [], n = 0; + c = this.GetNext(); var i = this.i; + while (this.i < this.string.length) { + c = this.GetNext(); + if (c === '#') { + if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)} + c = this.string.charAt(++this.i); + if (!c.match(/^[1-9]$/)) {TEX.Error("Illegal use of # in template for "+cs)} + if (parseInt(c) != ++n) {TEX.Error("Parameters for "+cs+" must be numbered sequentially")} + i = this.i+1; + } else if (c === '{') { + if (i !== this.i) {params[n] = this.string.substr(i,this.i-i)} + if (params.length > 0) {return [n,params]} else {return n} + } + this.i++; + } + TEX.Error("Missing replacement string for definition of "+cmd); + }, + + /* + * Process a macro with a parameter template + */ + MacroWithTemplate: function (name,text,n,params) { + if (n) { + var args = []; this.GetNext(); + if (params[0] && !this.MatchParam(params[0])) + {TEX.Error("Use of "+name+" doesn't match its definition")} + for (var i = 0; i < n; i++) {args.push(this.GetParameter(name,params[i+1]))} + text = this.SubstituteArgs(args,text); + } + this.string = this.AddArgs(text,this.string.slice(this.i)); + this.i = 0; + if (++this.macroCount > TEX.config.MAXMACROS) + {TEX.Error("MathJax maximum macro substitution count exceeded; is there a recursive macro call?")} + }, + + /* + * Process a user-defined environment + */ + BeginEnv: function (begin,bdef,edef,n) { + if (n) { + var args = []; + for (var i = 0; i < n; i++) {args.push(this.GetArgument("\\begin{"+name+"}"))} + bdef = this.SubstituteArgs(args,bdef); + edef = this.SubstituteArgs(args,edef); + } + begin.edef = edef; + this.string = this.AddArgs(bdef,this.string.slice(this.i)); this.i = 0; + return begin; + }, + EndEnv: function (begin,row) { + this.string = this.AddArgs(begin.edef,this.string.slice(this.i)); this.i = 0 + return row; + }, + + /* + * Find a single parameter delimited by a trailing template + */ + GetParameter: function (name,param) { + if (param == null) {return this.GetArgument(name)} + var i = this.i, j = 0, hasBraces = 0; + while (this.i < this.string.length) { + if (this.string.charAt(this.i) === '{') { + if (this.i === i) {hasBraces = 1} + this.GetArgument(name); j = this.i - i; + } else if (this.MatchParam(param)) { + if (hasBraces) {i++; j -= 2} + return this.string.substr(i,j); + } else { + this.i++; j++; hasBraces = 0; + } + } + TEX.Error("Runaway argument for "+name+"?"); + }, + + /* + * Check if a template is at the current location. + * (The match must be exact, with no spacing differences. TeX is + * a little more forgiving than this about spaces after macro names) + */ + MatchParam: function (param) { + if (this.string.substr(this.i,param.length) !== param) {return 0} + this.i += param.length; + return 1; + } + + }); + + TEX.Environment = function (name) { + TEXDEF.environment[name] = ['BeginEnv','EndEnv'].concat([].slice.call(arguments,1)); + } + + MathJax.Hub.Startup.signal.Post("TeX newcommand Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/newcommand.js"); diff --git a/modules/MathJax/extensions/TeX/noErrors.js b/modules/MathJax/extensions/TeX/noErrors.js new file mode 100644 index 0000000..a405158 --- /dev/null +++ b/modules/MathJax/extensions/TeX/noErrors.js @@ -0,0 +1,222 @@ +/************************************************************* + * + * MathJax/extensions/TeX/noErrors.js + * + * Prevents the TeX error messages from being displayed and shows the + * original TeX code instead. You can configure whether the dollar signs + * are shown or not for in-line math, and whether to put all the TeX on + * one line or use multiple-lines. + * + * To configure this extension, use + * + * MathJax.Hub.Config({ + * TeX: { + * noErrors: { + * inlineDelimiters: ["",""], // or ["$","$"] or ["\\(","\\)"] + * multiLine: true, // false for TeX on all one line + * style: { + * "font-family": "serif", + * "font-size": "80%", + * "color": "black", + * "border": "1px solid" + * // add any additional CSS styles that you want + * // (be sure there is no extra comma at the end of the last item) + * } + * } + * } + * }); + * + * Display-style math is always shown in multi-line format, and without + * delimiters, as it will already be set off in its own centered + * paragraph, like standard display mathematics. + * + * The default settings place the invalid TeX in a multi-line box with a + * black border. If you want it to look as though the TeX is just part of + * the paragraph, use + * + * MathJax.Hub.Config({ + * TeX: { + * noErrors: { + * inlineDelimiters: ["$","$"], // or ["",""] or ["\\(","\\)"] + * multiLine: false, + * style: { + * "font-size": "normal", + * "border": "" + * } + * } + * } + * }); + * + * You may also wish to set the font family, as the default is "serif" + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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. + */ + +(function () { + var VERSION = "1.1"; + + var CONFIG = MathJax.Hub.CombineConfig("TeX.noErrors",{ + multiLine: true, + inlineDelimiters: ["",""], // or use ["$","$"] or ["\\(","\\)"] + style: { + "font-family": "serif", + "font-size": "80%", + "text-align": "left", + "color": "black", + "padding": "1px 3px", + "border": "1px solid" + } + }); + + var NBSP = "\u00A0"; + + // + // The configuration defaults, augmented by the user settings + // + MathJax.Extension["TeX/noErrors"] = { + version: VERSION, + config: CONFIG + }; + + MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + MathJax.InputJax.TeX.Augment({ + // + // Make error messages be the original TeX code + // Mark them as errors and multi-line or not, and for + // multi-line TeX, make spaces non-breakable (to get formatting right) + // + formatError: function (err,math,displaystyle,script) { + var delim = CONFIG.inlineDelimiters; + var multiLine = (displaystyle || CONFIG.multiLine); + if (!displaystyle) {math = delim[0] + math + delim[1]} + if (multiLine) {math = math.replace(/ /g,NBSP)} else {math = math.replace(/\n/g," ")} + return MathJax.ElementJax.mml.merror(math).With({isError:true, multiLine: multiLine}); + } + }); + }); + + MathJax.Hub.Register.StartupHook("HTML-CSS Jax Config",function () { + MathJax.Hub.Config({ + "HTML-CSS": { + styles: { + ".MathJax .merror": MathJax.Hub.Insert({ + "font-style": null, + "background-color": null, + "vertical-align": (MathJax.Hub.Browser.isMSIE && CONFIG.multiLine ? "-2px" : "") + },CONFIG.style) + } + } + }); + }); + +})(); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var MML = MathJax.ElementJax.mml; + var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + // + // Override math toHTML routine so that error messages + // don't have the clipping and other unneeded overhead + // + var math_toHTML = MML.math.prototype.toHTML; + MML.math.Augment({ + toHTML: function (span,node) { + if (this.data[0] && this.data[0].data[0] && this.data[0].data[0].isError) { + return this.data[0].data[0].toHTML(span); + } + return math_toHTML.call(this,span,node); + } + }); + + // + // Override merror toHTML routine so that it puts out the + // TeX code in an inline-block with line breaks as in the original + // + MML.merror.Augment({ + toHTML: function (span) { + if (!this.isError) {return MML.mbase.prototype.toHTML.call(this,span)} + span = this.HTMLcreateSpan(span); + if (this.multiLine) {span.style.display = "inline-block"} + var text = this.data[0].data[0].data.join("").split(/\n/); + for (var i = 0, m = text.length; i < m; i++) { + HTMLCSS.addText(span,text[i]); + if (i !== m-1) {HTMLCSS.addElement(span,"br")} + } + var HD = HTMLCSS.getHD(span.parentNode), W = HTMLCSS.getW(span.parentNode); + if (m > 1) { + var H = (HD.h + HD.d)/2, x = HTMLCSS.TeX.x_height/2; + var scale = HTMLCSS.config.styles[".MathJax .merror"]["font-size"]; + if (scale && scale.match(/%/)) {x *= parseInt(scale)/100} + span.parentNode.style.verticalAlign = HTMLCSS.Em(HD.d+(x-H)); + HD.h = x + H; HD.d = H - x; + } + span.bbox = {h: HD.h, d: HD.d, w: W, lw: 0, rw: W}; + return span; + } + }); + + MathJax.Hub.Startup.signal.Post("TeX noErrors Ready"); +}); + +MathJax.Hub.Register.StartupHook("NativeMML Jax Ready",function () { + var MML = MathJax.ElementJax.mml; + var CONFIG = MathJax.Extension["TeX/noErrors"].config; + + // + // Override math toNativeMML routine so that error messages + // don't get placed inside math tags. + // + var math_toNativeMML = MML.math.prototype.toNativeMML; + MML.math.Augment({ + toNativeMML: function (span) { + if (this.data[0] && this.data[0].data[0] && this.data[0].data[0].isError) { + return this.data[0].data[0].toNativeMML(span); + } + return math_toNativeMML.call(this,span); + } + }); + + // + // Override merror toNativeMML routine so that it puts out the + // TeX code in an inline-block with line breaks as in the original + // + MML.merror.Augment({ + toNativeMML: function (span) { + if (!this.isError) {return MML.mbase.prototype.toNativeMML.call(this,span)} + span = span.appendChild(document.createElement("span")); + var text = this.data[0].data[0].data.join("").split(/\n/); + for (var i = 0, m = text.length; i < m; i++) { + span.appendChild(document.createTextNode(text[i])); + if (i !== m-1) {span.appendChild(document.createElement("br"))} + } + if (this.multiLine) { + span.style.display = "inline-block"; + if (m > 1) {span.style.verticalAlign = "middle"} + } + for (var id in CONFIG.style) {if (CONFIG.style.hasOwnProperty(id)) { + var ID = id.replace(/-./g,function (c) {return c.charAt(1).toUpperCase()}); + span.style[ID] = CONFIG.style[id]; + }} + return span; + } + }); + + MathJax.Hub.Startup.signal.Post("TeX noErrors Ready"); +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js"); diff --git a/modules/MathJax/extensions/TeX/noUndefined.js b/modules/MathJax/extensions/TeX/noUndefined.js new file mode 100644 index 0000000..5d1757c --- /dev/null +++ b/modules/MathJax/extensions/TeX/noUndefined.js @@ -0,0 +1,65 @@ +/************************************************************* + * + * MathJax/extensions/TeX/noUndefined.js + * + * This causes undefined control sequences to be shown as their macro + * names rather than producing an error message. So $X_{\xxx}$ would + * display as an X with a subscript consiting of the text "\xxx". + * + * To configure this extension, use for example + * + * MathJax.Hub.Config({ + * TeX: { + * noUndefined: { + * attributes: { + * mathcolor: "red", + * mathbackground: "#FFEEEE", + * mathsize: "90%" + * } + * } + * } + * }); + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + */ + +// +// The configuration defaults, augmented by the user settings +// +MathJax.Extension["TeX/noUndefined"] = { + version: "1.1", + config: MathJax.Hub.CombineConfig("TeX.noUndefined",{ + attributes: { + mathcolor: "red" + } + }) +}; + +MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + var CONFIG = MathJax.Extension["TeX/noUndefined"].config; + var MML = MathJax.ElementJax.mml; + + MathJax.InputJax.TeX.Parse.Augment({ + csUndefined: function (name) { + this.Push(MML.mtext(name).With(CONFIG.attributes)); + } + }); + + MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready"); +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js"); diff --git a/modules/MathJax/extensions/TeX/unicode.js b/modules/MathJax/extensions/TeX/unicode.js new file mode 100644 index 0000000..93135ae --- /dev/null +++ b/modules/MathJax/extensions/TeX/unicode.js @@ -0,0 +1,132 @@ +/************************************************************* + * + * MathJax/extensions/TeX/unicode.js + * + * Implements the \unicode extension to TeX to allow arbitrary unicode + * code points to be entered into the TeX file. You can specify + * the height and depth of the character (the width is determined by + * the browser), and the default font from which to take the character. + * + * Examples: + * \unicode{65} % the character 'A' + * \unicode{x41} % the character 'A' + * \unicode[.55,0.05]{x22D6} % less-than with dot, with height .55 and depth 0.05 + * \unicode[.55,0.05][Geramond]{x22D6} % same taken from Geramond font + * \unicode[Garamond]{x22D6} % same, but with default height, depth of .8,.2 + * + * Once a size and font are provided for a given conde point, they need + * not be specified again in subsequent \unicode calls for that character. + * Note that a font list can be given, but Internet Explorer has a buggy + * implementation of font-family where it only looks in the first + * available font and if the glyph is not in that, it does not look at + * later fonts, but goes directly to the default font as set in the + * Internet-Options/Font panel. For this reason, the default font list is + * "STIXGeneral,'Arial Unicode MS'", so if the user has STIX fonts, the + * symbol will be taken from that (almost all the symbols are in + * STIXGeneral), otherwise Arial Unicode MS is tried. + * + * To configure the default font list, use + * + * MathJax.Hub.Config({ + * TeX: { + * unicode: { + * fonts: "STIXGeneral,'Arial Unicode MS'" + * } + * } + * }); + * + * The result of \unicode will have TeX class ORD (i.e., it will act like a + * variable). Use \mathbin, \mathrel, etc, to specify a different class. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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. + */ + +// +// The configuration defaults, augmented by the user settings +// +MathJax.Extension["TeX/unicode"] = { + version: "1.1", + unicode: {}, + config: MathJax.Hub.CombineConfig("TeX.unicode",{ + fonts: "STIXGeneral,'Arial Unicode MS'" + }) +}; + +MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + var TEX = MathJax.InputJax.TeX; + var MML = MathJax.ElementJax.mml; + var FONTS = MathJax.Extension["TeX/unicode"].config.fonts; + var UNICODE = MathJax.Extension["TeX/unicode"].unicode; + + // + // Add \unicode macro + // + TEX.Definitions.macros.unicode = 'Unicode'; + // + // Implementation of \unicode in parser + // + TEX.Parse.Augment({ + Unicode: function(name) { + var HD = this.GetBrackets(name), font; + if (HD) { + HD = HD.replace(/ /g,""); + if (HD.match(/^(\d+(\.\d*)?|\.\d+),(\d+(\.\d*)?|\.\d+)$/)) + {HD = HD.split(/,/); font = this.GetBrackets(name)} else {font = HD; HD = null} + } + var n = this.trimSpaces(this.GetArgument(name)), + N = parseInt(n.match(/^x/) ? "0"+n : n); + UNICODE[N] = [800,200,500,0,500,{isUnknown:true, isUnicode:true, font:FONTS}]; + if (HD) { + UNICODE[N][0] = Math.floor(HD[0]*1000); + UNICODE[N][1] = Math.floor(HD[1]*1000); + } + var variant = this.stack.env.font, def = {}; + if (font) { + def.fontfamily = font; + if (variant) { + if (variant.match(/bold/)) {def.fontweight = "bold"} + if (variant.match(/italic/)) {def.fontstyle = "italic"} + } + UNICODE[N][5].font = font+","+FONTS + } else if (variant) {def.mathvariant = variant} + this.Push(MML.mtext(MML.entity("#"+n)).With(def)); + } + }); + +}); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + var UNICODE = MathJax.Extension["TeX/unicode"].unicode; + + // + // Override lookupChar to add unicode character to font + // + var save_lookupChar = HTMLCSS.lookupChar; + HTMLCSS.Augment({ + lookupChar: function (variant,n) { + var font = save_lookupChar.call(this,variant,n); + if (font[n][5] && font[n][5].isUnknown && UNICODE[n]) {font[n] = UNICODE[n]} + return font; + } + }); + + MathJax.Hub.Startup.signal.Post("TeX unicode Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/unicode.js"); diff --git a/modules/MathJax/extensions/TeX/verb.js b/modules/MathJax/extensions/TeX/verb.js new file mode 100644 index 0000000..4154752 --- /dev/null +++ b/modules/MathJax/extensions/TeX/verb.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/extensions/TeX/verb.js + * + * Implements the \verb|...| command for including text verbatim + * (with no processing of macros or special characters). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.1"; + + var MML = MathJax.ElementJax.mml; + var TEX = MathJax.InputJax.TeX; + var TEXDEF = TEX.Definitions; + + TEXDEF.macros.verb = 'Verb'; + + TEX.Parse.Augment({ + + /* + * Implement \verb|...| + */ + Verb: function (name) { + var c = this.GetNext(); var start = ++this.i; + if (c == "" ) {TEX.Error(name+" requires an argument")} + while (this.i < this.string.length && this.string.charAt(this.i) != c) {this.i++} + if (this.i == this.string.length) + {TEX.Error("Can't find closing delimiter for "+name)} + var text = this.string.slice(start,this.i); this.i++; + this.Push(MML.mtext(text).With({mathvariant:MML.VARIANT.MONOSPACE})); + } + + }); + + MathJax.Hub.Startup.signal.Post("TeX verb Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/verb.js"); diff --git a/modules/MathJax/extensions/jsMath2jax.js b/modules/MathJax/extensions/jsMath2jax.js new file mode 100644 index 0000000..b4eb1a1 --- /dev/null +++ b/modules/MathJax/extensions/jsMath2jax.js @@ -0,0 +1,95 @@ +/************************************************************* + * + * MathJax/extensions/jsMath2jax.js + * + * Implements a jsMath to Jax preprocessor that locates jsMath-style + * ... and
...
tags + * and replaces them with SCRIPT tags for processing by MathJax. + * (Note: use the tex2jax preprocessor to convert TeX delimiters or + * custom delimiters to MathJax SCRIPT tags. This preprocessor is + * only for the SPAN and DIV form of jsMath delimiters). + * + * To use this preprocessor, include "jsMath2jax.js" in the extensions + * array in your config/MathJax.js file, or the MathJax.Hub.Config() call + * in your HTML document. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.jsMath2jax = { + version: "1.1.1", + + config: { + preview: "TeX" // Set to "none" to prevent preview strings from being inserted + // or to an array that specifies an HTML snippet to use for + // the preview. + }, + + PreProcess: function (element) { + if (!this.configured) { + this.config = MathJax.Hub.CombineConfig("jsMath2jax",this.config); + if (this.config.Augment) {MathJax.Hub.Insert(this,this.config.Augment)} + if (typeof(this.config.previewTeX) !== "undefined" && !this.config.previewTeX) + {this.config.preview = "none"} // backward compatibility for previewTeX parameter + this.previewClass = MathJax.Hub.config.preRemoveClass; + this.configured = true; + } + if (typeof(element) === "string") {element = document.getElementById(element)} + if (!element) {element = document.body} + var span = element.getElementsByTagName("span"), i; + for (i = span.length-1; i >= 0; i--) + {if (String(span[i].className).match(/(^| )math( |$)/)) {this.ConvertMath(span[i],"")}} + var div = element.getElementsByTagName("div"); + for (i = div.length-1; i >= 0; i--) + {if (String(div[i].className).match(/(^| )math( |$)/)) {this.ConvertMath(div[i],"; mode=display")}} + }, + + ConvertMath: function (node,mode) { + if (node.getElementsByTagName("script").length === 0) { + var parent = node.parentNode, + script = this.createMathTag(mode,node.innerHTML); + if (node.nextSibling) {parent.insertBefore(script,node.nextSibling)} + else {parent.appendChild(script)} + if (this.config.preview !== "none") {this.createPreview(node)} + parent.removeChild(node); + } + }, + + createPreview: function (node) { + var preview; + if (this.config.preview === "TeX") {preview = [this.filterTeX(node.innerHTML)]} + else if (this.config.preview instanceof Array) {preview = this.config.preview} + if (preview) { + preview = MathJax.HTML.Element("span",{className: MathJax.Hub.config.preRemoveClass},preview); + node.parentNode.insertBefore(preview,node); + } + }, + + createMathTag: function (mode,tex) { + tex = tex.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"); + var script = document.createElement("script"); + script.type = "math/tex" + mode; + MathJax.HTML.setScript(script,tex); + return script; + }, + + filterTeX: function (tex) {return tex} + +}; + +MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.jsMath2jax]); +MathJax.Ajax.loadComplete("[MathJax]/extensions/jsMath2jax.js"); diff --git a/modules/MathJax/extensions/mml2jax.js b/modules/MathJax/extensions/mml2jax.js new file mode 100644 index 0000000..d7c2af4 --- /dev/null +++ b/modules/MathJax/extensions/mml2jax.js @@ -0,0 +1,190 @@ +/************************************************************* + * + * MathJax/extensions/mml2jax.js + * + * Implements the MathML to Jax preprocessor that locates nodes + * within the text of a document and replaces them with SCRIPT tags + * for processing by MathJax. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.mml2jax = { + version: "1.1.2", + config: { + preview: "alttext" // Use the element's alttext as the + // preview. Set to "none" for no preview, + // or set to an array specifying an HTML snippet + // to use a fixed preview for all math + + }, + MMLnamespace: "http://www.w3.org/1998/Math/MathML", + + PreProcess: function (element) { + if (!this.configured) { + this.config = MathJax.Hub.CombineConfig("mml2jax",this.config); + if (this.config.Augment) {MathJax.Hub.Insert(this,this.config.Augment)} + this.InitBrowser(); + this.configured = true; + } + if (typeof(element) === "string") {element = document.getElementById(element)} + if (!element) {element = document.body} + // + // Handle all math tags with no namespaces + // + this.ProcessMathArray(element.getElementsByTagName("math")); + // + // Handle math with namespaces in XHTML + // + if (element.getElementsByTagNameNS) + {this.ProcessMathArray(element.getElementsByTagNameNS(this.MMLnamespace,"math"))} + // + // Handle math with namespaces in HTML + // + var html = document.getElementsByTagName("html")[0]; + if (html) { + for (var i = 0, m = html.attributes.length; i < m; i++) { + var attr = html.attributes[i]; + if (attr.nodeName.substr(0,6) === "xmlns:" && attr.nodeValue === this.MMLnamespace) + {this.ProcessMathArray(element.getElementsByTagName(attr.nodeName.substr(6)+":math"))} + } + } + }, + + ProcessMathArray: function (math) { + var i; + if (math.length) { + if (this.MathTagBug) { + for (i = math.length-1; i >= 0; i--) { + if (math[i].nodeName === "MATH") {this.ProcessMathFlattened(math[i])} + else {this.ProcessMath(math[i])} + } + } else { + for (i = math.length-1; i >= 0; i--) {this.ProcessMath(math[i])} + } + } + }, + + ProcessMath: function (math) { + var parent = math.parentNode; + var script = document.createElement("script"); + script.type = "math/mml"; + parent.insertBefore(script,math); + if (this.AttributeBug) { + var html = this.OuterHTML(math); + if (this.CleanupHTML) { + html = html.replace(/<\?import .*?>/i,"").replace(/<\?xml:namespace .*?\/>/i,""); + html = html.replace(/ /g," "); + } + MathJax.HTML.setScript(script,html); parent.removeChild(math); + } else { + var span = MathJax.HTML.Element("span"); span.appendChild(math); + MathJax.HTML.setScript(script,span.innerHTML); + } + if (this.config.preview !== "none") {this.createPreview(math,script)} + }, + + ProcessMathFlattened: function (math) { + var parent = math.parentNode; + var script = document.createElement("script"); + script.type = "math/mml"; + parent.insertBefore(script,math); + var mml = "", node, MATH = math; + while (math && math.nodeName !== "/MATH") { + node = math; math = math.nextSibling; + mml += this.NodeHTML(node); + node.parentNode.removeChild(node); + } + if (math && math.nodeName === "/MATH") {math.parentNode.removeChild(math)} + script.text = mml + ""; + if (this.config.preview !== "none") {this.createPreview(MATH,script)} + }, + + NodeHTML: function (node) { + var html, i, m; + if (node.nodeName === "#text") { + html = this.quoteHTML(node.nodeValue); + } else if (node.nodeName === "#comment") { + html = "" + } else { + // In IE, outerHTML doesn't properly quote attributes, so quote them by hand + // In Opera, HTML special characters aren't quoted in attributes, so quote them + html = "<"+node.nodeName.toLowerCase(); + for (i = 0, m = node.attributes.length; i < m; i++) { + var attribute = node.attributes[i]; + if (attribute.specified) { + // Opera 11.5 beta turns xmlns into xmlns:xmlns, so put it back (*** check after 11.5 is out ***) + html += " "+attribute.nodeName.toLowerCase().replace(/xmlns:xmlns/,"xmlns")+"="; + var value = attribute.nodeValue; // IE < 8 doesn't properly set style by setAttributes + if (value == null && attribute.nodeName === "style" && node.style) {value = node.style.cssText} + html += '"'+this.quoteHTML(value)+'"'; + } + } + html += ">"; + // Handle internal HTML (possibly due to annotation or missing ) + if (node.outerHTML != null && node.outerHTML.match(/(.<\/[A-Z]+>|\/>)$/)) { + for (i = 0, m = node.childNodes.length; i < m; i++) + {html += this.OuterHTML(node.childNodes[i])} + html += ""; + } + } + return html; + }, + OuterHTML: function (node) { + if (node.nodeName.charAt(0) === "#") {return this.NodeHTML(node)} + if (!this.AttributeBug) {return node.outerHTML} + var html = this.NodeHTML(node); + for (var i = 0, m = node.childNodes.length; i < m; i++) + {html += this.OuterHTML(node.childNodes[i]);} + html += ""; + return html; + }, + quoteHTML: function (string) { + if (string == null) {string = ""} + return string.replace(/&/g,"&").replace(//g,">").replace(/"/g,"""); + }, + + createPreview: function (math,script) { + var preview; + if (this.config.preview === "alttext") { + var text = math.getAttribute("alttext"); + if (text != null) {preview = [this.filterText(text)]} + } else if (this.config.preview instanceof Array) {preview = this.config.preview} + if (preview) { + preview = MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},preview); + script.parentNode.insertBefore(preview,script); + } + }, + + filterText: function (text) {return text}, + + InitBrowser: function () { + var test = MathJax.HTML.Element("span",{id:"<", className: "mathjax", innerHTML: "x"}); + var html = test.outerHTML || ""; + this.AttributeBug = html !== "" && !( + html.match(/id="<"/) && // "<" should convert to "<" + html.match(/class="mathjax"/) && // IE leaves out quotes + html.match(/<\/math>/) // Opera 9 drops tags after self-closing tags + ); + this.MathTagBug = test.childNodes.length > 1; // IE < 9 flattens unknown tags + this.CleanupHTML = MathJax.Hub.Browser.isMSIE; // remove namespace and other added tags + } + +}; + +MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.mml2jax]); +MathJax.Ajax.loadComplete("[MathJax]/extensions/mml2jax.js"); diff --git a/modules/MathJax/extensions/tex2jax.js b/modules/MathJax/extensions/tex2jax.js new file mode 100644 index 0000000..fd58a91 --- /dev/null +++ b/modules/MathJax/extensions/tex2jax.js @@ -0,0 +1,269 @@ +/************************************************************* + * + * MathJax/extensions/tex2jax.js + * + * Implements the TeX to Jax preprocessor that locates TeX code + * within the text of a document and replaces it with SCRIPT tags + * for processing by MathJax. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.tex2jax = { + version: "1.1.3", + config: { + inlineMath: [ // The start/stop pairs for in-line math +// ['$','$'], // (comment out any you don't want, or add your own, but + ['\\(','\\)'] // be sure that you don't have an extra comma at the end) + ], + + displayMath: [ // The start/stop pairs for display math + ['$$','$$'], // (comment out any you don't want, or add your own, but + ['\\[','\\]'] // be sure that you don't have an extra comma at the end) + ], + + skipTags: ["script","noscript","style","textarea","pre","code"], + // The names of the tags whose contents will not be + // scanned for math delimiters + + ignoreClass: "tex2jax_ignore", // the class name of elements whose contents should + // NOT be processed by tex2jax. Note that this + // is a regular expression, so be sure to quote any + // regexp special characters + + processClass: "tex2jax_process", // the class name of elements whose contents SHOULD + // be processed when they appear inside ones that + // are ignored. Note that this is a regular expression, + // so be sure to quote any regexp special characters + + processEscapes: false, // set to true to allow \$ to produce a dollar without + // starting in-line math mode + + processEnvironments: true, // set to true to process \begin{xxx}...\end{xxx} outside + // of math mode, false to prevent that + + preview: "TeX" // set to "none" to not insert MathJax_Preview spans + // or set to an array specifying an HTML snippet + // to use the same preview for every equation. + + }, + + PreProcess: function (element) { + if (!this.configured) { + this.config = MathJax.Hub.CombineConfig("tex2jax",this.config); + if (this.config.Augment) {MathJax.Hub.Insert(this,this.config.Augment)} + if (typeof(this.config.previewTeX) !== "undefined" && !this.config.previewTeX) + {this.config.preview = "none"} // backward compatibility for previewTeX parameter + this.configured = true; + } + if (typeof(element) === "string") {element = document.getElementById(element)} + if (!element) {element = document.body} + this.createPatterns(); + this.scanElement(element,element.nextSibling); + }, + + createPatterns: function () { + var starts = [], i, m, config = this.config; + this.match = {}; + for (i = 0, m = config.inlineMath.length; i < m; i++) { + starts.push(this.patternQuote(config.inlineMath[i][0])); + this.match[config.inlineMath[i][0]] = { + mode: "", + end: config.inlineMath[i][1], + pattern: this.endPattern(config.inlineMath[i][1]) + }; + } + for (i = 0, m = config.displayMath.length; i < m; i++) { + starts.push(this.patternQuote(config.displayMath[i][0])); + this.match[config.displayMath[i][0]] = { + mode: "; mode=display", + end: config.displayMath[i][1], + pattern: this.endPattern(config.displayMath[i][1]) + }; + } + this.start = new RegExp( + starts.sort(this.sortLength).join("|") + + (config.processEnvironments ? "|\\\\begin\\{([^}]*)\\}" : "") + + (config.processEscapes ? "|\\\\*\\\\\\\$" : ""), "g" + ); + this.skipTags = new RegExp("^("+config.skipTags.join("|")+")$","i"); + this.ignoreClass = new RegExp("(^| )("+config.ignoreClass+")( |$)"); + this.processClass = new RegExp("(^| )("+config.processClass+")( |$)"); + }, + + patternQuote: function (s) {return s.replace(/([\^$(){}+*?\-|\[\]\:\\])/g,'\\$1')}, + + endPattern: function (end) { + return new RegExp(this.patternQuote(end)+"|\\\\.","g"); + }, + + sortLength: function (a,b) { + if (a.length !== b.length) {return b.length - a.length} + return (a == b ? 0 : (a < b ? -1 : 1)); + }, + + scanElement: function (element,stop,ignore) { + var cname, tname, ignoreChild; + while (element && element != stop) { + if (element.nodeName.toLowerCase() === '#text') { + if (!ignore) {element = this.scanText(element)} + } else { + cname = (typeof(element.className) === "undefined" ? "" : element.className); + tname = (typeof(element.tagName) === "undefined" ? "" : element.tagName); + if (typeof(cname) !== "string") {cname = String(cname)} // jsxgraph uses non-string class names! + if (element.firstChild && !cname.match(/(^| )MathJax/) && !this.skipTags.exec(tname)) { + ignoreChild = (ignore || this.ignoreClass.exec(cname)) && !this.processClass.exec(cname); + this.scanElement(element.firstChild,stop,ignoreChild); + } + } + if (element) {element = element.nextSibling} + } + }, + + scanText: function (element) { + if (element.nodeValue.replace(/\s+/,'') == '') {return element} + var match, prev; + this.search = {start: true}; + this.pattern = this.start; + while (element) { + this.pattern.lastIndex = 0; + while (element && element.nodeName.toLowerCase() === '#text' && + (match = this.pattern.exec(element.nodeValue))) { + if (this.search.start) {element = this.startMatch(match,element)} + else {element = this.endMatch(match,element)} + } + if (this.search.matched) {element = this.encloseMath(element)} + if (element) { + do {prev = element; element = element.nextSibling} + while (element && (element.nodeName.toLowerCase() === 'br' || + element.nodeName.toLowerCase() === '#comment')); + if (!element || element.nodeName !== '#text') {return prev} + } + } + return element; + }, + + startMatch: function (match,element) { + var delim = this.match[match[0]]; + if (delim != null) { // a start delimiter + this.search = { + end: delim.end, mode: delim.mode, + open: element, olen: match[0].length, opos: this.pattern.lastIndex - match[0].length + }; + this.switchPattern(delim.pattern); + } else if (match[0].substr(0,6) === "\\begin") { // \begin{...} + this.search = { + end: "\\end{"+match[1]+"}", mode: "; mode=display", + open: element, olen: 0, opos: this.pattern.lastIndex - match[0].length, + isBeginEnd: true + }; + this.switchPattern(this.endPattern(this.search.end)); + } else { // escaped dollar signs + // put $ in a span so it doesn't get processed again + // split off backslashes so they don't get removed later + var slashes = match[0].substr(0,match[0].length-1), n, span; + if (slashes.length % 2 === 0) {span = [slashes.replace(/\\\\/g,"\\")]; n = 1} + else {span = [slashes.substr(1).replace(/\\\\/g,"\\"),"$"]; n = 0} + span = MathJax.HTML.Element("span",null,span); + var text = MathJax.HTML.TextNode(element.nodeValue.substr(0,match.index)); + element.nodeValue = element.nodeValue.substr(match.index + match[0].length - n); + element.parentNode.insertBefore(span,element); + element.parentNode.insertBefore(text,span); + this.pattern.lastIndex = n; + } + return element; + }, + + endMatch: function (match,element) { + if (match[0] == this.search.end) { + this.search.close = element; + this.search.cpos = this.pattern.lastIndex; + this.search.clen = (this.search.isBeginEnd ? 0 : match[0].length); + this.search.matched = true; + element = this.encloseMath(element); + this.switchPattern(this.start); + } + return element; + }, + + switchPattern: function (pattern) { + pattern.lastIndex = this.pattern.lastIndex; + this.pattern = pattern; + this.search.start = (pattern === this.start); + }, + + encloseMath: function (element) { + var search = this.search, close = search.close, CLOSE, math; + if (search.cpos === close.length) {close = close.nextSibling} + else {close = close.splitText(search.cpos)} + if (!close) {CLOSE = close = MathJax.HTML.addText(search.close.parentNode,"")} + search.close = close; + math = (search.opos ? search.open.splitText(search.opos) : search.open); + while (math.nextSibling && math.nextSibling !== close) { + if (math.nextSibling.nodeValue !== null) { + if (math.nextSibling.nodeName === "#comment") { + math.nodeValue += math.nextSibling.nodeValue.replace(/^\[CDATA\[((.|\n|\r)*)\]\]$/,"$1"); + } else { + math.nodeValue += math.nextSibling.nodeValue; + } + } else if (this.msieNewlineBug) { + math.nodeValue += (math.nextSibling.nodeName.toLowerCase() === "br" ? "\n" : " "); + } else { + math.nodeValue += " "; + } + math.parentNode.removeChild(math.nextSibling); + } + var TeX = math.nodeValue.substr(search.olen,math.nodeValue.length-search.olen-search.clen); + math.parentNode.removeChild(math); + if (this.config.preview !== "none") {this.createPreview(search.mode,TeX)} + math = this.createMathTag(search.mode,TeX); + this.search = {}; this.pattern.lastIndex = 0; + if (CLOSE) {CLOSE.parentNode.removeChild(CLOSE)} + return math; + }, + + insertNode: function (node) { + var search = this.search; + search.close.parentNode.insertBefore(node,search.close); + }, + + createPreview: function (mode,tex) { + var preview; + if (this.config.preview === "TeX") {preview = [this.filterTeX(tex)]} + else if (this.config.preview instanceof Array) {preview = this.config.preview} + if (preview) { + preview = MathJax.HTML.Element("span",{className:MathJax.Hub.config.preRemoveClass},preview); + this.insertNode(preview); + } + }, + + createMathTag: function (mode,tex) { + var script = document.createElement("script"); + script.type = "math/tex" + mode; + MathJax.HTML.setScript(script,tex); + this.insertNode(script); + return script; + }, + + filterTeX: function (tex) {return tex}, + + msieNewlineBug: (MathJax.Hub.Browser.isMSIE && document.documentMode < 9) + +}; + +MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.tex2jax]); +MathJax.Ajax.loadComplete("[MathJax]/extensions/tex2jax.js"); diff --git a/modules/MathJax/extensions/toMathML.js b/modules/MathJax/extensions/toMathML.js new file mode 100644 index 0000000..1bee6c3 --- /dev/null +++ b/modules/MathJax/extensions/toMathML.js @@ -0,0 +1,149 @@ +/************************************************************* + * + * MathJax/extensions/toMathML.js + * + * Implements a toMathML() method for the mml Element Jax that returns + * a MathML string from a given math expression. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.LoadHook("[MathJax]/jax/element/mml/jax.js",function () { + var VERSION = "1.1.1"; + + var MML = MathJax.ElementJax.mml; + + MML.mbase.Augment({ + + toMathML: function (space) { + var inferred = (this.inferred && this.parent.inferRow); + if (space == null) {space = ""} + var tag = this.type, attr = this.MathMLattributes(); + if (tag === "mspace") {return space + "<"+tag+attr+" />"} + var data = []; var SPACE = (this.isToken ? "" : space+(inferred ? "" : " ")); + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i]) {data.push(this.data[i].toMathML(SPACE))} + else if (!this.isToken) {data.push(SPACE+"")} + } + if (this.isToken) {return space + "<"+tag+attr+">"+data.join("")+""} + if (inferred) {return data.join("\n")} + if (data.length === 0 || (data.length === 1 && data[0] === "")) + {return space + "<"+tag+attr+" />"} + return space + "<"+tag+attr+">\n"+data.join("\n")+"\n"+ space +""; + }, + + MathMLattributes: function () { + var attr = [], defaults = this.defaults; + var copy = this.copyAttributes, + skip = this.skipAttributes; + + if (this.type === "math") {attr.push('xmlns="http://www.w3.org/1998/Math/MathML"')} + if (this.type === "mstyle") {defaults = MML.math.prototype.defaults} + for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) { + var force = (id === "open" || id === "close"); + if (this[id] != null && (force || this[id] !== defaults[id])) { + var value = this[id]; delete this[id]; + if (force || this.Get(id) !== value) + {attr.push(id+'="'+this.quoteHTML(value)+'"')} + this[id] = value; + } + }} + for (var i = 0, m = copy.length; i < m; i++) { + if (this[copy[i]] != null) {attr.push(copy[i]+'="'+this.quoteHTML(this[copy[i]])+'"')} + } + if (attr.length) {return " "+attr.join(" ")} else {return ""} + }, + copyAttributes: [ + "fontfamily","fontsize","fontweight","fontstyle", + "color","background", + "id","class","href","style" + ], + skipAttributes: {texClass: 1, useHeight: 1, texprimestyle: 1}, + + quoteHTML: function (string) { + string = String(string).split(""); + for (var i = 0, m = string.length; i < m; i++) { + var n = string[i].charCodeAt(0); + if (n < 0x20 || n > 0x7E) { + string[i] = "&#x"+n.toString(16).toUpperCase()+";"; + } else { + var c = {'&':'&', '<':'<', '>':'>', '"':'"'}[string[i]]; + if (c) {string[i] = c} + } + } + return string.join(""); + } + }); + + MML.msubsup.Augment({ + toMathML: function (space) { + var tag = this.type; + if (this.data[this.sup] == null) {tag = "msub"} + if (this.data[this.sub] == null) {tag = "msup"} + var attr = this.MathMLattributes(); + delete this.data[0].inferred; + var data = []; + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {data.push(this.data[i].toMathML(space+" "))}} + return space + "<"+tag+attr+">\n" + data.join("\n") + "\n" + space + ""; + } + }); + + MML.munderover.Augment({ + toMathML: function (space) { + var tag = this.type; + if (this.data[this.under] == null) {tag = "mover"} + if (this.data[this.over] == null) {tag = "munder"} + var attr = this.MathMLattributes(); + delete this.data[0].inferred; + var data = []; + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {data.push(this.data[i].toMathML(space+" "))}} + return space + "<"+tag+attr+">\n" + data.join("\n") + "\n" + space + ""; + } + }); + + MML.TeXAtom.Augment({ + toMathML: function (space) { + // FIXME: Handle spacing using mpadded? + return space+"\n"+this.data[0].toMathML(space+" ")+"\n"+space+""; + } + }); + + MML.chars.Augment({ + toMathML: function (space) {return (space||"") + this.quoteHTML(this.toString())} + }); + + MML.entity.Augment({ + toMathML: function (space) {return (space||"") + "&"+this.data[0]+";"} + }); + + MML.xml.Augment({ + toMathML: function (space) {return (space||"") + this.toString()} + }); + + MathJax.Hub.Register.StartupHook("TeX mathchoice Ready",function () { + MML.TeXmathchoice.Augment({ + toMathML: function (space) {return this.Core().toMathML(space)} + }); + }); + + MathJax.Hub.Startup.signal.Post("toMathML Ready"); + +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/toMathML.js"); diff --git a/modules/MathJax/extensions/v1.0-warning.js b/modules/MathJax/extensions/v1.0-warning.js new file mode 100644 index 0000000..3879df1 --- /dev/null +++ b/modules/MathJax/extensions/v1.0-warning.js @@ -0,0 +1,92 @@ +/************************************************************* + * + * MathJax/extension/v1.0-warning.js + * + * This extension file is loaded when no jax are configured + * as a backward-compatible measure to help people convert to the + * new configuration process. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB,HTML) { + var VERSION = "1.1"; + + var CONFIG = { + style: { + position:"fixed", bottom:"4em", left:"3em", width:"40em", + border: "3px solid #880000", "background-color": "#E0E0E0", + padding: "1em", "font-size":"small", "white-space":"normal", + + "border-radius": ".75em", // Opera 10.5 and IE9 + "-webkit-border-radius": ".75em", // Safari and Chrome + "-moz-border-radius": ".75em", // Firefox + "-khtml-border-radius": ".75em", // Konqueror + + "box-shadow": "4px 4px 10px #AAAAAA", // Opera 10.5 and IE9 + "-webkit-box-shadow": "4px 4px 10px #AAAAAA", // Safari 3 and Chrome + "-moz-box-shadow": "4px 4px 10px #AAAAAA", // Forefox 3.5 + "-khtml-box-shadow": "4px 4px 10px #AAAAAA", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, Color='gray', Positive='true')" // IE + } + }; + if (HUB.Browser.isIE9 && document.documentMode >= 9) {delete CONFIG.style.filter} + + var DIV; + + HUB.Register.StartupHook("onLoad",function () { + var frame = document.body; + if (HUB.Browser.isMSIE) { + MathJax.Message.Init(); // make sure MathJax_MSIE_frame exists + frame = document.getElementById("MathJax_MSIE_frame") || frame; // in IE8 and 9 it may not anyway + CONFIG.style.position = "absolute"; + } else {delete CONFIG.style.filter} + CONFIG.style.maxWidth = (document.body.clientWidth-75) + "px"; + DIV = HTML.addElement(frame,"div",{id:"MathJax_ConfigWarning",style:CONFIG.style},[ + [ + "div",{ + style: { + position:"absolute", overflow:"hidden", top:".1em", right:".1em", + border: "1px outset", width:"1em", height:"1em", + "text-align": "center", cursor: "pointer", + "background-color": "#EEEEEE", color:"#606060", + + "border-radius": ".5em", // Opera 10.5 + "-webkit-border-radius": ".5em", // Safari and Chrome + "-moz-border-radius": ".5em", // Firefox + "-khtml-border-radius": ".5em" // Konqueror + }, + onclick: function () {DIV.style.display = "none"} + }, + [["span",{style:{position:"relative", bottom:".2em"}},["x"]]] + ], + "MathJax no longer loads a default configuration file; " + + "you must specify such files explicitly. " + + "This page seems to use the older default ",["code",{},["config/MathJax.js"]], + " file, and so needs to be updated. This is explained further at", + ["p",{style:{"text-align":"center"}},[ + ["a", + {href:"http://www.mathjax.org/help/configuration"}, + ["http://www.mathjax.org/help/configuration"] + ] + ]] + ]); + }); + +})(MathJax.Hub,MathJax.HTML); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/v1.0-warning.js"); diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot new file mode 100644 index 0000000..6d8ab3c Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_AMS-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot new file mode 100644 index 0000000..86ce034 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Bold.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot new file mode 100644 index 0000000..4d0cc8d Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Caligraphic-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot new file mode 100644 index 0000000..2f194a1 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Bold.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot new file mode 100644 index 0000000..c4bcbd8 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Fraktur-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot new file mode 100644 index 0000000..99ac10d Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Bold.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot new file mode 100644 index 0000000..9942105 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Italic.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot new file mode 100644 index 0000000..5e17ee7 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Main-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot new file mode 100644 index 0000000..f5c9471 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-BoldItalic.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot new file mode 100644 index 0000000..4a62017 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Italic.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Regular.eot new file mode 100644 index 0000000..1a13172 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Math-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot new file mode 100644 index 0000000..963cb32 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Bold.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot new file mode 100644 index 0000000..61967ad Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Italic.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot new file mode 100644 index 0000000..d9b9a41 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_SansSerif-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot new file mode 100644 index 0000000..3847044 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Script-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot new file mode 100644 index 0000000..4895211 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size1-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot new file mode 100644 index 0000000..98ea93e Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size2-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot new file mode 100644 index 0000000..bcaae4b Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size3-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot new file mode 100644 index 0000000..cd4552a Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Size4-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot new file mode 100644 index 0000000..6e38b71 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_Typewriter-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_WinIE6-Regular.eot b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_WinIE6-Regular.eot new file mode 100644 index 0000000..9ca11de Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/eot/MathJax_WinIE6-Regular.eot differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf new file mode 100644 index 0000000..1f9599f Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_AMS-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf new file mode 100644 index 0000000..c916b80 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Bold.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf new file mode 100644 index 0000000..8b97a38 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Caligraphic-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf new file mode 100644 index 0000000..d1e654b Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Bold.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf new file mode 100644 index 0000000..453a6eb Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Fraktur-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf new file mode 100644 index 0000000..d01cff3 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Bold.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf new file mode 100644 index 0000000..2da28b9 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf new file mode 100644 index 0000000..7a5a36b Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf new file mode 100644 index 0000000..166e193 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-BoldItalic.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf new file mode 100644 index 0000000..5047bdc Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Regular.otf new file mode 100644 index 0000000..144cfad Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Math-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf new file mode 100644 index 0000000..1e4c683 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Bold.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf new file mode 100644 index 0000000..b016289 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf new file mode 100644 index 0000000..e690927 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf new file mode 100644 index 0000000..2da24cc Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Script-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf new file mode 100644 index 0000000..70bbaff Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf new file mode 100644 index 0000000..270739b Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size2-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf new file mode 100644 index 0000000..f3ab733 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf new file mode 100644 index 0000000..fd84193 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Size4-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf new file mode 100644 index 0000000..becc64a Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinChrome-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinChrome-Regular.otf new file mode 100644 index 0000000..71bd7c0 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinChrome-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinIE6-Regular.otf b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinIE6-Regular.otf new file mode 100644 index 0000000..2bde816 Binary files /dev/null and b/modules/MathJax/fonts/HTML-CSS/TeX/otf/MathJax_WinIE6-Regular.otf differ diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_AMS-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_AMS-Regular.svg new file mode 100644 index 0000000..9167cfd --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_AMS-Regular.svg @@ -0,0 +1,765 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Bold.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Bold.svg new file mode 100644 index 0000000..edd4a15 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Bold.svg @@ -0,0 +1,136 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Regular.svg new file mode 100644 index 0000000..e54a72c --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Caligraphic-Regular.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Bold.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Bold.svg new file mode 100644 index 0000000..d1c469b --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Bold.svg @@ -0,0 +1,319 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Regular.svg new file mode 100644 index 0000000..1cbd94f --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Fraktur-Regular.svg @@ -0,0 +1,309 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Bold.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Bold.svg new file mode 100644 index 0000000..7579531 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Bold.svg @@ -0,0 +1,656 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Italic.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Italic.svg new file mode 100644 index 0000000..93849a8 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Italic.svg @@ -0,0 +1,374 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Regular.svg new file mode 100644 index 0000000..9c257bb --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Main-Regular.svg @@ -0,0 +1,659 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-BoldItalic.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-BoldItalic.svg new file mode 100644 index 0000000..6a10532 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-BoldItalic.svg @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Italic.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Italic.svg new file mode 100644 index 0000000..4741efd --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Italic.svg @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Regular.svg new file mode 100644 index 0000000..e05eeed --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Math-Regular.svg @@ -0,0 +1,330 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Bold.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Bold.svg new file mode 100644 index 0000000..fc549da --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Bold.svg @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Italic.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Italic.svg new file mode 100644 index 0000000..782aa1b --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Italic.svg @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Regular.svg new file mode 100644 index 0000000..17cf6f1 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_SansSerif-Regular.svg @@ -0,0 +1,211 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Script-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Script-Regular.svg new file mode 100644 index 0000000..d83a7bc --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Script-Regular.svg @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size1-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size1-Regular.svg new file mode 100644 index 0000000..6634725 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size1-Regular.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size2-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size2-Regular.svg new file mode 100644 index 0000000..d3148ab --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size2-Regular.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size3-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size3-Regular.svg new file mode 100644 index 0000000..a33e4ce --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size3-Regular.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size4-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size4-Regular.svg new file mode 100644 index 0000000..081f4a2 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Size4-Regular.svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Typewriter-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Typewriter-Regular.svg new file mode 100644 index 0000000..deb15f0 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_Typewriter-Regular.svg @@ -0,0 +1,322 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_WinChrome-Regular.svg b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_WinChrome-Regular.svg new file mode 100644 index 0000000..1669056 --- /dev/null +++ b/modules/MathJax/fonts/HTML-CSS/TeX/svg/MathJax_WinChrome-Regular.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/modules/MathJax/jax/element/mml/jax.js b/modules/MathJax/jax/element/mml/jax.js new file mode 100644 index 0000000..b951f55 --- /dev/null +++ b/modules/MathJax/jax/element/mml/jax.js @@ -0,0 +1,1554 @@ +/************************************************************* + * + * MathJax/jax/element/mml/jax.js + * + * Implements the MML ElementJax that holds the internal represetation + * of the mathematics on the page. Various InputJax will produce this + * format, and the OutputJax will display it in various formats. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.ElementJax.mml = MathJax.ElementJax({ + mimeType: "jax/mml" +},{ + id: "mml", + version: "1.1.1", + directory: MathJax.ElementJax.directory + "/mml", + extensionDir: MathJax.ElementJax.extensionDir + "/mml", + optableDir: MathJax.ElementJax.directory + "/mml/optable" +}); + +MathJax.ElementJax.mml.Augment({ + Init: function () { + if (arguments.length === 1 && arguments[0].type === "math") {this.root = arguments[0]} + else {this.root = MathJax.ElementJax.mml.math.apply(this,arguments)} + if (this.root.mode) { + if (!this.root.display && this.root.mode === "display") {this.root.display = "block"} + delete this.root.mode; + } + } +},{ + INHERIT: "_inherit_", + AUTO: "_auto_", + SIZE: { + INFINITY: "infinity", + SMALL: "small", + NORMAL: "normal", + BIG: "big" + }, + COLOR: { + TRANSPARENT: "transparent" + }, + VARIANT: { + NORMAL: "normal", + BOLD: "bold", + ITALIC: "italic", + BOLDITALIC: "bold-italic", + DOUBLESTRUCK: "double-struck", + FRAKTUR: "fraktur", + BOLDFRAKTUR: "bold-fraktur", + SCRIPT: "script", + BOLDSCRIPT: "bold-script", + SANSSERIF: "sans-serif", + BOLDSANSSERIF: "bold-sans-serif", + SANSSERIFITALIC: "sans-serif-italic", + SANSSERIFBOLDITALIC: "sans-serif-bold-italic", + MONOSPACE: "monospace", + INITIAL: "inital", + TAILED: "tailed", + LOOPED: "looped", + STRETCHED: "stretched", + CALIGRAPHIC: "-tex-caligraphic", + OLDSTYLE: "-tex-oldstyle" + }, + FORM: { + PREFIX: "prefix", + INFIX: "infix", + POSTFIX: "postfix" + }, + LINEBREAK: { + AUTO: "auto", + NEWLINE: "newline", + NOBREAK: "nobreak", + GOODBREAK: "goodbreak", + BADBREAK: "badbreak" + }, + LINEBREAKSTYLE: { + BEFORE: "before", + AFTER: "after", + DUPLICATE: "duplicate", + INFIXLINBREAKSTYLE: "infixlinebreakstyle" + }, + INDENTALIGN: { + LEFT: "left", + CENTER: "center", + RIGHT: "right", + AUTO: "auto", + ID: "id", + INDENTALIGN: "indentalign" + }, + INDENTSHIFT: { + INDENTSHIFT: "indentshift" + }, + LINETHICKNESS: { + THIN: "thin", + MEDIUM: "medium", + THICK: "thick" + }, + NOTATION: { + LONGDIV: "longdiv", + ACTUARIAL: "actuarial", + RADICAL: "radical", + BOX: "box", + ROUNDEDBOX: "roundedbox", + CIRCLE: "circle", + LEFT: "left", + RIGHT: "right", + TOP: "top", + BOTTOM: "bottom", + UPDIAGONALSTRIKE: "updiagonalstrike", + DOWNDIAGONALSTRIKE: "downdiagonalstrike", + VERTICALSTRIKE: "verticalstrike", + HORIZONTALSTRIKE: "horizontalstrike", + MADRUWB: "madruwb" + }, + ALIGN: { + TOP: "top", + BOTTOM: "bottom", + CENTER: "center", + BASELINE: "baseline", + AXIS: "axis", + LEFT: "left", + RIGHT: "right" + }, + LINES: { + NONE: "none", + SOLID: "solid", + DASHED: "dashed" + }, + SIDE: { + LEFT: "left", + RIGHT: "right", + LEFTOVERLAP: "leftoverlap", + RIGHTOVERLAP: "rightoverlap" + }, + WIDTH: { + AUTO: "auto", + FIT: "fit" + }, + ACTIONTYPE: { + TOGGLE: "toggle", + STATUSLINE: "statusline", + TOOLTIP: "tooltip", + INPUT: "input" + }, + LENGTH: { + VERYVERYTHINMATHSPACE: "veryverythinmathspace", + VERYTHINMATHSPACE: "verythinmathspace", + THINMATHSPACE: "thinmathspace", + MEDIUMMATHSPACE: "mediummathspace", + THICKMATHSPACE: "thickmathspace", + VERYTHICKMATHSPACE: "verythickmathspace", + VERYVERYTHICKMATHSPACE: "veryverythickmathspace", + NEGATIVEVERYVERYTHINMATHSPACE: "negativeveryverythinmathspace", + NEGATIVEVERYTHINMATHSPACE: "negativeverythinmathspace", + NEGATIVETHINMATHSPACE: "negativethinmathspace", + NEGATIVEMEDIUMMATHSPACE: "negativemediummathspace", + NEGATIVETHICKMATHSPACE: "negativethickmathspace", + NEGATIVEVERYTHICKMATHSPACE: "negativeverythickmathspace", + NEGATIVEVERYVERYTHICKMATHSPACE: "negativeveryverythickmathspace" + }, + OVERFLOW: { + LINBREAK: "linebreak", + SCROLL: "scroll", + ELIDE: "elide", + TRUNCATE: "truncate", + SCALE: "scale" + }, + UNIT: { + EM: "em", + EX: "ex", + PX: "px", + IN: "in", + CM: "cm", + MM: "mm", + PT: "pt", + PC: "pc" + }, + TEXCLASS: { + ORD: 0, + OP: 1, + BIN: 2, + REL: 3, + OPEN: 4, + CLOSE: 5, + PUNCT: 6, + INNER: 7, + VCENTER: 8, + NONE: -1 + }, + PLANE1: String.fromCharCode(0xD835) +}); + +(function (MML) { + var FALSE = false; var TRUE = true; + + MML.mbase = MathJax.Object.Subclass({ + type: "base", isToken: FALSE, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT + }, + noInherit: {}, + + Init: function () { + this.data = []; + if (this.inferRow && !(arguments.length === 1 && arguments[0].inferred)) + {this.Append(MML.mrow().With({inferred: TRUE}))} + this.Append.apply(this,arguments); + }, + With: function (def) { + for (var id in def) {if (def.hasOwnProperty(id)) {this[id] = def[id]}} + return this; + }, + Append: function () { + if (this.inferRow && this.data.length) { + this.data[0].Append.apply(this.data[0],arguments); + } else { + for (var i = 0, m = arguments.length; i < m; i++) + {this.SetData(this.data.length,arguments[i])} + } + }, + SetData: function (i,item) { + if (item != null) { + if (!(item instanceof MML.mbase)) + {item = (this.isToken ? MML.chars(item) : MML.mtext(item))} + item.parent = this; + item.setInherit(this.inheritFromMe ? this : this.inherit); + } + this.data[i] = item; + }, + Parent: function () { + var parent = this.parent; + while (parent && parent.inferred) {parent = parent.parent} + return parent; + }, + Get: function (name,nodefault) { + if (typeof(this[name]) !== "undefined") {return this[name]} + // FIXME: should cache these values and get from cache + // (clear cache when appended to a new object?) + var parent = this.Parent(); + if (parent && parent["adjustChild_"+name] != null) + {return (parent["adjustChild_"+name])(parent.childPosition(this))} + var obj = this.inherit; var root = obj; + while (obj) { + if (typeof(obj[name]) !== "undefined") { + var noInherit = obj.noInherit[this.type]; + if (!(noInherit && noInherit[name])) {return obj[name]} + } + root = obj; obj = obj.inherit; + } + if (!nodefault) { + if (this.defaults[name] === MML.AUTO) {return this.autoDefault(name)} + if (this.defaults[name] !== MML.INHERIT && this.defaults[name] != null) + {return this.defaults[name]} + if (root) {return root.defaults[name]} + } + return null; + }, + hasValue: function (name) {return (this.Get(name,true) != null)}, + getValues: function () { + var values = {}; + for (var i = 0, m = arguments.length; i < m; i++) + {values[arguments[i]] = this.Get(arguments[i])} + return values; + }, + adjustChild_scriptlevel: function (i) {return this.Get("scriptlevel")}, // always inherit from parent + adjustChild_displaystyle: function (i) {return this.Get("displaystyle")}, // always inherit from parent + adjustChild_texprimestyle: function (i) {return this.Get("texprimestyle")}, // always inherit from parent + childPosition: function (child) { + if (child.parent.inferred) {child = child.parent} + for (var i = 0, m = this.data.length; i < m; i++) {if (this.data[i] === child) {return i}} + return null; + }, + setInherit: function (obj) { + if (obj !== this.inherit && this.inherit == null) { + this.inherit = obj; + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i] && this.data[i].setInherit) {this.data[i].setInherit(obj)} + } + } + }, + setTeXclass: function (prev) { + this.getPrevClass(prev); + return (typeof(this.texClass) !== "undefined" ? this : prev); + }, + getPrevClass: function (prev) { + if (prev) { + this.prevClass = prev.Get("texClass"); + this.prevLevel = prev.Get("scriptlevel"); + } + }, + updateTeXclass: function (core) { + if (core) { + this.prevClass = core.prevClass; delete core.prevClass; + this.prevLevel = core.prevLevel; delete core.prevLevel; + this.texClass = core.Get("texClass"); + } + }, + texSpacing: function () { + var prev = (this.prevClass != null ? this.prevClass : MML.TEXCLASS.NONE); + var tex = (this.Get("texClass") || MML.TEXCLASS.ORD); + if (prev === MML.TEXCLASS.NONE || tex === MML.TEXCLASS.NONE) {return ""} + if (prev === MML.TEXCLASS.VCENTER) {prev = MML.TEXCLASS.ORD} + if (tex === MML.TEXCLASS.VCENTER) {tex = MML.TEXCLASS.ORD} + var space = this.TEXSPACE[prev][tex]; + if (this.prevLevel > 0 && this.Get("scriptlevel") > 0 && space >= 0) {return ""} + return this.TEXSPACELENGTH[Math.abs(space)]; + }, + TEXSPACELENGTH:[ + "", + MML.LENGTH.THINMATHSPACE, + MML.LENGTH.MEDIUMMATHSPACE, + MML.LENGTH.THICKMATHSPACE + ], + // See TeXBook Chapter 18 (p. 170) + TEXSPACE: [ + [ 0,-1, 2, 3, 0, 0, 0, 1], // ORD + [-1,-1, 0, 3, 0, 0, 0, 1], // OP + [ 2, 2, 0, 0, 2, 0, 0, 2], // BIN + [ 3, 3, 0, 0, 3, 0, 0, 3], // REL + [ 0, 0, 0, 0, 0, 0, 0, 0], // OPEN + [ 0,-1, 2, 3, 0, 0, 0, 1], // CLOSE + [ 1, 1, 0, 1, 1, 1, 1, 1], // PUNCT + [ 1,-1, 2, 3, 1, 0, 1, 1] // INNER + ], + autoDefault: function (name) {return ""}, + isSpacelike: function () {return FALSE}, + isEmbellished: function () {return FALSE}, + Core: function () {return this}, + CoreMO: function () {return this}, + lineBreak: function () { + if (this.isEmbellished()) {return this.CoreMO().lineBreak()} else {return "none"} + }, + array: function () {if (this.inferred) {return this.data} else {return [this]}}, + toString: function () {return this.type+"("+this.data.join(",")+")"} + },{ + childrenSpacelike: function () { + for (var i = 0; i < this.data.length; i++) { + if (!this.data[i].isSpacelike()) {return FALSE} + } + return TRUE; + }, + childEmbellished: function () { + return (this.data[0] && this.data[0].isEmbellished()); + }, + childCore: function () {return this.data[0]}, + childCoreMO: function () {return (this.data[0] ? this.data[0].CoreMO() : null)}, + setChildTeXclass: function (prev) { + if (this.data[0]) { + prev = this.data[0].setTeXclass(prev); + this.updateTeXclass(this.data[0]); + } + return prev; + }, + setBaseTeXclasses: function (prev) { + this.getPrevClass(prev); this.texClass = null; + if (this.isEmbellished()) { + prev = this.data[0].setTeXclass(prev); + this.updateTeXclass(this.Core()); + } else {if (this.data[0]) {this.data[0].setTeXclass()}; prev = this} + for (var i = 1, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].setTeXclass()}} + return prev; + }, + setSeparateTeXclasses: function (prev) { + this.getPrevClass(prev); + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].setTeXclass()}} + if (this.isEmbellished()) {this.updateTeXclass(this.Core())} + return this; + } + }); + + MML.mi = MML.mbase.Subclass({ + type: "mi", isToken: TRUE, + texClass: MML.TEXCLASS.ORD, + defaults: { + mathvariant: MML.AUTO, + mathsize: MML.INHERIT, + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT + }, + autoDefault: function (name) { + if (name === "mathvariant") { + var mi = (this.data[0]||"").toString(); + return (mi.length === 1 || (mi.length === 2 && mi.charCodeAt(0) === this.PLANE1) ? + MML.VARIANT.ITALIC : MML.VARIANT.NORMAL); + } + return ""; + } + }); + + MML.mn = MML.mbase.Subclass({ + type: "mn", isToken: TRUE, + texClass: MML.TEXCLASS.ORD, + defaults: { + mathvariant: MML.INHERIT, + mathsize: MML.INHERIT, + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT + } + }); + + MML.mo = MML.mbase.Subclass({ + type: "mo", isToken: TRUE, + defaults: { + mathvariant: MML.INHERIT, + mathsize: MML.INHERIT, + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + form: MML.AUTO, + fence: MML.AUTO, + separator: MML.AUTO, + lspace: MML.AUTO, + rspace: MML.AUTO, + stretchy: MML.AUTO, + symmetric: MML.AUTO, + maxsize: MML.AUTO, + minsize: MML.AUTO, + largeop: MML.AUTO, + movablelimits: MML.AUTO, + accent: MML.AUTO, + linebreak: MML.LINEBREAK.AUTO, + lineleading: MML.INHERIT, + linebreakstyle: MML.AUTO, + linebreakmultchar: MML.INHERIT, + indentalign: MML.INHERIT, + indentshift: MML.INHERIT, + indenttarget: MML.INHERIT, + indentalignfirst: MML.INHERIT, + indentshiftfirst: MML.INHERIT, + indentalignlast: MML.INHERIT, + indentshiftlast: MML.INHERIT, + texClass: MML.AUTO + }, + defaultDef: { + form: MML.FORM.INFIX, + fence: FALSE, + separator: FALSE, + lspace: MML.LENGTH.THICKMATHSPACE, + rspace: MML.LENGTH.THICKMATHSPACE, + stretchy: FALSE, + symmetric: TRUE, + maxsize: MML.SIZE.INFINITY, + minsize: '0em', //'1em', + largeop: FALSE, + movablelimits: FALSE, + accent: FALSE, + linebreak: MML.LINEBREAK.AUTO, + lineleading: "1ex", + linebreakstyle: "before", + indentalign: MML.INDENTALIGN.AUTO, + indentshift: "0", + indenttarget: "", + indentalignfirst: MML.INDENTALIGN.INDENTALIGN, + indentshiftfirst: MML.INDENTSHIFT.INDENTSHIFT, + indentalignlast: MML.INDENTALIGN.INDENTALIGN, + indentshiftlast: MML.INDENTSHIFT.INDENTSHIFT, + texClass: MML.TEXCLASS.REL // for MML, but TeX sets ORD explicitly + }, + SPACE_ATTR: {lspace: 0x01, rspace: 0x02, form: 0x04}, + useMMLspacing: 0x07, + autoDefault: function (name,nodefault) { + var def = this.def; + if (!def) { + if (name === "form") {this.useMMLspacing &= ~this.SPACE_ATTR.form; return this.getForm()} + var mo = this.data.join(""); + var forms = [this.Get("form"),MML.FORM.INFIX,MML.FORM.POSTFIX,MML.FORM.PREFIX]; + for (var i = 0, m = forms.length; i < m; i++) { + var data = this.OPTABLE[forms[i]][mo]; + if (data) {def = this.makeDef(data); break} + } + if (!def) {def = this.CheckRange(mo)} + if (!def && nodefault) {def = {}} else { + if (!def) {def = MathJax.Hub.Insert({},this.defaultDef)} + def.form = forms[0]; + this.def = def; + } + } + this.useMMLspacing &= ~(this.SPACE_ATTR[name] || 0); + if (def[name] != null) {return def[name]} + else if (!nodefault) {return this.defaultDef[name]} + return ""; + }, + CheckRange: function (mo) { + var n = mo.charCodeAt(0); + if (mo.charAt(0) === MML.PLANE1) {n = mo.charCodeAt(1) + 0x1D400 - 0xDC00} + for (var i = 0, m = this.RANGES.length; i < m && this.RANGES[i][0] <= n; i++) { + if (n <= this.RANGES[i][1]) { + if (this.RANGES[i][3]) { + var file = MML.optableDir+"/"+this.RANGES[i][3]+".js"; + this.RANGES[i][3] = null; + MathJax.Hub.RestartAfter(MathJax.Ajax.Require(file)); + } + var data = (["ORD","OP","BIN","REL","OPEN","CLOSE","PUNCT","INNER"])[this.RANGES[i][2]]; + data = this.OPTABLE.infix[mo] = MML.mo.OPTYPES[data === "BIN" ? "BIN3" : data]; + return this.makeDef(data); + } + } + return null; + }, + makeDef: function (data) { + if (data[2] == null) {data[2] = this.defaultDef.texClass} + if (!data[3]) {data[3] = {}} + var def = MathJax.Hub.Insert({},data[3]); + def.lspace = this.SPACE[data[0]]; def.rspace = this.SPACE[data[1]]; + def.texClass = data[2]; + return def; + }, + getForm: function () { + var core = this, parent = this.parent, Parent = this.Parent(); + while (Parent && Parent.isEmbellished()) + {core = parent; parent = Parent.parent; Parent = Parent.Parent()} + if (parent && parent.type === "mrow" && parent.NonSpaceLength() !== 1) { + if (parent.FirstNonSpace() === core) {return MML.FORM.PREFIX} + if (parent.LastNonSpace() === core) {return MML.FORM.POSTFIX} + } + return MML.FORM.INFIX; + }, + isEmbellished: function () {return TRUE}, + lineBreak: function () { + var values = this.getValues("linebreak","linebreakstyle"); + if (values.linebreak === MML.LINEBREAK.NEWLINE) { + if (values.linebreakstyle === MML.LINEBREAKSTYLE.INFIXLINEBREAKSTYLE) + {values.linebreakstyle = this.Get("infixlinebreakstyle")} + return values.linebreakstyle; + } + return "none"; + }, + setTeXclass: function (prev) { + this.getValues("lspace","rspace"); // sets useMMLspacing + if (this.useMMLspacing) {this.texClass = MML.TEXCLASS.NONE; return this} + this.texClass = this.Get("texClass"); + if (prev) {this.prevClass = prev.texClass || MML.TEXCLASS.ORD; this.prevLevel = prev.Get("scriptlevel")} + else {this.prevClass = MML.TEXCLASS.NONE} + if (this.texClass === MML.TEXCLASS.BIN && + (this.prevClass === MML.TEXCLASS.NONE || + this.prevClass === MML.TEXCLASS.BIN || + this.prevClass === MML.TEXCLASS.OP || + this.prevClass === MML.TEXCLASS.REL || + this.prevClass === MML.TEXCLASS.OPEN || + this.prevClass === MML.TEXCLASS.PUNCT)) { + this.texClass = MML.TEXCLASS.ORD; + } else if (this.prevClass === MML.TEXCLASS.BIN && + (this.texClass === MML.TEXCLASS.REL || + this.texClass === MML.TEXCLASS.CLOSE || + this.texClass === MML.TEXCLASS.PUNCT)) { + prev.texClass = this.prevClass = MML.TEXCLASS.ORD; + } + return this; + } + }); + + MML.mtext = MML.mbase.Subclass({ + type: "mtext", isToken: TRUE, + isSpacelike: function () {return TRUE}, + texClass: MML.TEXCLASS.ORD, + defaults: { + mathvariant: MML.INHERIT, + mathsize: MML.INHERIT, + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT + } + }); + + MML.mspace = MML.mbase.Subclass({ + type: "mspace", isToken: TRUE, + isSpacelike: function () {return TRUE}, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + width: "0em", + height: "0ex", + depth: "0ex", + linebreak: MML.LINEBREAK.AUTO + }, + lineBreak: function () { + return (this.Get("linebreak") === MML.LINEBREAK.NEWLINE ? + MML.LINEBREAKSTYLE.AFTER : "none"); + } + }); + + MML.ms = MML.mbase.Subclass({ + type: "ms", isToken: TRUE, + texClass: MML.TEXCLASS.ORD, + defaults: { + mathvariant: MML.INHERIT, + mathsize: MML.INHERIT, + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + lquote: '"', + rquote: '"' + } + }); + + MML.mglyph = MML.mbase.Subclass({ + type: "mglyph", isToken: TRUE, + texClass: MML.TEXCLASS.ORD, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + alt: "", + src: "", + width: MML.AUTO, + height: MML.AUTO, + valign: "0em" + } + }); + + MML.mrow = MML.mbase.Subclass({ + type: "mrow", + isSpacelike: MML.mbase.childrenSpacelike, + inferred: FALSE, + isEmbellished: function () { + var isEmbellished = FALSE; + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i] == null) continue; + if (this.data[i].isEmbellished()) { + if (isEmbellished) {return FALSE} + isEmbellished = TRUE; this.core = i; + } else if (!this.data[i].isSpacelike()) {return FALSE} + } + return isEmbellished; + }, + NonSpaceLength: function () { + var n = 0; + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i] && !this.data[i].isSpacelike()) {n++}} + return n; + }, + FirstNonSpace: function () { + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i] && !this.data[i].isSpacelike()) {return this.data[i]}} + return null; + }, + LastNonSpace: function () { + for (var i = this.data.length-1; i >= 0; i--) + {if (this.data[0] && !this.data[i].isSpacelike()) {return this.data[i]}} + return null; + }, + Core: function () { + if (!(this.isEmbellished()) || typeof(this.core) === "undefined") {return this} + return this.data[this.core]; + }, + CoreMO: function () { + if (!(this.isEmbellished()) || typeof(this.core) === "undefined") {return this} + return this.data[this.core].CoreMO(); + }, + toString: function () { + if (this.inferred) {return '[' + this.data.join(',') + ']'} + return this.SUPER(arguments).toString.call(this); + }, + setTeXclass: function (prev) { + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {prev = this.data[i].setTeXclass(prev)}} + if (this.data[0]) {this.updateTeXclass(this.data[0])} + return prev; + } + }); + + MML.mfrac = MML.mbase.Subclass({ + type: "mfrac", num: 0, den: 1, + texClass: MML.TEXCLASS.INNER, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + linethickness: MML.LINETHICKNESS.MEDIUM, + numalign: MML.ALIGN.CENTER, + denomalign: MML.ALIGN.CENTER, + bevelled: FALSE + }, + adjustChild_displaystyle: function (n) {return FALSE}, + adjustChild_scriptlevel: function (n) { + var level = this.Get("scriptlevel"); + if (!this.Get("displaystyle") || level > 0) {level++} + return level; + }, + adjustChild_texprimestyle: function (n) { + if (n == this.den) {return true} + return this.Get("texprimestyle"); + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.msqrt = MML.mbase.Subclass({ + type: "msqrt", + inferRow: TRUE, + texClass: MML.TEXCLASS.ORD, + setTeXclass: MML.mbase.setSeparateTeXclasses, + adjustChild_texprimestyle: function (n) {return TRUE} + }); + + MML.mroot = MML.mbase.Subclass({ + type: "mroot", + texClass: MML.TEXCLASS.ORD, + adjustChild_displaystyle: function (n) { + if (n === 1) {return FALSE} + return this.Get("displaystyle"); + }, + adjustChild_scriptlevel: function (n) { + var level = this.Get("scriptlevel"); + if (n === 1) {level += 2} + return level; + }, + adjustChild_texprimestyle: function (n) { + if (n === 0) {return TRUE}; + return this.Get("texprimestyle"); + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.mstyle = MML.mbase.Subclass({ + type: "mstyle", + isSpacelike: MML.mbase.childrenSpacelike, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + inferRow: TRUE, + defaults: { + scriptlevel: MML.INHERIT, + displaystyle: MML.INHERIT, + scriptsizemultiplier: Math.sqrt(1/2), + scriptminsize: "8pt", + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + infixlinebreakstyle: MML.LINEBREAKSTYLE.BEFORE, + decimalseparator: "." + }, + adjustChild_scriptlevel: function (n) { + var level = this.scriptlevel; + if (level == null) { + level = this.Get("scriptlevel"); + } else if (String(level).match(/^ *[-+]/)) { + delete this.scriptlevel; + var LEVEL = this.Get("scriptlevel"); + this.scriptlevel = level; + level = LEVEL + parseInt(level); + } + return level; + }, + inheritFromMe: TRUE, + noInherit: { + mpadded: {width: TRUE, height: TRUE, depth: TRUE, lspace: TRUE, voffset: TRUE}, + mtable: {width: TRUE, height: TRUE, depth: TRUE, align: TRUE} + }, + setTeXclass: MML.mbase.setChildTeXclass + }); + + MML.merror = MML.mbase.Subclass({ + type: "merror", + inferRow: TRUE, + texClass: MML.TEXCLASS.ORD + }); + + MML.mpadded = MML.mbase.Subclass({ + type: "mpadded", + inferRow: TRUE, + isSpacelike: MML.mbase.childrenSpacelike, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + width: "", + height: "", + depth: "", + lspace: 0, + voffset: 0 + }, + setTeXclass: MML.mbase.setChildTeXclass + }); + + MML.mphantom = MML.mbase.Subclass({ + type: "mphantom", + texClass: MML.TEXCLASS.ORD, + inferRow: TRUE, + isSpacelike: MML.mbase.childrenSpacelike, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + setTeXclass: MML.mbase.setChildTeXclass + }); + + MML.mfenced = MML.mbase.Subclass({ + type: "mfenced", + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + open: '(', + close: ')', + separators: ',' + }, + texClass: MML.TEXCLASS.OPEN, + setTeXclass: function (prev) { + this.getPrevClass(prev); + var values = this.getValues("open","close","separators"); + values.open = values.open.replace(/[ \t\n\r]/g,""); + values.close = values.close.replace(/[ \t\n\r]/g,""); + values.separators = values.separators.replace(/[ \t\n\r]/g,""); + // create a fake node for the open item + if (values.open !== "") { + this.SetData("open",MML.mo(values.open).With({stretchy:true, texClass:MML.TEXCLASS.OPEN})); + prev = this.data.open.setTeXclass(prev); + } + // get the separators + if (values.separators !== "") { + while (values.separators.length < this.data.length) + {values.separators += values.separators.charAt(values.separators.length-1)} + } + // handle the first item, if any + if (this.data[0]) {prev = this.data[0].setTeXclass(prev)} + // add fake nodes for separators and handle the following item + for (var i = 1, m = this.data.length; i < m; i++) { + if (this.data[i]) { + if (values.separators !== "") { + this.SetData("sep"+i,MML.mo(values.separators.charAt(i-1))); + prev = this.data["sep"+i].setTeXclass(prev); + } + prev = this.data[i].setTeXclass(prev); + } + } + // create fake node for the close item + if (values.close !== "") { + this.SetData("close",MML.mo(values.close).With({stretchy:true, texClass:MML.TEXCLASS.CLOSE})); + prev = this.data.close.setTeXclass(prev); + } + // get the data from the open item + this.updateTeXclass(this.data.open); + return prev; + } + }); + + MML.menclose = MML.mbase.Subclass({ + type: "menclose", + inferRow: TRUE, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + notation: MML.NOTATION.LONGDIV, + texClass: MML.TEXCLASS.ORD + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.msubsup = MML.mbase.Subclass({ + type: "msubsup", base: 0, sub: 1, sup: 2, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + subscriptshift: "", + superscriptshift: "", + texClass: MML.AUTO + }, + autoDefault: function (name) { + if (name === "texClass") + {return (this.isEmbellished() ? this.CoreMO().Get(name) : MML.TEXCLASS.ORD)} + return 0; + }, + adjustChild_displaystyle: function (n) { + if (n > 0) {return FALSE} + return this.Get("displaystyle"); + }, + adjustChild_scriptlevel: function (n) { + var level = this.Get("scriptlevel"); + if (n > 0) {level++} + return level; + }, + adjustChild_texprimestyle: function (n) { + if (n === this.sub) {return TRUE} + return this.Get("texprimestyle"); + }, + setTeXclass: MML.mbase.setBaseTeXclasses + }); + + MML.msub = MML.msubsup.Subclass({type: "msub"}); + MML.msup = MML.msubsup.Subclass({type: "msup", sub:2, sup:1}); + MML.mmultiscripts = MML.msubsup.Subclass({ + type: "mmultiscripts", + adjustChild_texprimestyle: function (n) { + if (n % 2 === 1) {return TRUE} + return this.Get("texprimestyle"); + } + }); + MML.mprescripts = MML.mbase.Subclass({type: "mprescripts"}); + MML.none = MML.mbase.Subclass({type: "none"}); + + MML.munderover = MML.mbase.Subclass({ + type: "munderover", + base: 0, under: 1, over: 2, sub: 1, sup: 2, + ACCENTS: ["", "accentunder", "accent"], + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + accent: MML.AUTO, + accentunder: MML.AUTO, + align: MML.ALIGN.CENTER, + texClass: MML.AUTO, + subscriptshift: "", // when converted to msubsup by moveablelimits + superscriptshift: "" // when converted to msubsup by moveablelimits + }, + autoDefault: function (name) { + if (name === "texClass") + {return (this.isEmbellished() ? this.CoreMO().Get(name) : MML.TEXCLASS.ORD)} + if (name === "accent" && this.data[this.over]) {return this.data[this.over].CoreMO().Get("accent")} + if (name === "accentunder" && this.data[this.under]) {return this.data[this.under].CoreMO().Get("accent")} + return FALSE; + }, + adjustChild_displaystyle: function (n) { + if (n > 0) {return FALSE} + return this.Get("displaystyle"); + }, + adjustChild_scriptlevel: function (n) { + var level = this.Get("scriptlevel"); + if (n == this.under && !this.Get("accentunder")) {level++} + if (n == this.over && !this.Get("accent")) {level++} + return level; + }, + adjustChild_texprimestyle: function (n) { + if (n === this.base && this.data[this.over]) {return TRUE} + return this.Get("texprimestyle"); + }, + setTeXclass: MML.mbase.setBaseTeXclasses + }); + + MML.munder = MML.munderover.Subclass({type: "munder"}); + MML.mover = MML.munderover.Subclass({ + type: "mover", over: 1, under: 2, sup: 1, sub: 2, + ACCENTS: ["", "accent", "accentunder"] + }); + + MML.mtable = MML.mbase.Subclass({ + type: "mtable", + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + align: MML.ALIGN.AXIS, + rowalign: MML.ALIGN.BASELINE, + columnalign: MML.ALIGN.CENTER, + groupalign: "{left}", + alignmentscope: TRUE, + columnwidth: MML.WIDTH.AUTO, + width: MML.WIDTH.AUTO, + rowspacing: "1ex", + columnspacing: ".8em", + rowlines: MML.LINES.NONE, + columnlines: MML.LINES.NONE, + frame: MML.LINES.NONE, + framespacing: "0.4em 0.5ex", + equalrows: FALSE, + equalcolumns: FALSE, + displaystyle: FALSE, + side: MML.SIDE.RIGHT, + minlabelspacing: "0.8em", + texClass: MML.TEXCLASS.ORD, + useHeight: 1 + }, + inheritFromMe: TRUE, + noInherit: { + mtable: { + align: TRUE, rowalign: TRUE, columnalign: TRUE, groupalign: TRUE, + alignmentscope: TRUE, columnwidth: TRUE, width: TRUE, rowspacing: TRUE, + columnspacing: TRUE, rowlines: TRUE, columnlines: TRUE, frame: TRUE, + framespacing: TRUE, equalrows: TRUE, equalcolumns: TRUE, + side: TRUE, minlabelspacing: TRUE, texClass: TRUE, useHeight: 1 + } + }, + Append: function () { + for (var i = 0, m = arguments.length; i < m; i++) { + if (!((arguments[i] instanceof MML.mtr) || + (arguments[i] instanceof MML.mlabeledtr))) {arguments[i] = MML.mtd(arguments[i])} + } + this.SUPER(arguments).Append.apply(this,arguments); + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.mtr = MML.mbase.Subclass({ + type: "mtr", + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + rowalign: MML.INHERIT, + columnalign: MML.INHERIT, + groupalign: MML.INHERIT + }, + inheritFromMe: TRUE, + noInherit: { + mrow: {rowalign: TRUE, columnalign: TRUE, groupalign: TRUE}, + mtable: {rowalign: TRUE, columnalign: TRUE, groupalign: TRUE} + }, + Append: function () { + for (var i = 0, m = arguments.length; i < m; i++) { + if (!(arguments[i] instanceof MML.mtd)) {arguments[i] = MML.mtd(arguments[i])} + } + this.SUPER(arguments).Append.apply(this,arguments); + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.mtd = MML.mbase.Subclass({ + type: "mtd", + inferRow: TRUE, + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + rowspan: 1, + columnspan: 1, + rowalign: MML.INHERIT, + columnalign: MML.INHERIT, + groupalign: MML.INHERIT + }, + setTeXclass: MML.mbase.setSeparateTeXclasses + }); + + MML.maligngroup = MML.mbase.Subclass({ + type: "malign", + isSpacelike: function () {return TRUE}, + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + groupalign: MML.INHERIT + }, + inheritFromMe: TRUE, + noInherit: { + mrow: {groupalign: TRUE}, + mtable: {groupalign: TRUE} + } + }); + + MML.malignmark = MML.mbase.Subclass({ + type: "malignmark", + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + edge: MML.SIDE.LEFT + }, + isSpacelike: function () {return TRUE} + }); + + MML.mlabeledtr = MML.mtr.Subclass({ + type: "mlabeledtr" + }); + + MML.maction = MML.mbase.Subclass({ + type: "maction", + defaults: { + mathbackground: MML.INHERIT, + mathcolor: MML.INHERIT, + actiontype: MML.ACTIONTYPE.TOGGLE, + selection: 1 + }, + selected: function () {return this.data[this.Get("selection")-1] || MML.NULL}, + isEmbellished: function () {return this.selected().isEmbellished()}, + isSpacelike: function () {return this.selected().isSpacelike()}, + Core: function () {return this.selected().Core()}, + CoreMO: function () {return this.selected().CoreMO()}, + setTeXclass: function (prev) {return this.selected().setTeXclass(prev)} + }); + + MML.semantics = MML.mbase.Subclass({ + type: "semantics", + isEmbellished: MML.mbase.childEmbellished, + Core: MML.mbase.childCore, + CoreMO: MML.mbase.childCoreMO, + defaults: { + definitionURL: null, + encoding: null + }, + setTeXclass: MML.mbase.setChildTeXclass + }); + MML.annotation = MML.mbase.Subclass({ + type: "annotation", isToken: TRUE, + defaults: { + definitionURL: null, + encoding: null, + cd: "mathmlkeys", + name: "", + src: null + } + }); + MML["annotation-xml"] = MML.mbase.Subclass({ + type: "annotation-xml", + defaults: { + definitionURL: null, + encoding: null, + cd: "mathmlkeys", + name: "", + src: null + } + }); + + MML.math = MML.mstyle.Subclass({ + type: "math", + defaults: { + mathvariant: MML.VARIANT.NORMAL, + mathsize: MML.SIZE.NORMAL, + mathcolor: "", // should be "black", but allow it to inherit from surrounding text + mathbackground: MML.COLOR.TRANSPARENT, + scriptlevel: 0, + displaystyle: MML.AUTO, + display: "inline", + maxwidth: "", + overflow: MML.OVERFLOW.LINEBREAK, + altimg: "", + 'altimg-width': "", + 'altimg-height': "", + 'altimg-valign': "", + alttext: "", + cdgroup: "", + scriptsizemultiplier: Math.sqrt(1/2), + scriptminsize: "8px", // should be 8pt, but that's too big + infixlinebreakstyle: MML.LINEBREAKSTYLE.BEFORE, + lineleading: "1ex", + indentshift: "auto", // use user configuration + indentalign: MML.INDENTALIGN.AUTO, + indentalignfirst: MML.INDENTALIGN.INDENTALIGN, + indentshiftfirst: MML.INDENTSHIFT.INDENTSHIFT, + decimalseparator: ".", + texprimestyle: FALSE // is it in TeX's C' style? + }, + autoDefault: function (name) { + if (name === "displaystyle") {return this.Get("display") === "block"} + return ""; + }, + setTeXclass: MML.mbase.setChildTeXclass + }); + + MML.chars = MML.mbase.Subclass({ + type: "chars", + Append: function () {this.data.push.apply(this.data,arguments)}, + value: function () {return this.data.join("")}, + toString: function () {return this.data.join("")} + }); + + MML.entity = MML.mbase.Subclass({ + type: "entity", + Append: function () {this.data.push.apply(this.data,arguments)}, + value: function () { + if (this.data[0].substr(0,2) === "#x") {return parseInt(this.data[0].substr(2),16)} + else if (this.data[0].substr(0,1) === "#") {return parseInt(this.data[0].substr(1))} + else {return 0} // FIXME: look up named entities from table + }, + toString: function () { + var n = this.value(); + if (n <= 0xFFFF) {return String.fromCharCode(n)} + return this.PLANE1 + String.fromCharCode(n-0x1D400+0xDC00); + } + }); + + MML.xml = MML.mbase.Subclass({ + type: "xml", + Init: function () { + this.div = document.createElement("div"); + return this.SUPER(arguments).Init.apply(this,arguments); + }, + Append: function () { + for (var i = 0, m = arguments.length; i < m; i++) { + var node = this.Import(arguments[i]); + this.data.push(node); + this.div.appendChild(node); + } + }, + Import: function (node) { + if (document.importNode) {return document.importNode(node,true)} + // + // IE < 9 doesn't have importNode, so fake it. + // + var nNode, i, m; + if (node.nodeType === 1) { // ELEMENT_NODE + nNode = document.createElement(node.nodeName); + if (node.className) {nNode.className=iNode.className} + for (i = 0, m = node.attributes.length; i < m; i++) { + var attribute = node.attributes[i]; + if (attribute.specified && attribute.nodeValue != null && attribute.nodeValue != '') + {nNode.setAttribute(attribute.nodeName,attribute.nodeValue)} + if (attribute.nodeName === "style") {nNode.style.cssText = attribute.nodeValue} + } + if (node.className) {nNode.className = node.className} + } else if (node.nodeType === 3 || node.nodeType === 4) { // TEXT_NODE or CDATA_SECTION_NODE + nNode = document.createTextNode(node.nodeValue); + } else if (node.nodeType === 8) { // COMMENT_NODE + nNode = document.createComment(node.nodeValue); + } else { + return document.createTextNode(''); + } + for (i = 0, m = node.childNodes.length; i < m; i++) + {nNode.appendChild(this.Import(node.childNodes[i]))} + return nNode; + }, + value: function () {return this.div}, + toString: function () {return this.div.innerHTML} + }); + + MML.TeXAtom = MML.mbase.Subclass({ + type: "texatom", + inferRow: TRUE, + texClass: MML.TEXCLASS.ORD, + setTeXclass: function (prev) { + this.getPrevClass(prev); + this.data[0].setTeXclass(); + return this; + } + }); + + MML.NULL = MML.mbase().With({type:"null"}); + + var TEXCLASS = MML.TEXCLASS; + + var MO = { + ORD: [0,0,TEXCLASS.ORD], + ORD11: [1,1,TEXCLASS.ORD], + ORD21: [2,1,TEXCLASS.ORD], + ORD02: [0,2,TEXCLASS.ORD], + ORD55: [5,5,TEXCLASS.ORD], + OP: [1,2,TEXCLASS.OP,{largeop: true, movablelimits: true, symmetric: true}], + OPFIXED: [1,2,TEXCLASS.OP,{largeop: true, movablelimits: true}], + INTEGRAL: [0,1,TEXCLASS.OP,{largeop: true, symmetric: true}], + INTEGRAL2: [1,2,TEXCLASS.OP,{largeop: true, symmetric: true}], + BIN3: [3,3,TEXCLASS.BIN], + BIN4: [4,4,TEXCLASS.BIN], + BIN01: [0,1,TEXCLASS.BIN], + TALLBIN: [4,4,TEXCLASS.BIN,{stretchy: true}], + BINOP: [4,4,TEXCLASS.BIN,{largeop: true, movablelimits: true}], + REL: [5,5,TEXCLASS.REL], + REL1: [1,1,TEXCLASS.REL,{stretchy: true}], + REL4: [4,4,TEXCLASS.REL], + WIDEREL: [5,5,TEXCLASS.REL,{stretchy: true}], + RELACCENT: [5,5,TEXCLASS.REL,{accent: true, stretchy: true}], + OPEN: [0,0,TEXCLASS.OPEN,{fence: true, stretchy: true, symmetric: true}], + CLOSE: [0,0,TEXCLASS.CLOSE,{fence: true, stretchy: true, symmetric: true}], + INNER: [0,0,TEXCLASS.INNER], + PUNCT: [0,3,TEXCLASS.PUNCT], + ACCENT: [0,0,TEXCLASS.ORD,{accent: true}], + WIDEACCENT: [0,0,TEXCLASS.ORD,{accent: true, stretchy: true}] + }; + + MML.mo.Augment({ + SPACE: [ + '0em', + '0.1111em', + '0.1667em', + '0.2222em', + '0.2667em', + '0.3333em' + ], + RANGES: [ + [0x20,0x7F,TEXCLASS.REL,"BasicLatin"], + [0xA0,0xFF,TEXCLASS.ORD,"Latin1Supplement"], + [0x100,0x17F,TEXCLASS.ORD], + [0x180,0x24F,TEXCLASS.ORD], + [0x2B0,0x2FF,TEXCLASS.ORD,"SpacingModLetters"], + [0x300,0x36F,TEXCLASS.ORD,"CombDiacritMarks"], + [0x370,0x3FF,TEXCLASS.ORD,"GreekAndCoptic"], + [0x1E00,0x1EFF,TEXCLASS.ORD], + [0x2000,0x206F,TEXCLASS.PUNCT,"GeneralPunctuation"], + [0x2070,0x209F,TEXCLASS.ORD], + [0x20A0,0x20CF,TEXCLASS.ORD], + [0x20D0,0x20FF,TEXCLASS.ORD,"CombDiactForSymbols"], + [0x2100,0x214F,TEXCLASS.ORD,"LetterlikeSymbols"], + [0x2150,0x218F,TEXCLASS.ORD], + [0x2190,0x21FF,TEXCLASS.REL,"Arrows"], + [0x2200,0x22FF,TEXCLASS.BIN,"MathOperators"], + [0x2300,0x23FF,TEXCLASS.ORD,"MiscTechnical"], + [0x2460,0x24FF,TEXCLASS.ORD], + [0x25A0,0x25FF,TEXCLASS.ORD,"GeometricShapes"], + [0x2700,0x27BF,TEXCLASS.ORD,"Dingbats"], + [0x27C0,0x27EF,TEXCLASS.ORD,"MiscMathSymbolsA"], + [0x2900,0x297F,TEXCLASS.REL,"SupplementalArrowsB"], + [0x2980,0x29FF,TEXCLASS.ORD,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,TEXCLASS.BIN,"SuppMathOperators"], + [0x2B00,0x2BFF,TEXCLASS.ORD], + [0x1D400,0x1D7FF,TEXCLASS.ORD] + ], + OPTABLE: { + prefix: { + '\u2111': MO.ORD11, // black-letter capital i + '\u2113': MO.ORD11, // script small l + '\u211C': MO.ORD11, // black-letter capital r + '\u2200': MO.ORD21, // for all + '\u2202': MO.ORD21, // partial differential + '\u2203': MO.ORD21, // there exists + '\u2207': MO.ORD21, // nabla + '\u220F': MO.OP, // n-ary product + '\u2210': MO.OP, // n-ary coproduct + '\u2211': MO.OP, // n-ary summation + '\u2212': MO.BIN01, // minus sign + '\u2213': MO.BIN01, // minus-or-plus sign + '\u221A': [1,1,TEXCLASS.ORD,{stretchy: true}], // square root + '\u2220': MO.ORD, // angle + '\u222B': MO.INTEGRAL, // integral + '\u222E': MO.INTEGRAL, // contour integral + '\u22C0': MO.OP, // n-ary logical and + '\u22C1': MO.OP, // n-ary logical or + '\u22C2': MO.OP, // n-ary intersection + '\u22C3': MO.OP, // n-ary union + '\u2308': MO.OPEN, // left ceiling + '\u230A': MO.OPEN, // left floor + '\u27E8': MO.OPEN, // mathematical left angle bracket + '\u2A00': MO.OP, // n-ary circled dot operator + '\u2A01': MO.OP, // n-ary circled plus operator + '\u2A02': MO.OP, // n-ary circled times operator + '\u2A04': MO.OP, // n-ary union operator with plus + '\u2A06': MO.OP, // n-ary square union operator + '\u00AC': MO.ORD21, // not sign + '\u00B1': MO.BIN01, // plus-minus sign + '(': MO.OPEN, // left parenthesis + '+': MO.BIN01, // plus sign + '-': MO.BIN01, // hyphen-minus + '[': MO.OPEN, // left square bracket + '{': MO.OPEN, // left curly bracket + '|': MO.OPEN // vertical line + }, + postfix: { + '!': [1,0,TEXCLASS.CLOSE], // exclamation mark + '&': MO.ORD, // ampersand + '\u2032': MO.ORD02, // prime + '\u203E': MO.WIDEACCENT, // overline + '\u2309': MO.CLOSE, // right ceiling + '\u230B': MO.CLOSE, // right floor + '\u23DE': MO.WIDEACCENT, // top curly bracket + '\u23DF': MO.WIDEACCENT, // bottom curly bracket + '\u266D': MO.ORD02, // music flat sign + '\u266E': MO.ORD02, // music natural sign + '\u266F': MO.ORD02, // music sharp sign + '\u27E9': MO.CLOSE, // mathematical right angle bracket + '\u02C6': MO.WIDEACCENT, // modifier letter circumflex accent + '\u02C7': MO.WIDEACCENT, // caron + '\u02D8': MO.ACCENT, // breve + '\u02D9': MO.ACCENT, // dot above + '\u02DC': MO.WIDEACCENT, // small tilde + '\u0302': MO.ACCENT, // combining circumflex accent + '\u00A8': MO.ACCENT, // diaeresis + '\u00AF': MO.WIDEACCENT, // macron + ')': MO.CLOSE, // right parenthesis + ']': MO.CLOSE, // right square bracket + '^': MO.WIDEACCENT, // circumflex accent + '_': MO.WIDEACCENT, // low line + '`': MO.ACCENT, // grave accent + '|': MO.CLOSE, // vertical line + '}': MO.CLOSE, // right curly bracket + '~': MO.WIDEACCENT // tilde + }, + infix: { + '%': [3,3,TEXCLASS.ORD], // percent sign + '\u2022': MO.BIN4, // bullet + '\u2026': MO.INNER, // horizontal ellipsis + '\u2044': MO.TALLBIN, // fraction slash + '\u2061': MO.ORD, // function application + '\u2062': MO.ORD, // invisible times + '\u2063': [0,0,TEXCLASS.ORD,{separator: true}], // invisible separator + '\u2064': MO.ORD, // invisible plus + '\u2190': MO.RELACCENT, // leftwards arrow + '\u2191': MO.WIDEREL, // upwards arrow + '\u2192': MO.RELACCENT, // rightwards arrow + '\u2193': MO.WIDEREL, // downwards arrow + '\u2194': MO.RELACCENT, // left right arrow + '\u2195': MO.WIDEREL, // up down arrow + '\u2196': MO.WIDEREL, // north west arrow + '\u2197': MO.WIDEREL, // north east arrow + '\u2198': MO.WIDEREL, // south east arrow + '\u2199': MO.WIDEREL, // south west arrow + '\u21A6': MO.WIDEREL, // rightwards arrow from bar + '\u21A9': MO.WIDEREL, // leftwards arrow with hook + '\u21AA': MO.WIDEREL, // rightwards arrow with hook + '\u21BC': MO.RELACCENT, // leftwards harpoon with barb upwards + '\u21BD': MO.WIDEREL, // leftwards harpoon with barb downwards + '\u21C0': MO.RELACCENT, // rightwards harpoon with barb upwards + '\u21C1': MO.WIDEREL, // rightwards harpoon with barb downwards + '\u21CC': MO.WIDEREL, // rightwards harpoon over leftwards harpoon + '\u21D0': MO.WIDEREL, // leftwards double arrow + '\u21D1': MO.WIDEREL, // upwards double arrow + '\u21D2': MO.WIDEREL, // rightwards double arrow + '\u21D3': MO.WIDEREL, // downwards double arrow + '\u21D4': MO.WIDEREL, // left right double arrow + '\u21D5': MO.WIDEREL, // up down double arrow + '\u2208': MO.REL, // element of + '\u2209': MO.REL, // not an element of + '\u220B': MO.REL, // contains as member + '\u2212': MO.BIN4, // minus sign + '\u2213': MO.BIN4, // minus-or-plus sign + '\u2215': MO.TALLBIN, // division slash + '\u2216': MO.BIN4, // set minus + '\u2217': MO.BIN4, // asterisk operator + '\u2218': MO.BIN4, // ring operator + '\u2219': MO.BIN4, // bullet operator + '\u221D': MO.REL, // proportional to + '\u2223': MO.REL, // divides + '\u2225': MO.REL, // parallel to + '\u2227': MO.BIN4, // logical and + '\u2228': MO.BIN4, // logical or + '\u2229': MO.BIN4, // intersection + '\u222A': MO.BIN4, // union + '\u223C': MO.REL, // tilde operator + '\u2240': MO.BIN4, // wreath product + '\u2243': MO.REL, // asymptotically equal to + '\u2245': MO.REL, // approximately equal to + '\u2248': MO.REL, // almost equal to + '\u224D': MO.REL, // equivalent to + '\u2250': MO.REL, // approaches the limit + '\u2260': MO.REL, // not equal to + '\u2261': MO.REL, // identical to + '\u2264': MO.REL, // less-than or equal to + '\u2265': MO.REL, // greater-than or equal to + '\u226A': MO.REL, // much less-than + '\u226B': MO.REL, // much greater-than + '\u227A': MO.REL, // precedes + '\u227B': MO.REL, // succeeds + '\u2282': MO.REL, // subset of + '\u2283': MO.REL, // superset of + '\u2286': MO.REL, // subset of or equal to + '\u2287': MO.REL, // superset of or equal to + '\u228E': MO.BIN4, // multiset union + '\u2291': MO.REL, // square image of or equal to + '\u2292': MO.REL, // square original of or equal to + '\u2293': MO.BIN4, // square cap + '\u2294': MO.BIN4, // square cup + '\u2295': MO.BIN4, // circled plus + '\u2296': MO.BIN4, // circled minus + '\u2297': MO.BIN4, // circled times + '\u2298': MO.BIN4, // circled division slash + '\u2299': MO.BIN4, // circled dot operator + '\u22A2': MO.REL, // right tack + '\u22A3': MO.REL, // left tack + '\u22A4': MO.ORD55, // down tack + '\u22A5': MO.REL, // up tack + '\u22A8': MO.REL, // true + '\u22C4': MO.BIN4, // diamond operator + '\u22C5': MO.BIN4, // dot operator + '\u22C6': MO.BIN4, // star operator + '\u22C8': MO.REL, // bowtie + '\u22EE': MO.ORD55, // vertical ellipsis + '\u22EF': MO.INNER, // midline horizontal ellipsis + '\u22F1': [5,5,TEXCLASS.INNER], // down right diagonal ellipsis + '\u2500': [0,0,TEXCLASS.ORD,{stretchy: true}], // box drawings light horizontal + '\u25B3': MO.BIN4, // white up-pointing triangle + '\u25B5': MO.BIN4, // white up-pointing small triangle + '\u25B9': MO.BIN4, // white right-pointing small triangle + '\u25BD': MO.BIN4, // white down-pointing triangle + '\u25BF': MO.BIN4, // white down-pointing small triangle + '\u25C3': MO.BIN4, // white left-pointing small triangle + '\u2758': [4,4,TEXCLASS.REL,{fence: true, stretchy: true, symmetric: true}], // light vertical bar + '\u27F5': MO.REL1, // long leftwards arrow + '\u27F6': MO.REL1, // long rightwards arrow + '\u27F7': MO.REL1, // long left right arrow + '\u27F8': MO.REL1, // long leftwards double arrow + '\u27F9': MO.REL1, // long rightwards double arrow + '\u27FA': MO.REL1, // long left right double arrow + '\u2A2F': MO.BIN4, // vector or cross product + '\u2A3F': MO.BIN4, // amalgamation or coproduct + '\u2AAF': MO.REL, // precedes above single-line equals sign + '\u2AB0': MO.REL, // succeeds above single-line equals sign + '\u00B1': MO.BIN4, // plus-minus sign + '\u00B7': MO.BIN4, // middle dot + '\u00D7': MO.BIN4, // multiplication sign + '\u00F7': MO.BIN4, // division sign + '*': MO.BIN3, // asterisk + '+': MO.BIN4, // plus sign + ',': [0,3,TEXCLASS.PUNCT,{separator: true}], // comma + '-': MO.BIN4, // hyphen-minus + '.': [3,3,TEXCLASS.ORD], // full stop + '/': MO.ORD11, // solidus + ':': [1,2,TEXCLASS.REL], // colon + ';': [0,3,TEXCLASS.PUNCT,{separator: true}], // semicolon + '<': MO.REL, // less-than sign + '=': MO.REL, // equals sign + '>': MO.REL, // greater-than sign + '?': [1,1,TEXCLASS.CLOSE], // question mark + '\\': MO.ORD, // reverse solidus + '_': MO.ORD11, // low line + '|': [2,2,TEXCLASS.ORD,{fence: true, stretchy: true, symmetric: true}], // vertical line + '#': MO.ORD, // # + '$': MO.ORD, // $ + '\u002E': [0,3,TEXCLASS.PUNCT,{separator: true}], // \ldotp + '\u02B9': MO.ORD, // prime + '\u02C9': MO.ACCENT, // \bar + '\u02CA': MO.ACCENT, // \acute + '\u02CB': MO.ACCENT, // \grave + '\u0300': MO.ACCENT, // \grave + '\u0301': MO.ACCENT, // \acute + '\u0303': MO.WIDEACCENT, // \tilde + '\u0304': MO.ACCENT, // \bar + '\u0306': MO.ACCENT, // \breve + '\u0307': MO.ACCENT, // \dot + '\u0308': MO.ACCENT, // \ddot + '\u030C': MO.ACCENT, // \check + '\u0332': MO.WIDEACCENT, // horizontal line + '\u0338': MO.REL4, // \not + '\u2015': [0,0,TEXCLASS.ORD,{stretchy: true}], // horizontal line + '\u2017': [0,0,TEXCLASS.ORD,{stretchy: true}], // horizontal line + '\u2020': MO.BIN3, // \dagger + '\u2021': MO.BIN3, // \ddagger + '\u20D7': MO.ACCENT, // \vec + '\u2118': MO.ORD, // \wp + '\u2205': MO.ORD, // \emptyset + '\u221E': MO.ORD, // \infty + '\u2305': MO.BIN3, // barwedge + '\u2306': MO.BIN3, // doublebarwedge + '\u2322': MO.REL4, // \frown + '\u2323': MO.REL4, // \smile + '\u2329': MO.OPEN, // langle + '\u232A': MO.CLOSE, // rangle + '\u23AA': MO.ORD, // \bracevert + '\u23AF': [0,0,TEXCLASS.ORD,{stretchy: true}], // \underline + '\u23B0': MO.OPEN, // \lmoustache + '\u23B1': MO.CLOSE, // \rmoustache + '\u25EF': MO.BIN3, // \bigcirc + '\u2660': MO.ORD, // \spadesuit + '\u2661': MO.ORD, // \heartsuit + '\u2662': MO.ORD, // \diamondsuit + '\u2663': MO.ORD, // \clubsuit + '\u27EE': MO.OPEN, // \lgroup + '\u27EF': MO.CLOSE, // \rgroup + '\u27FC': MO.REL4, // \longmapsto + '\u3008': MO.OPEN, // langle + '\u3009': MO.CLOSE, // rangle + '\uFE37': MO.WIDEACCENT, // horizontal brace down + '\uFE38': MO.WIDEACCENT // horizontal brace up + } + } + },{ + OPTYPES: MO + }); + +})(MathJax.ElementJax.mml); + +MathJax.ElementJax.mml.loadComplete("jax.js"); diff --git a/modules/MathJax/jax/element/mml/optable/Arrows.js b/modules/MathJax/jax/element/mml/optable/Arrows.js new file mode 100644 index 0000000..c148da4 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/Arrows.js @@ -0,0 +1,122 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/Arrows.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + infix: { + '\u219A': MO.REL, // leftwards arrow with stroke + '\u219B': MO.REL, // rightwards arrow with stroke + '\u219C': MO.WIDEREL, // leftwards wave arrow + '\u219D': MO.WIDEREL, // rightwards wave arrow + '\u219E': MO.WIDEREL, // leftwards two headed arrow + '\u219F': MO.WIDEREL, // upwards two headed arrow + '\u21A0': MO.WIDEREL, // rightwards two headed arrow + '\u21A1': MO.WIDEREL, // downwards two headed arrow + '\u21A2': MO.WIDEREL, // leftwards arrow with tail + '\u21A3': MO.WIDEREL, // rightwards arrow with tail + '\u21A4': MO.WIDEREL, // leftwards arrow from bar + '\u21A5': MO.WIDEREL, // upwards arrow from bar + '\u21A7': MO.WIDEREL, // downwards arrow from bar + '\u21A8': MO.WIDEREL, // up down arrow with base + '\u21AB': MO.WIDEREL, // leftwards arrow with loop + '\u21AC': MO.WIDEREL, // rightwards arrow with loop + '\u21AD': MO.WIDEREL, // left right wave arrow + '\u21AE': MO.REL, // left right arrow with stroke + '\u21AF': MO.WIDEREL, // downwards zigzag arrow + '\u21B0': MO.WIDEREL, // upwards arrow with tip leftwards + '\u21B1': MO.WIDEREL, // upwards arrow with tip rightwards + '\u21B2': MO.WIDEREL, // downwards arrow with tip leftwards + '\u21B3': MO.WIDEREL, // downwards arrow with tip rightwards + '\u21B4': MO.WIDEREL, // rightwards arrow with corner downwards + '\u21B5': MO.WIDEREL, // downwards arrow with corner leftwards + '\u21B6': MO.REL, // anticlockwise top semicircle arrow + '\u21B7': MO.REL, // clockwise top semicircle arrow + '\u21B8': MO.REL, // north west arrow to long bar + '\u21B9': MO.WIDEREL, // leftwards arrow to bar over rightwards arrow to bar + '\u21BA': MO.REL, // anticlockwise open circle arrow + '\u21BB': MO.REL, // clockwise open circle arrow + '\u21BE': MO.WIDEREL, // upwards harpoon with barb rightwards + '\u21BF': MO.WIDEREL, // upwards harpoon with barb leftwards + '\u21C2': MO.WIDEREL, // downwards harpoon with barb rightwards + '\u21C3': MO.WIDEREL, // downwards harpoon with barb leftwards + '\u21C4': MO.WIDEREL, // rightwards arrow over leftwards arrow + '\u21C5': MO.WIDEREL, // upwards arrow leftwards of downwards arrow + '\u21C6': MO.WIDEREL, // leftwards arrow over rightwards arrow + '\u21C7': MO.WIDEREL, // leftwards paired arrows + '\u21C8': MO.WIDEREL, // upwards paired arrows + '\u21C9': MO.WIDEREL, // rightwards paired arrows + '\u21CA': MO.WIDEREL, // downwards paired arrows + '\u21CB': MO.WIDEREL, // leftwards harpoon over rightwards harpoon + '\u21CD': MO.REL, // leftwards double arrow with stroke + '\u21CE': MO.REL, // left right double arrow with stroke + '\u21CF': MO.REL, // rightwards double arrow with stroke + '\u21D6': MO.WIDEREL, // north west double arrow + '\u21D7': MO.WIDEREL, // north east double arrow + '\u21D8': MO.WIDEREL, // south east double arrow + '\u21D9': MO.WIDEREL, // south west double arrow + '\u21DA': MO.WIDEREL, // leftwards triple arrow + '\u21DB': MO.WIDEREL, // rightwards triple arrow + '\u21DC': MO.WIDEREL, // leftwards squiggle arrow + '\u21DD': MO.WIDEREL, // rightwards squiggle arrow + '\u21DE': MO.REL, // upwards arrow with double stroke + '\u21DF': MO.REL, // downwards arrow with double stroke + '\u21E0': MO.WIDEREL, // leftwards dashed arrow + '\u21E1': MO.WIDEREL, // upwards dashed arrow + '\u21E2': MO.WIDEREL, // rightwards dashed arrow + '\u21E3': MO.WIDEREL, // downwards dashed arrow + '\u21E4': MO.WIDEREL, // leftwards arrow to bar + '\u21E5': MO.WIDEREL, // rightwards arrow to bar + '\u21E6': MO.WIDEREL, // leftwards white arrow + '\u21E7': MO.WIDEREL, // upwards white arrow + '\u21E8': MO.WIDEREL, // rightwards white arrow + '\u21E9': MO.WIDEREL, // downwards white arrow + '\u21EA': MO.WIDEREL, // upwards white arrow from bar + '\u21EB': MO.WIDEREL, // upwards white arrow on pedestal + '\u21EC': MO.WIDEREL, // upwards white arrow on pedestal with horizontal bar + '\u21ED': MO.WIDEREL, // upwards white arrow on pedestal with vertical bar + '\u21EE': MO.WIDEREL, // upwards white double arrow + '\u21EF': MO.WIDEREL, // upwards white double arrow on pedestal + '\u21F0': MO.WIDEREL, // rightwards white arrow from wall + '\u21F1': MO.REL, // north west arrow to corner + '\u21F2': MO.REL, // south east arrow to corner + '\u21F3': MO.WIDEREL, // up down white arrow + '\u21F4': MO.REL, // right arrow with small circle + '\u21F5': MO.WIDEREL, // downwards arrow leftwards of upwards arrow + '\u21F6': MO.WIDEREL, // three rightwards arrows + '\u21F7': MO.REL, // leftwards arrow with vertical stroke + '\u21F8': MO.REL, // rightwards arrow with vertical stroke + '\u21F9': MO.REL, // left right arrow with vertical stroke + '\u21FA': MO.REL, // leftwards arrow with double vertical stroke + '\u21FB': MO.REL, // rightwards arrow with double vertical stroke + '\u21FC': MO.REL, // left right arrow with double vertical stroke + '\u21FD': MO.WIDEREL, // leftwards open-headed arrow + '\u21FE': MO.WIDEREL, // rightwards open-headed arrow + '\u21FF': MO.WIDEREL // left right open-headed arrow + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/Arrows.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/BasicLatin.js b/modules/MathJax/jax/element/mml/optable/BasicLatin.js new file mode 100644 index 0000000..fd47f2b --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/BasicLatin.js @@ -0,0 +1,58 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/BasicLatin.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '!!': [1,0,TEXCLASS.BIN], // multiple character operator: !! + '\'': MO.ACCENT, // apostrophe + '++': [0,0,TEXCLASS.BIN], // multiple character operator: ++ + '--': [0,0,TEXCLASS.BIN], // multiple character operator: -- + '..': [0,0,TEXCLASS.BIN], // multiple character operator: .. + '...': MO.ORD // multiple character operator: ... + }, + infix: { + '!=': MO.BIN4, // multiple character operator: != + '&&': MO.BIN4, // multiple character operator: && + '**': [1,1,TEXCLASS.BIN], // multiple character operator: ** + '*=': MO.BIN4, // multiple character operator: *= + '+=': MO.BIN4, // multiple character operator: += + '-=': MO.BIN4, // multiple character operator: -= + '->': MO.BIN4, // multiple character operator: -> + '//': MO.BIN4, // multiple character operator: // + '/=': MO.BIN4, // multiple character operator: /= + ':=': MO.BIN4, // multiple character operator: := + '<=': MO.BIN4, // multiple character operator: <= + '<>': [1,1,TEXCLASS.BIN], // multiple character operator: <> + '==': MO.BIN4, // multiple character operator: == + '>=': MO.BIN4, // multiple character operator: >= + '@': MO.ORD11, // commercial at + '||': MO.BIN3 // multiple character operator: || + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/BasicLatin.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/CombDiacritMarks.js b/modules/MathJax/jax/element/mml/optable/CombDiacritMarks.js new file mode 100644 index 0000000..a4675c4 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/CombDiacritMarks.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/CombDiacritMarks.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '\u0311': MO.ACCENT // combining inverted breve + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/CombDiacritMarks.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/CombDiactForSymbols.js b/modules/MathJax/jax/element/mml/optable/CombDiactForSymbols.js new file mode 100644 index 0000000..66bf3e6 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/CombDiactForSymbols.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/CombDiactForSymbols.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '\u20DB': MO.ACCENT // combining three dots above + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/CombDiactForSymbols.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/Dingbats.js b/modules/MathJax/jax/element/mml/optable/Dingbats.js new file mode 100644 index 0000000..2e4d46d --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/Dingbats.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/Dingbats.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + infix: { + '\u2713': MO.WIDEACCENT // check mark + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/Dingbats.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/GeneralPunctuation.js b/modules/MathJax/jax/element/mml/optable/GeneralPunctuation.js new file mode 100644 index 0000000..636950c --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/GeneralPunctuation.js @@ -0,0 +1,40 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/GeneralPunctuation.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u2018': [0,0,TEXCLASS.OPEN,{fence: true}], // left single quotation mark + '\u201C': [0,0,TEXCLASS.OPEN,{fence: true}] // left double quotation mark + }, + postfix: { + '\u2019': [0,0,TEXCLASS.CLOSE,{fence: true}], // right single quotation mark + '\u201D': [0,0,TEXCLASS.CLOSE,{fence: true}] // right double quotation mark + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/GeneralPunctuation.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/GeometricShapes.js b/modules/MathJax/jax/element/mml/optable/GeometricShapes.js new file mode 100644 index 0000000..4f373d0 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/GeometricShapes.js @@ -0,0 +1,66 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/GeometricShapes.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + infix: { + '\u25A0': MO.BIN3, // black square + '\u25A1': MO.BIN3, // white square + '\u25AA': MO.BIN3, // black small square + '\u25AB': MO.BIN3, // white small square + '\u25AD': MO.BIN3, // white rectangle + '\u25AE': MO.BIN3, // black vertical rectangle + '\u25AF': MO.BIN3, // white vertical rectangle + '\u25B0': MO.BIN3, // black parallelogram + '\u25B1': MO.BIN3, // white parallelogram + '\u25B2': MO.BIN4, // black up-pointing triangle + '\u25B4': MO.BIN4, // black up-pointing small triangle + '\u25B6': MO.BIN4, // black right-pointing triangle + '\u25B7': MO.BIN4, // white right-pointing triangle + '\u25B8': MO.BIN4, // black right-pointing small triangle + '\u25BC': MO.BIN4, // black down-pointing triangle + '\u25BE': MO.BIN4, // black down-pointing small triangle + '\u25C0': MO.BIN4, // black left-pointing triangle + '\u25C1': MO.BIN4, // white left-pointing triangle + '\u25C2': MO.BIN4, // black left-pointing small triangle + '\u25C4': MO.BIN4, // black left-pointing pointer + '\u25C5': MO.BIN4, // white left-pointing pointer + '\u25C6': MO.BIN4, // black diamond + '\u25C7': MO.BIN4, // white diamond + '\u25C8': MO.BIN4, // white diamond containing black small diamond + '\u25C9': MO.BIN4, // fisheye + '\u25CC': MO.BIN4, // dotted circle + '\u25CD': MO.BIN4, // circle with vertical fill + '\u25CE': MO.BIN4, // bullseye + '\u25CF': MO.BIN4, // black circle + '\u25D6': MO.BIN4, // left half black circle + '\u25D7': MO.BIN4, // right half black circle + '\u25E6': MO.BIN4 // white bullet + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/GeometricShapes.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/GreekAndCoptic.js b/modules/MathJax/jax/element/mml/optable/GreekAndCoptic.js new file mode 100644 index 0000000..9c36401 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/GreekAndCoptic.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/GreekAndCoptic.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u03C3': MO.ORD11 // greek small letter sigma + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/GreekAndCoptic.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/Latin1Supplement.js b/modules/MathJax/jax/element/mml/optable/Latin1Supplement.js new file mode 100644 index 0000000..2f426e7 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/Latin1Supplement.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/Latin1Supplement.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '\u00B0': MO.ORD, // degree sign + '\u00B4': MO.ACCENT, // acute accent + '\u00B8': MO.ACCENT // cedilla + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/Latin1Supplement.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/LetterlikeSymbols.js b/modules/MathJax/jax/element/mml/optable/LetterlikeSymbols.js new file mode 100644 index 0000000..36514ab --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/LetterlikeSymbols.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/LetterlikeSymbols.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u2145': MO.ORD21, // double-struck italic capital d + '\u2146': [2,0,TEXCLASS.ORD], // double-struck italic small d + '\u2147': MO.ORD, // double-struck italic small e + '\u2148': MO.ORD, // double-struck italic small i + '\u2149': MO.ORD // double-struck italic small j + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/LetterlikeSymbols.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/MathOperators.js b/modules/MathJax/jax/element/mml/optable/MathOperators.js new file mode 100644 index 0000000..9e4cf15 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/MathOperators.js @@ -0,0 +1,228 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/MathOperators.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u2204': MO.ORD21, // there does not exist + '\u221B': MO.ORD11, // cube root + '\u221C': MO.ORD11, // fourth root + '\u2221': MO.ORD, // measured angle + '\u2222': MO.ORD, // spherical angle + '\u222C': MO.INTEGRAL, // double integral + '\u222D': MO.INTEGRAL, // triple integral + '\u222F': MO.INTEGRAL, // surface integral + '\u2230': MO.INTEGRAL, // volume integral + '\u2231': MO.INTEGRAL, // clockwise integral + '\u2232': MO.INTEGRAL, // clockwise contour integral + '\u2233': MO.INTEGRAL // anticlockwise contour integral + }, + infix: { + '\u2201': [1,2,TEXCLASS.ORD], // complement + '\u2206': MO.BIN3, // increment + '\u220A': MO.REL, // small element of + '\u220C': MO.REL, // does not contain as member + '\u220D': MO.REL, // small contains as member + '\u220E': MO.BIN3, // end of proof + '\u2214': MO.BIN4, // dot plus + '\u221F': MO.REL, // right angle + '\u2224': MO.REL, // does not divide + '\u2226': MO.REL, // not parallel to + '\u2234': MO.REL, // therefore + '\u2235': MO.REL, // because + '\u2236': MO.REL, // ratio + '\u2237': MO.REL, // proportion + '\u2238': MO.BIN4, // dot minus + '\u2239': MO.REL, // excess + '\u223A': MO.BIN4, // geometric proportion + '\u223B': MO.REL, // homothetic + '\u223D': MO.REL, // reversed tilde + '\u223D\u0331': MO.BIN3, // reversed tilde with underline + '\u223E': MO.REL, // inverted lazy s + '\u223F': MO.BIN3, // sine wave + '\u2241': MO.REL, // not tilde + '\u2242': MO.REL, // minus tilde + '\u2242\u0338': MO.BIN4, // minus tilde with slash + '\u2244': MO.REL, // not asymptotically equal to + '\u2246': MO.REL, // approximately but not actually equal to + '\u2247': MO.REL, // neither approximately nor actually equal to + '\u2249': MO.REL, // not almost equal to + '\u224A': MO.REL, // almost equal or equal to + '\u224B': MO.REL, // triple tilde + '\u224C': MO.REL, // all equal to + '\u224E': MO.REL, // geometrically equivalent to + '\u224E\u0338': MO.BIN4, // geometrically equivalent to with slash + '\u224F': MO.REL, // difference between + '\u224F\u0338': MO.BIN4, // difference between with slash + '\u2251': MO.REL, // geometrically equal to + '\u2252': MO.REL, // approximately equal to or the image of + '\u2253': MO.REL, // image of or approximately equal to + '\u2254': MO.REL, // colon equals + '\u2255': MO.REL, // equals colon + '\u2256': MO.REL, // ring in equal to + '\u2257': MO.REL, // ring equal to + '\u2258': MO.REL, // corresponds to + '\u2259': MO.REL, // estimates + '\u225A': MO.REL, // equiangular to + '\u225C': MO.REL, // delta equal to + '\u225D': MO.REL, // equal to by definition + '\u225E': MO.REL, // measured by + '\u225F': MO.REL, // questioned equal to + '\u2262': MO.REL, // not identical to + '\u2263': MO.REL, // strictly equivalent to + '\u2266': MO.REL, // less-than over equal to + '\u2266\u0338': MO.BIN4, // less-than over equal to with slash + '\u2267': MO.REL, // greater-than over equal to + '\u2268': MO.REL, // less-than but not equal to + '\u2269': MO.REL, // greater-than but not equal to + '\u226A\u0338': MO.BIN4, // much less than with slash + '\u226B\u0338': MO.BIN4, // much greater than with slash + '\u226C': MO.REL, // between + '\u226D': MO.REL, // not equivalent to + '\u226E': MO.REL, // not less-than + '\u226F': MO.REL, // not greater-than + '\u2270': MO.REL, // neither less-than nor equal to + '\u2271': MO.REL, // neither greater-than nor equal to + '\u2272': MO.REL, // less-than or equivalent to + '\u2273': MO.REL, // greater-than or equivalent to + '\u2274': MO.REL, // neither less-than nor equivalent to + '\u2275': MO.REL, // neither greater-than nor equivalent to + '\u2276': MO.REL, // less-than or greater-than + '\u2277': MO.REL, // greater-than or less-than + '\u2278': MO.REL, // neither less-than nor greater-than + '\u2279': MO.REL, // neither greater-than nor less-than + '\u227C': MO.REL, // precedes or equal to + '\u227D': MO.REL, // succeeds or equal to + '\u227E': MO.REL, // precedes or equivalent to + '\u227F': MO.REL, // succeeds or equivalent to + '\u227F\u0338': MO.BIN4, // succeeds or equivalent to with slash + '\u2280': MO.REL, // does not precede + '\u2281': MO.REL, // does not succeed + '\u2282\u20D2': MO.BIN4, // subset of with vertical line + '\u2283\u20D2': MO.BIN4, // superset of with vertical line + '\u2284': MO.REL, // not a subset of + '\u2285': MO.REL, // not a superset of + '\u2288': MO.REL, // neither a subset of nor equal to + '\u2289': MO.REL, // neither a superset of nor equal to + '\u228A': MO.REL, // subset of with not equal to + '\u228B': MO.REL, // superset of with not equal to + '\u228C': MO.BIN4, // multiset + '\u228D': MO.BIN4, // multiset multiplication + '\u228F': MO.REL, // square image of + '\u228F\u0338': MO.BIN4, // square image of with slash + '\u2290': MO.REL, // square original of + '\u2290\u0338': MO.BIN4, // square original of with slash + '\u229A': MO.BIN4, // circled ring operator + '\u229B': MO.BIN4, // circled asterisk operator + '\u229C': MO.BIN4, // circled equals + '\u229D': MO.BIN4, // circled dash + '\u229E': MO.BIN4, // squared plus + '\u229F': MO.BIN4, // squared minus + '\u22A0': MO.BIN4, // squared times + '\u22A1': MO.BIN4, // squared dot operator + '\u22A6': MO.REL, // assertion + '\u22A7': MO.REL, // models + '\u22A9': MO.REL, // forces + '\u22AA': MO.REL, // triple vertical bar right turnstile + '\u22AB': MO.REL, // double vertical bar double right turnstile + '\u22AC': MO.REL, // does not prove + '\u22AD': MO.REL, // not true + '\u22AE': MO.REL, // does not force + '\u22AF': MO.REL, // negated double vertical bar double right turnstile + '\u22B0': MO.REL, // precedes under relation + '\u22B1': MO.REL, // succeeds under relation + '\u22B2': MO.REL, // normal subgroup of + '\u22B3': MO.REL, // contains as normal subgroup + '\u22B4': MO.REL, // normal subgroup of or equal to + '\u22B5': MO.REL, // contains as normal subgroup or equal to + '\u22B6': MO.REL, // original of + '\u22B7': MO.REL, // image of + '\u22B8': MO.REL, // multimap + '\u22B9': MO.REL, // hermitian conjugate matrix + '\u22BA': MO.BIN4, // intercalate + '\u22BB': MO.BIN4, // xor + '\u22BC': MO.BIN4, // nand + '\u22BD': MO.BIN4, // nor + '\u22BE': MO.BIN3, // right angle with arc + '\u22BF': MO.BIN3, // right triangle + '\u22C7': MO.BIN4, // division times + '\u22C9': MO.BIN4, // left normal factor semidirect product + '\u22CA': MO.BIN4, // right normal factor semidirect product + '\u22CB': MO.BIN4, // left semidirect product + '\u22CC': MO.BIN4, // right semidirect product + '\u22CD': MO.REL, // reversed tilde equals + '\u22CE': MO.BIN4, // curly logical or + '\u22CF': MO.BIN4, // curly logical and + '\u22D0': MO.REL, // double subset + '\u22D1': MO.REL, // double superset + '\u22D2': MO.BIN4, // double intersection + '\u22D3': MO.BIN4, // double union + '\u22D4': MO.REL, // pitchfork + '\u22D5': MO.REL, // equal and parallel to + '\u22D6': MO.REL, // less-than with dot + '\u22D7': MO.REL, // greater-than with dot + '\u22D8': MO.REL, // very much less-than + '\u22D9': MO.REL, // very much greater-than + '\u22DA': MO.REL, // less-than equal to or greater-than + '\u22DB': MO.REL, // greater-than equal to or less-than + '\u22DC': MO.REL, // equal to or less-than + '\u22DD': MO.REL, // equal to or greater-than + '\u22DE': MO.REL, // equal to or precedes + '\u22DF': MO.REL, // equal to or succeeds + '\u22E0': MO.REL, // does not precede or equal + '\u22E1': MO.REL, // does not succeed or equal + '\u22E2': MO.REL, // not square image of or equal to + '\u22E3': MO.REL, // not square original of or equal to + '\u22E4': MO.REL, // square image of or not equal to + '\u22E5': MO.REL, // square original of or not equal to + '\u22E6': MO.REL, // less-than but not equivalent to + '\u22E7': MO.REL, // greater-than but not equivalent to + '\u22E8': MO.REL, // precedes but not equivalent to + '\u22E9': MO.REL, // succeeds but not equivalent to + '\u22EA': MO.REL, // not normal subgroup of + '\u22EB': MO.REL, // does not contain as normal subgroup + '\u22EC': MO.REL, // not normal subgroup of or equal to + '\u22ED': MO.REL, // does not contain as normal subgroup or equal + '\u22F0': MO.REL, // up right diagonal ellipsis + '\u22F2': MO.REL, // element of with long horizontal stroke + '\u22F3': MO.REL, // element of with vertical bar at end of horizontal stroke + '\u22F4': MO.REL, // small element of with vertical bar at end of horizontal stroke + '\u22F5': MO.REL, // element of with dot above + '\u22F6': MO.REL, // element of with overbar + '\u22F7': MO.REL, // small element of with overbar + '\u22F8': MO.REL, // element of with underbar + '\u22F9': MO.REL, // element of with two horizontal strokes + '\u22FA': MO.REL, // contains with long horizontal stroke + '\u22FB': MO.REL, // contains with vertical bar at end of horizontal stroke + '\u22FC': MO.REL, // small contains with vertical bar at end of horizontal stroke + '\u22FD': MO.REL, // contains with overbar + '\u22FE': MO.REL, // small contains with overbar + '\u22FF': MO.REL // z notation bag membership + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/MathOperators.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js b/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js new file mode 100644 index 0000000..a8091a2 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsA.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/MiscMathSymbolsA.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u27E6': MO.OPEN // mathematical left white square bracket + }, + postfix: { + '\u27E7': MO.CLOSE // mathematical right white square bracket + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/MiscMathSymbolsA.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js b/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js new file mode 100644 index 0000000..7c6453b --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/MiscMathSymbolsB.js @@ -0,0 +1,167 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/MiscMathSymbolsB.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u2983': MO.OPEN, // left white curly bracket + '\u2985': MO.OPEN, // left white parenthesis + '\u2987': MO.OPEN, // z notation left image bracket + '\u2989': MO.OPEN, // z notation left binding bracket + '\u298B': MO.OPEN, // left square bracket with underbar + '\u298D': MO.OPEN, // left square bracket with tick in top corner + '\u298F': MO.OPEN, // left square bracket with tick in bottom corner + '\u2991': MO.OPEN, // left angle bracket with dot + '\u2993': MO.OPEN, // left arc less-than bracket + '\u2995': MO.OPEN, // double left arc greater-than bracket + '\u2997': MO.OPEN, // left black tortoise shell bracket + '\u29FC': MO.OPEN // left-pointing curved angle bracket + }, + postfix: { + '\u2984': MO.CLOSE, // right white curly bracket + '\u2986': MO.CLOSE, // right white parenthesis + '\u2988': MO.CLOSE, // z notation right image bracket + '\u298A': MO.CLOSE, // z notation right binding bracket + '\u298C': MO.CLOSE, // right square bracket with underbar + '\u298E': MO.CLOSE, // right square bracket with tick in bottom corner + '\u2990': MO.CLOSE, // right square bracket with tick in top corner + '\u2992': MO.CLOSE, // right angle bracket with dot + '\u2994': MO.CLOSE, // right arc greater-than bracket + '\u2996': MO.CLOSE, // double right arc less-than bracket + '\u2998': MO.CLOSE, // right black tortoise shell bracket + '\u29FD': MO.CLOSE // right-pointing curved angle bracket + }, + infix: { + '\u2980': MO.ORD, // triple vertical bar delimiter + '\u2981': MO.BIN3, // z notation spot + '\u2982': MO.BIN3, // z notation type colon + '\u2999': MO.BIN3, // dotted fence + '\u299A': MO.BIN3, // vertical zigzag line + '\u299B': MO.BIN3, // measured angle opening left + '\u299C': MO.BIN3, // right angle variant with square + '\u299D': MO.BIN3, // measured right angle with dot + '\u299E': MO.BIN3, // angle with s inside + '\u299F': MO.BIN3, // acute angle + '\u29A0': MO.BIN3, // spherical angle opening left + '\u29A1': MO.BIN3, // spherical angle opening up + '\u29A2': MO.BIN3, // turned angle + '\u29A3': MO.BIN3, // reversed angle + '\u29A4': MO.BIN3, // angle with underbar + '\u29A5': MO.BIN3, // reversed angle with underbar + '\u29A6': MO.BIN3, // oblique angle opening up + '\u29A7': MO.BIN3, // oblique angle opening down + '\u29A8': MO.BIN3, // measured angle with open arm ending in arrow pointing up and right + '\u29A9': MO.BIN3, // measured angle with open arm ending in arrow pointing up and left + '\u29AA': MO.BIN3, // measured angle with open arm ending in arrow pointing down and right + '\u29AB': MO.BIN3, // measured angle with open arm ending in arrow pointing down and left + '\u29AC': MO.BIN3, // measured angle with open arm ending in arrow pointing right and up + '\u29AD': MO.BIN3, // measured angle with open arm ending in arrow pointing left and up + '\u29AE': MO.BIN3, // measured angle with open arm ending in arrow pointing right and down + '\u29AF': MO.BIN3, // measured angle with open arm ending in arrow pointing left and down + '\u29B0': MO.BIN3, // reversed empty set + '\u29B1': MO.BIN3, // empty set with overbar + '\u29B2': MO.BIN3, // empty set with small circle above + '\u29B3': MO.BIN3, // empty set with right arrow above + '\u29B4': MO.BIN3, // empty set with left arrow above + '\u29B5': MO.BIN3, // circle with horizontal bar + '\u29B6': MO.BIN4, // circled vertical bar + '\u29B7': MO.BIN4, // circled parallel + '\u29B8': MO.BIN4, // circled reverse solidus + '\u29B9': MO.BIN4, // circled perpendicular + '\u29BA': MO.BIN4, // circle divided by horizontal bar and top half divided by vertical bar + '\u29BB': MO.BIN4, // circle with superimposed x + '\u29BC': MO.BIN4, // circled anticlockwise-rotated division sign + '\u29BD': MO.BIN4, // up arrow through circle + '\u29BE': MO.BIN4, // circled white bullet + '\u29BF': MO.BIN4, // circled bullet + '\u29C0': MO.REL, // circled less-than + '\u29C1': MO.REL, // circled greater-than + '\u29C2': MO.BIN3, // circle with small circle to the right + '\u29C3': MO.BIN3, // circle with two horizontal strokes to the right + '\u29C4': MO.BIN4, // squared rising diagonal slash + '\u29C5': MO.BIN4, // squared falling diagonal slash + '\u29C6': MO.BIN4, // squared asterisk + '\u29C7': MO.BIN4, // squared small circle + '\u29C8': MO.BIN4, // squared square + '\u29C9': MO.BIN3, // two joined squares + '\u29CA': MO.BIN3, // triangle with dot above + '\u29CB': MO.BIN3, // triangle with underbar + '\u29CC': MO.BIN3, // s in triangle + '\u29CD': MO.BIN3, // triangle with serifs at bottom + '\u29CE': MO.REL, // right triangle above left triangle + '\u29CF': MO.REL, // left triangle beside vertical bar + '\u29CF\u0338': MO.BIN4, // left triangle beside vertical bar with slash + '\u29D0': MO.REL, // vertical bar beside right triangle + '\u29D0\u0338': MO.BIN4, // vertical bar beside right triangle with slash + '\u29D1': MO.REL, // bowtie with left half black + '\u29D2': MO.REL, // bowtie with right half black + '\u29D3': MO.REL, // black bowtie + '\u29D4': MO.REL, // times with left half black + '\u29D5': MO.REL, // times with right half black + '\u29D6': MO.BIN4, // white hourglass + '\u29D7': MO.BIN4, // black hourglass + '\u29D8': MO.BIN3, // left wiggly fence + '\u29D9': MO.BIN3, // right wiggly fence + '\u29DB': MO.BIN3, // right double wiggly fence + '\u29DC': MO.BIN3, // incomplete infinity + '\u29DD': MO.BIN3, // tie over infinity + '\u29DE': MO.REL, // infinity negated with vertical bar + '\u29DF': MO.BIN3, // double-ended multimap + '\u29E0': MO.BIN3, // square with contoured outline + '\u29E1': MO.REL, // increases as + '\u29E2': MO.BIN4, // shuffle product + '\u29E3': MO.REL, // equals sign and slanted parallel + '\u29E4': MO.REL, // equals sign and slanted parallel with tilde above + '\u29E5': MO.REL, // identical to and slanted parallel + '\u29E6': MO.REL, // gleich stark + '\u29E7': MO.BIN3, // thermodynamic + '\u29E8': MO.BIN3, // down-pointing triangle with left half black + '\u29E9': MO.BIN3, // down-pointing triangle with right half black + '\u29EA': MO.BIN3, // black diamond with down arrow + '\u29EB': MO.BIN3, // black lozenge + '\u29EC': MO.BIN3, // white circle with down arrow + '\u29ED': MO.BIN3, // black circle with down arrow + '\u29EE': MO.BIN3, // error-barred white square + '\u29EF': MO.BIN3, // error-barred black square + '\u29F0': MO.BIN3, // error-barred white diamond + '\u29F1': MO.BIN3, // error-barred black diamond + '\u29F2': MO.BIN3, // error-barred white circle + '\u29F3': MO.BIN3, // error-barred black circle + '\u29F4': MO.REL, // rule-delayed + '\u29F5': MO.BIN4, // reverse solidus operator + '\u29F6': MO.BIN4, // solidus with overbar + '\u29F7': MO.BIN4, // reverse solidus with horizontal stroke + '\u29F8': MO.BIN3, // big solidus + '\u29F9': MO.BIN3, // big reverse solidus + '\u29FA': MO.BIN3, // double plus + '\u29FB': MO.BIN3, // triple plus + '\u29FE': MO.BIN4, // tiny + '\u29FF': MO.BIN4 // miny + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/MiscMathSymbolsB.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/MiscTechnical.js b/modules/MathJax/jax/element/mml/optable/MiscTechnical.js new file mode 100644 index 0000000..85b1dbf --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/MiscTechnical.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/MiscTechnical.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '\u23B4': MO.WIDEACCENT, // top square bracket + '\u23B5': MO.WIDEACCENT, // bottom square bracket + '\u23DC': MO.WIDEACCENT, // top parenthesis + '\u23DD': MO.WIDEACCENT // bottom parenthesis + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/MiscTechnical.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/SpacingModLetters.js b/modules/MathJax/jax/element/mml/optable/SpacingModLetters.js new file mode 100644 index 0000000..45687ea --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/SpacingModLetters.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/SpacingModLetters.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + postfix: { + '\u02DA': MO.ACCENT, // ring above + '\u02DD': MO.ACCENT // double acute accent + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/SpacingModLetters.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/SuppMathOperators.js b/modules/MathJax/jax/element/mml/optable/SuppMathOperators.js new file mode 100644 index 0000000..eccb0d8 --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/SuppMathOperators.js @@ -0,0 +1,289 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/SuppMathOperators.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + prefix: { + '\u2A03': MO.OP, // n-ary union operator with dot + '\u2A05': MO.OP, // n-ary square intersection operator + '\u2A07': MO.OP, // two logical and operator + '\u2A08': MO.OP, // two logical or operator + '\u2A09': MO.OP, // n-ary times operator + '\u2A0A': MO.OP, // modulo two sum + '\u2A0B': MO.INTEGRAL2, // summation with integral + '\u2A0C': MO.INTEGRAL, // quadruple integral operator + '\u2A0D': MO.INTEGRAL2, // finite part integral + '\u2A0E': MO.INTEGRAL2, // integral with double stroke + '\u2A0F': MO.INTEGRAL2, // integral average with slash + '\u2A10': MO.OP, // circulation function + '\u2A11': MO.OP, // anticlockwise integration + '\u2A12': MO.OP, // line integration with rectangular path around pole + '\u2A13': MO.OP, // line integration with semicircular path around pole + '\u2A14': MO.OP, // line integration not including the pole + '\u2A15': MO.INTEGRAL2, // integral around a point operator + '\u2A16': MO.INTEGRAL2, // quaternion integral operator + '\u2A17': MO.INTEGRAL2, // integral with leftwards arrow with hook + '\u2A18': MO.INTEGRAL2, // integral with times sign + '\u2A19': MO.INTEGRAL2, // integral with intersection + '\u2A1A': MO.INTEGRAL2, // integral with union + '\u2A1B': MO.INTEGRAL2, // integral with overbar + '\u2A1C': MO.INTEGRAL2, // integral with underbar + '\u2AFC': MO.OP, // large triple vertical bar operator + '\u2AFF': MO.OP // n-ary white vertical bar + }, + infix: { + '\u2A1D': MO.BIN3, // join + '\u2A1E': MO.BIN3, // large left triangle operator + '\u2A1F': MO.BIN3, // z notation schema composition + '\u2A20': MO.BIN3, // z notation schema piping + '\u2A21': MO.BIN3, // z notation schema projection + '\u2A22': MO.BIN4, // plus sign with small circle above + '\u2A23': MO.BIN4, // plus sign with circumflex accent above + '\u2A24': MO.BIN4, // plus sign with tilde above + '\u2A25': MO.BIN4, // plus sign with dot below + '\u2A26': MO.BIN4, // plus sign with tilde below + '\u2A27': MO.BIN4, // plus sign with subscript two + '\u2A28': MO.BIN4, // plus sign with black triangle + '\u2A29': MO.BIN4, // minus sign with comma above + '\u2A2A': MO.BIN4, // minus sign with dot below + '\u2A2B': MO.BIN4, // minus sign with falling dots + '\u2A2C': MO.BIN4, // minus sign with rising dots + '\u2A2D': MO.BIN4, // plus sign in left half circle + '\u2A2E': MO.BIN4, // plus sign in right half circle + '\u2A30': MO.BIN4, // multiplication sign with dot above + '\u2A31': MO.BIN4, // multiplication sign with underbar + '\u2A32': MO.BIN4, // semidirect product with bottom closed + '\u2A33': MO.BIN4, // smash product + '\u2A34': MO.BIN4, // multiplication sign in left half circle + '\u2A35': MO.BIN4, // multiplication sign in right half circle + '\u2A36': MO.BIN4, // circled multiplication sign with circumflex accent + '\u2A37': MO.BIN4, // multiplication sign in double circle + '\u2A38': MO.BIN4, // circled division sign + '\u2A39': MO.BIN4, // plus sign in triangle + '\u2A3A': MO.BIN4, // minus sign in triangle + '\u2A3B': MO.BIN4, // multiplication sign in triangle + '\u2A3C': MO.BIN4, // interior product + '\u2A3D': MO.BIN4, // righthand interior product + '\u2A3E': MO.BIN4, // z notation relational composition + '\u2A40': MO.BIN4, // intersection with dot + '\u2A41': MO.BIN4, // union with minus sign + '\u2A42': MO.BIN4, // union with overbar + '\u2A43': MO.BIN4, // intersection with overbar + '\u2A44': MO.BIN4, // intersection with logical and + '\u2A45': MO.BIN4, // union with logical or + '\u2A46': MO.BIN4, // union above intersection + '\u2A47': MO.BIN4, // intersection above union + '\u2A48': MO.BIN4, // union above bar above intersection + '\u2A49': MO.BIN4, // intersection above bar above union + '\u2A4A': MO.BIN4, // union beside and joined with union + '\u2A4B': MO.BIN4, // intersection beside and joined with intersection + '\u2A4C': MO.BIN4, // closed union with serifs + '\u2A4D': MO.BIN4, // closed intersection with serifs + '\u2A4E': MO.BIN4, // double square intersection + '\u2A4F': MO.BIN4, // double square union + '\u2A50': MO.BIN4, // closed union with serifs and smash product + '\u2A51': MO.BIN4, // logical and with dot above + '\u2A52': MO.BIN4, // logical or with dot above + '\u2A53': MO.BIN4, // double logical and + '\u2A54': MO.BIN4, // double logical or + '\u2A55': MO.BIN4, // two intersecting logical and + '\u2A56': MO.BIN4, // two intersecting logical or + '\u2A57': MO.BIN4, // sloping large or + '\u2A58': MO.BIN4, // sloping large and + '\u2A59': MO.REL, // logical or overlapping logical and + '\u2A5A': MO.BIN4, // logical and with middle stem + '\u2A5B': MO.BIN4, // logical or with middle stem + '\u2A5C': MO.BIN4, // logical and with horizontal dash + '\u2A5D': MO.BIN4, // logical or with horizontal dash + '\u2A5E': MO.BIN4, // logical and with double overbar + '\u2A5F': MO.BIN4, // logical and with underbar + '\u2A60': MO.BIN4, // logical and with double underbar + '\u2A61': MO.BIN4, // small vee with underbar + '\u2A62': MO.BIN4, // logical or with double overbar + '\u2A63': MO.BIN4, // logical or with double underbar + '\u2A64': MO.BIN4, // z notation domain antirestriction + '\u2A65': MO.BIN4, // z notation range antirestriction + '\u2A66': MO.REL, // equals sign with dot below + '\u2A67': MO.REL, // identical with dot above + '\u2A68': MO.REL, // triple horizontal bar with double vertical stroke + '\u2A69': MO.REL, // triple horizontal bar with triple vertical stroke + '\u2A6A': MO.REL, // tilde operator with dot above + '\u2A6B': MO.REL, // tilde operator with rising dots + '\u2A6C': MO.REL, // similar minus similar + '\u2A6D': MO.REL, // congruent with dot above + '\u2A6E': MO.REL, // equals with asterisk + '\u2A6F': MO.REL, // almost equal to with circumflex accent + '\u2A70': MO.REL, // approximately equal or equal to + '\u2A71': MO.BIN4, // equals sign above plus sign + '\u2A72': MO.BIN4, // plus sign above equals sign + '\u2A73': MO.REL, // equals sign above tilde operator + '\u2A74': MO.REL, // double colon equal + '\u2A75': MO.REL, // two consecutive equals signs + '\u2A76': MO.REL, // three consecutive equals signs + '\u2A77': MO.REL, // equals sign with two dots above and two dots below + '\u2A78': MO.REL, // equivalent with four dots above + '\u2A79': MO.REL, // less-than with circle inside + '\u2A7A': MO.REL, // greater-than with circle inside + '\u2A7B': MO.REL, // less-than with question mark above + '\u2A7C': MO.REL, // greater-than with question mark above + '\u2A7D': MO.REL, // less-than or slanted equal to + '\u2A7D\u0338': MO.BIN4, // less-than or slanted equal to with slash + '\u2A7E': MO.REL, // greater-than or slanted equal to + '\u2A7E\u0338': MO.BIN4, // greater-than or slanted equal to with slash + '\u2A7F': MO.REL, // less-than or slanted equal to with dot inside + '\u2A80': MO.REL, // greater-than or slanted equal to with dot inside + '\u2A81': MO.REL, // less-than or slanted equal to with dot above + '\u2A82': MO.REL, // greater-than or slanted equal to with dot above + '\u2A83': MO.REL, // less-than or slanted equal to with dot above right + '\u2A84': MO.REL, // greater-than or slanted equal to with dot above left + '\u2A85': MO.REL, // less-than or approximate + '\u2A86': MO.REL, // greater-than or approximate + '\u2A87': MO.REL, // less-than and single-line not equal to + '\u2A88': MO.REL, // greater-than and single-line not equal to + '\u2A89': MO.REL, // less-than and not approximate + '\u2A8A': MO.REL, // greater-than and not approximate + '\u2A8B': MO.REL, // less-than above double-line equal above greater-than + '\u2A8C': MO.REL, // greater-than above double-line equal above less-than + '\u2A8D': MO.REL, // less-than above similar or equal + '\u2A8E': MO.REL, // greater-than above similar or equal + '\u2A8F': MO.REL, // less-than above similar above greater-than + '\u2A90': MO.REL, // greater-than above similar above less-than + '\u2A91': MO.REL, // less-than above greater-than above double-line equal + '\u2A92': MO.REL, // greater-than above less-than above double-line equal + '\u2A93': MO.REL, // less-than above slanted equal above greater-than above slanted equal + '\u2A94': MO.REL, // greater-than above slanted equal above less-than above slanted equal + '\u2A95': MO.REL, // slanted equal to or less-than + '\u2A96': MO.REL, // slanted equal to or greater-than + '\u2A97': MO.REL, // slanted equal to or less-than with dot inside + '\u2A98': MO.REL, // slanted equal to or greater-than with dot inside + '\u2A99': MO.REL, // double-line equal to or less-than + '\u2A9A': MO.REL, // double-line equal to or greater-than + '\u2A9B': MO.REL, // double-line slanted equal to or less-than + '\u2A9C': MO.REL, // double-line slanted equal to or greater-than + '\u2A9D': MO.REL, // similar or less-than + '\u2A9E': MO.REL, // similar or greater-than + '\u2A9F': MO.REL, // similar above less-than above equals sign + '\u2AA0': MO.REL, // similar above greater-than above equals sign + '\u2AA1': MO.REL, // double nested less-than + '\u2AA1\u0338': MO.BIN4, // double nested less-than with slash + '\u2AA2': MO.REL, // double nested greater-than + '\u2AA2\u0338': MO.BIN4, // double nested greater-than with slash + '\u2AA3': MO.REL, // double nested less-than with underbar + '\u2AA4': MO.REL, // greater-than overlapping less-than + '\u2AA5': MO.REL, // greater-than beside less-than + '\u2AA6': MO.REL, // less-than closed by curve + '\u2AA7': MO.REL, // greater-than closed by curve + '\u2AA8': MO.REL, // less-than closed by curve above slanted equal + '\u2AA9': MO.REL, // greater-than closed by curve above slanted equal + '\u2AAA': MO.REL, // smaller than + '\u2AAB': MO.REL, // larger than + '\u2AAC': MO.REL, // smaller than or equal to + '\u2AAD': MO.REL, // larger than or equal to + '\u2AAE': MO.REL, // equals sign with bumpy above + '\u2AAF\u0338': MO.BIN4, // precedes above single-line equals sign with slash + '\u2AB0\u0338': MO.BIN4, // succeeds above single-line equals sign with slash + '\u2AB1': MO.REL, // precedes above single-line not equal to + '\u2AB2': MO.REL, // succeeds above single-line not equal to + '\u2AB3': MO.REL, // precedes above equals sign + '\u2AB4': MO.REL, // succeeds above equals sign + '\u2AB5': MO.REL, // precedes above not equal to + '\u2AB6': MO.REL, // succeeds above not equal to + '\u2AB7': MO.REL, // precedes above almost equal to + '\u2AB8': MO.REL, // succeeds above almost equal to + '\u2AB9': MO.REL, // precedes above not almost equal to + '\u2ABA': MO.REL, // succeeds above not almost equal to + '\u2ABB': MO.REL, // double precedes + '\u2ABC': MO.REL, // double succeeds + '\u2ABD': MO.REL, // subset with dot + '\u2ABE': MO.REL, // superset with dot + '\u2ABF': MO.REL, // subset with plus sign below + '\u2AC0': MO.REL, // superset with plus sign below + '\u2AC1': MO.REL, // subset with multiplication sign below + '\u2AC2': MO.REL, // superset with multiplication sign below + '\u2AC3': MO.REL, // subset of or equal to with dot above + '\u2AC4': MO.REL, // superset of or equal to with dot above + '\u2AC5': MO.REL, // subset of above equals sign + '\u2AC6': MO.REL, // superset of above equals sign + '\u2AC7': MO.REL, // subset of above tilde operator + '\u2AC8': MO.REL, // superset of above tilde operator + '\u2AC9': MO.REL, // subset of above almost equal to + '\u2ACA': MO.REL, // superset of above almost equal to + '\u2ACB': MO.REL, // subset of above not equal to + '\u2ACC': MO.REL, // superset of above not equal to + '\u2ACD': MO.REL, // square left open box operator + '\u2ACE': MO.REL, // square right open box operator + '\u2ACF': MO.REL, // closed subset + '\u2AD0': MO.REL, // closed superset + '\u2AD1': MO.REL, // closed subset or equal to + '\u2AD2': MO.REL, // closed superset or equal to + '\u2AD3': MO.REL, // subset above superset + '\u2AD4': MO.REL, // superset above subset + '\u2AD5': MO.REL, // subset above subset + '\u2AD6': MO.REL, // superset above superset + '\u2AD7': MO.REL, // superset beside subset + '\u2AD8': MO.REL, // superset beside and joined by dash with subset + '\u2AD9': MO.REL, // element of opening downwards + '\u2ADA': MO.REL, // pitchfork with tee top + '\u2ADB': MO.REL, // transversal intersection + '\u2ADC': MO.REL, // forking + '\u2ADD': MO.REL, // nonforking + '\u2ADE': MO.REL, // short left tack + '\u2ADF': MO.REL, // short down tack + '\u2AE0': MO.REL, // short up tack + '\u2AE1': MO.REL, // perpendicular with s + '\u2AE2': MO.REL, // vertical bar triple right turnstile + '\u2AE3': MO.REL, // double vertical bar left turnstile + '\u2AE4': MO.REL, // vertical bar double left turnstile + '\u2AE5': MO.REL, // double vertical bar double left turnstile + '\u2AE6': MO.REL, // long dash from left member of double vertical + '\u2AE7': MO.REL, // short down tack with overbar + '\u2AE8': MO.REL, // short up tack with underbar + '\u2AE9': MO.REL, // short up tack above short down tack + '\u2AEA': MO.REL, // double down tack + '\u2AEB': MO.REL, // double up tack + '\u2AEC': MO.REL, // double stroke not sign + '\u2AED': MO.REL, // reversed double stroke not sign + '\u2AEE': MO.REL, // does not divide with reversed negation slash + '\u2AEF': MO.REL, // vertical line with circle above + '\u2AF0': MO.REL, // vertical line with circle below + '\u2AF1': MO.REL, // down tack with circle below + '\u2AF2': MO.REL, // parallel with horizontal stroke + '\u2AF3': MO.REL, // parallel with tilde operator + '\u2AF4': MO.BIN4, // triple vertical bar binary relation + '\u2AF5': MO.BIN4, // triple vertical bar with horizontal stroke + '\u2AF6': MO.BIN4, // triple colon operator + '\u2AF7': MO.REL, // triple nested less-than + '\u2AF8': MO.REL, // triple nested greater-than + '\u2AF9': MO.REL, // double-line slanted less-than or equal to + '\u2AFA': MO.REL, // double-line slanted greater-than or equal to + '\u2AFB': MO.BIN4, // triple solidus binary relation + '\u2AFD': MO.BIN4, // double solidus operator + '\u2AFE': MO.BIN3 // white vertical bar + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/SuppMathOperators.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/element/mml/optable/SupplementalArrowsB.js b/modules/MathJax/jax/element/mml/optable/SupplementalArrowsB.js new file mode 100644 index 0000000..9ae961d --- /dev/null +++ b/modules/MathJax/jax/element/mml/optable/SupplementalArrowsB.js @@ -0,0 +1,162 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/optable/SupplementalArrowsB.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MML) { + var MO = MML.mo.OPTYPES; + var TEXCLASS = MML.TEXCLASS; + + MathJax.Hub.Insert(MML.mo.prototype,{ + OPTABLE: { + infix: { + '\u2900': MO.REL, // rightwards two-headed arrow with vertical stroke + '\u2901': MO.REL, // rightwards two-headed arrow with double vertical stroke + '\u2902': MO.REL, // leftwards double arrow with vertical stroke + '\u2903': MO.REL, // rightwards double arrow with vertical stroke + '\u2904': MO.REL, // left right double arrow with vertical stroke + '\u2905': MO.REL, // rightwards two-headed arrow from bar + '\u2906': MO.REL, // leftwards double arrow from bar + '\u2907': MO.REL, // rightwards double arrow from bar + '\u2908': MO.REL, // downwards arrow with horizontal stroke + '\u2909': MO.REL, // upwards arrow with horizontal stroke + '\u290A': MO.WIDEREL, // upwards triple arrow + '\u290B': MO.WIDEREL, // downwards triple arrow + '\u290C': MO.WIDEREL, // leftwards double dash arrow + '\u290D': MO.WIDEREL, // rightwards double dash arrow + '\u290E': MO.WIDEREL, // leftwards triple dash arrow + '\u290F': MO.WIDEREL, // rightwards triple dash arrow + '\u2910': MO.WIDEREL, // rightwards two-headed triple dash arrow + '\u2911': MO.REL, // rightwards arrow with dotted stem + '\u2912': MO.WIDEREL, // upwards arrow to bar + '\u2913': MO.WIDEREL, // downwards arrow to bar + '\u2914': MO.REL, // rightwards arrow with tail with vertical stroke + '\u2915': MO.REL, // rightwards arrow with tail with double vertical stroke + '\u2916': MO.REL, // rightwards two-headed arrow with tail + '\u2917': MO.REL, // rightwards two-headed arrow with tail with vertical stroke + '\u2918': MO.REL, // rightwards two-headed arrow with tail with double vertical stroke + '\u2919': MO.REL, // leftwards arrow-tail + '\u291A': MO.REL, // rightwards arrow-tail + '\u291B': MO.REL, // leftwards double arrow-tail + '\u291C': MO.REL, // rightwards double arrow-tail + '\u291D': MO.REL, // leftwards arrow to black diamond + '\u291E': MO.REL, // rightwards arrow to black diamond + '\u291F': MO.REL, // leftwards arrow from bar to black diamond + '\u2920': MO.REL, // rightwards arrow from bar to black diamond + '\u2921': MO.WIDEREL, // north west and south east arrow + '\u2922': MO.WIDEREL, // north east and south west arrow + '\u2923': MO.REL, // north west arrow with hook + '\u2924': MO.REL, // north east arrow with hook + '\u2925': MO.REL, // south east arrow with hook + '\u2926': MO.REL, // south west arrow with hook + '\u2927': MO.REL, // north west arrow and north east arrow + '\u2928': MO.REL, // north east arrow and south east arrow + '\u2929': MO.REL, // south east arrow and south west arrow + '\u292A': MO.REL, // south west arrow and north west arrow + '\u292B': MO.REL, // rising diagonal crossing falling diagonal + '\u292C': MO.REL, // falling diagonal crossing rising diagonal + '\u292D': MO.REL, // south east arrow crossing north east arrow + '\u292E': MO.REL, // north east arrow crossing south east arrow + '\u292F': MO.REL, // falling diagonal crossing north east arrow + '\u2930': MO.REL, // rising diagonal crossing south east arrow + '\u2931': MO.REL, // north east arrow crossing north west arrow + '\u2932': MO.REL, // north west arrow crossing north east arrow + '\u2933': MO.REL, // wave arrow pointing directly right + '\u2934': MO.REL, // arrow pointing rightwards then curving upwards + '\u2935': MO.REL, // arrow pointing rightwards then curving downwards + '\u2936': MO.REL, // arrow pointing downwards then curving leftwards + '\u2937': MO.REL, // arrow pointing downwards then curving rightwards + '\u2938': MO.REL, // right-side arc clockwise arrow + '\u2939': MO.REL, // left-side arc anticlockwise arrow + '\u293A': MO.REL, // top arc anticlockwise arrow + '\u293B': MO.REL, // bottom arc anticlockwise arrow + '\u293C': MO.REL, // top arc clockwise arrow with minus + '\u293D': MO.REL, // top arc anticlockwise arrow with plus + '\u293E': MO.REL, // lower right semicircular clockwise arrow + '\u293F': MO.REL, // lower left semicircular anticlockwise arrow + '\u2940': MO.REL, // anticlockwise closed circle arrow + '\u2941': MO.REL, // clockwise closed circle arrow + '\u2942': MO.REL, // rightwards arrow above short leftwards arrow + '\u2943': MO.REL, // leftwards arrow above short rightwards arrow + '\u2944': MO.REL, // short rightwards arrow above leftwards arrow + '\u2945': MO.REL, // rightwards arrow with plus below + '\u2946': MO.REL, // leftwards arrow with plus below + '\u2947': MO.REL, // rightwards arrow through x + '\u2948': MO.REL, // left right arrow through small circle + '\u2949': MO.REL, // upwards two-headed arrow from small circle + '\u294A': MO.REL, // left barb up right barb down harpoon + '\u294B': MO.REL, // left barb down right barb up harpoon + '\u294C': MO.REL, // up barb right down barb left harpoon + '\u294D': MO.REL, // up barb left down barb right harpoon + '\u294E': MO.RELACCENT, // left barb up right barb up harpoon + '\u294F': MO.WIDEREL, // up barb right down barb right harpoon + '\u2950': MO.WIDEREL, // left barb down right barb down harpoon + '\u2951': MO.WIDEREL, // up barb left down barb left harpoon + '\u2952': MO.WIDEREL, // leftwards harpoon with barb up to bar + '\u2953': MO.WIDEREL, // rightwards harpoon with barb up to bar + '\u2954': MO.WIDEREL, // upwards harpoon with barb right to bar + '\u2955': MO.WIDEREL, // downwards harpoon with barb right to bar + '\u2956': MO.WIDEREL, // leftwards harpoon with barb down to bar + '\u2957': MO.WIDEREL, // rightwards harpoon with barb down to bar + '\u2958': MO.WIDEREL, // upwards harpoon with barb left to bar + '\u2959': MO.WIDEREL, // downwards harpoon with barb left to bar + '\u295A': MO.WIDEREL, // leftwards harpoon with barb up from bar + '\u295B': MO.WIDEREL, // rightwards harpoon with barb up from bar + '\u295C': MO.WIDEREL, // upwards harpoon with barb right from bar + '\u295D': MO.WIDEREL, // downwards harpoon with barb right from bar + '\u295E': MO.WIDEREL, // leftwards harpoon with barb down from bar + '\u295F': MO.WIDEREL, // rightwards harpoon with barb down from bar + '\u2960': MO.WIDEREL, // upwards harpoon with barb left from bar + '\u2961': MO.WIDEREL, // downwards harpoon with barb left from bar + '\u2962': MO.REL, // leftwards harpoon with barb up above leftwards harpoon with barb down + '\u2963': MO.REL, // upwards harpoon with barb left beside upwards harpoon with barb right + '\u2964': MO.REL, // rightwards harpoon with barb up above rightwards harpoon with barb down + '\u2965': MO.REL, // downwards harpoon with barb left beside downwards harpoon with barb right + '\u2966': MO.REL, // leftwards harpoon with barb up above rightwards harpoon with barb up + '\u2967': MO.REL, // leftwards harpoon with barb down above rightwards harpoon with barb down + '\u2968': MO.REL, // rightwards harpoon with barb up above leftwards harpoon with barb up + '\u2969': MO.REL, // rightwards harpoon with barb down above leftwards harpoon with barb down + '\u296A': MO.REL, // leftwards harpoon with barb up above long dash + '\u296B': MO.REL, // leftwards harpoon with barb down below long dash + '\u296C': MO.REL, // rightwards harpoon with barb up above long dash + '\u296D': MO.REL, // rightwards harpoon with barb down below long dash + '\u296E': MO.WIDEREL, // upwards harpoon with barb left beside downwards harpoon with barb right + '\u296F': MO.WIDEREL, // downwards harpoon with barb left beside upwards harpoon with barb right + '\u2970': MO.REL, // right double arrow with rounded head + '\u2971': MO.REL, // equals sign above rightwards arrow + '\u2972': MO.REL, // tilde operator above rightwards arrow + '\u2973': MO.REL, // leftwards arrow above tilde operator + '\u2974': MO.REL, // rightwards arrow above tilde operator + '\u2975': MO.REL, // rightwards arrow above almost equal to + '\u2976': MO.REL, // less-than above leftwards arrow + '\u2977': MO.REL, // leftwards arrow through less-than + '\u2978': MO.REL, // greater-than above rightwards arrow + '\u2979': MO.REL, // subset above rightwards arrow + '\u297A': MO.REL, // leftwards arrow through subset + '\u297B': MO.REL, // superset above leftwards arrow + '\u297C': MO.REL, // left fish tail + '\u297D': MO.REL, // right fish tail + '\u297E': MO.REL, // up fish tail + '\u297F': MO.REL // down fish tail + } + } + }); + + MathJax.Ajax.loadComplete(MML.optableDir+"/SupplementalArrowsB.js"); + +})(MathJax.ElementJax.mml); diff --git a/modules/MathJax/jax/input/MathML/config.js b/modules/MathJax/jax/input/MathML/config.js new file mode 100644 index 0000000..20c844d --- /dev/null +++ b/modules/MathJax/jax/input/MathML/config.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/input/MathML/config.js + * + * Initializes the MathML InputJax (the main definition is in + * MathJax/jax/input/MathML/jax.js, which is loaded when needed). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.InputJax.MathML = MathJax.InputJax({ + id: "MathML", + version: "1.1.4", + directory: MathJax.InputJax.directory + "/MathML", + extensionDir: MathJax.InputJax.extensionDir + "/MathML", + entityDir: MathJax.InputJax.directory + "/MathML/entities", + + config: { + useMathMLspacing: false // false means use TeX spacing, true means MML spacing + } +}); +MathJax.InputJax.MathML.Register("math/mml"); + +MathJax.InputJax.MathML.loadComplete("config.js"); diff --git a/modules/MathJax/jax/input/MathML/entities/a.js b/modules/MathJax/jax/input/MathML/entities/a.js new file mode 100644 index 0000000..3b14cdc --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/a.js @@ -0,0 +1,90 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/a.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'AElig': '\u00C6', + 'AMP': '\u0026', + 'Aacute': '\u00C1', + 'Abreve': '\u0102', + 'Acirc': '\u00C2', + 'Acy': '\u0410', + 'Agrave': '\u00C0', + 'Alpha': '\u0391', + 'Amacr': '\u0100', + 'And': '\u2A53', + 'Aogon': '\u0104', + 'Aring': '\u00C5', + 'Assign': '\u2254', + 'Atilde': '\u00C3', + 'Auml': '\u00C4', + 'aacute': '\u00E1', + 'abreve': '\u0103', + 'ac': '\u223E', + 'acE': '\u223E\u0333', + 'acd': '\u223F', + 'acirc': '\u00E2', + 'acy': '\u0430', + 'aelig': '\u00E6', + 'af': '\u2061', + 'agrave': '\u00E0', + 'alefsym': '\u2135', + 'amacr': '\u0101', + 'amp': '\u0026', + 'andand': '\u2A55', + 'andd': '\u2A5C', + 'andslope': '\u2A58', + 'andv': '\u2A5A', + 'ange': '\u29A4', + 'angle': '\u2220', + 'angmsdaa': '\u29A8', + 'angmsdab': '\u29A9', + 'angmsdac': '\u29AA', + 'angmsdad': '\u29AB', + 'angmsdae': '\u29AC', + 'angmsdaf': '\u29AD', + 'angmsdag': '\u29AE', + 'angmsdah': '\u29AF', + 'angrt': '\u221F', + 'angrtvb': '\u22BE', + 'angrtvbd': '\u299D', + 'angst': '\u00C5', + 'angzarr': '\u237C', + 'aogon': '\u0105', + 'ap': '\u2248', + 'apE': '\u2A70', + 'apacir': '\u2A6F', + 'apid': '\u224B', + 'apos': '\u0027', + 'approx': '\u2248', + 'approxeq': '\u224A', + 'aring': '\u00E5', + 'ast': '\u002A', + 'asymp': '\u2248', + 'asympeq': '\u224D', + 'atilde': '\u00E3', + 'auml': '\u00E4', + 'awconint': '\u2233', + 'awint': '\u2A11' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/a.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/b.js b/modules/MathJax/jax/input/MathML/entities/b.js new file mode 100644 index 0000000..c7c1040 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/b.js @@ -0,0 +1,116 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/b.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Barv': '\u2AE7', + 'Barwed': '\u2306', + 'Bcy': '\u0411', + 'Bernoullis': '\u212C', + 'Beta': '\u0392', + 'Bumpeq': '\u224E', + 'bNot': '\u2AED', + 'backcong': '\u224C', + 'backepsilon': '\u03F6', + 'barvee': '\u22BD', + 'barwed': '\u2305', + 'barwedge': '\u2305', + 'bbrk': '\u23B5', + 'bbrktbrk': '\u23B6', + 'bcong': '\u224C', + 'bcy': '\u0431', + 'bdquo': '\u201E', + 'becaus': '\u2235', + 'because': '\u2235', + 'bemptyv': '\u29B0', + 'bepsi': '\u03F6', + 'bernou': '\u212C', + 'bigcap': '\u22C2', + 'bigcup': '\u22C3', + 'bigvee': '\u22C1', + 'bigwedge': '\u22C0', + 'bkarow': '\u290D', + 'blacksquare': '\u25AA', + 'blacktriangleright': '\u25B8', + 'blank': '\u2423', + 'blk12': '\u2592', + 'blk14': '\u2591', + 'blk34': '\u2593', + 'block': '\u2588', + 'bne': '\u003D\u20E5', + 'bnequiv': '\u2261\u20E5', + 'bnot': '\u2310', + 'bot': '\u22A5', + 'bottom': '\u22A5', + 'boxDL': '\u2557', + 'boxDR': '\u2554', + 'boxDl': '\u2556', + 'boxDr': '\u2553', + 'boxH': '\u2550', + 'boxHD': '\u2566', + 'boxHU': '\u2569', + 'boxHd': '\u2564', + 'boxHu': '\u2567', + 'boxUL': '\u255D', + 'boxUR': '\u255A', + 'boxUl': '\u255C', + 'boxUr': '\u2559', + 'boxV': '\u2551', + 'boxVH': '\u256C', + 'boxVL': '\u2563', + 'boxVR': '\u2560', + 'boxVh': '\u256B', + 'boxVl': '\u2562', + 'boxVr': '\u255F', + 'boxbox': '\u29C9', + 'boxdL': '\u2555', + 'boxdR': '\u2552', + 'boxh': '\u2500', + 'boxhD': '\u2565', + 'boxhU': '\u2568', + 'boxhd': '\u252C', + 'boxhu': '\u2534', + 'boxuL': '\u255B', + 'boxuR': '\u2558', + 'boxv': '\u2502', + 'boxvH': '\u256A', + 'boxvL': '\u2561', + 'boxvR': '\u255E', + 'boxvh': '\u253C', + 'boxvl': '\u2524', + 'boxvr': '\u251C', + 'bprime': '\u2035', + 'breve': '\u02D8', + 'brvbar': '\u00A6', + 'bsemi': '\u204F', + 'bsim': '\u223D', + 'bsime': '\u22CD', + 'bsolb': '\u29C5', + 'bsolhsub': '\u27C8', + 'bullet': '\u2022', + 'bump': '\u224E', + 'bumpE': '\u2AAE', + 'bumpe': '\u224F', + 'bumpeq': '\u224F' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/b.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/c.js b/modules/MathJax/jax/input/MathML/entities/c.js new file mode 100644 index 0000000..197140b --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/c.js @@ -0,0 +1,114 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/c.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'CHcy': '\u0427', + 'COPY': '\u00A9', + 'Cacute': '\u0106', + 'CapitalDifferentialD': '\u2145', + 'Cayleys': '\u212D', + 'Ccaron': '\u010C', + 'Ccedil': '\u00C7', + 'Ccirc': '\u0108', + 'Cconint': '\u2230', + 'Cdot': '\u010A', + 'Cedilla': '\u00B8', + 'Chi': '\u03A7', + 'ClockwiseContourIntegral': '\u2232', + 'CloseCurlyDoubleQuote': '\u201D', + 'CloseCurlyQuote': '\u2019', + 'Colon': '\u2237', + 'Colone': '\u2A74', + 'Conint': '\u222F', + 'CounterClockwiseContourIntegral': '\u2233', + 'cacute': '\u0107', + 'capand': '\u2A44', + 'capbrcup': '\u2A49', + 'capcap': '\u2A4B', + 'capcup': '\u2A47', + 'capdot': '\u2A40', + 'caps': '\u2229\uFE00', + 'caret': '\u2041', + 'caron': '\u02C7', + 'ccaps': '\u2A4D', + 'ccaron': '\u010D', + 'ccedil': '\u00E7', + 'ccirc': '\u0109', + 'ccups': '\u2A4C', + 'ccupssm': '\u2A50', + 'cdot': '\u010B', + 'cedil': '\u00B8', + 'cemptyv': '\u29B2', + 'cent': '\u00A2', + 'centerdot': '\u00B7', + 'chcy': '\u0447', + 'checkmark': '\u2713', + 'cir': '\u25CB', + 'cirE': '\u29C3', + 'cire': '\u2257', + 'cirfnint': '\u2A10', + 'cirmid': '\u2AEF', + 'cirscir': '\u29C2', + 'clubsuit': '\u2663', + 'colone': '\u2254', + 'coloneq': '\u2254', + 'comma': '\u002C', + 'commat': '\u0040', + 'compfn': '\u2218', + 'complement': '\u2201', + 'complexes': '\u2102', + 'cong': '\u2245', + 'congdot': '\u2A6D', + 'conint': '\u222E', + 'coprod': '\u2210', + 'copy': '\u00A9', + 'copysr': '\u2117', + 'crarr': '\u21B5', + 'cross': '\u2717', + 'csub': '\u2ACF', + 'csube': '\u2AD1', + 'csup': '\u2AD0', + 'csupe': '\u2AD2', + 'cudarrl': '\u2938', + 'cudarrr': '\u2935', + 'cularrp': '\u293D', + 'cupbrcap': '\u2A48', + 'cupcap': '\u2A46', + 'cupcup': '\u2A4A', + 'cupdot': '\u228D', + 'cupor': '\u2A45', + 'cups': '\u222A\uFE00', + 'curarrm': '\u293C', + 'curlyeqprec': '\u22DE', + 'curlyeqsucc': '\u22DF', + 'curren': '\u00A4', + 'curvearrowleft': '\u21B6', + 'curvearrowright': '\u21B7', + 'cuvee': '\u22CE', + 'cuwed': '\u22CF', + 'cwconint': '\u2232', + 'cwint': '\u2231', + 'cylcty': '\u232D' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/c.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/d.js b/modules/MathJax/jax/input/MathML/entities/d.js new file mode 100644 index 0000000..1722dfb --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/d.js @@ -0,0 +1,112 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/d.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'DD': '\u2145', + 'DDotrahd': '\u2911', + 'DJcy': '\u0402', + 'DScy': '\u0405', + 'DZcy': '\u040F', + 'Darr': '\u21A1', + 'Dashv': '\u2AE4', + 'Dcaron': '\u010E', + 'Dcy': '\u0414', + 'DiacriticalAcute': '\u00B4', + 'DiacriticalDot': '\u02D9', + 'DiacriticalDoubleAcute': '\u02DD', + 'DiacriticalGrave': '\u0060', + 'DiacriticalTilde': '\u02DC', + 'Dot': '\u00A8', + 'DotDot': '\u20DC', + 'DoubleContourIntegral': '\u222F', + 'DoubleDownArrow': '\u21D3', + 'DoubleLeftArrow': '\u21D0', + 'DoubleLeftRightArrow': '\u21D4', + 'DoubleLeftTee': '\u2AE4', + 'DoubleLongLeftArrow': '\u27F8', + 'DoubleLongLeftRightArrow': '\u27FA', + 'DoubleLongRightArrow': '\u27F9', + 'DoubleRightArrow': '\u21D2', + 'DoubleUpArrow': '\u21D1', + 'DoubleUpDownArrow': '\u21D5', + 'DownArrowBar': '\u2913', + 'DownArrowUpArrow': '\u21F5', + 'DownBreve': '\u0311', + 'DownLeftRightVector': '\u2950', + 'DownLeftTeeVector': '\u295E', + 'DownLeftVectorBar': '\u2956', + 'DownRightTeeVector': '\u295F', + 'DownRightVectorBar': '\u2957', + 'DownTeeArrow': '\u21A7', + 'Dstrok': '\u0110', + 'dArr': '\u21D3', + 'dHar': '\u2965', + 'darr': '\u2193', + 'dash': '\u2010', + 'dashv': '\u22A3', + 'dbkarow': '\u290F', + 'dblac': '\u02DD', + 'dcaron': '\u010F', + 'dcy': '\u0434', + 'dd': '\u2146', + 'ddagger': '\u2021', + 'ddotseq': '\u2A77', + 'demptyv': '\u29B1', + 'dfisht': '\u297F', + 'dharl': '\u21C3', + 'dharr': '\u21C2', + 'diam': '\u22C4', + 'diamond': '\u22C4', + 'diamondsuit': '\u2666', + 'diams': '\u2666', + 'die': '\u00A8', + 'disin': '\u22F2', + 'divide': '\u00F7', + 'divonx': '\u22C7', + 'djcy': '\u0452', + 'dlcorn': '\u231E', + 'dlcrop': '\u230D', + 'dollar': '\u0024', + 'doteq': '\u2250', + 'dotminus': '\u2238', + 'doublebarwedge': '\u2306', + 'downarrow': '\u2193', + 'downdownarrows': '\u21CA', + 'downharpoonleft': '\u21C3', + 'downharpoonright': '\u21C2', + 'drbkarow': '\u2910', + 'drcorn': '\u231F', + 'drcrop': '\u230C', + 'dscy': '\u0455', + 'dsol': '\u29F6', + 'dstrok': '\u0111', + 'dtri': '\u25BF', + 'dtrif': '\u25BE', + 'duarr': '\u21F5', + 'duhar': '\u296F', + 'dwangle': '\u29A6', + 'dzcy': '\u045F', + 'dzigrarr': '\u27FF' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/d.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/e.js b/modules/MathJax/jax/input/MathML/entities/e.js new file mode 100644 index 0000000..45475f1 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/e.js @@ -0,0 +1,92 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/e.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'ENG': '\u014A', + 'ETH': '\u00D0', + 'Eacute': '\u00C9', + 'Ecaron': '\u011A', + 'Ecirc': '\u00CA', + 'Ecy': '\u042D', + 'Edot': '\u0116', + 'Egrave': '\u00C8', + 'Emacr': '\u0112', + 'EmptySmallSquare': '\u25FB', + 'EmptyVerySmallSquare': '\u25AB', + 'Eogon': '\u0118', + 'Epsilon': '\u0395', + 'Equal': '\u2A75', + 'Esim': '\u2A73', + 'Eta': '\u0397', + 'Euml': '\u00CB', + 'eDDot': '\u2A77', + 'eDot': '\u2251', + 'eacute': '\u00E9', + 'easter': '\u2A6E', + 'ecaron': '\u011B', + 'ecirc': '\u00EA', + 'ecolon': '\u2255', + 'ecy': '\u044D', + 'edot': '\u0117', + 'ee': '\u2147', + 'eg': '\u2A9A', + 'egrave': '\u00E8', + 'egsdot': '\u2A98', + 'el': '\u2A99', + 'elinters': '\u23E7', + 'elsdot': '\u2A97', + 'emacr': '\u0113', + 'emptyset': '\u2205', + 'emptyv': '\u2205', + 'emsp': '\u2003', + 'emsp13': '\u2004', + 'emsp14': '\u2005', + 'eng': '\u014B', + 'ensp': '\u2002', + 'eogon': '\u0119', + 'epar': '\u22D5', + 'eparsl': '\u29E3', + 'eplus': '\u2A71', + 'epsilon': '\u03B5', + 'eqcirc': '\u2256', + 'eqcolon': '\u2255', + 'eqsim': '\u2242', + 'eqslantgtr': '\u2A96', + 'eqslantless': '\u2A95', + 'equals': '\u003D', + 'equest': '\u225F', + 'equiv': '\u2261', + 'equivDD': '\u2A78', + 'eqvparsl': '\u29E5', + 'erarr': '\u2971', + 'esdot': '\u2250', + 'esim': '\u2242', + 'euml': '\u00EB', + 'euro': '\u20AC', + 'excl': '\u0021', + 'exist': '\u2203', + 'expectation': '\u2130', + 'exponentiale': '\u2147' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/e.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/f.js b/modules/MathJax/jax/input/MathML/entities/f.js new file mode 100644 index 0000000..5d5348a --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/f.js @@ -0,0 +1,60 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/f.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Fcy': '\u0424', + 'FilledSmallSquare': '\u25FC', + 'Fouriertrf': '\u2131', + 'fallingdotseq': '\u2252', + 'fcy': '\u0444', + 'female': '\u2640', + 'ffilig': '\uFB03', + 'fflig': '\uFB00', + 'ffllig': '\uFB04', + 'filig': '\uFB01', + 'fjlig': '\u0066\u006A', + 'fllig': '\uFB02', + 'fltns': '\u25B1', + 'fnof': '\u0192', + 'forall': '\u2200', + 'forkv': '\u2AD9', + 'fpartint': '\u2A0D', + 'frac12': '\u00BD', + 'frac13': '\u2153', + 'frac14': '\u00BC', + 'frac15': '\u2155', + 'frac16': '\u2159', + 'frac18': '\u215B', + 'frac23': '\u2154', + 'frac25': '\u2156', + 'frac34': '\u00BE', + 'frac35': '\u2157', + 'frac38': '\u215C', + 'frac45': '\u2158', + 'frac56': '\u215A', + 'frac58': '\u215D', + 'frac78': '\u215E', + 'frasl': '\u2044' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/f.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/fr.js b/modules/MathJax/jax/input/MathML/entities/fr.js new file mode 100644 index 0000000..d6b2e12 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/fr.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/fr.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Afr': '\uD835\uDD04', + 'Bfr': '\uD835\uDD05', + 'Cfr': '\u212D', + 'Dfr': '\uD835\uDD07', + 'Efr': '\uD835\uDD08', + 'Ffr': '\uD835\uDD09', + 'Gfr': '\uD835\uDD0A', + 'Hfr': '\u210C', + 'Ifr': '\u2111', + 'Jfr': '\uD835\uDD0D', + 'Kfr': '\uD835\uDD0E', + 'Lfr': '\uD835\uDD0F', + 'Mfr': '\uD835\uDD10', + 'Nfr': '\uD835\uDD11', + 'Ofr': '\uD835\uDD12', + 'Pfr': '\uD835\uDD13', + 'Qfr': '\uD835\uDD14', + 'Rfr': '\u211C', + 'Sfr': '\uD835\uDD16', + 'Tfr': '\uD835\uDD17', + 'Ufr': '\uD835\uDD18', + 'Vfr': '\uD835\uDD19', + 'Wfr': '\uD835\uDD1A', + 'Xfr': '\uD835\uDD1B', + 'Yfr': '\uD835\uDD1C', + 'Zfr': '\u2128', + 'afr': '\uD835\uDD1E', + 'bfr': '\uD835\uDD1F', + 'cfr': '\uD835\uDD20', + 'dfr': '\uD835\uDD21', + 'efr': '\uD835\uDD22', + 'ffr': '\uD835\uDD23', + 'gfr': '\uD835\uDD24', + 'hfr': '\uD835\uDD25', + 'ifr': '\uD835\uDD26', + 'jfr': '\uD835\uDD27', + 'kfr': '\uD835\uDD28', + 'lfr': '\uD835\uDD29', + 'mfr': '\uD835\uDD2A', + 'nfr': '\uD835\uDD2B', + 'ofr': '\uD835\uDD2C', + 'pfr': '\uD835\uDD2D', + 'qfr': '\uD835\uDD2E', + 'rfr': '\uD835\uDD2F', + 'sfr': '\uD835\uDD30', + 'tfr': '\uD835\uDD31', + 'ufr': '\uD835\uDD32', + 'vfr': '\uD835\uDD33', + 'wfr': '\uD835\uDD34', + 'xfr': '\uD835\uDD35', + 'yfr': '\uD835\uDD36', + 'zfr': '\uD835\uDD37' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/fr.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/g.js b/modules/MathJax/jax/input/MathML/entities/g.js new file mode 100644 index 0000000..dad288e --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/g.js @@ -0,0 +1,83 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/g.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'GJcy': '\u0403', + 'GT': '\u003E', + 'Gammad': '\u03DC', + 'Gbreve': '\u011E', + 'Gcedil': '\u0122', + 'Gcirc': '\u011C', + 'Gcy': '\u0413', + 'Gdot': '\u0120', + 'GreaterGreater': '\u2AA2', + 'Gt': '\u226B', + 'gE': '\u2267', + 'gacute': '\u01F5', + 'gammad': '\u03DD', + 'gbreve': '\u011F', + 'gcirc': '\u011D', + 'gcy': '\u0433', + 'gdot': '\u0121', + 'ge': '\u2265', + 'gel': '\u22DB', + 'geq': '\u2265', + 'geqq': '\u2267', + 'geqslant': '\u2A7E', + 'ges': '\u2A7E', + 'gescc': '\u2AA9', + 'gesdot': '\u2A80', + 'gesdoto': '\u2A82', + 'gesdotol': '\u2A84', + 'gesl': '\u22DB\uFE00', + 'gesles': '\u2A94', + 'gg': '\u226B', + 'ggg': '\u22D9', + 'gjcy': '\u0453', + 'gl': '\u2277', + 'glE': '\u2A92', + 'gla': '\u2AA5', + 'glj': '\u2AA4', + 'gnapprox': '\u2A8A', + 'gneq': '\u2A88', + 'gneqq': '\u2269', + 'grave': '\u0060', + 'gsim': '\u2273', + 'gsime': '\u2A8E', + 'gsiml': '\u2A90', + 'gtcc': '\u2AA7', + 'gtcir': '\u2A7A', + 'gtlPar': '\u2995', + 'gtquest': '\u2A7C', + 'gtrapprox': '\u2A86', + 'gtrarr': '\u2978', + 'gtrdot': '\u22D7', + 'gtreqless': '\u22DB', + 'gtreqqless': '\u2A8C', + 'gtrless': '\u2277', + 'gtrsim': '\u2273', + 'gvertneqq': '\u2269\uFE00', + 'gvnE': '\u2269\uFE00' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/g.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/h.js b/modules/MathJax/jax/input/MathML/entities/h.js new file mode 100644 index 0000000..bf1ad4f --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/h.js @@ -0,0 +1,52 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/h.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'HARDcy': '\u042A', + 'Hcirc': '\u0124', + 'HilbertSpace': '\u210B', + 'HorizontalLine': '\u2500', + 'Hstrok': '\u0126', + 'hArr': '\u21D4', + 'hairsp': '\u200A', + 'half': '\u00BD', + 'hamilt': '\u210B', + 'hardcy': '\u044A', + 'harr': '\u2194', + 'harrcir': '\u2948', + 'hcirc': '\u0125', + 'hearts': '\u2665', + 'heartsuit': '\u2665', + 'hercon': '\u22B9', + 'hksearow': '\u2925', + 'hkswarow': '\u2926', + 'hoarr': '\u21FF', + 'homtht': '\u223B', + 'horbar': '\u2015', + 'hslash': '\u210F', + 'hstrok': '\u0127', + 'hybull': '\u2043', + 'hyphen': '\u2010' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/h.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/i.js b/modules/MathJax/jax/input/MathML/entities/i.js new file mode 100644 index 0000000..059928b --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/i.js @@ -0,0 +1,86 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/i.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'IEcy': '\u0415', + 'IJlig': '\u0132', + 'IOcy': '\u0401', + 'Iacute': '\u00CD', + 'Icirc': '\u00CE', + 'Icy': '\u0418', + 'Idot': '\u0130', + 'Igrave': '\u00CC', + 'Imacr': '\u012A', + 'Implies': '\u21D2', + 'Int': '\u222C', + 'Iogon': '\u012E', + 'Iota': '\u0399', + 'Itilde': '\u0128', + 'Iukcy': '\u0406', + 'Iuml': '\u00CF', + 'iacute': '\u00ED', + 'ic': '\u2063', + 'icirc': '\u00EE', + 'icy': '\u0438', + 'iecy': '\u0435', + 'iexcl': '\u00A1', + 'iff': '\u21D4', + 'igrave': '\u00EC', + 'ii': '\u2148', + 'iiiint': '\u2A0C', + 'iiint': '\u222D', + 'iinfin': '\u29DC', + 'iiota': '\u2129', + 'ijlig': '\u0133', + 'imacr': '\u012B', + 'image': '\u2111', + 'imagline': '\u2110', + 'imagpart': '\u2111', + 'imof': '\u22B7', + 'imped': '\u01B5', + 'in': '\u2208', + 'incare': '\u2105', + 'infintie': '\u29DD', + 'inodot': '\u0131', + 'int': '\u222B', + 'integers': '\u2124', + 'intercal': '\u22BA', + 'intlarhk': '\u2A17', + 'intprod': '\u2A3C', + 'iocy': '\u0451', + 'iogon': '\u012F', + 'iprod': '\u2A3C', + 'iquest': '\u00BF', + 'isin': '\u2208', + 'isinE': '\u22F9', + 'isindot': '\u22F5', + 'isins': '\u22F4', + 'isinsv': '\u22F3', + 'isinv': '\u2208', + 'it': '\u2062', + 'itilde': '\u0129', + 'iukcy': '\u0456', + 'iuml': '\u00EF' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/i.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/j.js b/modules/MathJax/jax/input/MathML/entities/j.js new file mode 100644 index 0000000..5147e2d --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/j.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/j.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Jcirc': '\u0134', + 'Jcy': '\u0419', + 'Jsercy': '\u0408', + 'Jukcy': '\u0404', + 'jcirc': '\u0135', + 'jcy': '\u0439', + 'jsercy': '\u0458', + 'jukcy': '\u0454' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/j.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/k.js b/modules/MathJax/jax/input/MathML/entities/k.js new file mode 100644 index 0000000..2342a8c --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/k.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/k.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'KHcy': '\u0425', + 'KJcy': '\u040C', + 'Kappa': '\u039A', + 'Kcedil': '\u0136', + 'Kcy': '\u041A', + 'kcedil': '\u0137', + 'kcy': '\u043A', + 'kgreen': '\u0138', + 'khcy': '\u0445', + 'kjcy': '\u045C' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/k.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/l.js b/modules/MathJax/jax/input/MathML/entities/l.js new file mode 100644 index 0000000..2615de2 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/l.js @@ -0,0 +1,179 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/l.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'LJcy': '\u0409', + 'LT': '\u003C', + 'Lacute': '\u0139', + 'Lang': '\u27EA', + 'Laplacetrf': '\u2112', + 'Lcaron': '\u013D', + 'Lcedil': '\u013B', + 'Lcy': '\u041B', + 'LeftArrowBar': '\u21E4', + 'LeftDoubleBracket': '\u27E6', + 'LeftDownTeeVector': '\u2961', + 'LeftDownVectorBar': '\u2959', + 'LeftRightVector': '\u294E', + 'LeftTeeArrow': '\u21A4', + 'LeftTeeVector': '\u295A', + 'LeftTriangleBar': '\u29CF', + 'LeftUpDownVector': '\u2951', + 'LeftUpTeeVector': '\u2960', + 'LeftUpVectorBar': '\u2958', + 'LeftVectorBar': '\u2952', + 'LessLess': '\u2AA1', + 'Lmidot': '\u013F', + 'LowerLeftArrow': '\u2199', + 'LowerRightArrow': '\u2198', + 'Lstrok': '\u0141', + 'Lt': '\u226A', + 'lAarr': '\u21DA', + 'lArr': '\u21D0', + 'lAtail': '\u291B', + 'lBarr': '\u290E', + 'lE': '\u2266', + 'lHar': '\u2962', + 'lacute': '\u013A', + 'laemptyv': '\u29B4', + 'lagran': '\u2112', + 'lang': '\u27E8', + 'langd': '\u2991', + 'langle': '\u27E8', + 'laquo': '\u00AB', + 'larr': '\u2190', + 'larrb': '\u21E4', + 'larrbfs': '\u291F', + 'larrfs': '\u291D', + 'larrhk': '\u21A9', + 'larrpl': '\u2939', + 'larrsim': '\u2973', + 'lat': '\u2AAB', + 'latail': '\u2919', + 'late': '\u2AAD', + 'lates': '\u2AAD\uFE00', + 'lbarr': '\u290C', + 'lbbrk': '\u2772', + 'lbrke': '\u298B', + 'lbrksld': '\u298F', + 'lbrkslu': '\u298D', + 'lcaron': '\u013E', + 'lcedil': '\u013C', + 'lceil': '\u2308', + 'lcub': '\u007B', + 'lcy': '\u043B', + 'ldca': '\u2936', + 'ldquo': '\u201C', + 'ldquor': '\u201E', + 'ldrdhar': '\u2967', + 'ldrushar': '\u294B', + 'ldsh': '\u21B2', + 'leftarrow': '\u2190', + 'leftarrowtail': '\u21A2', + 'leftharpoondown': '\u21BD', + 'leftharpoonup': '\u21BC', + 'leftrightarrow': '\u2194', + 'leftrightarrows': '\u21C6', + 'leftrightharpoons': '\u21CB', + 'leftrightsquigarrow': '\u21AD', + 'leg': '\u22DA', + 'leq': '\u2264', + 'leqq': '\u2266', + 'leqslant': '\u2A7D', + 'les': '\u2A7D', + 'lescc': '\u2AA8', + 'lesdot': '\u2A7F', + 'lesdoto': '\u2A81', + 'lesdotor': '\u2A83', + 'lesg': '\u22DA\uFE00', + 'lesges': '\u2A93', + 'lessapprox': '\u2A85', + 'lesseqgtr': '\u22DA', + 'lesseqqgtr': '\u2A8B', + 'lessgtr': '\u2276', + 'lesssim': '\u2272', + 'lfisht': '\u297C', + 'lfloor': '\u230A', + 'lg': '\u2276', + 'lgE': '\u2A91', + 'lhard': '\u21BD', + 'lharu': '\u21BC', + 'lharul': '\u296A', + 'lhblk': '\u2584', + 'ljcy': '\u0459', + 'll': '\u226A', + 'llarr': '\u21C7', + 'llcorner': '\u231E', + 'llhard': '\u296B', + 'lltri': '\u25FA', + 'lmidot': '\u0140', + 'lmoustache': '\u23B0', + 'lnapprox': '\u2A89', + 'lneq': '\u2A87', + 'lneqq': '\u2268', + 'loang': '\u27EC', + 'loarr': '\u21FD', + 'lobrk': '\u27E6', + 'longleftarrow': '\u27F5', + 'longleftrightarrow': '\u27F7', + 'longrightarrow': '\u27F6', + 'looparrowleft': '\u21AB', + 'lopar': '\u2985', + 'loplus': '\u2A2D', + 'lotimes': '\u2A34', + 'lowbar': '\u005F', + 'lozenge': '\u25CA', + 'lozf': '\u29EB', + 'lpar': '\u0028', + 'lparlt': '\u2993', + 'lrarr': '\u21C6', + 'lrcorner': '\u231F', + 'lrhar': '\u21CB', + 'lrhard': '\u296D', + 'lrm': '\u200E', + 'lrtri': '\u22BF', + 'lsaquo': '\u2039', + 'lsh': '\u21B0', + 'lsim': '\u2272', + 'lsime': '\u2A8D', + 'lsimg': '\u2A8F', + 'lsqb': '\u005B', + 'lsquo': '\u2018', + 'lsquor': '\u201A', + 'lstrok': '\u0142', + 'ltcc': '\u2AA6', + 'ltcir': '\u2A79', + 'ltdot': '\u22D6', + 'lthree': '\u22CB', + 'ltlarr': '\u2976', + 'ltquest': '\u2A7B', + 'ltrPar': '\u2996', + 'ltrie': '\u22B4', + 'ltrif': '\u25C2', + 'lurdshar': '\u294A', + 'luruhar': '\u2966', + 'lvertneqq': '\u2268\uFE00', + 'lvnE': '\u2268\uFE00' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/l.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/m.js b/modules/MathJax/jax/input/MathML/entities/m.js new file mode 100644 index 0000000..4a5ed5e --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/m.js @@ -0,0 +1,61 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/m.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Map': '\u2905', + 'Mcy': '\u041C', + 'MediumSpace': '\u205F', + 'Mellintrf': '\u2133', + 'Mu': '\u039C', + 'mDDot': '\u223A', + 'male': '\u2642', + 'maltese': '\u2720', + 'map': '\u21A6', + 'mapsto': '\u21A6', + 'mapstodown': '\u21A7', + 'mapstoleft': '\u21A4', + 'mapstoup': '\u21A5', + 'marker': '\u25AE', + 'mcomma': '\u2A29', + 'mcy': '\u043C', + 'mdash': '\u2014', + 'measuredangle': '\u2221', + 'micro': '\u00B5', + 'mid': '\u2223', + 'midast': '\u002A', + 'midcir': '\u2AF0', + 'middot': '\u00B7', + 'minus': '\u2212', + 'minusb': '\u229F', + 'minusd': '\u2238', + 'minusdu': '\u2A2A', + 'mlcp': '\u2ADB', + 'mldr': '\u2026', + 'mnplus': '\u2213', + 'models': '\u22A7', + 'mp': '\u2213', + 'mstpos': '\u223E', + 'mumap': '\u22B8' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/m.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/n.js b/modules/MathJax/jax/input/MathML/entities/n.js new file mode 100644 index 0000000..4649549 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/n.js @@ -0,0 +1,220 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/n.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'NJcy': '\u040A', + 'Nacute': '\u0143', + 'Ncaron': '\u0147', + 'Ncedil': '\u0145', + 'Ncy': '\u041D', + 'NegativeMediumSpace': '\u200B', + 'NegativeThickSpace': '\u200B', + 'NegativeThinSpace': '\u200B', + 'NegativeVeryThinSpace': '\u200B', + 'NewLine': '\u000A', + 'NoBreak': '\u2060', + 'NonBreakingSpace': '\u00A0', + 'Not': '\u2AEC', + 'NotCongruent': '\u2262', + 'NotCupCap': '\u226D', + 'NotEqualTilde': '\u2242\u0338', + 'NotGreaterFullEqual': '\u2267\u0338', + 'NotGreaterGreater': '\u226B\u0338', + 'NotGreaterLess': '\u2279', + 'NotGreaterSlantEqual': '\u2A7E\u0338', + 'NotGreaterTilde': '\u2275', + 'NotHumpDownHump': '\u224E\u0338', + 'NotHumpEqual': '\u224F\u0338', + 'NotLeftTriangleBar': '\u29CF\u0338', + 'NotLessGreater': '\u2278', + 'NotLessLess': '\u226A\u0338', + 'NotLessSlantEqual': '\u2A7D\u0338', + 'NotLessTilde': '\u2274', + 'NotNestedGreaterGreater': '\u2AA2\u0338', + 'NotNestedLessLess': '\u2AA1\u0338', + 'NotPrecedesEqual': '\u2AAF\u0338', + 'NotReverseElement': '\u220C', + 'NotRightTriangleBar': '\u29D0\u0338', + 'NotSquareSubset': '\u228F\u0338', + 'NotSquareSubsetEqual': '\u22E2', + 'NotSquareSuperset': '\u2290\u0338', + 'NotSquareSupersetEqual': '\u22E3', + 'NotSubset': '\u2282\u20D2', + 'NotSucceedsEqual': '\u2AB0\u0338', + 'NotSucceedsTilde': '\u227F\u0338', + 'NotSuperset': '\u2283\u20D2', + 'NotTildeEqual': '\u2244', + 'NotTildeFullEqual': '\u2247', + 'NotTildeTilde': '\u2249', + 'Ntilde': '\u00D1', + 'Nu': '\u039D', + 'nGg': '\u22D9\u0338', + 'nGt': '\u226B\u20D2', + 'nGtv': '\u226B\u0338', + 'nLl': '\u22D8\u0338', + 'nLt': '\u226A\u20D2', + 'nLtv': '\u226A\u0338', + 'nabla': '\u2207', + 'nacute': '\u0144', + 'nang': '\u2220\u20D2', + 'nap': '\u2249', + 'napE': '\u2A70\u0338', + 'napid': '\u224B\u0338', + 'napos': '\u0149', + 'napprox': '\u2249', + 'natural': '\u266E', + 'naturals': '\u2115', + 'nbsp': '\u00A0', + 'nbump': '\u224E\u0338', + 'nbumpe': '\u224F\u0338', + 'ncap': '\u2A43', + 'ncaron': '\u0148', + 'ncedil': '\u0146', + 'ncong': '\u2247', + 'ncongdot': '\u2A6D\u0338', + 'ncup': '\u2A42', + 'ncy': '\u043D', + 'ndash': '\u2013', + 'ne': '\u2260', + 'neArr': '\u21D7', + 'nearhk': '\u2924', + 'nearrow': '\u2197', + 'nedot': '\u2250\u0338', + 'nequiv': '\u2262', + 'nesear': '\u2928', + 'nesim': '\u2242\u0338', + 'nexist': '\u2204', + 'nexists': '\u2204', + 'ngE': '\u2267\u0338', + 'nge': '\u2271', + 'ngeq': '\u2271', + 'ngeqq': '\u2267\u0338', + 'ngeqslant': '\u2A7E\u0338', + 'nges': '\u2A7E\u0338', + 'ngsim': '\u2275', + 'ngt': '\u226F', + 'ngtr': '\u226F', + 'nhArr': '\u21CE', + 'nhpar': '\u2AF2', + 'ni': '\u220B', + 'nis': '\u22FC', + 'nisd': '\u22FA', + 'niv': '\u220B', + 'njcy': '\u045A', + 'nlArr': '\u21CD', + 'nlE': '\u2266\u0338', + 'nldr': '\u2025', + 'nle': '\u2270', + 'nleftarrow': '\u219A', + 'nleftrightarrow': '\u21AE', + 'nleq': '\u2270', + 'nleqq': '\u2266\u0338', + 'nleqslant': '\u2A7D\u0338', + 'nles': '\u2A7D\u0338', + 'nless': '\u226E', + 'nlsim': '\u2274', + 'nlt': '\u226E', + 'nltri': '\u22EA', + 'nltrie': '\u22EC', + 'nmid': '\u2224', + 'notin': '\u2209', + 'notinE': '\u22F9\u0338', + 'notindot': '\u22F5\u0338', + 'notinva': '\u2209', + 'notinvb': '\u22F7', + 'notinvc': '\u22F6', + 'notni': '\u220C', + 'notniva': '\u220C', + 'notnivb': '\u22FE', + 'notnivc': '\u22FD', + 'npar': '\u2226', + 'nparallel': '\u2226', + 'nparsl': '\u2AFD\u20E5', + 'npart': '\u2202\u0338', + 'npolint': '\u2A14', + 'npr': '\u2280', + 'nprcue': '\u22E0', + 'npre': '\u2AAF\u0338', + 'nprec': '\u2280', + 'npreceq': '\u2AAF\u0338', + 'nrArr': '\u21CF', + 'nrarrc': '\u2933\u0338', + 'nrarrw': '\u219D\u0338', + 'nrightarrow': '\u219B', + 'nrtri': '\u22EB', + 'nrtrie': '\u22ED', + 'nsc': '\u2281', + 'nsccue': '\u22E1', + 'nsce': '\u2AB0\u0338', + 'nshortmid': '\u2224', + 'nshortparallel': '\u2226', + 'nsim': '\u2241', + 'nsime': '\u2244', + 'nsimeq': '\u2244', + 'nsmid': '\u2224', + 'nspar': '\u2226', + 'nsqsube': '\u22E2', + 'nsqsupe': '\u22E3', + 'nsub': '\u2284', + 'nsubE': '\u2AC5\u0338', + 'nsube': '\u2288', + 'nsubset': '\u2282\u20D2', + 'nsubseteq': '\u2288', + 'nsubseteqq': '\u2AC5\u0338', + 'nsucc': '\u2281', + 'nsucceq': '\u2AB0\u0338', + 'nsup': '\u2285', + 'nsupE': '\u2AC6\u0338', + 'nsupe': '\u2289', + 'nsupset': '\u2283\u20D2', + 'nsupseteq': '\u2289', + 'nsupseteqq': '\u2AC6\u0338', + 'ntgl': '\u2279', + 'ntilde': '\u00F1', + 'ntlg': '\u2278', + 'ntriangleleft': '\u22EA', + 'ntrianglelefteq': '\u22EC', + 'ntriangleright': '\u22EB', + 'ntrianglerighteq': '\u22ED', + 'num': '\u0023', + 'numero': '\u2116', + 'numsp': '\u2007', + 'nvHarr': '\u2904', + 'nvap': '\u224D\u20D2', + 'nvge': '\u2265\u20D2', + 'nvgt': '\u003E\u20D2', + 'nvinfin': '\u29DE', + 'nvlArr': '\u2902', + 'nvle': '\u2264\u20D2', + 'nvlt': '\u003C\u20D2', + 'nvltrie': '\u22B4\u20D2', + 'nvrArr': '\u2903', + 'nvrtrie': '\u22B5\u20D2', + 'nvsim': '\u223C\u20D2', + 'nwArr': '\u21D6', + 'nwarhk': '\u2923', + 'nwarrow': '\u2196', + 'nwnear': '\u2927' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/n.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/o.js b/modules/MathJax/jax/input/MathML/entities/o.js new file mode 100644 index 0000000..d15a960 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/o.js @@ -0,0 +1,90 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/o.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'OElig': '\u0152', + 'Oacute': '\u00D3', + 'Ocirc': '\u00D4', + 'Ocy': '\u041E', + 'Odblac': '\u0150', + 'Ograve': '\u00D2', + 'Omacr': '\u014C', + 'Omicron': '\u039F', + 'OpenCurlyDoubleQuote': '\u201C', + 'OpenCurlyQuote': '\u2018', + 'Or': '\u2A54', + 'Oslash': '\u00D8', + 'Otilde': '\u00D5', + 'Otimes': '\u2A37', + 'Ouml': '\u00D6', + 'OverBracket': '\u23B4', + 'OverParenthesis': '\u23DC', + 'oS': '\u24C8', + 'oacute': '\u00F3', + 'oast': '\u229B', + 'ocir': '\u229A', + 'ocirc': '\u00F4', + 'ocy': '\u043E', + 'odash': '\u229D', + 'odblac': '\u0151', + 'odiv': '\u2A38', + 'odot': '\u2299', + 'odsold': '\u29BC', + 'oelig': '\u0153', + 'ofcir': '\u29BF', + 'ogon': '\u02DB', + 'ograve': '\u00F2', + 'ogt': '\u29C1', + 'ohbar': '\u29B5', + 'ohm': '\u03A9', + 'oint': '\u222E', + 'olarr': '\u21BA', + 'olcir': '\u29BE', + 'olcross': '\u29BB', + 'oline': '\u203E', + 'olt': '\u29C0', + 'omacr': '\u014D', + 'omid': '\u29B6', + 'ominus': '\u2296', + 'opar': '\u29B7', + 'operp': '\u29B9', + 'oplus': '\u2295', + 'orarr': '\u21BB', + 'ord': '\u2A5D', + 'order': '\u2134', + 'orderof': '\u2134', + 'ordf': '\u00AA', + 'ordm': '\u00BA', + 'origof': '\u22B6', + 'oror': '\u2A56', + 'orslope': '\u2A57', + 'orv': '\u2A5B', + 'oslash': '\u00F8', + 'otilde': '\u00F5', + 'otimes': '\u2297', + 'otimesas': '\u2A36', + 'ouml': '\u00F6', + 'ovbar': '\u233D' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/o.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/opf.js b/modules/MathJax/jax/input/MathML/entities/opf.js new file mode 100644 index 0000000..cc8c552 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/opf.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/opf.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Aopf': '\uD835\uDD38', + 'Bopf': '\uD835\uDD39', + 'Copf': '\u2102', + 'Dopf': '\uD835\uDD3B', + 'Eopf': '\uD835\uDD3C', + 'Fopf': '\uD835\uDD3D', + 'Gopf': '\uD835\uDD3E', + 'Hopf': '\u210D', + 'Iopf': '\uD835\uDD40', + 'Jopf': '\uD835\uDD41', + 'Kopf': '\uD835\uDD42', + 'Lopf': '\uD835\uDD43', + 'Mopf': '\uD835\uDD44', + 'Nopf': '\u2115', + 'Oopf': '\uD835\uDD46', + 'Popf': '\u2119', + 'Qopf': '\u211A', + 'Ropf': '\u211D', + 'Sopf': '\uD835\uDD4A', + 'Topf': '\uD835\uDD4B', + 'Uopf': '\uD835\uDD4C', + 'Vopf': '\uD835\uDD4D', + 'Wopf': '\uD835\uDD4E', + 'Xopf': '\uD835\uDD4F', + 'Yopf': '\uD835\uDD50', + 'Zopf': '\u2124', + 'aopf': '\uD835\uDD52', + 'bopf': '\uD835\uDD53', + 'copf': '\uD835\uDD54', + 'dopf': '\uD835\uDD55', + 'eopf': '\uD835\uDD56', + 'fopf': '\uD835\uDD57', + 'gopf': '\uD835\uDD58', + 'hopf': '\uD835\uDD59', + 'iopf': '\uD835\uDD5A', + 'jopf': '\uD835\uDD5B', + 'kopf': '\uD835\uDD5C', + 'lopf': '\uD835\uDD5D', + 'mopf': '\uD835\uDD5E', + 'nopf': '\uD835\uDD5F', + 'oopf': '\uD835\uDD60', + 'popf': '\uD835\uDD61', + 'qopf': '\uD835\uDD62', + 'ropf': '\uD835\uDD63', + 'sopf': '\uD835\uDD64', + 'topf': '\uD835\uDD65', + 'uopf': '\uD835\uDD66', + 'vopf': '\uD835\uDD67', + 'wopf': '\uD835\uDD68', + 'xopf': '\uD835\uDD69', + 'yopf': '\uD835\uDD6A', + 'zopf': '\uD835\uDD6B' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/opf.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/p.js b/modules/MathJax/jax/input/MathML/entities/p.js new file mode 100644 index 0000000..e8ee2c3 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/p.js @@ -0,0 +1,84 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/p.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Pcy': '\u041F', + 'Poincareplane': '\u210C', + 'Pr': '\u2ABB', + 'Prime': '\u2033', + 'Proportion': '\u2237', + 'par': '\u2225', + 'para': '\u00B6', + 'parallel': '\u2225', + 'parsim': '\u2AF3', + 'parsl': '\u2AFD', + 'part': '\u2202', + 'pcy': '\u043F', + 'percnt': '\u0025', + 'permil': '\u2030', + 'perp': '\u22A5', + 'pertenk': '\u2031', + 'phmmat': '\u2133', + 'phone': '\u260E', + 'pitchfork': '\u22D4', + 'planck': '\u210F', + 'planckh': '\u210E', + 'plankv': '\u210F', + 'plus': '\u002B', + 'plusacir': '\u2A23', + 'plusb': '\u229E', + 'pluscir': '\u2A22', + 'plusdo': '\u2214', + 'plusdu': '\u2A25', + 'pluse': '\u2A72', + 'plusmn': '\u00B1', + 'plussim': '\u2A26', + 'plustwo': '\u2A27', + 'pm': '\u00B1', + 'pointint': '\u2A15', + 'pound': '\u00A3', + 'pr': '\u227A', + 'prE': '\u2AB3', + 'prcue': '\u227C', + 'pre': '\u2AAF', + 'prec': '\u227A', + 'precapprox': '\u2AB7', + 'preccurlyeq': '\u227C', + 'preceq': '\u2AAF', + 'precsim': '\u227E', + 'primes': '\u2119', + 'prnE': '\u2AB5', + 'prnap': '\u2AB9', + 'prnsim': '\u22E8', + 'prod': '\u220F', + 'profalar': '\u232E', + 'profline': '\u2312', + 'profsurf': '\u2313', + 'prop': '\u221D', + 'propto': '\u221D', + 'prsim': '\u227E', + 'prurel': '\u22B0', + 'puncsp': '\u2008' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/p.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/q.js b/modules/MathJax/jax/input/MathML/entities/q.js new file mode 100644 index 0000000..e2773ea --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/q.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/q.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'QUOT': '\u0022', + 'qint': '\u2A0C', + 'qprime': '\u2057', + 'quaternions': '\u210D', + 'quatint': '\u2A16', + 'quest': '\u003F', + 'questeq': '\u225F', + 'quot': '\u0022' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/q.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/r.js b/modules/MathJax/jax/input/MathML/entities/r.js new file mode 100644 index 0000000..9a25327 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/r.js @@ -0,0 +1,138 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/r.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'RBarr': '\u2910', + 'REG': '\u00AE', + 'Racute': '\u0154', + 'Rang': '\u27EB', + 'Rarrtl': '\u2916', + 'Rcaron': '\u0158', + 'Rcedil': '\u0156', + 'Rcy': '\u0420', + 'ReverseElement': '\u220B', + 'ReverseUpEquilibrium': '\u296F', + 'Rho': '\u03A1', + 'RightArrowBar': '\u21E5', + 'RightDoubleBracket': '\u27E7', + 'RightDownTeeVector': '\u295D', + 'RightDownVectorBar': '\u2955', + 'RightTeeVector': '\u295B', + 'RightTriangleBar': '\u29D0', + 'RightUpDownVector': '\u294F', + 'RightUpTeeVector': '\u295C', + 'RightUpVectorBar': '\u2954', + 'RightVectorBar': '\u2953', + 'RoundImplies': '\u2970', + 'RuleDelayed': '\u29F4', + 'rAarr': '\u21DB', + 'rArr': '\u21D2', + 'rAtail': '\u291C', + 'rBarr': '\u290F', + 'rHar': '\u2964', + 'race': '\u223D\u0331', + 'racute': '\u0155', + 'radic': '\u221A', + 'raemptyv': '\u29B3', + 'rang': '\u27E9', + 'rangd': '\u2992', + 'range': '\u29A5', + 'rangle': '\u27E9', + 'raquo': '\u00BB', + 'rarr': '\u2192', + 'rarrap': '\u2975', + 'rarrb': '\u21E5', + 'rarrbfs': '\u2920', + 'rarrc': '\u2933', + 'rarrfs': '\u291E', + 'rarrhk': '\u21AA', + 'rarrlp': '\u21AC', + 'rarrpl': '\u2945', + 'rarrsim': '\u2974', + 'rarrw': '\u219D', + 'ratail': '\u291A', + 'ratio': '\u2236', + 'rationals': '\u211A', + 'rbarr': '\u290D', + 'rbbrk': '\u2773', + 'rbrke': '\u298C', + 'rbrksld': '\u298E', + 'rbrkslu': '\u2990', + 'rcaron': '\u0159', + 'rcedil': '\u0157', + 'rceil': '\u2309', + 'rcub': '\u007D', + 'rcy': '\u0440', + 'rdca': '\u2937', + 'rdldhar': '\u2969', + 'rdquo': '\u201D', + 'rdquor': '\u201D', + 'rdsh': '\u21B3', + 'real': '\u211C', + 'realine': '\u211B', + 'realpart': '\u211C', + 'reals': '\u211D', + 'rect': '\u25AD', + 'reg': '\u00AE', + 'rfisht': '\u297D', + 'rfloor': '\u230B', + 'rhard': '\u21C1', + 'rharu': '\u21C0', + 'rharul': '\u296C', + 'rightarrow': '\u2192', + 'rightarrowtail': '\u21A3', + 'rightharpoondown': '\u21C1', + 'rightharpoonup': '\u21C0', + 'rightleftarrows': '\u21C4', + 'rightleftharpoons': '\u21CC', + 'rightsquigarrow': '\u219D', + 'risingdotseq': '\u2253', + 'rlarr': '\u21C4', + 'rlhar': '\u21CC', + 'rlm': '\u200F', + 'rmoustache': '\u23B1', + 'rnmid': '\u2AEE', + 'roang': '\u27ED', + 'roarr': '\u21FE', + 'robrk': '\u27E7', + 'ropar': '\u2986', + 'roplus': '\u2A2E', + 'rotimes': '\u2A35', + 'rpar': '\u0029', + 'rpargt': '\u2994', + 'rppolint': '\u2A12', + 'rrarr': '\u21C9', + 'rsaquo': '\u203A', + 'rsh': '\u21B1', + 'rsqb': '\u005D', + 'rsquo': '\u2019', + 'rsquor': '\u2019', + 'rthree': '\u22CC', + 'rtrie': '\u22B5', + 'rtrif': '\u25B8', + 'rtriltri': '\u29CE', + 'ruluhar': '\u2968', + 'rx': '\u211E' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/r.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/s.js b/modules/MathJax/jax/input/MathML/entities/s.js new file mode 100644 index 0000000..8c26da8 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/s.js @@ -0,0 +1,170 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/s.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'SHCHcy': '\u0429', + 'SHcy': '\u0428', + 'SOFTcy': '\u042C', + 'Sacute': '\u015A', + 'Sc': '\u2ABC', + 'Scaron': '\u0160', + 'Scedil': '\u015E', + 'Scirc': '\u015C', + 'Scy': '\u0421', + 'ShortDownArrow': '\u2193', + 'ShortLeftArrow': '\u2190', + 'ShortRightArrow': '\u2192', + 'ShortUpArrow': '\u2191', + 'Sub': '\u22D0', + 'Sup': '\u22D1', + 'sacute': '\u015B', + 'sbquo': '\u201A', + 'sc': '\u227B', + 'scE': '\u2AB4', + 'scaron': '\u0161', + 'sccue': '\u227D', + 'sce': '\u2AB0', + 'scedil': '\u015F', + 'scirc': '\u015D', + 'scpolint': '\u2A13', + 'scsim': '\u227F', + 'scy': '\u0441', + 'sdotb': '\u22A1', + 'sdote': '\u2A66', + 'seArr': '\u21D8', + 'searhk': '\u2925', + 'searrow': '\u2198', + 'semi': '\u003B', + 'seswar': '\u2929', + 'setminus': '\u2216', + 'setmn': '\u2216', + 'sext': '\u2736', + 'sfrown': '\u2322', + 'shchcy': '\u0449', + 'shcy': '\u0448', + 'shortmid': '\u2223', + 'shortparallel': '\u2225', + 'shy': '\u00AD', + 'sigmaf': '\u03C2', + 'sim': '\u223C', + 'simdot': '\u2A6A', + 'sime': '\u2243', + 'simeq': '\u2243', + 'simg': '\u2A9E', + 'simgE': '\u2AA0', + 'siml': '\u2A9D', + 'simlE': '\u2A9F', + 'simplus': '\u2A24', + 'simrarr': '\u2972', + 'slarr': '\u2190', + 'smallsetminus': '\u2216', + 'smashp': '\u2A33', + 'smeparsl': '\u29E4', + 'smid': '\u2223', + 'smt': '\u2AAA', + 'smte': '\u2AAC', + 'smtes': '\u2AAC\uFE00', + 'softcy': '\u044C', + 'sol': '\u002F', + 'solb': '\u29C4', + 'solbar': '\u233F', + 'spadesuit': '\u2660', + 'spar': '\u2225', + 'sqcap': '\u2293', + 'sqcaps': '\u2293\uFE00', + 'sqcup': '\u2294', + 'sqcups': '\u2294\uFE00', + 'sqsub': '\u228F', + 'sqsube': '\u2291', + 'sqsubset': '\u228F', + 'sqsubseteq': '\u2291', + 'sqsup': '\u2290', + 'sqsupe': '\u2292', + 'sqsupset': '\u2290', + 'sqsupseteq': '\u2292', + 'squ': '\u25A1', + 'square': '\u25A1', + 'squarf': '\u25AA', + 'squf': '\u25AA', + 'srarr': '\u2192', + 'ssetmn': '\u2216', + 'ssmile': '\u2323', + 'sstarf': '\u22C6', + 'star': '\u2606', + 'starf': '\u2605', + 'straightepsilon': '\u03F5', + 'straightphi': '\u03D5', + 'strns': '\u00AF', + 'subdot': '\u2ABD', + 'sube': '\u2286', + 'subedot': '\u2AC3', + 'submult': '\u2AC1', + 'subplus': '\u2ABF', + 'subrarr': '\u2979', + 'subset': '\u2282', + 'subseteq': '\u2286', + 'subseteqq': '\u2AC5', + 'subsetneq': '\u228A', + 'subsetneqq': '\u2ACB', + 'subsim': '\u2AC7', + 'subsub': '\u2AD5', + 'subsup': '\u2AD3', + 'succ': '\u227B', + 'succapprox': '\u2AB8', + 'succcurlyeq': '\u227D', + 'succeq': '\u2AB0', + 'succnapprox': '\u2ABA', + 'succneqq': '\u2AB6', + 'succnsim': '\u22E9', + 'succsim': '\u227F', + 'sum': '\u2211', + 'sung': '\u266A', + 'sup': '\u2283', + 'sup1': '\u00B9', + 'sup2': '\u00B2', + 'sup3': '\u00B3', + 'supdot': '\u2ABE', + 'supdsub': '\u2AD8', + 'supe': '\u2287', + 'supedot': '\u2AC4', + 'suphsol': '\u27C9', + 'suphsub': '\u2AD7', + 'suplarr': '\u297B', + 'supmult': '\u2AC2', + 'supplus': '\u2AC0', + 'supset': '\u2283', + 'supseteq': '\u2287', + 'supseteqq': '\u2AC6', + 'supsetneq': '\u228B', + 'supsetneqq': '\u2ACC', + 'supsim': '\u2AC8', + 'supsub': '\u2AD4', + 'supsup': '\u2AD6', + 'swArr': '\u21D9', + 'swarhk': '\u2926', + 'swarrow': '\u2199', + 'swnwar': '\u292A', + 'szlig': '\u00DF' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/s.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/scr.js b/modules/MathJax/jax/input/MathML/entities/scr.js new file mode 100644 index 0000000..062968b --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/scr.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/scr.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Ascr': '\uD835\uDC9C', + 'Bscr': '\u212C', + 'Cscr': '\uD835\uDC9E', + 'Dscr': '\uD835\uDC9F', + 'Escr': '\u2130', + 'Fscr': '\u2131', + 'Gscr': '\uD835\uDCA2', + 'Hscr': '\u210B', + 'Iscr': '\u2110', + 'Jscr': '\uD835\uDCA5', + 'Kscr': '\uD835\uDCA6', + 'Lscr': '\u2112', + 'Mscr': '\u2133', + 'Nscr': '\uD835\uDCA9', + 'Oscr': '\uD835\uDCAA', + 'Pscr': '\uD835\uDCAB', + 'Qscr': '\uD835\uDCAC', + 'Rscr': '\u211B', + 'Sscr': '\uD835\uDCAE', + 'Tscr': '\uD835\uDCAF', + 'Uscr': '\uD835\uDCB0', + 'Vscr': '\uD835\uDCB1', + 'Wscr': '\uD835\uDCB2', + 'Xscr': '\uD835\uDCB3', + 'Yscr': '\uD835\uDCB4', + 'Zscr': '\uD835\uDCB5', + 'ascr': '\uD835\uDCB6', + 'bscr': '\uD835\uDCB7', + 'cscr': '\uD835\uDCB8', + 'dscr': '\uD835\uDCB9', + 'escr': '\u212F', + 'fscr': '\uD835\uDCBB', + 'gscr': '\u210A', + 'hscr': '\uD835\uDCBD', + 'iscr': '\uD835\uDCBE', + 'jscr': '\uD835\uDCBF', + 'kscr': '\uD835\uDCC0', + 'lscr': '\uD835\uDCC1', + 'mscr': '\uD835\uDCC2', + 'nscr': '\uD835\uDCC3', + 'oscr': '\u2134', + 'pscr': '\uD835\uDCC5', + 'qscr': '\uD835\uDCC6', + 'rscr': '\uD835\uDCC7', + 'sscr': '\uD835\uDCC8', + 'tscr': '\uD835\uDCC9', + 'uscr': '\uD835\uDCCA', + 'vscr': '\uD835\uDCCB', + 'wscr': '\uD835\uDCCC', + 'xscr': '\uD835\uDCCD', + 'yscr': '\uD835\uDCCE', + 'zscr': '\uD835\uDCCF' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/scr.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/t.js b/modules/MathJax/jax/input/MathML/entities/t.js new file mode 100644 index 0000000..8b2746e --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/t.js @@ -0,0 +1,86 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/t.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'THORN': '\u00DE', + 'TRADE': '\u2122', + 'TSHcy': '\u040B', + 'TScy': '\u0426', + 'Tab': '\u0009', + 'Tau': '\u03A4', + 'Tcaron': '\u0164', + 'Tcedil': '\u0162', + 'Tcy': '\u0422', + 'ThickSpace': '\u205F\u200A', + 'ThinSpace': '\u2009', + 'TripleDot': '\u20DB', + 'Tstrok': '\u0166', + 'target': '\u2316', + 'tbrk': '\u23B4', + 'tcaron': '\u0165', + 'tcedil': '\u0163', + 'tcy': '\u0442', + 'tdot': '\u20DB', + 'telrec': '\u2315', + 'there4': '\u2234', + 'therefore': '\u2234', + 'thetasym': '\u03D1', + 'thickapprox': '\u2248', + 'thicksim': '\u223C', + 'thinsp': '\u2009', + 'thkap': '\u2248', + 'thksim': '\u223C', + 'thorn': '\u00FE', + 'timesb': '\u22A0', + 'timesbar': '\u2A31', + 'timesd': '\u2A30', + 'tint': '\u222D', + 'toea': '\u2928', + 'top': '\u22A4', + 'topbot': '\u2336', + 'topcir': '\u2AF1', + 'topfork': '\u2ADA', + 'tosa': '\u2929', + 'tprime': '\u2034', + 'trade': '\u2122', + 'triangledown': '\u25BF', + 'triangleleft': '\u25C3', + 'trianglelefteq': '\u22B4', + 'triangleright': '\u25B9', + 'trianglerighteq': '\u22B5', + 'tridot': '\u25EC', + 'trie': '\u225C', + 'triminus': '\u2A3A', + 'triplus': '\u2A39', + 'trisb': '\u29CD', + 'tritime': '\u2A3B', + 'trpezium': '\u23E2', + 'tscy': '\u0446', + 'tshcy': '\u045B', + 'tstrok': '\u0167', + 'twixt': '\u226C', + 'twoheadleftarrow': '\u219E', + 'twoheadrightarrow': '\u21A0' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/t.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/u.js b/modules/MathJax/jax/input/MathML/entities/u.js new file mode 100644 index 0000000..e4c9f38 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/u.js @@ -0,0 +1,92 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/u.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Uacute': '\u00DA', + 'Uarr': '\u219F', + 'Uarrocir': '\u2949', + 'Ubrcy': '\u040E', + 'Ubreve': '\u016C', + 'Ucirc': '\u00DB', + 'Ucy': '\u0423', + 'Udblac': '\u0170', + 'Ugrave': '\u00D9', + 'Umacr': '\u016A', + 'UnderBracket': '\u23B5', + 'UnderParenthesis': '\u23DD', + 'Uogon': '\u0172', + 'UpArrowBar': '\u2912', + 'UpArrowDownArrow': '\u21C5', + 'UpEquilibrium': '\u296E', + 'UpTeeArrow': '\u21A5', + 'UpperLeftArrow': '\u2196', + 'UpperRightArrow': '\u2197', + 'Upsi': '\u03D2', + 'Uring': '\u016E', + 'Utilde': '\u0168', + 'Uuml': '\u00DC', + 'uArr': '\u21D1', + 'uHar': '\u2963', + 'uacute': '\u00FA', + 'uarr': '\u2191', + 'ubrcy': '\u045E', + 'ubreve': '\u016D', + 'ucirc': '\u00FB', + 'ucy': '\u0443', + 'udarr': '\u21C5', + 'udblac': '\u0171', + 'udhar': '\u296E', + 'ufisht': '\u297E', + 'ugrave': '\u00F9', + 'uharl': '\u21BF', + 'uharr': '\u21BE', + 'uhblk': '\u2580', + 'ulcorn': '\u231C', + 'ulcorner': '\u231C', + 'ulcrop': '\u230F', + 'ultri': '\u25F8', + 'umacr': '\u016B', + 'uml': '\u00A8', + 'uogon': '\u0173', + 'uparrow': '\u2191', + 'updownarrow': '\u2195', + 'upharpoonleft': '\u21BF', + 'upharpoonright': '\u21BE', + 'uplus': '\u228E', + 'upsih': '\u03D2', + 'upsilon': '\u03C5', + 'urcorn': '\u231D', + 'urcorner': '\u231D', + 'urcrop': '\u230E', + 'uring': '\u016F', + 'urtri': '\u25F9', + 'utdot': '\u22F0', + 'utilde': '\u0169', + 'utri': '\u25B5', + 'utrif': '\u25B4', + 'uuarr': '\u21C8', + 'uuml': '\u00FC', + 'uwangle': '\u29A7' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/u.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/v.js b/modules/MathJax/jax/input/MathML/entities/v.js new file mode 100644 index 0000000..b76e16d --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/v.js @@ -0,0 +1,73 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/v.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'VDash': '\u22AB', + 'Vbar': '\u2AEB', + 'Vcy': '\u0412', + 'Vdashl': '\u2AE6', + 'Verbar': '\u2016', + 'Vert': '\u2016', + 'VerticalLine': '\u007C', + 'VerticalSeparator': '\u2758', + 'VeryThinSpace': '\u200A', + 'vArr': '\u21D5', + 'vBar': '\u2AE8', + 'vBarv': '\u2AE9', + 'vDash': '\u22A8', + 'vangrt': '\u299C', + 'varepsilon': '\u03F5', + 'varkappa': '\u03F0', + 'varnothing': '\u2205', + 'varphi': '\u03D5', + 'varpi': '\u03D6', + 'varpropto': '\u221D', + 'varr': '\u2195', + 'varrho': '\u03F1', + 'varsigma': '\u03C2', + 'varsubsetneq': '\u228A\uFE00', + 'varsubsetneqq': '\u2ACB\uFE00', + 'varsupsetneq': '\u228B\uFE00', + 'varsupsetneqq': '\u2ACC\uFE00', + 'vartheta': '\u03D1', + 'vartriangleleft': '\u22B2', + 'vartriangleright': '\u22B3', + 'vcy': '\u0432', + 'vdash': '\u22A2', + 'vee': '\u2228', + 'veeeq': '\u225A', + 'verbar': '\u007C', + 'vert': '\u007C', + 'vltri': '\u22B2', + 'vnsub': '\u2282\u20D2', + 'vnsup': '\u2283\u20D2', + 'vprop': '\u221D', + 'vrtri': '\u22B3', + 'vsubnE': '\u2ACB\uFE00', + 'vsubne': '\u228A\uFE00', + 'vsupnE': '\u2ACC\uFE00', + 'vsupne': '\u228B\uFE00', + 'vzigzag': '\u299A' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/v.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/w.js b/modules/MathJax/jax/input/MathML/entities/w.js new file mode 100644 index 0000000..73186ee --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/w.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/w.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'Wcirc': '\u0174', + 'wcirc': '\u0175', + 'wedbar': '\u2A5F', + 'wedge': '\u2227', + 'wedgeq': '\u2259', + 'wp': '\u2118', + 'wr': '\u2240', + 'wreath': '\u2240' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/w.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/x.js b/modules/MathJax/jax/input/MathML/entities/x.js new file mode 100644 index 0000000..f6bb122 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/x.js @@ -0,0 +1,47 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/x.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'xcap': '\u22C2', + 'xcirc': '\u25EF', + 'xcup': '\u22C3', + 'xdtri': '\u25BD', + 'xhArr': '\u27FA', + 'xharr': '\u27F7', + 'xlArr': '\u27F8', + 'xlarr': '\u27F5', + 'xmap': '\u27FC', + 'xnis': '\u22FB', + 'xodot': '\u2A00', + 'xoplus': '\u2A01', + 'xotime': '\u2A02', + 'xrArr': '\u27F9', + 'xrarr': '\u27F6', + 'xsqcup': '\u2A06', + 'xuplus': '\u2A04', + 'xutri': '\u25B3', + 'xvee': '\u22C1', + 'xwedge': '\u22C0' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/x.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/y.js b/modules/MathJax/jax/input/MathML/entities/y.js new file mode 100644 index 0000000..913d61d --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/y.js @@ -0,0 +1,41 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/y.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'YAcy': '\u042F', + 'YIcy': '\u0407', + 'YUcy': '\u042E', + 'Yacute': '\u00DD', + 'Ycirc': '\u0176', + 'Ycy': '\u042B', + 'Yuml': '\u0178', + 'yacute': '\u00FD', + 'yacy': '\u044F', + 'ycirc': '\u0177', + 'ycy': '\u044B', + 'yicy': '\u0457', + 'yucy': '\u044E', + 'yuml': '\u00FF' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/y.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/entities/z.js b/modules/MathJax/jax/input/MathML/entities/z.js new file mode 100644 index 0000000..385b9ff --- /dev/null +++ b/modules/MathJax/jax/input/MathML/entities/z.js @@ -0,0 +1,42 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/entities/z.js + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + * + */ + +(function (MATHML) { + MathJax.Hub.Insert(MATHML.Parse.Entity,{ + 'ZHcy': '\u0416', + 'Zacute': '\u0179', + 'Zcaron': '\u017D', + 'Zcy': '\u0417', + 'Zdot': '\u017B', + 'ZeroWidthSpace': '\u200B', + 'Zeta': '\u0396', + 'zacute': '\u017A', + 'zcaron': '\u017E', + 'zcy': '\u0437', + 'zdot': '\u017C', + 'zeetrf': '\u2128', + 'zhcy': '\u0436', + 'zwj': '\u200D', + 'zwnj': '\u200C' + }); + + MathJax.Ajax.loadComplete(MATHML.entityDir+"/z.js"); + +})(MathJax.InputJax.MathML); diff --git a/modules/MathJax/jax/input/MathML/jax.js b/modules/MathJax/jax/input/MathML/jax.js new file mode 100644 index 0000000..e1f8367 --- /dev/null +++ b/modules/MathJax/jax/input/MathML/jax.js @@ -0,0 +1,619 @@ +/************************************************************* + * + * MathJax/jax/input/MathML/jax.js + * + * Implements the MathML InputJax that reads mathematics in + * MathML format and converts it to the MML ElementJax + * internal format. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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 + + */ + +(function (MATHML,BROWSER) { + var MML; + + MATHML.Parse = MathJax.Object.Subclass({ + + Init: function (string) {this.Parse(string)}, + + // + // Parse the MathML and check for errors + // + Parse: function (math) { + var doc; + if (typeof math !== "string") {doc = math.parentNode} else { + if (math.match(/^<[a-z]+:/i) && !math.match(/^<[^<>]* xmlns:/)) + {math = math.replace(/^<([a-z]+)(:math)/i,'<$1$2 xmlns:$1="http://www.w3.org/1998/Math/MathML"')} + math = math.replace(/^\s*(?:\/\/)?\s*$/,"$2"); + math = math.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity); + doc = MATHML.ParseXML(math); if (doc == null) {MATHML.Error("Error parsing MathML")} + } + var err = doc.getElementsByTagName("parsererror")[0]; + if (err) MATHML.Error("Error parsing MathML: "+err.textContent.replace(/This page.*?errors:|XML Parsing Error: |Below is a rendering of the page.*/g,"")); + if (doc.childNodes.length !== 1) MATHML.Error("MathML must be formed by a single element"); + if (doc.firstChild.nodeName.toLowerCase() === "html") { + var h1 = doc.getElementsByTagName("h1")[0]; + if (h1 && h1.textContent === "XML parsing error" && h1.nextSibling) + MATHML.Error("Error parsing MathML: "+String(h1.nextSibling.nodeValue).replace(/fatal parsing error: /,"")); + } + if (doc.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") !== "math") + MATHML.Error("MathML must be formed by a element, not <"+doc.firstChild.nodeName+">"); + this.mml = this.MakeMML(doc.firstChild); + }, + + // + // Convert the MathML structure to the MathJax Element jax structure + // + MakeMML: function (node) { + var type = node.nodeName.toLowerCase().replace(/^[a-z]+:/,""); + if (!(MML[type] && MML[type].isa && MML[type].isa(MML.mbase))) + {return MML.merror("Unknown node type: "+type)} + var mml = MML[type](), i, m, name, value; + for (i = 0, m = node.attributes.length; i < m; i++) { + name = node.attributes[i].name; + if (name == "xlink:href") {name = "href"} + if (name.match(/:/)) continue; + value = node.attributes[i].value; + if (value.toLowerCase() === "true") {value = true} + else if (value.toLowerCase() === "false") {value = false} + mml[name] = value; + } + for (i = 0, m = node.childNodes.length; i < m; i++) { + var child = node.childNodes[i]; + if (child.nodeName === "#comment") continue; + if (child.nodeName === "#text") { + if (mml.isToken && !mml.mmlSelfClosing) { + var text = this.trimSpace(child.nodeValue); + if (mml.isa(MML.mo) && text.length === 1 && this.Remap[text.charAt(0)]) + {text = this.Remap[text.charAt(0)]} + text = text.replace(/&([a-z][a-z0-9]*);/ig,this.replaceEntity); + mml.Append(MML.chars(text)); + } else if (child.nodeValue.match(/\S/)) { + MATHML.Error("Unexpected text node: '"+child.nodeValue+"'"); + } + } else if (mml.type === "annotation-xml") { + mml.Append(MML.xml(child)); + } else { + var cmml = this.MakeMML(child); mml.Append(cmml); + if (cmml.mmlSelfClosing && cmml.data.length) + {mml.Append.apply(mml,cmml.data); cmml.data = []} + } + } + if (MATHML.config.useMathMLspacing) {mml.useMMLspacing = 0x08} + return mml; + }, + + trimSpace: function (string) { + return string.replace(/^[ \t\n\r]+/,"") // initial whitespace + .replace(/[ \t\n\r]+$/,"") // trailing whitespace + .replace(/[ \t\n\r][ \t\n\r]+/g," "); // internal multiple whitespace + }, + + replaceEntity: function (match,entity) { + if (entity.match(/^(lt|amp|quot)$/)) {return match} // these mess up attribute parsing + if (MATHML.Parse.Entity[entity]) {return MATHML.Parse.Entity[entity]} + var file = entity.charAt(0).toLowerCase(); + var font = entity.match(/^[a-zA-Z](fr|scr|opf)$/); + if (font) {file = font[1]} + if (!MATHML.Parse.loaded[file]) { + MATHML.Parse.loaded[file] = true; + MathJax.Hub.RestartAfter(MathJax.Ajax.Require(MATHML.entityDir+"/"+file+".js")); + } + return match; + }, + + Remap: { + '\u0027': '\u2032', // ' + '\u002A': '\u2217', // * + '\u002D': '\u2212' // - + } + }, { + loaded: [] + }); + + /************************************************************************/ + + MATHML.Augment({ + Translate: function (script) { + if (!this.ParseXML) {this.ParseXML = this.createParser()} + var mml, math; + if (script.firstChild && + script.firstChild.nodeName.toLowerCase().replace(/^[a-z]+:/,"") === "math") { + math = this.prefilterMathML(script.firstChild); + } else { + math = script.innerHTML.replace(/^\s+/,"").replace(/\s+$/,""); + if (BROWSER.isMSIE) {math = math.replace(/( )+$/,"")} + else if (BROWSER.isKonqueror) + {math = math.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")} + math = this.prefilterMath(math,script); + } + try { + mml = MATHML.Parse(math).mml; + } catch(err) { + if (!err.mathmlError) {throw err} + mml = this.formatError(err,math,script); + } + return MML(mml); + }, + prefilterMath: function (math,script) {return math}, + prefilterMathML: function (math) {return math}, + formatError: function (err,math,script) { + return MML.merror(err.message.replace(/\n.*/,"")); + }, + Error: function (message) { + throw MathJax.Hub.Insert(Error(message),{mathmlError: true}); + }, + // + // Parsers for various forms (DOMParser, Windows ActiveX object, other) + // + parseDOM: function (string) {return this.parser.parseFromString(string,"text/xml")}, + parseMS: function (string) {return (this.parser.loadXML(string) ? this.parser : null)}, + parseDIV: function (string) { + this.div.innerHTML = string.replace(/<([a-z]+)([^>]*)\/>/g,"<$1$2>"); + return this.div; + }, + parseError: function (string) {return null}, + // + // Create the parser using a DOMParser, or other fallback method + // + createParser: function () { + if (window.DOMParser) { + this.parser = new DOMParser(); + return(this.parseDOM); + } else if (window.ActiveXObject) { + var xml = ["MSXML2.DOMDocument.6.0","MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0", + "MSXML2.DOMDocument.3.0","MSXML2.DOMDocument.2.0","Microsoft.XMLDOM"]; + for (var i = 0, m = xml.length; i < m && !this.parser; i++) + {try {this.parser = new ActiveXObject(xml[i])} catch (err) {}} + if (!this.parser) { + alert("MathJax can't create an XML parser for MathML. Check that\n"+ + "the 'Script ActiveX controls marked safe for scripting' security\n"+ + "setting is enabled (use the Internet Options item in the Tools\n"+ + "menu, and select the Security panel, then press the Custom Level\n"+ + "button to check this).\n\n"+ + "MathML equations will not be able to be processed by MathJax."); + return(this.parseError); + } + this.parser.async = false; + return(this.parseMS); + } + this.div = MathJax.Hub.Insert(document.createElement("div"),{ + style:{visibility:"hidden", overflow:"hidden", height:"1px", + position:"absolute", top:0} + }); + if (!document.body.firstChild) {document.body.appendChild(this.div)} + else {document.body.insertBefore(this.div,document.body.firstChild)} + return(this.parseDIV); + }, + // + // Initialize the parser object (whichever type is used) + // + Startup: function () { + MML = MathJax.ElementJax.mml; + MML.mspace.Augment({mmlSelfClosing: true}); + MML.none.Augment({mmlSelfClosing: true}); + MML.mprescripts.Augment({mmlSelfClossing:true}); + } + }); + + MATHML.Parse.Entity = { + ApplyFunction: '\u2061', + Backslash: '\u2216', + Because: '\u2235', + Breve: '\u02D8', + Cap: '\u22D2', + CenterDot: '\u00B7', + CircleDot: '\u2299', + CircleMinus: '\u2296', + CirclePlus: '\u2295', + CircleTimes: '\u2297', + Congruent: '\u2261', + ContourIntegral: '\u222E', + Coproduct: '\u2210', + Cross: '\u2A2F', + Cup: '\u22D3', + CupCap: '\u224D', + Dagger: '\u2021', + Del: '\u2207', + Delta: '\u0394', + Diamond: '\u22C4', + DifferentialD: '\u2146', + DotEqual: '\u2250', + DoubleDot: '\u00A8', + DoubleRightTee: '\u22A8', + DoubleVerticalBar: '\u2225', + DownArrow: '\u2193', + DownLeftVector: '\u21BD', + DownRightVector: '\u21C1', + DownTee: '\u22A4', + Downarrow: '\u21D3', + Element: '\u2208', + EqualTilde: '\u2242', + Equilibrium: '\u21CC', + Exists: '\u2203', + ExponentialE: '\u2147', + FilledVerySmallSquare: '\u25AA', + ForAll: '\u2200', + Gamma: '\u0393', + Gg: '\u22D9', + GreaterEqual: '\u2265', + GreaterEqualLess: '\u22DB', + GreaterFullEqual: '\u2267', + GreaterLess: '\u2277', + GreaterSlantEqual: '\u2A7E', + GreaterTilde: '\u2273', + Hacek: '\u02C7', + Hat: '\u005E', + HumpDownHump: '\u224E', + HumpEqual: '\u224F', + Im: '\u2111', + ImaginaryI: '\u2148', + Integral: '\u222B', + Intersection: '\u22C2', + InvisibleComma: '\u2063', + InvisibleTimes: '\u2062', + Lambda: '\u039B', + Larr: '\u219E', + LeftAngleBracket: '\u27E8', + LeftArrow: '\u2190', + LeftArrowRightArrow: '\u21C6', + LeftCeiling: '\u2308', + LeftDownVector: '\u21C3', + LeftFloor: '\u230A', + LeftRightArrow: '\u2194', + LeftTee: '\u22A3', + LeftTriangle: '\u22B2', + LeftTriangleEqual: '\u22B4', + LeftUpVector: '\u21BF', + LeftVector: '\u21BC', + Leftarrow: '\u21D0', + Leftrightarrow: '\u21D4', + LessEqualGreater: '\u22DA', + LessFullEqual: '\u2266', + LessGreater: '\u2276', + LessSlantEqual: '\u2A7D', + LessTilde: '\u2272', + Ll: '\u22D8', + Lleftarrow: '\u21DA', + LongLeftArrow: '\u27F5', + LongLeftRightArrow: '\u27F7', + LongRightArrow: '\u27F6', + Longleftarrow: '\u27F8', + Longleftrightarrow: '\u27FA', + Longrightarrow: '\u27F9', + Lsh: '\u21B0', + MinusPlus: '\u2213', + NestedGreaterGreater: '\u226B', + NestedLessLess: '\u226A', + NotDoubleVerticalBar: '\u2226', + NotElement: '\u2209', + NotEqual: '\u2260', + NotExists: '\u2204', + NotGreater: '\u226F', + NotGreaterEqual: '\u2271', + NotLeftTriangle: '\u22EA', + NotLeftTriangleEqual: '\u22EC', + NotLess: '\u226E', + NotLessEqual: '\u2270', + NotPrecedes: '\u2280', + NotPrecedesSlantEqual: '\u22E0', + NotRightTriangle: '\u22EB', + NotRightTriangleEqual: '\u22ED', + NotSubsetEqual: '\u2288', + NotSucceeds: '\u2281', + NotSucceedsSlantEqual: '\u22E1', + NotSupersetEqual: '\u2289', + NotTilde: '\u2241', + NotVerticalBar: '\u2224', + Omega: '\u03A9', + OverBar: '\u203E', + OverBrace: '\u23DE', + PartialD: '\u2202', + Phi: '\u03A6', + Pi: '\u03A0', + PlusMinus: '\u00B1', + Precedes: '\u227A', + PrecedesEqual: '\u2AAF', + PrecedesSlantEqual: '\u227C', + PrecedesTilde: '\u227E', + Product: '\u220F', + Proportional: '\u221D', + Psi: '\u03A8', + Rarr: '\u21A0', + Re: '\u211C', + ReverseEquilibrium: '\u21CB', + RightAngleBracket: '\u27E9', + RightArrow: '\u2192', + RightArrowLeftArrow: '\u21C4', + RightCeiling: '\u2309', + RightDownVector: '\u21C2', + RightFloor: '\u230B', + RightTee: '\u22A2', + RightTeeArrow: '\u21A6', + RightTriangle: '\u22B3', + RightTriangleEqual: '\u22B5', + RightUpVector: '\u21BE', + RightVector: '\u21C0', + Rightarrow: '\u21D2', + Rrightarrow: '\u21DB', + Rsh: '\u21B1', + Sigma: '\u03A3', + SmallCircle: '\u2218', + Sqrt: '\u221A', + Square: '\u25A1', + SquareIntersection: '\u2293', + SquareSubset: '\u228F', + SquareSubsetEqual: '\u2291', + SquareSuperset: '\u2290', + SquareSupersetEqual: '\u2292', + SquareUnion: '\u2294', + Star: '\u22C6', + Subset: '\u22D0', + SubsetEqual: '\u2286', + Succeeds: '\u227B', + SucceedsEqual: '\u2AB0', + SucceedsSlantEqual: '\u227D', + SucceedsTilde: '\u227F', + SuchThat: '\u220B', + Sum: '\u2211', + Superset: '\u2283', + SupersetEqual: '\u2287', + Supset: '\u22D1', + Therefore: '\u2234', + Theta: '\u0398', + Tilde: '\u223C', + TildeEqual: '\u2243', + TildeFullEqual: '\u2245', + TildeTilde: '\u2248', + UnderBar: '\u005F', + UnderBrace: '\u23DF', + Union: '\u22C3', + UnionPlus: '\u228E', + UpArrow: '\u2191', + UpDownArrow: '\u2195', + UpTee: '\u22A5', + Uparrow: '\u21D1', + Updownarrow: '\u21D5', + Upsilon: '\u03A5', + Vdash: '\u22A9', + Vee: '\u22C1', + VerticalBar: '\u2223', + VerticalTilde: '\u2240', + Vvdash: '\u22AA', + Wedge: '\u22C0', + Xi: '\u039E', + acute: '\u00B4', + aleph: '\u2135', + alpha: '\u03B1', + amalg: '\u2A3F', + and: '\u2227', + ang: '\u2220', + angmsd: '\u2221', + angsph: '\u2222', + ape: '\u224A', + backprime: '\u2035', + backsim: '\u223D', + backsimeq: '\u22CD', + beta: '\u03B2', + beth: '\u2136', + between: '\u226C', + bigcirc: '\u25EF', + bigodot: '\u2A00', + bigoplus: '\u2A01', + bigotimes: '\u2A02', + bigsqcup: '\u2A06', + bigstar: '\u2605', + bigtriangledown: '\u25BD', + bigtriangleup: '\u25B3', + biguplus: '\u2A04', + blacklozenge: '\u29EB', + blacktriangle: '\u25B4', + blacktriangledown: '\u25BE', + blacktriangleleft: '\u25C2', + bowtie: '\u22C8', + boxdl: '\u2510', + boxdr: '\u250C', + boxminus: '\u229F', + boxplus: '\u229E', + boxtimes: '\u22A0', + boxul: '\u2518', + boxur: '\u2514', + bsol: '\u005C', + bull: '\u2022', + cap: '\u2229', + check: '\u2713', + chi: '\u03C7', + circ: '\u02C6', + circeq: '\u2257', + circlearrowleft: '\u21BA', + circlearrowright: '\u21BB', + circledR: '\u00AE', + circledS: '\u24C8', + circledast: '\u229B', + circledcirc: '\u229A', + circleddash: '\u229D', + clubs: '\u2663', + colon: '\u003A', + comp: '\u2201', + ctdot: '\u22EF', + cuepr: '\u22DE', + cuesc: '\u22DF', + cularr: '\u21B6', + cup: '\u222A', + curarr: '\u21B7', + curlyvee: '\u22CE', + curlywedge: '\u22CF', + dagger: '\u2020', + daleth: '\u2138', + ddarr: '\u21CA', + deg: '\u00B0', + delta: '\u03B4', + digamma: '\u03DD', + div: '\u00F7', + divideontimes: '\u22C7', + dot: '\u02D9', + doteqdot: '\u2251', + dotplus: '\u2214', + dotsquare: '\u22A1', + dtdot: '\u22F1', + ecir: '\u2256', + efDot: '\u2252', + egs: '\u2A96', + ell: '\u2113', + els: '\u2A95', + empty: '\u2205', + epsi: '\u03B5', + epsiv: '\u03F5', + erDot: '\u2253', + eta: '\u03B7', + eth: '\u00F0', + flat: '\u266D', + fork: '\u22D4', + frown: '\u2322', + gEl: '\u2A8C', + gamma: '\u03B3', + gap: '\u2A86', + gimel: '\u2137', + gnE: '\u2269', + gnap: '\u2A8A', + gne: '\u2A88', + gnsim: '\u22E7', + gt: '\u003E', + gtdot: '\u22D7', + harrw: '\u21AD', + hbar: '\u210F', + hellip: '\u2026', + hookleftarrow: '\u21A9', + hookrightarrow: '\u21AA', + imath: '\u0131', + infin: '\u221E', + intcal: '\u22BA', + iota: '\u03B9', + jmath: '\u0237', + kappa: '\u03BA', + kappav: '\u03F0', + lEg: '\u2A8B', + lambda: '\u03BB', + lap: '\u2A85', + larrlp: '\u21AB', + larrtl: '\u21A2', + lbrace: '\u007B', + lbrack: '\u005B', + le: '\u2264', + leftleftarrows: '\u21C7', + leftthreetimes: '\u22CB', + lessdot: '\u22D6', + lmoust: '\u23B0', + lnE: '\u2268', + lnap: '\u2A89', + lne: '\u2A87', + lnsim: '\u22E6', + longmapsto: '\u27FC', + looparrowright: '\u21AC', + lowast: '\u2217', + loz: '\u25CA', + lt: '\u003C', + ltimes: '\u22C9', + ltri: '\u25C3', + macr: '\u00AF', + malt: '\u2720', + mho: '\u2127', + mu: '\u03BC', + multimap: '\u22B8', + nLeftarrow: '\u21CD', + nLeftrightarrow: '\u21CE', + nRightarrow: '\u21CF', + nVDash: '\u22AF', + nVdash: '\u22AE', + natur: '\u266E', + nearr: '\u2197', + nharr: '\u21AE', + nlarr: '\u219A', + not: '\u00AC', + nrarr: '\u219B', + nu: '\u03BD', + nvDash: '\u22AD', + nvdash: '\u22AC', + nwarr: '\u2196', + omega: '\u03C9', + omicron: '\u03BF', + or: '\u2228', + osol: '\u2298', + period: '\u002E', + phi: '\u03C6', + phiv: '\u03D5', + pi: '\u03C0', + piv: '\u03D6', + prap: '\u2AB7', + precnapprox: '\u2AB9', + precneqq: '\u2AB5', + precnsim: '\u22E8', + prime: '\u2032', + psi: '\u03C8', + rarrtl: '\u21A3', + rbrace: '\u007D', + rbrack: '\u005D', + rho: '\u03C1', + rhov: '\u03F1', + rightrightarrows: '\u21C9', + rightthreetimes: '\u22CC', + ring: '\u02DA', + rmoust: '\u23B1', + rtimes: '\u22CA', + rtri: '\u25B9', + scap: '\u2AB8', + scnE: '\u2AB6', + scnap: '\u2ABA', + scnsim: '\u22E9', + sdot: '\u22C5', + searr: '\u2198', + sect: '\u00A7', + sharp: '\u266F', + sigma: '\u03C3', + sigmav: '\u03C2', + simne: '\u2246', + smile: '\u2323', + spades: '\u2660', + sub: '\u2282', + subE: '\u2AC5', + subnE: '\u2ACB', + subne: '\u228A', + supE: '\u2AC6', + supnE: '\u2ACC', + supne: '\u228B', + swarr: '\u2199', + tau: '\u03C4', + theta: '\u03B8', + thetav: '\u03D1', + tilde: '\u02DC', + times: '\u00D7', + triangle: '\u25B5', + triangleq: '\u225C', + upsi: '\u03C5', + upuparrows: '\u21C8', + veebar: '\u22BB', + vellip: '\u22EE', + weierp: '\u2118', + xi: '\u03BE', + yen: '\u00A5', + zeta: '\u03B6', + zigrarr: '\u21DD' + }; + + MATHML.loadComplete("jax.js"); + +})(MathJax.InputJax.MathML,MathJax.Hub.Browser); diff --git a/modules/MathJax/jax/input/TeX/config.js b/modules/MathJax/jax/input/TeX/config.js new file mode 100644 index 0000000..7fb9d92 --- /dev/null +++ b/modules/MathJax/jax/input/TeX/config.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/input/TeX/config.js + * + * Initializes the TeX InputJax (the main definition is in + * MathJax/jax/input/TeX/jax.js, which is loaded when needed). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.InputJax.TeX = MathJax.InputJax({ + id: "TeX", + version: "1.1.1", + directory: MathJax.InputJax.directory + "/TeX", + extensionDir: MathJax.InputJax.extensionDir + "/TeX", + + config: { + TagSide: "right", + TagIndent: "0.8em", + MultLineWidth: "85%" + } +}); +MathJax.InputJax.TeX.Register("math/tex"); + +MathJax.InputJax.TeX.loadComplete("config.js"); diff --git a/modules/MathJax/jax/input/TeX/jax.js b/modules/MathJax/jax/input/TeX/jax.js new file mode 100644 index 0000000..32e7630 --- /dev/null +++ b/modules/MathJax/jax/input/TeX/jax.js @@ -0,0 +1,1760 @@ +/************************************************************* + * + * MathJax/jax/input/TeX/jax.js + * + * Implements the TeX InputJax that reads mathematics in + * TeX and LaTeX format and converts it to the MML ElementJax + * internal format. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + +(function (TEX) { + var TRUE = true, FALSE = false, MML, NBSP = String.fromCharCode(0xA0); + + var STACK = MathJax.Object.Subclass({ + Init: function (env) { + this.global = {}; + this.data = [STACKITEM.start().With({global: this.global})]; + if (env) {this.data[0].env = env} + this.env = this.data[0].env; + }, + Push: function () { + var i, m, item, top; + for (i = 0, m = arguments.length; i < m; i++) { + item = arguments[i]; + if (item instanceof MML.mbase) {item = STACKITEM.mml(item)} + item.global = this.global; + top = (this.data.length ? this.Top().checkItem(item) : TRUE); + if (top instanceof Array) {this.Pop(); this.Push.apply(this,top)} + else if (top instanceof STACKITEM) {this.Pop(); this.Push(top)} + else if (top) { + this.data.push(item); + if (item.env) { + for (var id in this.env) + {if (this.env.hasOwnProperty(id)) {item.env[id] = this.env[id]}} + this.env = item.env; + } else {item.env = this.env} + } + } + }, + Pop: function () { + var item = this.data.pop(); if (!item.isOpen) {delete item.env} + this.env = (this.data.length ? this.Top().env : {}); + return item; + }, + Top: function (n) { + if (n == null) {n = 1} + if (this.data.length < n) {return null} + return this.data[this.data.length-n]; + }, + Prev: function (noPop) { + var top = this.Top(); + if (noPop) {return top.data[top.data.length-1]} + else {return top.Pop()} + }, + toString: function () {return "stack[\n "+this.data.join("\n ")+"\n]"} + }); + + var STACKITEM = STACK.Item = MathJax.Object.Subclass({ + type: "base", + closeError: "Extra close brace or missing open brace", + rightError: "Missing \\left or extra \\right", + Init: function () { + if (this.isOpen) {this.env = {}} + this.data = []; + this.Push.apply(this,arguments); + }, + Push: function () {this.data.push.apply(this.data,arguments)}, + Pop: function () {return this.data.pop()}, + mmlData: function (inferred,forceRow) { + if (inferred == null) {inferred = TRUE} + if (this.data.length === 1 && !forceRow) {return this.data[0]} + return MML.mrow.apply(MML,this.data).With((inferred ? {inferred: TRUE}: {})); + }, + checkItem: function (item) { + if (item.type === "over" && this.isOpen) {item.num = this.mmlData(FALSE); this.data = []} + if (item.type === "cell" && this.isOpen) {TEX.Error("Misplaced "+item.name)} + if (item.isClose && this[item.type+"Error"]) {TEX.Error(this[item.type+"Error"])} + if (!item.isNotStack) {return TRUE} + this.Push(item.data[0]); return FALSE; + }, + With: function (def) { + for (var id in def) {if (def.hasOwnProperty(id)) {this[id] = def[id]}} + return this; + }, + toString: function () {return this.type+"["+this.data.join("; ")+"]"} + }); + + STACKITEM.start = STACKITEM.Subclass({ + type: "start", isOpen: TRUE, + checkItem: function (item) { + if (item.type === "stop") {return STACKITEM.mml(this.mmlData())} + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + STACKITEM.stop = STACKITEM.Subclass({ + type: "stop", isClose: TRUE + }); + + STACKITEM.open = STACKITEM.Subclass({ + type: "open", isOpen: TRUE, + stopError: "Extra open brace or missing close brace", + checkItem: function (item) { + if (item.type === "close") { + var mml = this.mmlData(); // this.mmlData(TRUE,TRUE); // force row + return STACKITEM.mml(MML.TeXAtom(mml)); // TeXAtom make it an ORD to prevent spacing (FIXME: should be another way) + } + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + STACKITEM.close = STACKITEM.Subclass({ + type: "close", isClose: TRUE + }); + + STACKITEM.subsup = STACKITEM.Subclass({ + type: "subsup", + stopError: "Missing superscript or subscript argument", + checkItem: function (item) { + var script = ["","subscript","superscript"][this.position]; + if (item.type === "open" || item.type === "left") {return TRUE} + if (item.type === "mml") { + this.data[0].SetData(this.position,item.data[0]); + return STACKITEM.mml(this.data[0]); + } + if (this.SUPER(arguments).checkItem.call(this,item)) + {TEX.Error("Missing open brace for "+script)} + }, + Pop: function () {} + }); + + STACKITEM.over = STACKITEM.Subclass({ + type: "over", isClose: TRUE, name: "\\over", + checkItem: function (item,stack) { + if (item.type === "over") {TEX.Error("Ambiguous use of "+item.name)} + if (item.isClose) { + var mml = MML.mfrac(this.num,this.mmlData(FALSE)); + if (this.thickness != null) {mml.linethickness = this.thickness} + if (this.open || this.close) { + mml.texClass = MML.TEXCLASS.INNER; + mml.texWithDelims = TRUE; + mml = MML.mfenced(mml).With({open: this.open, close: this.close}); + } + return [STACKITEM.mml(mml), item]; + } + return this.SUPER(arguments).checkItem.call(this,item); + }, + toString: function () {return "over["+this.num+" / "+this.data.join("; ")+"]"} + }); + + STACKITEM.left = STACKITEM.Subclass({ + type: "left", isOpen: TRUE, delim: '(', + stopError: "Extra \\left or missing \\right", + checkItem: function (item) { + if (item.type === "right") { + var mml = MML.mfenced(this.data.length === 1 ? this.data[0] : MML.mrow.apply(MML,this.data)); + return STACKITEM.mml(mml.With({open: this.delim, close: item.delim})); + } + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + STACKITEM.right = STACKITEM.Subclass({ + type: "right", isClose: TRUE, delim: ')' + }); + + STACKITEM.begin = STACKITEM.Subclass({ + type: "begin", isOpen: TRUE, + checkItem: function (item) { + if (item.type === "end") { + if (item.name !== this.name) + {TEX.Error("\\begin{"+this.name+"} ended with \\end{"+item.name+"}")} + if (!this.end) {return STACKITEM.mml(this.mmlData())} + return this.parse[this.end].call(this.parse,this,this.data); + } + if (item.type === "stop") {TEX.Error("Missing \\end{"+this.name+"}")} + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + STACKITEM.end = STACKITEM.Subclass({ + type: "end", isClose: TRUE + }); + + STACKITEM.style = STACKITEM.Subclass({ + type: "style", + checkItem: function (item) { + if (!item.isClose) {return this.SUPER(arguments).checkItem.call(this,item)} + var mml = MML.mstyle.apply(MML,this.data).With(this.styles); + return [STACKITEM.mml(mml),item]; + } + }); + + STACKITEM.position = STACKITEM.Subclass({ + type: "position", + checkItem: function (item) { + if (item.isClose) {TEX.Error("Missing box for "+this.name)} + if (item.isNotStack) { + var mml = item.mmlData(); + switch (this.move) { + case 'vertical': + mml = MML.mpadded(mml).With({height: this.dh, depth: this.dd, voffset: this.dh}); + return [STACKITEM.mml(mml)]; + case 'horizontal': + return [STACKITEM.mml(this.left),item,STACKITEM.mml(this.right)]; + } + } + return this.SUPER(arguments).checkItem.call(this,item); + } + }); + + STACKITEM.array = STACKITEM.Subclass({ + type: "array", isOpen: TRUE, arraydef: {}, + Init: function () { + this.table = []; this.row = []; this.env = {}; + this.SUPER(arguments).Init.apply(this,arguments); + }, + checkItem: function (item) { + if (item.isClose && item.type !== "over") { + if (item.isEntry) {this.EndEntry(); this.clearEnv(); return FALSE} + if (item.isCR) {this.EndEntry(); this.EndRow(); this.clearEnv(); return FALSE} + this.EndTable(); this.clearEnv(); + var mml = MML.mtable.apply(MML,this.table).With(this.arraydef); + if (this.open || this.close) { + mml = MML.mfenced(mml).With({open: this.open, close: this.close}); + } + mml = STACKITEM.mml(mml); + if (this.requireClose) { + if (item.type === 'close') {return mml} + TEX.Error("Missing close brace"); + } + return [mml,item]; + } + return this.SUPER(arguments).checkItem.call(this,item); + }, + EndEntry: function () {this.row.push(MML.mtd.apply(MML,this.data)); this.data = []}, + EndRow: function () {this.table.push(MML.mtr.apply(MML,this.row)); this.row = []}, + EndTable: function () { + if (this.data.length || this.row.length) {this.EndEntry(); this.EndRow()} + this.checkLines(); + }, + checkLines: function () { + if (this.arraydef.rowlines) { + var lines = this.arraydef.rowlines.split(/ /); + if (lines.length === this.table.length) { + this.arraydef.frame = lines.pop(); + this.arraydef.rowlines = lines.join(' '); + } else if (lines.length < this.table.length -1) { + this.arraydef.rowlines += " none"; + } + } + }, + clearEnv: function () { + for (var id in this.env) {if (this.env.hasOwnProperty(id)) {delete this.env[id]}} + } + }); + + STACKITEM.cell = STACKITEM.Subclass({ + type: "cell", isClose: TRUE + }); + + STACKITEM.mml = STACKITEM.Subclass({ + type: "mml", isNotStack: TRUE, + Push: function () { + // embellished are type ORD in TeX (but not MML) so wrap them in TeXAtom + for (var i = 0, m = arguments.length; i < m; i++) { + if (arguments[i].type !== "mo" && arguments[i].isEmbellished()) + {arguments[i] = MML.TeXAtom(arguments[i]).With({isEmbellishedWrapper: TRUE})} + } + this.data.push.apply(this.data,arguments); + }, + Add: function () {this.data.push.apply(this.data,arguments); return this} + }); + + + var TEXDEF = {}; + var STARTUP = function () { + MML = MathJax.ElementJax.mml; + MathJax.Hub.Insert(TEXDEF,{ + + // patterns for letters and numbers + letter: /[a-z]/i, + digit: /[0-9.]/, + number: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)*|\.[0-9]+)/, + + special: { + '\\': 'ControlSequence', + '{': 'Open', + '}': 'Close', + '~': 'Tilde', + '^': 'Superscript', + '_': 'Subscript', + ' ': 'Space', + "\t": 'Space', + "\r": 'Space', + "\n": 'Space', + "'": 'Prime', + '%': 'Comment', + '&': 'Entry', + '#': 'Hash', + '\u2019': 'Prime' + }, + + remap: { + '-': '2212', + '*': '2217' + }, + + mathchar0mi: { + // Lower-case greek + alpha: '03B1', + beta: '03B2', + gamma: '03B3', + delta: '03B4', + epsilon: '03F5', + zeta: '03B6', + eta: '03B7', + theta: '03B8', + iota: '03B9', + kappa: '03BA', + lambda: '03BB', + mu: '03BC', + nu: '03BD', + xi: '03BE', + omicron: '03BF', // added for completeness + pi: '03C0', + rho: '03C1', + sigma: '03C3', + tau: '03C4', + upsilon: '03C5', + phi: '03D5', + chi: '03C7', + psi: '03C8', + omega: '03C9', + varepsilon: '03B5', + vartheta: '03D1', + varpi: '03D6', + varrho: '03F1', + varsigma: '03C2', + varphi: '03C6', + + // Ord symbols + S: '00A7', + aleph: ['2135',{mathvariant: MML.VARIANT.NORMAL}], + hbar: '210F', + imath: '0131', + jmath: '0237', + ell: '2113', + wp: ['2118',{mathvariant: MML.VARIANT.NORMAL}], + Re: ['211C',{mathvariant: MML.VARIANT.NORMAL}], + Im: ['2111',{mathvariant: MML.VARIANT.NORMAL}], + partial: ['2202',{mathvariant: MML.VARIANT.NORMAL}], + infty: ['221E',{mathvariant: MML.VARIANT.NORMAL}], + prime: ['2032',{mathvariant: MML.VARIANT.NORMAL}], + emptyset: ['2205',{mathvariant: MML.VARIANT.NORMAL}], + nabla: ['2207',{mathvariant: MML.VARIANT.NORMAL}], + top: ['22A4',{mathvariant: MML.VARIANT.NORMAL}], + bot: ['22A5',{mathvariant: MML.VARIANT.NORMAL}], + angle: ['2220',{mathvariant: MML.VARIANT.NORMAL}], + triangle: ['25B3',{mathvariant: MML.VARIANT.NORMAL}], + backslash: ['2216',{mathvariant: MML.VARIANT.NORMAL}], + forall: ['2200',{mathvariant: MML.VARIANT.NORMAL}], + exists: ['2203',{mathvariant: MML.VARIANT.NORMAL}], + neg: ['00AC',{mathvariant: MML.VARIANT.NORMAL}], + lnot: ['00AC',{mathvariant: MML.VARIANT.NORMAL}], + flat: ['266D',{mathvariant: MML.VARIANT.NORMAL}], + natural: ['266E',{mathvariant: MML.VARIANT.NORMAL}], + sharp: ['266F',{mathvariant: MML.VARIANT.NORMAL}], + clubsuit: ['2663',{mathvariant: MML.VARIANT.NORMAL}], + diamondsuit: ['2662',{mathvariant: MML.VARIANT.NORMAL}], + heartsuit: ['2661',{mathvariant: MML.VARIANT.NORMAL}], + spadesuit: ['2660',{mathvariant: MML.VARIANT.NORMAL}] + }, + + mathchar0mo: { + surd: '221A', + + // big ops + coprod: ['2210',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigvee: ['22C1',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigwedge: ['22C0',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + biguplus: ['2A04',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigcap: ['22C2',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigcup: ['22C3',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + 'int': ['222B',{texClass: MML.TEXCLASS.OP}], + intop: ['222B',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE, movablelimits:TRUE}], + iint: ['222C',{texClass: MML.TEXCLASS.OP}], + iiint: ['222D',{texClass: MML.TEXCLASS.OP}], + prod: ['220F',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + sum: ['2211',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigotimes: ['2A02',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigoplus: ['2A01',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + bigodot: ['2A00',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + oint: ['222E',{texClass: MML.TEXCLASS.OP}], + bigsqcup: ['2A06',{texClass: MML.TEXCLASS.OP, movesupsub:TRUE}], + smallint: ['222B',{largeop:FALSE}], + + // binary operations + triangleleft: '25C3', + triangleright: '25B9', + bigtriangleup: '25B3', + bigtriangledown: '25BD', + wedge: '2227', + land: '2227', + vee: '2228', + lor: '2228', + cap: '2229', + cup: '222A', + ddagger: '2021', + dagger: '2020', + sqcap: '2293', + sqcup: '2294', + uplus: '228E', + amalg: '2A3F', + diamond: '22C4', + bullet: '2219', + wr: '2240', + div: '00F7', + odot: ['2299',{largeop: FALSE}], + oslash: ['2298',{largeop: FALSE}], + otimes: ['2297',{largeop: FALSE}], + ominus: ['2296',{largeop: FALSE}], + oplus: ['2295',{largeop: FALSE}], + mp: '2213', + pm: '00B1', + circ: '2218', + bigcirc: '25EF', + setminus: '2216', + cdot: '22C5', + ast: '2217', + times: '00D7', + star: '22C6', + + // Relations + propto: '221D', + sqsubseteq: '2291', + sqsupseteq: '2292', + parallel: '2225', + mid: '2223', + dashv: '22A3', + vdash: '22A2', + leq: '2264', + le: '2264', + geq: '2265', + ge: '2265', + lt: '003C', + gt: '003E', + succ: '227B', + prec: '227A', + approx: '2248', + succeq: '2AB0', // or '227C', + preceq: '2AAF', // or '227D', + supset: '2283', + subset: '2282', + supseteq: '2287', + subseteq: '2286', + 'in': '2208', + ni: '220B', + notin: '2209', + owns: '220B', + gg: '226B', + ll: '226A', + sim: '223C', + simeq: '2243', + perp: '22A5', + equiv: '2261', + asymp: '224D', + smile: '2323', + frown: '2322', + ne: '2260', + neq: '2260', + cong: '2245', + doteq: '2250', + bowtie: '22C8', + models: '22A8', + + notChar: '0338', + + + // Arrows + Leftrightarrow: '21D4', + Leftarrow: '21D0', + Rightarrow: '21D2', + leftrightarrow: '2194', + leftarrow: '2190', + gets: '2190', + rightarrow: '2192', + to: '2192', + mapsto: '21A6', + leftharpoonup: '21BC', + leftharpoondown: '21BD', + rightharpoonup: '21C0', + rightharpoondown: '21C1', + nearrow: '2197', + searrow: '2198', + nwarrow: '2196', + swarrow: '2199', + rightleftharpoons: '21CC', + hookrightarrow: '21AA', + hookleftarrow: '21A9', + longleftarrow: '27F5', + Longleftarrow: '27F8', + longrightarrow: '27F6', + Longrightarrow: '27F9', + Longleftrightarrow: '27FA', + longleftrightarrow: '27F7', + longmapsto: '27FC', + + + // Misc. + ldots: '2026', + cdots: '22EF', + vdots: '22EE', + ddots: '22F1', + dots: '2026', // should be more complex than this + dotsc: '2026', // dots with commas + dotsb: '22EF', // dots with binary ops and relations + dotsm: '22EF', // dots with multiplication + dotsi: '22EF', // dots with integrals + dotso: '2026', // other dots + + ldotp: ['002E', {texClass: MML.TEXCLASS.PUNCT}], + cdotp: ['22C5', {texClass: MML.TEXCLASS.PUNCT}], + colon: ['003A', {texClass: MML.TEXCLASS.PUNCT}] + }, + + mathchar7: { + Gamma: '0393', + Delta: '0394', + Theta: '0398', + Lambda: '039B', + Xi: '039E', + Pi: '03A0', + Sigma: '03A3', + Upsilon: '03A5', + Phi: '03A6', + Psi: '03A8', + Omega: '03A9', + + '_': '005F', + '#': '0023', + '$': '0024', + '%': '0025', + '&': '0026', + And: '0026' + }, + + delimiter: { + '(': '(', + ')': ')', + '[': '[', + ']': ']', + '<': '27E8', + '>': '27E9', + '\\lt': '27E8', + '\\gt': '27E9', + '/': '/', + '|': ['|',{texClass:MML.TEXCLASS.ORD}], + '.': '', + '\\\\': '\\', + '\\lmoustache': '23B0', // non-standard + '\\rmoustache': '23B1', // non-standard + '\\lgroup': '27EE', // non-standard + '\\rgroup': '27EF', // non-standard + '\\arrowvert': '23D0', + '\\Arrowvert': '2016', + '\\bracevert': '23AA', // non-standard + '\\Vert': ['2225',{texClass:MML.TEXCLASS.ORD}], + '\\|': ['2225',{texClass:MML.TEXCLASS.ORD}], + '\\vert': ['|',{texClass:MML.TEXCLASS.ORD}], + '\\uparrow': '2191', + '\\downarrow': '2193', + '\\updownarrow': '2195', + '\\Uparrow': '21D1', + '\\Downarrow': '21D3', + '\\Updownarrow': '21D5', + '\\backslash': '\\', + '\\rangle': '27E9', + '\\langle': '27E8', + '\\rbrace': '}', + '\\lbrace': '{', + '\\}': '}', + '\\{': '{', + '\\rceil': '2309', + '\\lceil': '2308', + '\\rfloor': '230B', + '\\lfloor': '230A', + '\\lbrack': '[', + '\\rbrack': ']' + }, + + macros: { + displaystyle: ['SetStyle','D',TRUE,0], + textstyle: ['SetStyle','T',FALSE,0], + scriptstyle: ['SetStyle','S',FALSE,1], + scriptscriptstyle: ['SetStyle','SS',FALSE,2], + + rm: ['SetFont',MML.VARIANT.NORMAL], + mit: ['SetFont',MML.VARIANT.ITALIC], + oldstyle: ['SetFont',MML.VARIANT.OLDSTYLE], + cal: ['SetFont',MML.VARIANT.CALIGRAPHIC], + it: ['SetFont',MML.VARIANT.ITALIC], // may need special handling + bf: ['SetFont',MML.VARIANT.BOLD], + bbFont: ['SetFont',MML.VARIANT.DOUBLESTRUCK], + scr: ['SetFont',MML.VARIANT.SCRIPT], + frak: ['SetFont',MML.VARIANT.FRAKTUR], + sf: ['SetFont',MML.VARIANT.SANSSERIF], + tt: ['SetFont',MML.VARIANT.MONOSPACE], + +// font: + + tiny: ['SetSize',0.5], + Tiny: ['SetSize',0.6], // non-standard + scriptsize: ['SetSize',0.7], + small: ['SetSize',0.85], + normalsize: ['SetSize',1.0], + large: ['SetSize',1.2], + Large: ['SetSize',1.44], + LARGE: ['SetSize',1.73], + huge: ['SetSize',2.07], + Huge: ['SetSize',2.49], + + arcsin: ['NamedOp',0], + arccos: ['NamedOp',0], + arctan: ['NamedOp',0], + arg: ['NamedOp',0], + cos: ['NamedOp',0], + cosh: ['NamedOp',0], + cot: ['NamedOp',0], + coth: ['NamedOp',0], + csc: ['NamedOp',0], + deg: ['NamedOp',0], + det: 'NamedOp', + dim: ['NamedOp',0], + exp: ['NamedOp',0], + gcd: 'NamedOp', + hom: ['NamedOp',0], + inf: 'NamedOp', + ker: ['NamedOp',0], + lg: ['NamedOp',0], + lim: 'NamedOp', + liminf: ['NamedOp',null,'lim inf'], + limsup: ['NamedOp',null,'lim sup'], + ln: ['NamedOp',0], + log: ['NamedOp',0], + max: 'NamedOp', + min: 'NamedOp', + Pr: 'NamedOp', + sec: ['NamedOp',0], + sin: ['NamedOp',0], + sinh: ['NamedOp',0], + sup: 'NamedOp', + tan: ['NamedOp',0], + tanh: ['NamedOp',0], + + limits: ['Limits',1], + nolimits: ['Limits',0], + + overline: ['UnderOver','203E'], + underline: ['UnderOver','005F'], + overbrace: ['UnderOver','23DE',1], + underbrace: ['UnderOver','23DF',1], + overrightarrow: ['UnderOver','2192'], + underrightarrow: ['UnderOver','2192'], + overleftarrow: ['UnderOver','2190'], + underleftarrow: ['UnderOver','2190'], + overleftrightarrow: ['UnderOver','2194'], + underleftrightarrow: ['UnderOver','2194'], + + overset: 'Overset', + underset: 'Underset', + stackrel: ['Macro','\\mathrel{\\mathop{#2}\\limits^{#1}}',2], + + over: 'Over', + overwithdelims: 'Over', + atop: 'Over', + atopwithdelims: 'Over', + above: 'Over', + abovewithdelims: 'Over', + brace: ['Over','{','}'], + brack: ['Over','[',']'], + choose: ['Over','(',')'], + + frac: 'Frac', + sqrt: 'Sqrt', + root: 'Root', + uproot: ['MoveRoot','upRoot'], + leftroot: ['MoveRoot','leftRoot'], + + left: 'LeftRight', + right: 'LeftRight', + + llap: 'Lap', + rlap: 'Lap', + raise: 'RaiseLower', + lower: 'RaiseLower', + moveleft: 'MoveLeftRight', + moveright: 'MoveLeftRight', + + ',': ['Spacer',MML.LENGTH.THINMATHSPACE], + ':': ['Spacer',MML.LENGTH.THINMATHSPACE], // for LaTeX + '>': ['Spacer',MML.LENGTH.MEDIUMMATHSPACE], + ';': ['Spacer',MML.LENGTH.THICKMATHSPACE], + '!': ['Spacer',MML.LENGTH.NEGATIVETHINMATHSPACE], + enspace: ['Spacer',".5em"], + quad: ['Spacer',"1em"], + qquad: ['Spacer',"2em"], + thinspace: ['Spacer',MML.LENGTH.THINMATHSPACE], + negthinspace: ['Spacer',MML.LENGTH.NEGATIVETHINMATHSPACE], + + hskip: 'Hskip', + hspace: 'Hskip', + kern: 'Hskip', + mskip: 'Hskip', + mspace: 'Hskip', + mkern: 'Hskip', + Rule: ['Rule'], + Space: ['Rule','blank'], + + big: ['MakeBig',MML.TEXCLASS.ORD,0.85], + Big: ['MakeBig',MML.TEXCLASS.ORD,1.15], + bigg: ['MakeBig',MML.TEXCLASS.ORD,1.45], + Bigg: ['MakeBig',MML.TEXCLASS.ORD,1.75], + bigl: ['MakeBig',MML.TEXCLASS.OPEN,0.85], + Bigl: ['MakeBig',MML.TEXCLASS.OPEN,1.15], + biggl: ['MakeBig',MML.TEXCLASS.OPEN,1.45], + Biggl: ['MakeBig',MML.TEXCLASS.OPEN,1.75], + bigr: ['MakeBig',MML.TEXCLASS.CLOSE,0.85], + Bigr: ['MakeBig',MML.TEXCLASS.CLOSE,1.15], + biggr: ['MakeBig',MML.TEXCLASS.CLOSE,1.45], + Biggr: ['MakeBig',MML.TEXCLASS.CLOSE,1.75], + bigm: ['MakeBig',MML.TEXCLASS.REL,0.85], + Bigm: ['MakeBig',MML.TEXCLASS.REL,1.15], + biggm: ['MakeBig',MML.TEXCLASS.REL,1.45], + Biggm: ['MakeBig',MML.TEXCLASS.REL,1.75], + + mathord: ['TeXAtom',MML.TEXCLASS.ORD], + mathop: ['TeXAtom',MML.TEXCLASS.OP], + mathopen: ['TeXAtom',MML.TEXCLASS.OPEN], + mathclose: ['TeXAtom',MML.TEXCLASS.CLOSE], + mathbin: ['TeXAtom',MML.TEXCLASS.BIN], + mathrel: ['TeXAtom',MML.TEXCLASS.REL], + mathpunct: ['TeXAtom',MML.TEXCLASS.PUNCT], + mathinner: ['TeXAtom',MML.TEXCLASS.INNER], + + vcenter: ['TeXAtom',MML.TEXCLASS.VCENTER], + + mathchoice: ['Extension','mathchoice'], + buildrel: 'BuildRel', + + hbox: ['HBox',0], + text: 'HBox', + mbox: ['HBox',0], + fbox: 'FBox', + + strut: 'Strut', + mathstrut: ['Macro','\\vphantom{(}'], + phantom: 'Phantom', + vphantom: ['Phantom',1,0], + hphantom: ['Phantom',0,1], + smash: 'Smash', + + acute: ['Accent', "02CA"], // or 0301 + grave: ['Accent', "02CB"], // or 0300 + ddot: ['Accent', "00A8"], // or 0308 + tilde: ['Accent', "02DC"], // or 0303 + bar: ['Accent', "02C9"], // or 0304 + breve: ['Accent', "02D8"], // or 0306 + check: ['Accent', "02C7"], // or 030C + hat: ['Accent', "02C6"], // or 0302 + vec: ['Accent', "20D7"], + dot: ['Accent', "02D9"], // or 0307 + widetilde: ['Accent', "02DC",1], // or 0303 + widehat: ['Accent', "02C6",1], // or 0302 + + matrix: 'Matrix', + array: 'Matrix', + pmatrix: ['Matrix','(',')'], + cases: ['Matrix','{','',"left left",null,".1em"], + eqalign: ['Matrix',null,null,"right left",MML.LENGTH.THICKMATHSPACE,".5em",'D'], + displaylines: ['Matrix',null,null,"center",null,".5em",'D'], + cr: 'Cr', + '\\': 'Cr', + newline: 'Cr', + hline: ['HLine','solid'], + hdashline: ['HLine','dashed'], +// noalign: 'HandleNoAlign', + eqalignno: ['Matrix',null,null,"right left right",MML.LENGTH.THICKMATHSPACE+" 3em",".5em",'D'], + leqalignno: ['Matrix',null,null,"right left right",MML.LENGTH.THICKMATHSPACE+" 3em",".5em",'D'], + + // TeX substitution macros + bmod: ['Macro','\\mathbin{\\rm mod}'], + pmod: ['Macro','\\pod{{\\rm mod}\\kern 6mu #1}',1], + mod: ['Macro','\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}{\\rm mod}\\,\\,#1',1], + pod: ['Macro','\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)',1], + iff: ['Macro','\\;\\Longleftrightarrow\\;'], + skew: ['Macro','{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}',3], + mathcal: ['Macro','{\\cal #1}',1], + mathscr: ['Macro','{\\scr #1}',1], + mathrm: ['Macro','{\\rm #1}',1], + mathbf: ['Macro','{\\bf #1}',1], + mathbb: ['Macro','{\\bbFont #1}',1], + Bbb: ['Macro','{\\bbFont #1}',1], + mathit: ['Macro','{\\it #1}',1], + mathfrak: ['Macro','{\\frak #1}',1], + mathsf: ['Macro','{\\sf #1}',1], + mathtt: ['Macro','{\\tt #1}',1], + textrm: ['Macro','\\mathord{\\rm\\text{#1}}',1], + textit: ['Macro','\\mathord{\\it{\\text{#1}}}',1], + textbf: ['Macro','\\mathord{\\bf{\\text{#1}}}',1], + pmb: ['Macro','\\rlap{#1}\\kern1px{#1}',1], + TeX: ['Macro','T\\kern-.14em\\lower.5ex{E}\\kern-.115em X'], + LaTeX: ['Macro','L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX'], + not: ['Macro','\\mathrel{\\rlap{\\kern.5em\\notChar}}'], + ' ': ['Macro','\\text{ }'], + space: 'Tilde', + + + // LaTeX + begin: 'Begin', + end: 'End', + + newcommand: ['Extension','newcommand'], + renewcommand: ['Extension','newcommand'], + newenvironment: ['Extension','newcommand'], + def: ['Extension','newcommand'], + + verb: ['Extension','verb'], + + boldsymbol: ['Extension','boldsymbol'], + + tag: ['Extension','AMSmath'], + notag: ['Extension','AMSmath'], + label: ['Macro','',1], // not implemented yet + nonumber: ['Macro',''], // not implemented yet + + // Extensions to TeX + unicode: ['Extension','unicode'], + color: 'Color', + + href: ['Extension','HTML'], + 'class': ['Extension','HTML'], + style: ['Extension','HTML'], + cssId: ['Extension','HTML'], +// bbox: ['Extension','bbox'], + + require: 'Require' + + }, + + environment: { + array: ['Array'], + matrix: ['Array',null,null,null,'c'], + pmatrix: ['Array',null,'(',')','c'], + bmatrix: ['Array',null,'[',']','c'], + Bmatrix: ['Array',null,'\\{','\\}','c'], + vmatrix: ['Array',null,'\\vert','\\vert','c'], + Vmatrix: ['Array',null,'\\Vert','\\Vert','c'], + cases: ['Array',null,'\\{','.','ll',null,".1em"], + eqnarray: ['Array',null,null,null,'rcl',MML.LENGTH.THICKMATHSPACE,".5em",'D'], + 'eqnarray*': ['Array',null,null,null,'rcl',MML.LENGTH.THICKMATHSPACE,".5em",'D'], + + equation: [null,'Equation'], + 'equation*': [null,'Equation'], + + align: ['ExtensionEnv',null,'AMSmath'], + 'align*': ['ExtensionEnv',null,'AMSmath'], + aligned: ['ExtensionEnv',null,'AMSmath'], + multline: ['ExtensionEnv',null,'AMSmath'], + 'multline*': ['ExtensionEnv',null,'AMSmath'], + split: ['ExtensionEnv',null,'AMSmath'], + gather: ['ExtensionEnv',null,'AMSmath'], + 'gather*': ['ExtensionEnv',null,'AMSmath'], + gathered: ['ExtensionEnv',null,'AMSmath'], + alignat: ['ExtensionEnv',null,'AMSmath'], + 'alignat*': ['ExtensionEnv',null,'AMSmath'], + alignedat: ['ExtensionEnv',null,'AMSmath'] + }, + + p_height: 1.2 / .85 // cmex10 height plus depth over .85 + + }); + + // + // Add macros defined in the configuration + // + if (this.config.Macros) { + var MACROS = this.config.Macros; + for (var id in MACROS) {if (MACROS.hasOwnProperty(id)) { + if (typeof(MACROS[id]) === "string") {TEXDEF.macros[id] = ['Macro',MACROS[id]]} + else {TEXDEF.macros[id] = ["Macro"].concat(MACROS[id])} + }} + } + }; + + /************************************************************************/ + /* + * The TeX Parser + */ + + var PARSE = MathJax.Object.Subclass({ + Init: function (string,env) { + this.string = string; this.i = 0; this.macroCount = 0; + var ENV; if (env) {ENV = {}; for (var id in env) {if (env.hasOwnProperty(id)) {ENV[id] = env[id]}}} + this.stack = TEX.Stack(ENV); + this.Parse(); + this.Push(STACKITEM.stop()); + }, + Parse: function () { + var c; + while (this.i < this.string.length) { + c = this.string.charAt(this.i++); + if (TEXDEF.special[c]) {this[TEXDEF.special[c]](c)} + else if (TEXDEF.letter.test(c)) {this.Variable(c)} + else if (TEXDEF.digit.test(c)) {this.Number(c)} + else {this.Other(c)} + } + }, + Push: function () {this.stack.Push.apply(this.stack,arguments)}, + mml: function () { + if (this.stack.Top().type !== "mml") {return null} + return this.stack.Top().data[0]; + }, + mmlToken: function (token) {return token}, // used by boldsymbol extension + + /************************************************************************/ + /* + * Handle various token classes + */ + + /* + * Lookup a control-sequence and process it + */ + ControlSequence: function (c) { + var name = this.GetCS(), mchar, def; + if (TEXDEF.macros[name]) { // javascript macro + var macro = TEXDEF.macros[name]; + if (!(macro instanceof Array)) {macro = [macro]} + var fn = macro[0]; if (!(fn instanceof Function)) {fn = this[fn]} + fn.apply(this,["\\"+name].concat(macro.slice(1))); + } else if (TEXDEF.mathchar0mi[name]) { // normal mathchar (mi) + mchar = TEXDEF.mathchar0mi[name]; def = {mathvariant: MML.VARIANT.ITALIC}; + if (mchar instanceof Array) {def = mchar[1]; mchar = mchar[0]} + this.Push(this.mmlToken(MML.mi(MML.entity("#x"+mchar)).With(def))); + } else if (TEXDEF.mathchar0mo[name]) { // normal mathchar (mo) + mchar = TEXDEF.mathchar0mo[name]; def = {stretchy: FALSE}; + if (mchar instanceof Array) {def = mchar[1]; def.stretchy = FALSE; mchar = mchar[0]} + this.Push(this.mmlToken(MML.mo(MML.entity("#x"+mchar)).With(def))); + } else if (TEXDEF.mathchar7[name]) { // mathchar in current family + mchar = TEXDEF.mathchar7[name]; def = {mathvariant: MML.VARIANT.NORMAL}; + if (mchar instanceof Array) {def = mchar[1]; mchar = mchar[0]} + if (this.stack.env.font) {def.mathvariant = this.stack.env.font} + this.Push(this.mmlToken(MML.mi(MML.entity("#x"+mchar)).With(def))); + } else if (TEXDEF.delimiter["\\"+name] != null) { // delimiter + var delim = TEXDEF.delimiter["\\"+name]; def = {}; + if (delim instanceof Array) {def = delim[1]; delim = delim[0]} + if (delim.length === 4) {delim = MML.entity('#x'+delim)} else {delim = MML.chars(delim)} + this.Push(this.mmlToken(MML.mo(delim).With({fence: FALSE, stretchy: FALSE}).With(def))); + } else { // error + this.csUndefined("\\"+name); + } + }, + csUndefined: function (name) { + TEX.Error("Undefined control sequence "+name); + }, + + /* + * Handle a variable (a single letter) + */ + Variable: function (c) { + var def = {}; if (this.stack.env.font) {def.mathvariant = this.stack.env.font} + this.Push(this.mmlToken(MML.mi(MML.chars(c)).With(def))); + }, + + /* + * Determine the extent of a number (pattern may need work) + */ + Number: function (c) { + var mml, n = this.string.slice(this.i-1).match(TEXDEF.number); + if (n) {mml = MML.mn(n[0].replace(/[{}]/g,"")); this.i += n[0].length - 1} + else {mml = MML.mo(MML.chars(c))} + if (this.stack.env.font) {mml.mathvariant = this.stack.env.font} + this.Push(this.mmlToken(mml)); + }, + + /* + * Handle { and } + */ + Open: function (c) {this.Push(STACKITEM.open())}, + Close: function (c) {this.Push(STACKITEM.close())}, + + /* + * Handle tilde and spaces + */ + Tilde: function (c) {this.Push(MML.mtext(MML.chars(NBSP)))}, + Space: function (c) {}, + + /* + * Handle ^, _, and ' + */ + Superscript: function (c) { + var position, base = this.stack.Prev(); if (!base) {base = MML.mi("")} + if (base.isEmbellishedWrapper) {base = base.data[0].data[0]} + if (base.type === "msubsup") { + if (base.data[base.sup]) { + if (!base.data[base.sup].isPrime) {TEX.Error("Double exponent: use braces to clarify")} + base = MML.msubsup(base,null,null); + } + position = base.sup; + } else if (base.movesupsub) { + if (base.type !== "munderover" || base.data[base.over]) + {base = MML.munderover(base,null,null).With({movesupsub:TRUE})} + position = base.over; + } else { + base = MML.msubsup(base,null,null); + position = base.sup; + } + this.Push(STACKITEM.subsup(base).With({position: position})); + }, + Subscript: function (c) { + var position, base = this.stack.Prev(); if (!base) {base = MML.mi("")} + if (base.isEmbellishedWrapper) {base = base.data[0].data[0]} + if (base.type === "msubsup") { + if (base.data[base.sub]) {TEX.Error("Double subscripts: use braces to clarify")} + position = base.sub; + } else if (base.movesupsub) { + if (base.type !== "munderover" || base.data[base.under]) + {base = MML.munderover(base,null,null).With({movesupsub:TRUE})} + position = base.under; + } else { + base = MML.msubsup(base,null,null); + position = base.sub; + } + this.Push(STACKITEM.subsup(base).With({position: position})); + }, + PRIME: String.fromCharCode(0x2032), SMARTQUOTE: String.fromCharCode(0x2019), + Prime: function (c) { + var base = this.stack.Prev(); if (!base) {base = MML.mi()} + if (base.type === "msubsup" && base.data[base.sup]) + {TEX.Error("Prime causes double exponent: use braces to clarify")} + var sup = ""; this.i--; + do {sup += this.PRIME; this.i++, c = this.GetNext()} + while (c === "'" || c === this.SMARTQUOTE); + sup = this.mmlToken(MML.mo(MML.chars(sup)).With({isPrime: TRUE, variantForm: TEX.isSTIX})); + this.Push(MML.msubsup(base,null,sup)); + }, + + /* + * Handle comments + */ + Comment: function (c) { + while (this.i < this.string.length && this.string.charAt(this.i) != "\n") {this.i++} + }, + + /* + * Handle hash marks outside of definitions + */ + Hash: function (c) { + TEX.Error("You can't use 'macro parameter character #' in math mode"); + }, + + /* + * Handle other characters (as elements) + */ + Other: function (c) { + var def = {stretchy: false}, mo; + if (this.stack.env.font) {def.mathvariant = this.stack.env.font} + if (TEXDEF.remap[c]) { + c = TEXDEF.remap[c]; + if (c instanceof Array) {def = c[1]; c = c[0]} + mo = MML.mo(MML.entity('#x'+c)); + } else { + mo = MML.mo(c); + } + if (mo.autoDefault("texClass",true) == "") {mo = MML.TeXAtom(mo)} + this.Push(this.mmlToken(mo.With(def))); + }, + + /************************************************************************/ + /* + * Macros + */ + + SetFont: function (name,font) {this.stack.env.font = font}, + SetStyle: function (name,texStyle,style,level) { + this.stack.env.style = texStyle; this.stack.env.level = level; + this.Push(STACKITEM.style().With({styles: {displaystyle: style, scriptlevel: level}})); + }, + SetSize: function (name,size) { + this.stack.env.size = size; + this.Push(STACKITEM.style().With({styles: {mathsize: size+"em"}})); // convert to absolute? + }, + + Color: function (name) { + var color = this.GetArgument(name); + var old = this.stack.env.color; this.stack.env.color = color; + var math = this.ParseArg(name); + if (old) {this.stack.env.color} else {delete this.stack.env.color} + this.Push(MML.mstyle(math).With({mathcolor: color})); + }, + + Spacer: function (name,space) { + this.Push(MML.mspace().With({width: space, mathsize: MML.SIZE.NORMAL, scriptlevel:1})); + }, + + LeftRight: function (name) { + this.Push(STACKITEM[name.substr(1)]().With({delim: this.GetDelimiter(name)})); + }, + + NamedOp: function (name,limits,id) { + var underover = (limits != null && limits === 0 ? FALSE : TRUE); + if (!id) {id = name.substr(1)}; limits = ((limits || limits == null) ? TRUE : FALSE); + id = id.replace(/ /,String.fromCharCode(0x2006)); + var mml = MML.mo(id).With({ + movablelimits: limits, + movesupsub: underover, + form: MML.FORM.PREFIX, + texClass: MML.TEXCLASS.OP + }); + mml.useMMLspacing &= ~mml.SPACE_ATTR.form; // don't count this explicit form setting + this.Push(this.mmlToken(mml)); + }, + Limits: function (name,limits) { + var op = this.stack.Prev("nopop"); + if (op.texClass !== MML.TEXCLASS.OP) {TEX.Error(name+" is allowed only on operators")} + op.movesupsub = (limits ? TRUE : FALSE); + op.movablelimits = FALSE; + }, + + Over: function (name,open,close) { + var mml = STACKITEM.over().With({name: name}); + if (open || close) { + mml.open = open; mml.close = close; + } else if (name.match(/withdelims$/)) { + mml.open = this.GetDelimiter(name); + mml.close = this.GetDelimiter(name); + } + if (name.match(/^\\above/)) {mml.thickness = this.GetDimen(name)} + else if (name.match(/^\\atop/) || open || close) {mml.thickness = 0} + this.Push(mml); + }, + + Frac: function (name) { + var num = this.ParseArg(name); + var den = this.ParseArg(name); + this.Push(MML.mfrac(num,den)); + }, + + Sqrt: function (name) { + var n = this.GetBrackets(name), mml = this.ParseArg(name); + if (n == "") {mml = MML.msqrt.apply(MML,mml.array())} + else {mml = MML.mroot(mml,this.parseRoot(n))} + this.Push(mml); + }, + Root: function (name) { + var n = this.GetUpTo(name,"\\of"); + var arg = this.ParseArg(name); + this.Push(MML.mroot(arg,this.parseRoot(n))); + }, + parseRoot: function (n) { + var env = this.stack.env, inRoot = env.inRoot; env.inRoot = true; + var parser = TEX.Parse(n,env); n = parser.mml(); var global = parser.stack.global; + if (global.leftRoot || global.upRoot) { + n = MML.mpadded(n); + if (global.leftRoot) {n.width = global.leftRoot} + if (global.upRoot) {n.voffset = global.upRoot; n.height = global.upRoot} + } + env.inRoot = inRoot; + return n; + }, + MoveRoot: function (name,id) { + if (!this.stack.env.inRoot) TEX.Error(name+" can appear only within a root"); + if (this.stack.global[id]) TEX.Error("Multiple use of "+name); + var n = this.GetArgument(name); + if (!n.match(/-?[0-9]+/)) TEX.Error("The argument to "+name+" must be an integer"); + n = (n/15)+"em"; + if (n.substr(0,1) !== "-") {n = "+"+n} + this.stack.global[id] = n; + }, + + Accent: function (name,accent,stretchy) { + var c = this.ParseArg(name); + var def = {accent: true}; if (this.stack.env.font) {def.mathvariant = this.stack.env.font} + var mml = this.mmlToken(MML.mo(MML.entity("#x"+accent)).With(def)); + mml.stretchy = (stretchy ? TRUE : FALSE); + this.Push(MML.munderover(c,null,mml).With({accent: TRUE})); + }, + + UnderOver: function (name,c,stack) { + var pos = {o: "over", u: "under"}[name.charAt(1)]; + var base = this.ParseArg(name); + if (base.Get("movablelimits")) {base.movablelimits = false} + var mml = MML.munderover(base,null,null); + if (stack) {mml.movesupsub = TRUE} + mml.data[mml[pos]] = + this.mmlToken(MML.mo(MML.entity("#x"+c)).With({stretchy: TRUE, accent: (pos == "under")})); + this.Push(mml); + }, + + Overset: function (name) { + var top = this.ParseArg(name), base = this.ParseArg(name); + this.Push(MML.munderover(base,null,top)); + }, + Underset: function (name) { + var bot = this.ParseArg(name), base = this.ParseArg(name); + this.Push(MML.munderover(base,bot,null)); + }, + + TeXAtom: function (name,mclass) { + var def = {texClass: mclass}, mml; + if (mclass == MML.TEXCLASS.OP) { + def.movesupsub = def.movablelimits = TRUE; + var arg = this.GetArgument(name); + var match = arg.match(/^\s*\\rm\s+([a-zA-Z0-9 ]+)$/); + if (match) { + mml = this.mmlToken(MML.mo(match[1]).With({ + movablelimits: TRUE, movesupsub: TRUE, + mathvariant: MML.VARIANT.NORMAL, + form: MML.FORM.PREFIX, + texClass: MML.TEXCLASS.OP + })); + mml.useMMLspacing &= ~mml.SPACE_ATTR.form; // don't count this explicit form setting + } else {mml = MML.TeXAtom(TEX.Parse(arg,this.stack.env).mml()).With(def)} + } else {mml = MML.TeXAtom(this.ParseArg(name)).With(def)} + this.Push(mml); + }, + + Strut: function (name) { + this.Push(MML.mpadded(MML.mrow()).With({height: "8.6pt", depth: "3pt", width: 0})); + }, + + Phantom: function (name,v,h) { + var box = MML.mphantom(this.ParseArg(name)); + if (v || h) { + box = MML.mpadded(box); + if (h) {box.height = box.depth = 0} + if (v) {box.width = 0} + } + this.Push(box); + }, + + Smash: function (name) { + var bt = this.trimSpaces(this.GetBrackets(name)); + var smash = MML.mpadded(this.ParseArg(name)); + switch (bt) { + case "b": smash.depth = 0; break; + case "t": smash.height = 0; break; + default: smash.height = smash.depth = 0; + } + this.Push(smash); + }, + + Lap: function (name) { + var mml = MML.mpadded(this.ParseArg(name)).With({width: 0}); + if (name === "\\llap") {mml.lspace = "-1 width"} + this.Push(mml); + }, + + RaiseLower: function (name) { + var h = this.GetDimen(name); + var item = STACKITEM.position().With({name: name, move: 'vertical'}); + if (h.charAt(0) === '-') {h = h.slice(1); name = {raise: "\\lower", lower: "\\raise"}[name.substr(1)]} + if (name === "\\lower") {item.dh = '-'+h; item.dd = '+'+h} else {item.dh = '+'+h; item.dd = '-'+h} + this.Push(item); + }, + + MoveLeftRight: function (name) { + var h = this.GetDimen(name); + var nh = (h.charAt(0) === '-' ? h.slice(1) : '-'+h); + if (name === "\\moveleft") {var tmp = h; h = nh; nh = tmp} + this.Push(STACKITEM.position().With({ + name: name, move: 'horizontal', + left: MML.mspace().With({width: h, mathsize: MML.SIZE.NORMAL, scriptlevel:1}), + right: MML.mspace().With({width: nh, mathsize: MML.SIZE.NORMAL, scriptlevel:1}) + })); + }, + + Hskip: function (name) { + this.Push(MML.mspace().With({ + width: this.GetDimen(name), mathsize: MML.SIZE.NORMAL, scriptlevel:0 + })); + }, + + Rule: function (name,style) { + var w = this.GetDimen(name), + h = this.GetDimen(name), + d = this.GetDimen(name); + var mml, def = {width:w, height:h, depth:d}; + if (style !== 'blank') { + mml = MML.mpadded(MML.mrow()).With(def); + if (parseFloat(w) && parseFloat(h)+parseFloat(d)) + {mml = MML.mstyle(mml).With({mathbackground:(this.stack.env.color || "black")})} + } else { + mml = MML.mspace().With(def); + } + this.Push(mml); + }, + + MakeBig: function (name,mclass,size) { + size *= TEXDEF.p_height; + size = String(size).replace(/(\.\d\d\d).+/,'$1')+"em"; + var delim = this.GetDelimiter(name); + this.Push(MML.TeXAtom(MML.mo(delim).With({ + minsize: size, maxsize: size, scriptlevel: 0, + fence: TRUE, stretchy: TRUE, symmetric: TRUE + })).With({texClass: mclass})); + }, + + BuildRel: function (name) { + var top = this.ParseUpTo(name,"\\over"); + var bot = this.ParseArg(name); + this.Push(MML.TeXAtom(MML.munderover(bot,null,top)).With({mclass: MML.TEXCLASS.REL})); + }, + + HBox: function (name,style) { + this.Push.apply(this,this.InternalMath(this.GetArgument(name),style)); + }, + + FBox: function (name) { + this.Push(MML.menclose.apply(MML,this.InternalMath(this.GetArgument(name))).With({notation:"box"})); + }, + + Require: function (name) { + var file = this.GetArgument(name); // @@@ FIXME: check for OK URL + this.Extension(null,file); + }, + + Extension: function (name,file,array) { + if (name && !typeof(name) === "string") {name = name.name} + file = TEX.extensionDir+"/"+file; + if (!file.match(/\.js$/)) {file += ".js"} + if (!MathJax.Ajax.loaded[MathJax.Ajax.fileURL(file)]) { + if (name != null) {delete TEXDEF[array || 'macros'][name.replace(/^\\/,"")]} + MathJax.Hub.RestartAfter(MathJax.Ajax.Require(file)); + } + }, + + Macro: function (name,macro,argcount) { + if (argcount) { + var args = []; + for (var i = 0; i < argcount; i++) {args.push(this.GetArgument(name))} + macro = this.SubstituteArgs(args,macro); + } + this.string = this.AddArgs(macro,this.string.slice(this.i)); + this.i = 0; + if (++this.macroCount > TEX.config.MAXMACROS) + {TEX.Error("MathJax maximum macro substitution count exceeded; is there a recursive macro call?")} + }, + + Matrix: function (name,open,close,align,spacing,vspacing,style) { + var c = this.GetNext(); if (c === "") {TEX.Error("Missing argument for "+name)} + if (c === "{") {this.i++} else {this.string = c+"}"+this.string.slice(this.i+1); this.i = 0} + var array = STACKITEM.array().With({ + requireClose: TRUE, + arraydef: { + rowspacing: (vspacing||"4pt"), + columnspacing: (spacing||"1em") + } + }); + if (open || close) {array.open = open; array.close = close} + if (style === "D") {array.arraydef.displaystyle = TRUE} + if (align != null) {array.arraydef.columnalign = align} + this.Push(array); + }, + + Entry: function (name) { + this.Push(STACKITEM.cell().With({isEntry: TRUE, name: name})); + }, + + Cr: function (name) { + this.Push(STACKITEM.cell().With({isCR: TRUE, name: name})); + }, + + HLine: function (name,style) { + if (style == null) {style = "solid"} + var top = this.stack.Top(); + if (top.type !== "array" || top.data.length) {TEX.Error("Misplaced "+name)} + if (top.table.length == 0) { + top.arraydef.frame = style; + } else { + var lines = (top.arraydef.rowlines ? top.arraydef.rowlines.split(/ /) : []); + while (lines.length < top.table.length) {lines.push("none")} + lines[top.table.length-1] = style; + top.arraydef.rowlines = lines.join(' '); + } + }, + + /************************************************************************/ + /* + * LaTeX environments + */ + + Begin: function (name) { + var env = this.GetArgument(name); + if (env.match(/[^a-z*]/i)) {TEX.Error('Invalid environment name "'+env+'"')} + if (!TEXDEF.environment[env]) {TEX.Error('Unknown environment "'+env+'"')} + if (++this.macroCount > TEX.config.MAXMACROS) + {TEX.Error("MathJax maximum substitution count exceeded; is there a recursive latex environment?")} + var cmd = TEXDEF.environment[env]; if (!(cmd instanceof Array)) {cmd = [cmd]} + var mml = STACKITEM.begin().With({name: env, end: cmd[1], parse:this}); + if (cmd[0] && this[cmd[0]]) {mml = this[cmd[0]].apply(this,[mml].concat(cmd.slice(2)))} + this.Push(mml); + }, + End: function (name) { + this.Push(STACKITEM.end().With({name: this.GetArgument(name)})); + }, + + Equation: function (begin,row) {return row}, + + ExtensionEnv: function (begin,file) {this.Extension(begin.name,file,"environment")}, + + Array: function (begin,open,close,align,spacing,vspacing,style,raggedHeight) { + if (!align) {align = this.GetArgument("\\begin{"+begin.name+"}")} + var lines = ("c"+align).replace(/[^clr|:]/g,'').replace(/[^|:]([|:])+/g,'$1'); + align = align.replace(/[^clr]/g,'').split('').join(' '); + align = align.replace(/l/g,'left').replace(/r/g,'right').replace(/c/g,'center'); + var array = STACKITEM.array().With({ + arraydef: { + columnalign: align, + columnspacing: (spacing||"1em"), + rowspacing: (vspacing||"4pt") + } + }); + if (lines.match(/[|:]/)) { + var frame = (lines.charAt(0)+lines.charAt(lines.length-1)).replace(/[^|:]/g,""); + if (frame !== "") { + array.arraydef.frame = {'|':'solid', ':':'dashed'}[frame.charAt(0)]; + array.arraydef.framespacing = ".5em .5ex" + } + lines = lines.substr(1,lines.length-2); + array.arraydef.columnlines = + lines.split('').join(' ').replace(/[^|: ]/g,'none').replace(/\|/g,'solid').replace(/:/g,'dashed'); + } + if (open) {array.open = this.convertDelimiter(open)} + if (close) {array.close = this.convertDelimiter(close)} + if (style === "D") {array.arraydef.displaystyle = TRUE} + if (style === "S") {array.arraydef.scriptlevel = 1} // FIXME: should use mstyle? + if (raggedHeight) {array.arraydef.useHeight = FALSE} + this.Push(begin); + return array; + }, + + /************************************************************************/ + /* + * String handling routines + */ + + /* + * Convert delimiter to character + */ + convertDelimiter: function (c) { + if (c) {c = TEXDEF.delimiter[c]} + if (c == null) {return null} + if (c instanceof Array) {c = c[0]} + if (c.length === 4) {c = String.fromCharCode(parseInt(c,16))} + return c; + }, + + /* + * Trim spaces from a string + */ + trimSpaces: function (text) { + if (typeof(text) != 'string') {return text} + return text.replace(/^\s+|\s+$/g,''); + }, + + /* + * Check if the next character is a space + */ + nextIsSpace: function () { + return this.string.charAt(this.i).match(/[ \n\r\t]/); + }, + + /* + * Get the next non-space character + */ + GetNext: function () { + while (this.nextIsSpace()) {this.i++} + return this.string.charAt(this.i); + }, + + /* + * Get and return a control-sequence name + */ + GetCS: function () { + var CS = this.string.slice(this.i).match(/^([a-z]+|.) ?/i); + if (CS) {this.i += CS[1].length; return CS[1]} else {this.i++; return " "} + }, + + /* + * Get and return a TeX argument (either a single character or control sequence, + * or the contents of the next set of braces). + */ + GetArgument: function (name,noneOK) { + switch (this.GetNext()) { + case "": + if (!noneOK) {TEX.Error("Missing argument for "+name)} + return null; + case '}': + if (!noneOK) {TEX.Error("Extra close brace or missing open brace")} + return null; + case '\\': + this.i++; return "\\"+this.GetCS(); + case '{': + var j = ++this.i, parens = 1; + while (this.i < this.string.length) { + switch (this.string.charAt(this.i++)) { + case '\\': this.i++; break; + case '{': parens++; break; + case '}': + if (parens == 0) {TEX.Error("Extra close brace")} + if (--parens == 0) {return this.string.slice(j,this.i-1)} + break; + } + } + TEX.Error("Missing close brace"); + break; + } + return this.string.charAt(this.i++); + }, + + /* + * Get an optional LaTeX argument in brackets + */ + GetBrackets: function (name) { + if (this.GetNext() != '[') {return ''}; + var j = ++this.i, parens = 0; + while (this.i < this.string.length) { + switch (this.string.charAt(this.i++)) { + case '{': parens++; break; + case '\\': this.i++; break; + case '}': + if (parens-- <= 0) {TEX.Error("Extra close brace while looking for ']'")} + break; + case ']': + if (parens == 0) {return this.string.slice(j,this.i-1)} + break; + } + } + TEX.Error("Couldn't find closing ']' for argument to "+name); + }, + + /* + * Get the name of a delimiter (check it in the delimiter list). + */ + GetDelimiter: function (name) { + while (this.nextIsSpace()) {this.i++} + var c = this.string.charAt(this.i); + if (this.i < this.string.length) { + this.i++; if (c == "\\") {c += this.GetCS(name)} + if (TEXDEF.delimiter[c] != null) {return this.convertDelimiter(c)} + } + TEX.Error("Missing or unrecognized delimiter for "+name); + }, + + /* + * Get a dimension (including its units). + */ + GetDimen: function (name) { + var dimen; + if (this.nextIsSpace()) {this.i++} + if (this.string.charAt(this.i) == '{') { + dimen = this.GetArgument(name); + if (dimen.match(/^\s*([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)\s*$/)) + {return dimen.replace(/ /g,"")} + } else { + dimen = this.string.slice(this.i); + var match = dimen.match(/^\s*(([-+]?(\.\d+|\d+(\.\d*)?))\s*(pt|em|ex|mu|px|mm|cm|in|pc)) ?/); + if (match) { + this.i += match[0].length; + return match[1].replace(/ /g,""); + } + } + TEX.Error("Missing dimension or its units for "+name); + }, + + /* + * Get everything up to the given control sequence (token) + */ + GetUpTo: function (name,token) { + while (this.nextIsSpace()) {this.i++} + var j = this.i, k, c, parens = 0; + while (this.i < this.string.length) { + k = this.i; c = this.string.charAt(this.i++); + switch (c) { + case '\\': c += this.GetCS(); break; + case '{': parens++; break; + case '}': + if (parens == 0) {TEX.Error("Extra close brace while looking for "+token)} + parens--; + break; + } + if (parens == 0 && c == token) {return this.string.slice(j,k)} + } + TEX.Error("Couldn't find "+token+" for "+name); + }, + + /* + * Parse various substrings + */ + ParseArg: function (name) {return TEX.Parse(this.GetArgument(name),this.stack.env).mml()}, + ParseUpTo: function (name,token) {return TEX.Parse(this.GetUpTo(name,token),this.stack.env).mml()}, + + /* + * Break up a string into text and math blocks + * @@@ FIXME: skip over braced groups? @@@ + * @@@ FIXME: pass environment to TEX.Parse? @@@ + */ + InternalMath: function (text,level) { + var def = {displaystyle: FALSE}; if (level != null) {def.scriptlevel = level} + if (this.stack.env.font) {def.mathvariant = this.stack.env.font} + if (!text.match(/\$|\\\(/)) {return [this.InternalText(text,def)]} + var i = 0, k = 0, c, match = ''; + var mml = []; + while (i < text.length) { + c = text.charAt(i++); + if (c === '$') { + if (match === '$') { + mml.push(MML.TeXAtom(TEX.Parse(text.slice(k,i-1)).mml().With(def))); + match = ''; k = i; + } else if (match === '') { + if (k < i-1) {mml.push(this.InternalText(text.slice(k,i-1),def))} + match = '$'; k = i; + } + } else if (c === '\\') { + c = text.charAt(i++); + if (c === '(' && match === '') { + if (k < i-2) {mml.push(this.InternalText(text.slice(k,i-2),def))} + match = ')'; k = i; + } else if (c === ')' && match === ')') { + mml.push(MML.TeXAtom(TEX.Parse(text.slice(k,i-2)).mml().With(def))); + match = ''; k = i; + } + } + } + if (match !== '') {TEX.Error("Math not terminated in text box")} + if (k < text.length) {mml.push(this.InternalText(text.slice(k),def))} + return mml; + }, + InternalText: function (text,def) { + text = text.replace(/^\s+/,NBSP).replace(/\s+$/,NBSP); + return MML.mtext(MML.chars(text)).With(def); + }, + + /* + * Replace macro paramters with their values + */ + SubstituteArgs: function (args,string) { + var text = ''; var newstring = ''; var c; var i = 0; + while (i < string.length) { + c = string.charAt(i++); + if (c === "\\") {text += c + string.charAt(i++)} + else if (c === '#') { + c = string.charAt(i++); + if (c === '#') {text += c} else { + if (!c.match(/[1-9]/) || c > args.length) + {TEX.Error("Illegal macro parameter reference")} + newstring = this.AddArgs(this.AddArgs(newstring,text),args[c-1]); + text = ''; + } + } else {text += c} + } + return this.AddArgs(newstring,text); + }, + + /* + * Make sure that macros are followed by a space if their names + * could accidentally be continued into the following text. + */ + AddArgs: function (s1,s2) { + if (s2.match(/^[a-z]/i) && s1.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)) {s1 += ' '} + if (s1.length + s2.length > TEX.config.MAXBUFFER) + {TEX.Error("MathJax internal buffer size exceeded; is there a recursive macro call?")} + return s1+s2; + } + + }); + + /************************************************************************/ + + TEX.Augment({ + Stack: STACK, Parse: PARSE, Definitions: TEXDEF, Startup: STARTUP, + + config: { + MAXMACROS: 10000, // maximum number of macro substitutions per equation + MAXBUFFER: 5*1024 // maximum size of TeX string to process + }, + + Translate: function (script) { + var mml, math = script.innerHTML.replace(/^\s+/,"").replace(/\s+$/,""); + if (MathJax.Hub.Browser.isKonqueror) + {math = math.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")} + var displaystyle = + (script.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/) != null); + math = TEX.prefilterMath(math,displaystyle,script); + try { + mml = TEX.Parse(math).mml(); +// mml = MML.semantics(mml,MML.annotation(math).With({encoding:"application:x-tex"})); + } catch(err) { + if (!err.texError) {throw err} + mml = this.formatError(err,math,displaystyle,script); + } + if (mml.inferred) {mml = MML.apply(MathJax.ElementJax,mml.data)} else {mml = MML(mml)} + if (displaystyle) {mml.root.display = "block"} + return this.postfilterMath(mml,displaystyle,script); + }, + prefilterMath: function (math,displaystyle,script) { + // avoid parsing super- and subscript numbers as a unit + return math.replace(/([_^]\s*\d)([0-9.,])/g,"$1 $2"); + }, + postfilterMath: function (math,displaystyle,script) { + this.combineRelations(math.root); + return math; + }, + formatError: function (err,math,displaystyle,script) { + return MML.merror(err.message.replace(/\n.*/,"")); + }, + Error: function (message) { + throw MathJax.Hub.Insert(Error(message),{texError: TRUE}); + }, + Macro: function (name,def,argn) { + TEXDEF.macros[name] = ['Macro'].concat([].slice.call(arguments,1)); + }, + + combineRelations: function (mml) { + for (var i = 0, m = mml.data.length; i < m; i++) { + if (mml.data[i]) { + if (mml.isa(MML.mrow)) { + while (i+1 < m && mml.data[i+1] && + mml.data[i].isa(MML.mo) && mml.data[i+1].isa(MML.mo) && + mml.data[i].Get("texClass") === MML.TEXCLASS.REL && + mml.data[i+1].Get("texClass") === MML.TEXCLASS.REL) { + mml.data[i].Append.apply(mml.data[i],mml.data[i+1].data); + mml.data.splice(i+1,1); m--; + } + } + if (!mml.data[i].isToken) {this.combineRelations(mml.data[i])} + } + } + } + }); + + TEX.loadComplete("jax.js"); + +})(MathJax.InputJax.TeX); diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/annotation-xml.js b/modules/MathJax/jax/output/HTML-CSS/autoload/annotation-xml.js new file mode 100644 index 0000000..2014707 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/annotation-xml.js @@ -0,0 +1,58 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/annotation-xm;l.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML["annotation-xml"].Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); + var encoding = this.Get("encoding"); + for (var i = 0, m = this.data.length; i < m; i++) + {this.data[i].toHTML(span,encoding)} + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLgetScale: function () { + return this.SUPER(arguments).HTMLgetScale.call(this) * (100/HTMLCSS.scale) + } + }); + + MML.xml.Augment({ + toHTML: function (span,encoding) { + for (var i = 0, m = this.data.length; i < m; i++) + {span.appendChild(this.data[i].cloneNode(true))} + span.bbox.w = HTMLCSS.getW(span); span.bbox.rw = span.bbox.w; + var HD = HTMLCSS.getHD(span); + span.bbox.h = HD.h; span.bbox.d = HD.d; + } + }); + + MathJax.Hub.Startup.signal.Post("HTML-CSS annotation-xml Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/annotation-xml.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/maction.js b/modules/MathJax/jax/output/HTML-CSS/autoload/maction.js new file mode 100644 index 0000000..b33be10 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/maction.js @@ -0,0 +1,202 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/maction.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1.2"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + var currentTip, hover, clear; + + // + // Add configuration for tooltips + // + var CONFIG = HTMLCSS.config.tooltip = MathJax.Hub.Insert({ + delayPost: 600, delayClear: 600, + offsetX: 10, offsetY: 5 + },HTMLCSS.config.tooltip||{}); + + + MML.maction.Augment({ + HTMLtooltip: HTMLCSS.addElement(document.body,"div",{id:"MathJax_Tooltip"}), + + toHTML: function (span,HW,D) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; + var values = this.getValues("actiontype","selection"), frame; + var selected = this.data[values.selection-1]; + if (selected) { + HTMLCSS.Measured(selected.toHTML(span),span); + if (D != null) {HTMLCSS.Remeasured(selected.HTMLstretchV(span,HW,D),span)} + else if (HW != null) {HTMLCSS.Remeasured(selected.HTMLstretchH(span,HW),span)} + if (HTMLCSS.msieHitBoxBug) { + // margin-left doesn't work on inline-block elements in IE, so put it in a SPAN + var box = HTMLCSS.addElement(span,"span"); + frame = HTMLCSS.createFrame(box,span.bbox.h,span.bbox.d,span.bbox.w,0,"none"); + span.insertBefore(box,span.firstChild); // move below the content + box.style.marginRight = HTMLCSS.Em(-span.bbox.w); + if (HTMLCSS.msieInlineBlockAlignBug) + {frame.style.verticalAlign = HTMLCSS.Em(HTMLCSS.getHD(span).d-span.bbox.d)} + } else { + frame = HTMLCSS.createFrame(span,span.bbox.h,span.bbox.d,span.bbox.w,0,"none"); + span.insertBefore(frame,span.firstChild); // move below the content + frame.style.marginRight = HTMLCSS.Em(-span.bbox.w); + } + frame.className = "MathJax_HitBox"; + frame.id = "MathJax-HitBox-"+this.spanID; + + if (this.HTMLaction[values.actiontype]) + {this.HTMLaction[values.actiontype].call(this,span,frame,values.selection)} + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV, + + // + // Implementations for the various actions + // + HTMLaction: { + toggle: function (span,frame,selection) { + this.selection = selection; + frame.onclick = span.childNodes[1].onclick = MathJax.Callback(["HTMLclick",this]); + frame.style.cursor = span.childNodes[1].style.cursor="pointer"; + }, + + statusline: function (span,frame,selection) { + frame.onmouseover = span.childNodes[1].onmouseover = MathJax.Callback(["HTMLsetStatus",this]); + frame.onmouseout = span.childNodes[1].onmouseout = MathJax.Callback(["HTMLclearStatus",this]); + frame.onmouseover.autoReset = frame.onmouseout.autoReset = true; + }, + + tooltip: function(span,frame,selection) { + if (this.data[1] && this.data[1].isToken) { + frame.title = frame.alt = span.childNodes[1].title = + span.childNodes[1].alt = this.data[1].data.join(""); + } else { + frame.onmouseover = span.childNodes[1].onmouseover = MathJax.Callback(["HTMLtooltipOver",this]); + frame.onmouseout = span.childNodes[1].onmouseout = MathJax.Callback(["HTMLtooltipOut",this]); + frame.onmouseover.autoReset = frame.onmouseout.autoReset = true; + } + } + }, + + // + // Handle a click on the maction element + // (remove the original rendering and rerender) + // + HTMLclick: function (event) { + this.selection++; + if (this.selection > this.data.length) {this.selection = 1} + var math = this; while (math.type !== "math") {math = math.inherit} + MathJax.Hub.getJaxFor(math.inputID).Update(); + if (!event) {event = window.event} + if (event.preventDefault) {event.preventDefault()} + if (event.stopPropagation) {event.stopPropagation()} + event.cancelBubble = true; + event.returnValue = false; + return false; + }, + + // + // Set/Clear the window status message + // + HTMLsetStatus: function (event) { + // FIXME: Do something better with non-token elements + window.status = + ((this.data[1] && this.data[1].isToken) ? + this.data[1].data.join("") : this.data[1].toString()); + }, + HTMLclearStatus: function (event) {window.status = ""}, + + // + // Handle tooltips + // + HTMLtooltipOver: function (event) { + if (!event) {event = window.event} + if (clear) {clearTimeout(clear); clear = null} + if (hover) {clearTimeout(hover)} + var x = event.pageX; var y = event.pageY; + if (x == null) { + x = event.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; + y = event.clientY + document.body.scrollTop + document.documentElement.scrollTop; + } + var callback = MathJax.Callback(["HTMLtooltipPost",this,x+CONFIG.offsetX,y+CONFIG.offsetY]) + hover = setTimeout(callback,CONFIG.delayPost); + }, + HTMLtooltipOut: function (event) { + if (hover) {clearTimeout(hover); hover = null} + if (clear) {clearTimeout(clear)} + var callback = MathJax.Callback(["HTMLtooltipClear",this,80]); + clear = setTimeout(callback,CONFIG.delayClear); + }, + HTMLtooltipPost: function (x,y) { + hover = null; if (clear) {clearTimeout(clear); clear = null} + var tip = this.HTMLtooltip; + tip.style.display = "block"; tip.style.opacity = ""; + tip.style.filter = HTMLCSS.config.styles["#MathJax_Tooltip"].filter; + if (this === currentTip) return; + tip.style.left = x+"px"; tip.style.top = y+"px"; + tip.innerHTML = ''; + HTMLCSS.getScales(tip.firstChild,tip.firstChild); + var stack = HTMLCSS.createStack(tip.firstChild.firstChild); + var box = HTMLCSS.createBox(stack); + try {HTMLCSS.Measured(this.data[1].toHTML(box),box)} catch(err) { + if (!err.restart) {throw err} + tip.style.display = "none"; + MathJax.Callback.After(["HTMLtooltipPost",this,x,y],err.restart); + } + HTMLCSS.placeBox(box,0,0); + HTMLCSS.createRule(tip.firstChild.firstChild,box.bbox.h,box.bbox.d,0); + currentTip = this; + }, + HTMLtooltipClear: function (n) { + var tip = this.HTMLtooltip; + if (n <= 0) { + tip.style.display = "none"; + tip.style.opacity = tip.style.filter = ""; + clear = null; + } else { + tip.style.opacity = n/100; + tip.style.filter = "alpha(opacity="+n+")"; + clear = setTimeout(MathJax.Callback(["HTMLtooltipClear",this,n-20]),50); + } + } + }); + + // + // Do browser-specific setup + // + MathJax.Hub.Browser.Select({ + MSIE: function (browser) { + HTMLCSS.msieHitBoxBug = true; + } + }); + + + MathJax.Hub.Startup.signal.Post("HTML-CSS maction Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/maction.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/menclose.js b/modules/MathJax/jax/output/HTML-CSS/autoload/menclose.js new file mode 100644 index 0000000..7fb3dc9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/menclose.js @@ -0,0 +1,273 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/menclose.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + var SVGNS = "http://www.w3.org/2000/svg"; + var VMLNS = "urn:schemas-microsoft-com:vml"; + var vmlns = "mjxvml"; + + MML.menclose.Augment({ + toHTML: function (span) { + var values = this.getValues("notation","thickness","padding","mathcolor","color"); + if (values.color && !this.mathcolor) {values.mathcolor = values.color} + if (values.thickness == null) {values.thickness = ".075em"} + if (values.padding == null) {values.padding = ".2em"} + var p = HTMLCSS.length2em(values.padding); + var t = HTMLCSS.length2em(values.thickness); + var SOLID = HTMLCSS.Em(t)+" solid"; + + span = this.HTMLcreateSpan(span); + var stack = HTMLCSS.createStack(span); + var base = HTMLCSS.createBox(stack); + this.HTMLmeasureChild(0,base); + var H = base.bbox.h+p+t, D = base.bbox.d+p+t, W = base.bbox.w+2*(p+t); + var frame = HTMLCSS.createFrame(stack,H+D,0,W,t,"none"); + frame.id = "MathJax-frame-"+this.spanID; + HTMLCSS.addBox(stack,frame); stack.insertBefore(frame,base); // move base to above background + var notation = values.notation.split(/ /); + var T = 0, B = 0, R = 0, L = 0, dx = 0, dy = 0; var svg, vml; + if (!values.mathcolor) {values.mathcolor = "black"} else {span.style.color = values.mathcolor} + + for (var i = 0, m = notation.length; i < m; i++) { + switch (notation[i]) { + case MML.NOTATION.BOX: + frame.style.border = SOLID; if (!HTMLCSS.msieBorderWidthBug) {T = B = L = R = t} + break; + + case MML.NOTATION.ROUNDEDBOX: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + // roundrect.arcsize can't be set in IE8 standards mode, so use a path + var r = Math.floor(1000*Math.min(W,H+D)-2*t); + var w = Math.floor(4000*(W-2*t)), h = Math.floor(4000*(H+D-2*t)); + this.HTMLvmlElement(vml,"shape",{ + style: {width:this.HTMLpx(W-2*t),height:this.HTMLpx(H+D-2*t), + left:this.HTMLpx(t,.5),top:this.HTMLpx(t,.5)}, + path: "m "+r+",0 qx 0,"+r+" l 0,"+(h-r)+" qy "+r+","+h+" "+ + "l "+(w-r)+","+h+" qx "+w+","+(h-r)+" l "+w+","+r+" qy "+(w-r)+",0 x e", + coordsize: w+","+h + }); + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"rect",{ + x:1, y:1, width:this.HTMLpx(W-t)-1, + height:this.HTMLpx(H+D-t)-1, rx:this.HTMLpx(Math.min(H+D,W)/4) + }); + } + break; + + case MML.NOTATION.CIRCLE: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + this.HTMLvmlElement(vml,"oval",{ + style: {width:this.HTMLpx(W-2*t),height:this.HTMLpx(H+D-2*t), + left:this.HTMLpx(t,.5),top:this.HTMLpx(t,.5)} + }); + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"ellipse",{ + rx:this.HTMLpx(W/2-t), ry:this.HTMLpx((H+D)/2-t), + cx:this.HTMLpx(W/2), cy:this.HTMLpx((H+D)/2) + }); + } + break; + + case MML.NOTATION.LEFT: + frame.style.borderLeft = SOLID; if (!HTMLCSS.msieBorderWidthBug) {L = t} + break; + + case MML.NOTATION.ACTUARIAL: + frame.style.borderTop = SOLID; if (!HTMLCSS.msieBorderWidthBug) {T = t; frame.bbox.w += p-t} + case MML.NOTATION.RIGHT: + frame.style.borderRight = SOLID; if (!HTMLCSS.msieBorderWidthBug) {R = t} + break; + + case MML.NOTATION.VERTICALSTRIKE: + var vline = HTMLCSS.createRule(stack,H+D-t/2,0,t); + HTMLCSS.addBox(stack,vline); HTMLCSS.placeBox(vline,p+t+base.bbox.w/2,-D,true); + break; + + case MML.NOTATION.TOP: + frame.style.borderTop = SOLID; if (!HTMLCSS.msieBorderWidthBug) {T = t} + break; + + case MML.NOTATION.BOTTOM: + frame.style.borderBottom = SOLID; if (!HTMLCSS.msieBorderWidthBug) {B = t} + break; + + case MML.NOTATION.HORIZONTALSTRIKE: + var hline = HTMLCSS.createRule(stack,t,0,W-t/2); + HTMLCSS.addBox(stack,hline); HTMLCSS.placeBox(hline,0,(H+D)/2-D,true); + break; + + case MML.NOTATION.UPDIAGONALSTRIKE: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + this.HTMLvmlElement(vml,"line",{from: "0,"+this.HTMLpx(H+D-t), to: this.HTMLpx(W)+",0"}); + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"line",{ + x1:1, y1:this.HTMLpx(H+D-t), x2:this.HTMLpx(W-t), y2:this.HTMLpx(t) + }); + } + break; + + case MML.NOTATION.DOWNDIAGONALSTRIKE: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + this.HTMLvmlElement(vml,"line",{from: "0,0", to: this.HTMLpx(W)+","+this.HTMLpx(H+D-t)}); + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"line",{ + x1:1, y1:this.HTMLpx(t), x2:this.HTMLpx(W-t), y2:this.HTMLpx(H+D-t) + }); + } + break; + + case MML.NOTATION.MADRUWB: + frame.style.borderBottom = SOLID; + frame.style.borderRight = SOLID; if (!HTMLCSS.msieBorderWidthBug) {B = R = t} + break; + + case MML.NOTATION.RADICAL: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + this.HTMLvmlElement(vml,"shape",{ + style: {width:this.HTMLpx(W), height:this.HTMLpx(H+D)}, + path: "m "+this.HTMLpt(t/2,.6*(H+D))+" l "+this.HTMLpt(p,H+D-t)+" "+ + this.HTMLpt(2*p,t/2)+" "+this.HTMLpt(W,t/2)+" e", + coordsize: this.HTMLpt(W,H+D) + }); + dx = p; + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"path",{ + d: "M 1,"+this.HTMLpx(.6*(H+D)) + + " L "+this.HTMLpx(p)+","+this.HTMLpx(H+D) + + " L "+this.HTMLpx(2*p)+",1 L "+this.HTMLpx(W)+",1" + }); + HTMLCSS.placeBox(svg.parentNode,0,p/2-D,true); + dx = p; dy = t; + } + break; + + case MML.NOTATION.LONGDIV: + if (HTMLCSS.useVML) { + if (!vml) {vml = this.HTMLvml(stack,H,D,W,t,values.mathcolor)} + this.HTMLvmlElement(vml,"line",{from: "0,"+this.HTMLpx(t/2), to: this.HTMLpx(W-t)+","+this.HTMLpx(t/2)}); + this.HTMLvmlElement(vml,"arc",{ + style: {width:this.HTMLpx(2*p),height:this.HTMLpx(H+D-2*t), + left:this.HTMLpx(-p),top:this.HTMLpx(t)}, + startangle:"10", endangle:"170" + }); + dx = p; + } else { + if (!svg) {svg = this.HTMLsvg(stack,H,D,W,t,values.mathcolor)} + this.HTMLsvgElement(svg.firstChild,"path",{ + d: "M "+this.HTMLpx(W)+",1 L 1,1 "+ + "a"+this.HTMLpx(p)+","+this.HTMLpx((H+D)/2-t)+" 0 0,1 1,"+this.HTMLpx(H+D-2*t) + }); + HTMLCSS.placeBox(svg.parentNode,0,t-D,true); + dx = p; dy = t; + } + break; + } + } + frame.style.width = HTMLCSS.Em(W-L-R); frame.style.height = HTMLCSS.Em(H+D-T-B); + HTMLCSS.placeBox(frame,0,dy-D,true); + HTMLCSS.placeBox(base,dx+p+t,0); + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + + HTMLpx: function (n) {return (n*HTMLCSS.em)}, + HTMLpt: function (x,y) {return Math.floor(1000*x)+','+Math.floor(1000*y)}, + + HTMLhandleColor: function (span) { + var frame = document.getElementById("MathJax-frame-"+this.spanID); + if (frame) { + // mathcolor is handled in toHTML above + var values = this.getValues("mathbackground","background"); + if (this.style && span.style.backgroundColor) {values.mathbackground = span.style.backgroundColor} + if (values.background && !this.mathbackground) {values.mathbackground = values.background} + if (values.mathbackground && values.mathbackground !== MML.COLOR.TRANSPARENT) + {frame.style.backgroundColor = values.mathbackground} + } else {this.SUPER(arguments).HTMLhandleColor.call(this,span)} + }, + + HTMLsvg: function (stack,H,D,W,t,color) { + var svg = document.createElementNS(SVGNS,"svg"); + if (svg.style) {svg.style.width = HTMLCSS.Em(W); svg.style.height = HTMLCSS.Em(H+D)} + var scale = HTMLCSS.createBox(stack); scale.appendChild(svg); + HTMLCSS.placeBox(scale,0,-D,true); + this.HTMLsvgElement(svg,"g",{fill:"none", stroke:color, "stroke-width":t*HTMLCSS.em}); + return svg; + }, + HTMLsvgElement: function (svg,type,def) { + var obj = document.createElementNS(SVGNS,type); + if (def) {for (var id in def) {if (def.hasOwnProperty(id)) {obj.setAttributeNS(null,id,def[id].toString())}}} + svg.appendChild(obj); + return obj; + }, + HTMLvml: function (stack,H,D,W,t,color) { + var vml = HTMLCSS.createFrame(stack,H+D,0,W,0,"none"); + HTMLCSS.addBox(stack,vml); HTMLCSS.placeBox(vml,0,-D,true); + this.constructor.VMLcolor = color; this.constructor.VMLthickness = this.HTMLpx(t); + return vml; + }, + HTMLvmlElement: function (vml,type,def) { + var obj = HTMLCSS.addElement(vml,vmlns+":"+type); + obj.style.position = "absolute"; obj.style.left = obj.style.top = 0; + MathJax.Hub.Insert(obj,def); // IE8 needs to do this after obj is added to the page + if (!def.fillcolor) {obj.fillcolor = "none"} + if (!def.strokecolor) {obj.strokecolor = this.constructor.VMLcolor} + if (!def.strokeweight) {obj.strokeweight =this.constructor.VMLthickness} + } + }); + + MathJax.Hub.Browser.Select({ + MSIE: function (browser) { + MML.menclose.Augment({HTMLpx: function (n,d) {return (n*HTMLCSS.em+(d||0))+"px"}}); + HTMLCSS.useVML = true; + if (!document.namespaces[vmlns]) { + if (document.documentMode && document.documentMode >= 8) { + document.namespaces.add(vmlns,VMLNS,"#default#VML"); + } else { + document.namespaces.add(vmlns,VMLNS); + document.createStyleSheet().addRule(vmlns+"\\: *","{behavior: url(#default#VML)}"); + } + } + } + }); + + + MathJax.Hub.Startup.signal.Post("HTML-CSS menclose Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/menclose.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/mglyph.js b/modules/MathJax/jax/output/HTML-CSS/autoload/mglyph.js new file mode 100644 index 0000000..8c45c3d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/mglyph.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/mglyph.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML.mglyph.Augment({ + toHTML: function (span,variant) { + var SPAN = span, values = this.getValues("src","width","height","valign","alt"), err; + span = this.HTMLcreateSpan(span); + if (values.src === "") { + var index = this.Get("index"); + if (index) { + variant = this.HTMLgetVariant(); var font = variant.defaultFont; + if (font) { + font.noStyleChar = true; font.testString = String.fromCharCode(index) + 'ABCabc'; + if (HTMLCSS.Font.testFont(font)) { + this.HTMLhandleVariant(span,variant,String.fromCharCode(index)); + } else { + if (values.alt === "") {values.alt = "Bad font: "+font.family} + err = MML.merror(values.alt).With({mathsize:"75%"}); + this.Append(err); err.toHTML(span); this.data.pop(); + span.bbox = err.HTMLspanElement().bbox; + } + } + } + } else { + if (!this.img) {this.img = MML.mglyph.GLYPH[values.src]} + if (!this.img) { + this.img = MML.mglyph.GLYPH[values.src] = {img: new Image(), status: "pending"}; + var img = this.img.img; + img.onload = MathJax.Callback(["HTMLimgLoaded",this]); + img.onerror = MathJax.Callback(["HTMLimgError",this]); + img.src = values.src; + MathJax.Hub.RestartAfter(img.onload); + } + if (this.img.status !== "OK") { + err = MML.merror("Bad mglyph: "+values.src).With({mathsize:"75%"}); + this.Append(err); err.toHTML(span); this.data.pop(); + span.bbox = err.HTMLspanElement().bbox; + } else { + img = HTMLCSS.addElement(span,"img",{src:values.src, alt:values.alt, title:values.alt}); + if (values.width) { + if (String(values.width).match(/^\s*-?\d+\s*$/)) {values.width += "px"} + img.style.width = HTMLCSS.Em(HTMLCSS.length2em(values.width,this.img.img.width/HTMLCSS.em)); + } + if (values.height) { + if (String(values.height).match(/^\s*-?\d+\s*$/)) {values.height += "px"} + img.style.height = HTMLCSS.Em(HTMLCSS.length2em(values.height,this.img.img.height/HTMLCSS.em)); + } + span.bbox.w = span.bbox.rw = img.offsetWidth/HTMLCSS.em; + span.bbox.h = img.offsetHeight/HTMLCSS.em; + if (values.valign) { + if (String(values.valign).match(/^\s*-?\d+\s*$/)) {values.valign += "px"} + span.bbox.d = -HTMLCSS.length2em(values.valign,this.img.img.height/HTMLCSS.em); + img.style.verticalAlign = HTMLCSS.Em(-span.bbox.d); + span.bbox.h -= span.bbox.d; + } + } + } + if (!SPAN.bbox) { + SPAN.bbox = {w: span.bbox.w, h: span.bbox.h, d: span.bbox.d, + rw: span.bbox.rw, lw: span.bbox.lw}; + } else if (span.bbox) { + SPAN.bbox.w += span.bbox.w; + if (SPAN.bbox.w > SPAN.bbox.rw) {SPAN.bbox.rw = SPAN.bbox.w} + if (span.bbox.h > SPAN.bbox.h) {SPAN.bbox.h = span.bbox.h} + if (span.bbox.d > SPAN.bbox.d) {SPAN.bbox.d = span.bbox.d} + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLimgLoaded: function (event,status) { + if (typeof(event) === "string") {status = event} + this.img.status = (status || "OK") + }, + HTMLimgError: function () {this.img.img.onload("error")} + },{ + GLYPH: {} // global list of all loaded glyphs + }); + + MathJax.Hub.Startup.signal.Post("HTML-CSS mglyph Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/mglyph.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js b/modules/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js new file mode 100644 index 0000000..6db75fc --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js @@ -0,0 +1,145 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/mmultiscripts.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML.mmultiscripts.Augment({ + toHTML: function (span,HW,D) { + span = this.HTMLcreateSpan(span); var scale = this.HTMLgetScale(); + var stack = HTMLCSS.createStack(span), values; + var base = HTMLCSS.createBox(stack); + this.HTMLmeasureChild(this.base,base); + if (this.data[this.base]) { + if (D != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchV(base,HW,D),base)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchH(base,HW),base)} + } + var x_height = HTMLCSS.TeX.x_height * scale, + s = HTMLCSS.TeX.scriptspace * scale * .75; // FIXME: .75 can be removed when IC is right? + + var BOX = this.HTMLgetScripts(stack,s); + var sub = BOX[0], sup = BOX[1], presub = BOX[2], presup = BOX[3]; + + var sscale = (this.data[1]||this).HTMLgetScale(); + var q = HTMLCSS.TeX.sup_drop * sscale, r = HTMLCSS.TeX.sub_drop * sscale; + var u = base.bbox.h - q, v = base.bbox.d + r, delta = 0, p; + if (base.bbox.ic) {delta = base.bbox.ic} + if (this.data[this.base] && + (this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) { + if (this.data[this.base].data.join("").length === 1 && base.bbox.scale === 1 && + !this.data[this.base].Get("largeop")) {u = v = 0} + } + var min = this.getValues("subscriptshift","superscriptshift"); + min.subscriptshift = (min.subscriptshift === "" ? 0 : HTMLCSS.length2em(min.subscriptshift)); + min.superscriptshift = (min.superscriptshift === "" ? 0 : HTMLCSS.length2em(min.superscriptshift)); + + var dx = 0; + if (presub) {dx = presub.bbox.w+delta} else if (presup) {dx = presup.bbox.w-delta} + if (dx < 0) {dx = 0}; + HTMLCSS.placeBox(base,dx,0); + + if (!sup && !presup) { + v = Math.max(v,HTMLCSS.TeX.sub1*scale,min.subscriptshift); + if (sub) {v = Math.max(v,sub.bbox.h-(4/5)*x_height)} + if (presub) {v = Math.max(v,presub.bbox.h-(4/5)*x_height)} + if (sub) {HTMLCSS.placeBox(sub,dx+base.bbox.w+s-delta,-v)} + if (presub) {HTMLCSS.placeBox(presub,0,-v)} + } else { + if (!sub && !presub) { + values = this.getValues("displaystyle","texprimestyle"); + p = HTMLCSS.TeX[(values.displaystyle ? "sup1" : (values.texprimestyle ? "sup3" : "sup2"))]; + u = Math.max(u,p*scale,min.superscriptshift); + if (sup) {u = Math.max(u,sup.bbox.d+(1/4)*x_height)} + if (presup) {u = Math.max(u,presup.bbox.d+(1/4)*x_height)} + if (sup) {HTMLCSS.placeBox(sup,dx+base.bbox.w+s,u)} + if (presup) {HTMLCSS.placeBox(presup,0,u)} + } else { + v = Math.max(v,HTMLCSS.TeX.sub2*scale); + var t = HTMLCSS.TeX.rule_thickness * scale; + var h = (sub||presub).bbox.h, d = (sup||presup).bbox.d; + if (presub) {h = Math.max(h,presub.bbox.h)} + if (presup) {d = Math.max(d,presup.bbox.d)} + if ((u - d) - (h - v) < 3*t) { + v = 3*t - u + d + h; q = (4/5)*x_height - (u - d); + if (q > 0) {u += q; v -= q} + } + u = Math.max(u,min.superscriptshift); v = Math.max(v,min.subscriptshift); + if (sup) {HTMLCSS.placeBox(sup,dx+base.bbox.w+s,u)} + if (presup) {HTMLCSS.placeBox(presup,dx+delta-presup.bbox.w,u)} + if (sub) {HTMLCSS.placeBox(sub,dx+base.bbox.w+s-delta,-v)} + if (presub) {HTMLCSS.placeBox(presub,dx-presub.bbox.w,-v)} + } + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLgetScripts: function (stack,s) { + var sup, sub, BOX = []; + var i = 1, m = this.data.length, W = 0; + for (var k = 0; k < 4; k += 2) { + while (i < m && this.data[i].type !== "mprescripts") { + for (var j = k; j < k+2; j++) { + if (this.data[i] && this.data[i].type !== "none") { + if (!BOX[j]) { + BOX[j] = HTMLCSS.createBox(stack); BOX[j].bbox = this.HTMLemptyBBox({}); + if (W) {HTMLCSS.createBlank(BOX[j],W); BOX[j].bbox.w = BOX[j].bbox.rw = W} + } + this.data[i].toHTML(BOX[j]); this.HTMLcombineBBoxes(this.data[i],BOX[j].bbox); + } + i++; + } + sub = BOX[k]; sup = BOX[k+1]; + if (sub && sup) { + if (sub.bbox.w < sup.bbox.w) { + HTMLCSS.createBlank(sub,sup.bbox.w-sub.bbox.w); + sub.bbox.w = sup.bbox.w; sub.bbox.rw = Math.max(sub.bbox.w,sub.bbox.rw); + } else if (sub.bbox.w > sup.bbox.w) { + HTMLCSS.createBlank(sup,sub.bbox.w-sup.bbox.w); + sup.bbox.w = sub.bbox.w; sup.bbox.rw = Math.max(sup.bbox.w,sup.bbox.rw); + } + } + if (sub) {W = sub.bbox.w} else if (sup) {W = sup.bbox.w} + } + i++; W = 0; + } + for (j = 0; j < 4; j++) { + if (BOX[j]) { + BOX[j].bbox.w += s; + BOX[j].bbox.rw = Math.max(BOX[j].bbox.w,BOX[j].bbox.rw); + this.HTMLcleanBBox(BOX[j].bbox); + } + } + return BOX; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MathJax.Hub.Startup.signal.Post("HTML-CSS mmultiscripts Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/mmultiscripts.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/ms.js b/modules/MathJax/jax/output/HTML-CSS/autoload/ms.js new file mode 100644 index 0000000..224fa0c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/ms.js @@ -0,0 +1,53 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/ms.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML.ms.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); + var values = this.getValues("lquote","rquote"); + var text = this.data.join(""); // FIXME: handle mglyph? + var pattern = []; + if (values.lquote.length === 1) {pattern.push(this.HTMLquoteRegExp(values.lquote))} + if (values.rquote.length === 1) {pattern.push(this.HTMLquoteRegExp(values.rquote))} + if (pattern.length) {text = text.replace(RegExp("("+pattern.join("|")+")","g"),"\\$1")} + this.HTMLhandleVariant(span,this.HTMLgetVariant(),values.lquote+text+values.rquote); + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLquoteRegExp: function (string) { + return string.replace(/([.*+?|{}()\[\]\\])/g,"\\$1"); + } + }); + MML.ms.prototype.defaults.fontfamily = 'monospace'; + + MathJax.Hub.Startup.signal.Post("HTML-CSS ms Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/ms.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/mtable.js b/modules/MathJax/jax/output/HTML-CSS/autoload/mtable.js new file mode 100644 index 0000000..8424f33 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/mtable.js @@ -0,0 +1,438 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/mtable.js + * + * Implements the HTML-CSS output for elements. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML.mtable.Augment({ + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + if (this.data.length === 0) {return span} + var values = this.getValues("columnalign","rowalign","columnspacing","rowspacing", + "columnwidth","equalcolumns","equalrows", + "columnlines","rowlines","frame","framespacing", + "align","useHeight","width","side","minlabelspacing"); + var hasRelativeWidth = values.width.match(/%$/); + var stack = HTMLCSS.createStack(span); + var scale = this.HTMLgetScale(); var LABEL = -1; + + var H = [], D = [], W = [], A = [], C = [], i, j, J = -1, m, M, s, row; + var LHD = HTMLCSS.FONTDATA.baselineskip * scale * values.useHeight, + LH = HTMLCSS.FONTDATA.lineH * scale, LD = HTMLCSS.FONTDATA.lineD * scale; + + // + // Create cells and measure columns and rows + // + for (i = 0, m = this.data.length; i < m; i++) { + row = this.data[i]; s = (row.type === "mlabeledtr" ? LABEL : 0); + A[i] = []; H[i] = D[i] = 0; + for (j = s, M = row.data.length + s; j < M; j++) { + if (W[j] == null) { + if (j > J) {J = j} + C[j] = HTMLCSS.createStack(HTMLCSS.createBox(stack)); + W[j] = -HTMLCSS.BIGDIMEN; + } + A[i][j] = HTMLCSS.createBox(C[j]); + HTMLCSS.Measured(row.data[j-s].toHTML(A[i][j]),A[i][j]); + if (row.data[j-s].isMultiline) {A[i][j].style.width = "100%"} + if (A[i][j].bbox.h > H[i]) {H[i] = A[i][j].bbox.h} + if (A[i][j].bbox.d > D[i]) {D[i] = A[i][j].bbox.d} + if (A[i][j].bbox.w > W[j]) {W[j] = A[i][j].bbox.w} + } + } + if (H[0]+D[0]) {H[0] = Math.max(H[0],LH)} + if (H[A.length-1]+D[A.length-1]) {D[A.length-1] = Math.max(D[A.length-1],LD)} + + // + // Determine spacing and alignment + // + var CSPACE = values.columnspacing.split(/ /), + RSPACE = values.rowspacing.split(/ /), + CALIGN = values.columnalign.split(/ /), + RALIGN = values.rowalign.split(/ /), + CLINES = values.columnlines.split(/ /), + RLINES = values.rowlines.split(/ /), + CWIDTH = values.columnwidth.split(/ /), + RCALIGN = []; + for (i = 0, m = CSPACE.length; i < m; i++) {CSPACE[i] = HTMLCSS.length2em(CSPACE[i])} + for (i = 0, m = RSPACE.length; i < m; i++) {RSPACE[i] = HTMLCSS.length2em(RSPACE[i])} + while (CSPACE.length < J) {CSPACE.push(CSPACE[CSPACE.length-1])} + while (CALIGN.length <= J) {CALIGN.push(CALIGN[CALIGN.length-1])} + while (CLINES.length < J) {CLINES.push(CLINES[CLINES.length-1])} + while (CWIDTH.length <= J) {CWIDTH.push(CWIDTH[CWIDTH.length-1])} + while (RSPACE.length < A.length) {RSPACE.push(RSPACE[RSPACE.length-1])} + while (RALIGN.length <= A.length) {RALIGN.push(RALIGN[RALIGN.length-1])} + while (RLINES.length < A.length) {RLINES.push(RLINES[RLINES.length-1])} + if (C[LABEL]) { + CALIGN[LABEL] = (values.side.substr(0,1) === "l" ? "left" : "right"); + CSPACE[LABEL] = -W[LABEL]; + } + // + // Override row data + // + for (i = 0, m = A.length; i < m; i++) { + row = this.data[i]; RCALIGN[i] = []; + if (row.rowalign) {RALIGN[i] = row.rowalign} + if (row.columnalign) { + RCALIGN[i] = row.columnalign.split(/ /); + while (RCALIGN[i].length <= J) {RCALIGN[i].push(RCALIGN[i][RCALIGN[i].length-1])} + } + } + + // FIXME: do background colors for entire cell (include half the intercolumn space?) + + // + // Determine array total height + // + var HD = H[0] + D[A.length-1]; + for (i = 0, m = A.length-1; i < m; i++) {HD += Math.max((H[i]+D[i] ? LHD : 0),D[i]+H[i+1]+RSPACE[i])} + // + // Determine frame and line sizes + // + var fx = 0, fy = 0, fW, fH = HD; + if (values.frame !== "none" || + (values.columnlines+values.rowlines).match(/solid|dashed/)) { + fx = HTMLCSS.length2em(values.framespacing.split(/[, ]+/)[0]); + fy = HTMLCSS.length2em(values.framespacing.split(/[, ]+/)[1]); + fH = HD + 2*fy; // fW waits until stack.bbox.w is determined + } + // + // Compute alignment + // + var Y, fY; + if (String(values.align).match(/^\d+$/)) { + // FIXME: do row-based alignment + Y = HD/2 + HTMLCSS.TeX.axis_height*scale - H[0]; + fY = -(HD/2 + fy); + } else { + Y = ({ + top: -(H[0] + fy), + bottom: HD + fy - H[0], + center: HD/2 - H[0], + baseline: HD/2 - H[0], + axis: HD/2 + HTMLCSS.TeX.axis_height*scale - H[0] + })[values.align]; + fY = ({ + top: -(HD + 2*fy), + bottom: 0, + center: -(HD/2 + fy), + baseline: -(HD/2 + fy), + axis: HTMLCSS.TeX.axis_height*scale - HD/2 - fy + })[values.align]; + } + + var WW, WP = 0, Wt = 0, Wp = 0, p = 0, f = 0, P = [], F = [], Wf = 1; + // + if (values.equalcolumns && values.width !== "auto") { + // + // Handle equalcolumns for percent-width and fixed-width tables + // + if (hasRelativeWidth) { + // Set widths to percentages + WW = (100/(J+1)).toFixed(2).replace(/\.?0+$/,"")+"%"; + for (i = 0, m = Math.min(J+1,CWIDTH.length); i < m; i++) {CWIDTH[i] = WW} + // Get total column spacing + WW = 0; WP = 1; f = J+1; + for (i = 0, m = Math.min(J+1,CSPACE.length); i < m; i++) {WW += CSPACE[i]} + } else { + // Get total width minus column spacing + WW = HTMLCSS.length2em(values.width); + for (i = 0, m = Math.min(J+1,CSPACE.length); i < m; i++) {WW -= CSPACE[i]} + // Determine individual column widths + WW /= J+1; + for (i = 0, m = Math.min(J+1,CWIDTH.length); i < m; i++) {W[i] = WW} + } + } else { + // + // Get column widths for fit and percentage columns + // + // Calculate the natural widths and percentage widths, + // while keeping track of the fit and percentage columns + for(i = 0, m = Math.min(J+1,CWIDTH.length); i < m; i++) { + if (CWIDTH[i] === "auto") {Wt += W[i]} + else if (CWIDTH[i] === "fit") {F[f] = i; f++; Wt += W[i]} + else if (CWIDTH[i].match(/%$/)) + {P[p] = i; p++; Wp += W[i]; WP += HTMLCSS.length2em(CWIDTH[i],1)} + else {W[i] = HTMLCSS.length2em(CWIDTH[i]); Wt += W[i]} + } + if (hasRelativeWidth) { + // Get separation width and check percentages + WW = 0; for (i = 0, m = Math.min(J,CSPACE.length); i < m; i++) {WW += CSPACE[i]} + if (WP > .98) {Wf = .98/WP; WP = .98} + } else { + // Get the full width (excluding inter-column spacing) + if (values.width === "auto") { + if (WP > .98) {Wf = Wp/(Wt+Wp); WW = Wt + Wp} else {WW = Wt / (1-WP)} + } else { + WW = HTMLCSS.length2em(values.width); + for (i = 0, m = Math.min(J+1,CSPACE.length); i < m; i++) {WW -= CSPACE[i]} + } + // Determine the relative column widths + for (i = 0, m = P.length; i < m; i++) { + W[P[i]] = HTMLCSS.length2em(CWIDTH[P[i]],WW*Wf); Wt += W[P[i]]; + } + // Stretch fit columns, if any, otherwise stretch (or shrink) everything + if (Math.abs(WW - Wt) > .01) { + if (f && WW > Wt) { + WW = (WW - Wt) / f; for (i = 0, m = F.length; i < m; i++) {W[F[i]] += WW} + } else {WW = WW/Wt; for (j = 0; j <= J; j++) {W[j] *= WW}} + } + // + // Handle equal columns + // + if (values.equalcolumns) { + var Wm = Math.max.apply(Math,W); + for (j = 0; j <= J; j++) {W[j] = Wm} + } + } + } + // + // Handle equal heights + // + if (values.equalrows) { + // FIXME: should really be based on row align (below is for baseline) + var Hm = Math.max.apply(Math,H), Dm = Math.max.apply(Math,D); + for (i = 0, m = A.length; i < m; i++) + {s = ((Hm + Dm) - (H[i] + D[i])) / 2; H[i] += s; D[i] += s} + } + + // + // Lay out array columns + // + var y = Y, dy, line, align; s = (C[LABEL] ? LABEL : 0); + for (j = s; j <= J; j++) { + for (i = 0, m = A.length; i < m; i++) { + if (A[i][j]) { + s = (this.data[i].type === "mlabeledtr" ? LABEL : 0); + var cell = this.data[i].data[j-s]; + if (cell.HTMLcanStretch("Horizontal")) { + A[i][j].bbox = cell.HTMLstretchH(C[j],W[j]).bbox + } else if (cell.HTMLcanStretch("Vertical")) { + var mo = cell.CoreMO(); + var symmetric = mo.symmetric; mo.symmetric = false; + A[i][j].bbox = cell.HTMLstretchV(C[j],H[i],D[i]).bbox; + mo.symmetric = symmetric; + } + align = cell.rowalign||this.data[i].rowalign||RALIGN[i]; + dy = ({top: H[i] - A[i][j].bbox.h, + bottom: A[i][j].bbox.d - D[i], + center: ((H[i]-D[i]) - (A[i][j].bbox.h-A[i][j].bbox.d))/2, + baseline: 0, axis: 0})[align]; // FIXME: handle axis better? + align = (cell.columnalign||RCALIGN[i][j]||CALIGN[j]) + HTMLCSS.alignBox(A[i][j],align,y+dy); + } + if (i < A.length-1) {y -= Math.max((H[i]+D[i] ? LHD : 0),D[i]+H[i+1]+RSPACE[i])} + } + y = Y; + } + + // + // Set column widths and placement + // + if (hasRelativeWidth) { + // + // Remove column spacing to get width available for columns + // + var box = HTMLCSS.createBox(stack); box.style.left = box.style.top = 0; + box.style.right = HTMLCSS.Em(WW+2*fx); box.style.display = "inline-block"; + box.style.height = "0px"; + if (HTMLCSS.msieRelativeWidthBug) { + box = HTMLCSS.createBox(box); box.style.position = "relative"; + box.style.height = "1em"; box.style.width = "100%"; box.bbox = stack.bbox; + } + // + // wp = remaining width (%) divided by the number of columns it is split over + // wm = remaining width (fixed) divided by the number of columns it is split over + // + var xp = 0, xf = fx, wp, wm; + if (f) {wp = 100*(1-WP)/f, wm = Wt/f} else {wp = 100*(1-WP)/(J+1); wm = Wt/(J+1)} + for (j = 0; j <= J; j++) { + HTMLCSS.placeBox(C[j].parentNode,0,0); // sets the bbox + // + // Convert original column to the innermost span in the mobile column + // + C[j].style.position = "relative"; + C[j].style.left = HTMLCSS.Em(xf); + C[j].style.width = "100%"; + C[j].parentNode.parentNode.removeChild(C[j].parentNode); + var Cj = HTMLCSS.createBox(box); HTMLCSS.addBox(Cj,C[j]); C[j] = Cj; + var CjStyle = Cj.style; CjStyle.display = "inline-block"; CjStyle.left = xp + "%"; + // + // Set width/position based on the type of column + // + if (CWIDTH[j].match(/%$/)) { + var pp = parseFloat(CWIDTH[j]) * Wf; + if (f === 0) { + CjStyle.width = (wp + pp) + "%"; xp += wp + pp; + Cj = HTMLCSS.createBox(Cj); HTMLCSS.addBox(Cj,C[j].firstChild); + Cj.style.left = 0; Cj.style.right = HTMLCSS.Em(wm); xf -= wm; + } else { + CjStyle.width = pp + "%"; xp += pp; + } + } else if (CWIDTH[j] === "fit" || f === 0) { + CjStyle.width = wp + "%"; + Cj = HTMLCSS.createBox(Cj); HTMLCSS.addBox(Cj,C[j].firstChild); + Cj.style.left = 0; Cj.style.right = HTMLCSS.Em(wm-W[j]); + xf += W[j] - wm; xp += wp; + } else { + CjStyle.width = HTMLCSS.Em(W[j]); xf += W[j]; + } + if (HTMLCSS.msieRelativeWidthBug) { + HTMLCSS.addText(Cj.firstChild,HTMLCSS.NBSP); // gets correct baseline + Cj.firstChild.style.position = "relative"; + } + xf += CSPACE[j]; + // + // Add column lines + // + if (CLINES[j] !== "none" && j < J && j !== LABEL) { + line = HTMLCSS.createBox(box); line.style.left = xp+"%"; + line = HTMLCSS.createRule(line,fH,0,1.25/HTMLCSS.em); line.style.position = "absolute"; + line.bbox = {h:fH, d:0, w:0, rw:1.25/HTMLCSS.em, lw:0}; + line.parentNode.bbox = stack.bbox; // make sure stack size is updated + HTMLCSS.placeBox(line,xf-CSPACE[j]/2,fY,true); line.style.borderStyle = CLINES[j]; + } + } + } else { + // + // Set the column box widths and place them + // + var x = fx; + for (j = 0; j <= J; j++) { + if (!C[j].bbox.width) {HTMLCSS.setStackWidth(C[j],W[j])} + if (CWIDTH[j] !== "auto" && CWIDTH[j] !== "fit") + {C[j].bbox.width = W[j]; C[j].bbox.isFixed = true} + HTMLCSS.placeBox(C[j].parentNode,x,0); x += W[j] + CSPACE[j]; + // + // Add column lines + // + if (CLINES[j] !== "none" && j < J && j !== LABEL) { + line = HTMLCSS.createRule(stack,fH,0,1.25/HTMLCSS.em); HTMLCSS.addBox(stack,line); + line.bbox = {h:fH, d:0, w:0, rw:1.25/HTMLCSS.em, lw:0}; + HTMLCSS.placeBox(line,x-CSPACE[j]/2,fY,true); line.style.borderStyle = CLINES[j]; + } + } + } + + // + // Add frame + // + fW = stack.bbox.w + fx; var frame; + if (values.frame !== "none") { + frame = HTMLCSS.createFrame(stack,fH,0,fW,1.25/HTMLCSS.em,values.frame); + HTMLCSS.addBox(stack,frame); HTMLCSS.placeBox(frame,0,fY,true); + if (hasRelativeWidth) {frame.style.width = "100%"} + } + // + // Add row lines + // + y = Y; + for (i = 0, m = A.length-1; i < m; i++) { + dy = Math.max(LHD,D[i]+H[i+1]+RSPACE[i]); + if (RLINES[i] !== "none") { + line = HTMLCSS.createRule(stack,1.25/HTMLCSS.em,0,fW); HTMLCSS.addBox(stack,line); + line.bbox = {h:1.25/HTMLCSS.em, d:0, w:fW, rw:fW, lw:0}; + HTMLCSS.placeBox(line,0,y - D[i] - (dy-D[i]-H[i+1])/2,true); + if (RLINES[i] === "dashed" || hasRelativeWidth) { + line.style.borderTop = line.style.height+" "+RLINES[i]; line.style.height = 0; + line.style.width = line.style.borderLeftWidth; line.style.borderLeft = ""; + if (hasRelativeWidth) {line.style.width = "100%"} + } + } + y -= dy; + } + // + // Set relative width + // + if (hasRelativeWidth) {span.bbox.width = values.width; stack.style.width = "100%"} + // + // Place the labels, if any + // + if (C[LABEL]) { + var indent = this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"); + if (indent.indentalignfirst !== MML.INDENTALIGN.INDENTALIGN) {indent.indentalign = indent.indentalignfirst} + if (indent.indentalign === MML.INDENTALIGN.AUTO) {indent.indentalign = this.displayAlign} + if (indent.indentshiftfirst !== MML.INDENTSHIFT.INDENTSHIFT) {indent.indentshift = indent.indentshiftfirst} + if (indent.indentshift === "auto") {indent.indentshift = this.displayIndent} + var eqn = HTMLCSS.createStack(span,false,"100%"); + HTMLCSS.addBox(eqn,stack); HTMLCSS.alignBox(stack,indent.indentalign,0); + if (indent.indentshift && indent.indentalign !== MML.INDENTALIGN.CENTER) { + stack.style[{left:"Left",right:"Right"}[indent.indentalign]] = + HTMLCSS.Em(HTMLCSS.length2em(indent.indentshift)); + } + C[LABEL].parentNode.parentNode.removeChild(C[LABEL].parentNode); + HTMLCSS.addBox(eqn,C[LABEL]); HTMLCSS.alignBox(C[LABEL],CALIGN[LABEL],0); + if (HTMLCSS.msieRelativeWidthBug) {stack.style.top = C[LABEL].style.top = ""} + if (hasRelativeWidth) {stack.style.width = values.width; span.bbox.width = "100%"} + C[LABEL].style.marginRight = C[LABEL].style.marginLeft = + HTMLCSS.Em(HTMLCSS.length2em(values.minlabelspacing)); + } + // + // Finish the table + // + if (!hasRelativeWidth) {this.HTMLhandleSpace(span)} + var color = this.HTMLhandleColor(span); + // + // Handle relative-sized background color + // + if (color && hasRelativeWidth) { + if (!frame) { + frame = HTMLCSS.createFrame(stack,fH,0,fW,0,"none"); + HTMLCSS.addBox(stack,frame); HTMLCSS.placeBox(frame,0,fY,true); + frame.style.width = "100%"; + } + frame.style.backgroundColor = color.style.backgroundColor; + frame.parentNode.insertBefore(frame,frame.parentNode.firstChild); + color.parentNode.removeChild(color); + } + return span; + }, + HTMLhandleSpace: function (span) { + span.style.paddingLeft = span.style.paddingRight = ".1667em"; + } + }); + + MML.mtd.Augment({ + toHTML: function (span,HW,D) { + span = this.HTMLcreateSpan(span); + if (this.data[0]) { + var box = HTMLCSS.Measured(this.data[0].toHTML(span),span); + if (D != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchV(span,HW,D),span)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchH(span,HW),span)} + span.bbox = box.bbox; + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MathJax.Hub.Startup.signal.Post("HTML-CSS mtable Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/mtable.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/autoload/multiline.js b/modules/MathJax/jax/output/HTML-CSS/autoload/multiline.js new file mode 100644 index 0000000..96fa625 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/autoload/multiline.js @@ -0,0 +1,96 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/autoload/multiline.js + * + * Implements the HTML-CSS output 's that contain line breaks. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + var VERSION = "1.1"; + var MML = MathJax.ElementJax.mml, + HTMLCSS = MathJax.OutputJax["HTML-CSS"]; + + MML.mbase.Augment({ + toHTMLmultiline: function (span,split) { + span = this.HTMLcreateSpan(span); if (!this.type !== "mrow") {span = this.HTMLhandleSize(span)} + var stack = HTMLCSS.createStack(span); + var box = [], stretchy = [], H = -HTMLCSS.BIGDIMEN, D = -HTMLCSS.BIGDIMEN, i, j, m, M; + for (j = 0, M = split.length-1; j < M; j++) { + box[j] = HTMLCSS.createBox(stack); + for (i = split[j][0], m = split[j+1][0]; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(box[j])}} + // remove inter-object spacing + if (this.data[split[j][0]]) {this.data[split[j][0]].HTMLspanElement().style.paddingLeft = ""} + if (this.data[split[j][m-1]]) {this.data[split[j][m-1]].HTMLspanElement().style.paddingRight = ""} + // + stretchy[j] = this.HTMLcomputeBBox(box[j],null,split[j][0],split[j+1][0]); + if (box[j].bbox.h > H) {H = box[j].bbox.h} + if (box[j].bbox.d > D) {D = box[j].bbox.d} + } + var y = 0, scale = this.HTMLgetScale(), LHD = HTMLCSS.FONTDATA.baselineskip * scale; + var parent = this, first; + while (parent.inferred || (parent.parent && parent.parent.type === "mrow" && + parent.parent.data.length === 1)) {parent = parent.parent} + var isTop = (parent.type === "math" || parent.type === "mtd"); parent.isMultiline = true; + for (j = 0, M = split.length-1; j < M; j++) { + for (i = 0, m = stretchy[j].length; i < m; i++) {stretchy[j][i].HTMLstretchV(box[j],H,D)} + if (stretchy[j].length) {this.HTMLcomputeBBox(box[j],true,split[j][0],split[j+1][0])} + var values = split[j][1].getValues("indentalign","indentshift"); + values.lineleading = HTMLCSS.length2em(split[j+1][1].Get("lineleading"),.5); + // handle first/last special cases + if (j === 0) { + first = split[j+1][1].getValues("indentalignfirst","indentshiftfirst"); + values.ALIGN = first.indentalignfirst; values.SHIFT = first.indentshiftfirst; + } else if (j === M-1) { + first = split[j][1].getValues("indentalignlast","indentshiftlast"); + values.ALIGN = first.indentalignlast; values.SHIFT = first.indentshiftlast; + } + if (values.ALIGN && values.ALIGN !== MML.INDENTALIGN.INDENTALIGN) + {values.indentalign = values.ALIGN} + if (values.SHIFT && values.SHIFT !== MML.INDENTSHIFT.INDENTSHIFT) + {values.indentshift = values.SHIFT} + // + if (values.indentalign == MML.INDENTALIGN.AUTO) + {values.indentalign = (isTop ? this.displayAlign : MML.INDENTALIGN.LEFT)} + if (values.indentshift === "auto" || values.indentshift === "") + {values.indentshift = (isTop ? this.displayIndent : "0")} + values.indentshift = HTMLCSS.length2em(values.indentshift,0); + if (values.indentshift && values.indentalign !== MML.INDENTALIGN.CENTER) { + HTMLCSS.createBlank(box[j],values.indentshift,(values.indentalign !== MML.INDENTALIGN.RIGHT)); + box[j].bbox.w += values.indentshift; box[j].bbox.rw += values.indentshift; + } + HTMLCSS.alignBox(box[j],values.indentalign,y); + if (j < M-1) {y -= Math.max(LHD,box[j].bbox.d + box[j+1].bbox.h + values.lineleading)} + } + if (isTop) { + stack.style.width = "100%"; + if (parent.type === "math") {span.bbox.width = "100%"} + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + span.bbox.isMultiline = true; + return span; + } + }); + + MathJax.Hub.Startup.signal.Post("HTML-CSS multiline Ready"); + MathJax.Ajax.loadComplete(HTMLCSS.autoloadDir+"/multiline.js"); + +}); + diff --git a/modules/MathJax/jax/output/HTML-CSS/blank.gif b/modules/MathJax/jax/output/HTML-CSS/blank.gif new file mode 100644 index 0000000..8b27096 Binary files /dev/null and b/modules/MathJax/jax/output/HTML-CSS/blank.gif differ diff --git a/modules/MathJax/jax/output/HTML-CSS/config.js b/modules/MathJax/jax/output/HTML-CSS/config.js new file mode 100644 index 0000000..ccfb67b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/config.js @@ -0,0 +1,143 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/config.js + * + * Initializes the HTML-CCS OutputJax (the main definition is in + * MathJax/jax/input/HTML-CSS/jax.js, which is loaded when needed). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.OutputJax["HTML-CSS"] = MathJax.OutputJax({ + id: "HTML-CSS", + version: "1.1.5", + directory: MathJax.OutputJax.directory + "/HTML-CSS", + extensionDir: MathJax.OutputJax.extensionDir + "/HTML-CSS", + autoloadDir: MathJax.OutputJax.directory + "/HTML-CSS/autoload", + fontDir: MathJax.OutputJax.directory + "/HTML-CSS/fonts", // font name added later + webfontDir: MathJax.OutputJax.fontDir + "/HTML-CSS", // font name added later + + config: { + scale: 100, minScaleAdjust: 50, + availableFonts: ["STIX","TeX"], + preferredFont: "TeX", + webFont: "TeX", + imageFont: "TeX", + undefinedFamily: "STIXGeneral,'Arial Unicode MS',serif", + + showMathMenu: true, + + styles: { + ".MathJax_Display": { + "text-align": "center", + margin: "1em 0em" + }, + + ".MathJax .merror": { + "background-color": "#FFFF88", + color: "#CC0000", + border: "1px solid #CC0000", + padding: "1px 3px", + "font-family": "serif", + "font-style": "normal", + "font-size": "90%" + }, + + ".MathJax_Preview": {color: "#888888"}, + + "#MathJax_Tooltip": { + "background-color": "InfoBackground", color: "InfoText", + border: "1px solid black", + "box-shadow": "2px 2px 5px #AAAAAA", // Opera 10.5 + "-webkit-box-shadow": "2px 2px 5px #AAAAAA", // Safari 3 and Chrome + "-moz-box-shadow": "2px 2px 5px #AAAAAA", // Forefox 3.5 + "-khtml-box-shadow": "2px 2px 5px #AAAAAA", // Konqueror + filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')", // IE + padding: "3px 4px" + } + } + + } +}); +if (MathJax.Hub.Browser.isMSIE && document.documentMode >= 9) + {delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter} + +if (!MathJax.Hub.config.delayJaxRegistration) + {MathJax.OutputJax["HTML-CSS"].Register("jax/mml")} + +MathJax.Hub.Register.StartupHook("End Config",[function (HUB,HTMLCSS) { + var CONFIG = HUB.Insert({ + + // + // The minimum versions that HTML-CSS supports + // + minBrowserVersion: { + Firefox: 3.0, + Opera: 9.52, + MSIE: 6.0, + Chrome: 0.3, + Safari: 2.0, + Konqueror: 4.0 + }, + + // + // For unsupported browsers, put back these delimiters for the preview + // + inlineMathDelimiters: ['$','$'], // or ["",""] or ["\\(","\\)"] + displayMathDelimiters: ['$$','$$'], // or ["",""] or ["\\[","\\]"] + // + // For displayed math, insert
for \n? + // + multilineDisplay: true, + + // + // The function to call to display the math for unsupported browsers + // + minBrowserTranslate: function (script) { + var MJ = HUB.getJaxFor(script), text = ["[Math]"], delim; + var span = document.createElement("span",{className: "MathJax_Preview"}); + if (MJ.inputJax.id === "TeX") { + if (MJ.root.Get("displaystyle")) { + delim = CONFIG.displayMathDelimiters; + text = [delim[0]+MJ.originalText+delim[1]]; + if (CONFIG.multilineDisplay) text = text[0].split(/\n/); + } else { + delim = CONFIG.inlineMathDelimiters; + text = [delim[0]+MJ.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+delim[1]]; + } + } + for (var i = 0, m = text.length; i < m; i++) { + span.appendChild(document.createTextNode(text[i])); + if (i < m-1) {span.appendChild(document.createElement("br"))} + } + script.parentNode.insertBefore(span,script); + } + + },(HUB.config["HTML-CSS"]||{})); + + if (HUB.Browser.version !== "0.0" && + !HUB.Browser.versionAtLeast(CONFIG.minBrowserVersion[HUB.Browser]||0.0)) { + HTMLCSS.Translate = CONFIG.minBrowserTranslate; + HUB.Config({showProcessingMessages: false}); + MathJax.Message.Set("Your browser does not support MathJax",null,4000); + HUB.Startup.signal.Post("MathJax not supported"); + } + +},MathJax.Hub,MathJax.OutputJax["HTML-CSS"]]); + + +MathJax.OutputJax["HTML-CSS"].loadComplete("config.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js new file mode 100644 index 0000000..d94ac11 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/AlphaPresentForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0xFB00: [691,0,610,15,666], // LATIN SMALL LIGATURE FF + 0xFB01: [691,0,556,14,536], // LATIN SMALL LIGATURE FI + 0xFB02: [691,0,556,15,535], // LATIN SMALL LIGATURE FL + 0xFB03: [691,0,833,15,813], // LATIN SMALL LIGATURE FFI + 0xFB04: [691,0,833,15,812] // LATIN SMALL LIGATURE FFL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/AlphaPresentForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js new file mode 100644 index 0000000..1c2b68b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Arrows.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2190: [451,-55,977,68,909], // LEFTWARDS ARROW + 0x2191: [676,170,584,94,490], // UPWARDS ARROW + 0x2192: [451,-55,977,68,909], // RIGHTWARDS ARROW + 0x2193: [676,170,584,94,490], // DOWNWARDS ARROW + 0x2194: [451,-55,977,30,948], // LEFT RIGHT ARROW + 0x2195: [736,230,584,94,490], // UP DOWN ARROW + 0x2196: [676,170,977,68,911], // NORTH WEST ARROW + 0x2197: [676,170,977,68,911], // NORTH EAST ARROW + 0x2198: [676,170,977,68,911], // SOUTH EAST ARROW + 0x2199: [676,170,977,68,911], // SOUTH WEST ARROW + 0x219A: [451,-55,977,68,909], // LEFTWARDS ARROW WITH STROKE + 0x219B: [451,-55,977,68,909], // RIGHTWARDS ARROW WITH STROKE + 0x219C: [462,-72,956,66,890], // LEFTWARDS WAVE ARROW + 0x219D: [462,-72,956,66,890], // RIGHTWARDS WAVE ARROW + 0x219E: [451,-55,977,68,909], // LEFTWARDS TWO HEADED ARROW + 0x219F: [676,165,568,86,482], // UPWARDS TWO HEADED ARROW + 0x21A0: [451,-55,977,68,909], // RIGHTWARDS TWO HEADED ARROW + 0x21A1: [676,165,568,86,482], // DOWNWARDS TWO HEADED ARROW + 0x21A2: [451,-55,977,68,909], // LEFTWARDS ARROW WITH TAIL + 0x21A3: [451,-55,977,68,909], // RIGHTWARDS ARROW WITH TAIL + 0x21A4: [451,-55,977,68,909], // LEFTWARDS ARROW FROM BAR + 0x21A5: [676,165,584,94,490], // UPWARDS ARROW FROM BAR + 0x21A6: [451,-55,977,68,909], // RIGHTWARDS ARROW FROM BAR + 0x21A7: [676,165,584,94,490], // DOWNWARDS ARROW FROM BAR + 0x21A8: [732,196,584,94,490], // UP DOWN ARROW WITH BASE + 0x21A9: [539,-55,966,66,900], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [539,-55,966,66,900], // RIGHTWARDS ARROW WITH HOOK + 0x21AB: [540,6,966,66,900], // LEFTWARDS ARROW WITH LOOP + 0x21AC: [540,6,966,66,900], // RIGHTWARDS ARROW WITH LOOP + 0x21AD: [451,-55,1297,55,1242], // LEFT RIGHT WAVE ARROW + 0x21AE: [451,-55,977,30,948], // LEFT RIGHT ARROW WITH STROKE + 0x21AF: [683,154,562,68,494], // DOWNWARDS ZIGZAG ARROW + 0x21B0: [686,170,584,45,503], // UPWARDS ARROW WITH TIP LEFTWARDS + 0x21B1: [686,170,584,81,539], // UPWARDS ARROW WITH TIP RIGHTWARDS + 0x21B2: [686,170,584,45,503], // DOWNWARDS ARROW WITH TIP LEFTWARDS + 0x21B3: [686,170,584,81,539], // DOWNWARDS ARROW WITH TIP RIGHTWARDS + 0x21B4: [686,162,960,66,894], // RIGHTWARDS ARROW WITH CORNER DOWNWARDS + 0x21B5: [686,171,960,56,904], // DOWNWARDS ARROW WITH CORNER LEFTWARDS + 0x21B6: [524,0,971,66,905], // ANTICLOCKWISE TOP SEMICIRCLE ARROW + 0x21B7: [524,0,971,66,905], // CLOCKWISE TOP SEMICIRCLE ARROW + 0x21B8: [768,170,977,68,911], // NORTH WEST ARROW TO LONG BAR + 0x21B9: [618,114,977,68,909], // LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR + 0x21BA: [693,127,974,105,869], // ANTICLOCKWISE OPEN CIRCLE ARROW + 0x21BB: [693,127,974,105,869], // CLOCKWISE OPEN CIRCLE ARROW + 0x21BC: [501,-209,977,66,910], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [297,-5,977,65,909], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21BE: [694,162,552,239,481], // UPWARDS HARPOON WITH BARB RIGHTWARDS + 0x21BF: [694,162,352,71,313], // UPWARDS HARPOON WITH BARB LEFTWARDS + 0x21C0: [501,-209,977,66,910], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [297,-5,977,66,910], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C2: [694,162,552,239,481], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS + 0x21C3: [694,162,552,71,313], // DOWNWARDS HARPOON WITH BARB LEFTWARDS + 0x21C4: [618,114,977,68,909], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW + 0x21C5: [676,165,864,66,798], // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW + 0x21C6: [618,114,977,68,909], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW + 0x21C7: [618,114,977,68,909], // LEFTWARDS PAIRED ARROWS + 0x21C8: [676,165,864,66,798], // UPWARDS PAIRED ARROWS + 0x21C9: [618,114,977,68,909], // RIGHTWARDS PAIRED ARROWS + 0x21CA: [676,165,864,66,798], // DOWNWARDS PAIRED ARROWS + 0x21CB: [571,21,977,66,910], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON + 0x21CC: [571,21,977,66,910], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21CD: [570,64,977,68,909], // LEFTWARDS DOUBLE ARROW WITH STROKE + 0x21CE: [570,64,1240,50,1190], // LEFT RIGHT DOUBLE ARROW WITH STROKE + 0x21CF: [570,64,977,68,909], // RIGHTWARDS DOUBLE ARROW WITH STROKE + 0x21D0: [570,64,977,68,909], // LEFTWARDS DOUBLE ARROW + 0x21D1: [676,170,714,40,674], // UPWARDS DOUBLE ARROW + 0x21D2: [570,64,977,68,909], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [676,170,714,40,674], // DOWNWARDS DOUBLE ARROW + 0x21D4: [570,64,1240,50,1190], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [736,230,714,40,674], // UP DOWN DOUBLE ARROW + 0x21D6: [662,156,926,54,872], // NORTH WEST DOUBLE ARROW + 0x21D7: [662,156,926,54,872], // NORTH EAST DOUBLE ARROW + 0x21D8: [662,156,926,54,872], // SOUTH EAST DOUBLE ARROW + 0x21D9: [662,156,926,54,872], // SOUTH WEST DOUBLE ARROW + 0x21DC: [451,-55,977,62,914], // LEFTWARDS SQUIGGLE ARROW + 0x21DD: [451,-55,977,62,914], // RIGHTWARDS SQUIGGLE ARROW + 0x21E6: [551,45,926,60,866], // LEFTWARDS WHITE ARROW + 0x21E7: [662,156,685,45,641], // UPWARDS WHITE ARROW + 0x21E8: [551,45,926,60,866], // RIGHTWARDS WHITE ARROW + 0x21E9: [662,156,685,45,641], // DOWNWARDS WHITE ARROW + 0x21EA: [705,201,685,45,641], // UPWARDS WHITE ARROW FROM BAR + 0x21F5: [676,165,864,66,798] // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Arrows.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js new file mode 100644 index 0000000..b69cd2a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoldFraktur.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D56C: [701,25,856,50,805], // MATHEMATICAL BOLD FRAKTUR CAPITAL A + 0x1D56D: [701,19,849,50,794], // MATHEMATICAL BOLD FRAKTUR CAPITAL B + 0x1D56E: [701,19,773,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL C + 0x1D56F: [701,19,891,54,836], // MATHEMATICAL BOLD FRAKTUR CAPITAL D + 0x1D570: [701,19,788,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL E + 0x1D571: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL F + 0x1D572: [701,19,833,54,781], // MATHEMATICAL BOLD FRAKTUR CAPITAL G + 0x1D573: [701,205,843,42,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL H + 0x1D574: [701,25,790,54,735], // MATHEMATICAL BOLD FRAKTUR CAPITAL I + 0x1D575: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL J + 0x1D576: [701,25,864,42,814], // MATHEMATICAL BOLD FRAKTUR CAPITAL K + 0x1D577: [701,25,699,51,645], // MATHEMATICAL BOLD FRAKTUR CAPITAL L + 0x1D578: [701,25,1133,50,1081], // MATHEMATICAL BOLD FRAKTUR CAPITAL M + 0x1D579: [701,25,862,50,810], // MATHEMATICAL BOLD FRAKTUR CAPITAL N + 0x1D57A: [701,19,909,54,854], // MATHEMATICAL BOLD FRAKTUR CAPITAL O + 0x1D57B: [701,205,850,50,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL P + 0x1D57C: [701,59,930,54,902], // MATHEMATICAL BOLD FRAKTUR CAPITAL Q + 0x1D57D: [701,25,884,50,841], // MATHEMATICAL BOLD FRAKTUR CAPITAL R + 0x1D57E: [701,19,852,54,802], // MATHEMATICAL BOLD FRAKTUR CAPITAL S + 0x1D57F: [701,25,793,54,740], // MATHEMATICAL BOLD FRAKTUR CAPITAL T + 0x1D580: [701,25,860,54,809], // MATHEMATICAL BOLD FRAKTUR CAPITAL U + 0x1D581: [701,19,855,50,800], // MATHEMATICAL BOLD FRAKTUR CAPITAL V + 0x1D582: [701,19,1121,50,1066], // MATHEMATICAL BOLD FRAKTUR CAPITAL W + 0x1D583: [701,25,819,50,775], // MATHEMATICAL BOLD FRAKTUR CAPITAL X + 0x1D584: [701,205,837,50,782], // MATHEMATICAL BOLD FRAKTUR CAPITAL Y + 0x1D585: [701,195,755,44,703], // MATHEMATICAL BOLD FRAKTUR CAPITAL Z + 0x1D586: [475,24,600,55,545], // MATHEMATICAL BOLD FRAKTUR SMALL A + 0x1D587: [695,24,559,45,504], // MATHEMATICAL BOLD FRAKTUR SMALL B + 0x1D588: [475,24,464,55,412], // MATHEMATICAL BOLD FRAKTUR SMALL C + 0x1D589: [694,25,557,48,502], // MATHEMATICAL BOLD FRAKTUR SMALL D + 0x1D58A: [475,24,476,55,427], // MATHEMATICAL BOLD FRAKTUR SMALL E + 0x1D58B: [700,214,370,33,352], // MATHEMATICAL BOLD FRAKTUR SMALL F + 0x1D58C: [475,219,566,55,506], // MATHEMATICAL BOLD FRAKTUR SMALL G + 0x1D58D: [695,219,576,45,516], // MATHEMATICAL BOLD FRAKTUR SMALL H + 0x1D58E: [697,24,429,35,379], // MATHEMATICAL BOLD FRAKTUR SMALL I + 0x1D58F: [697,219,389,40,337], // MATHEMATICAL BOLD FRAKTUR SMALL J + 0x1D590: [695,24,456,48,402], // MATHEMATICAL BOLD FRAKTUR SMALL K + 0x1D591: [695,24,433,45,379], // MATHEMATICAL BOLD FRAKTUR SMALL L + 0x1D592: [475,24,984,40,932], // MATHEMATICAL BOLD FRAKTUR SMALL M + 0x1D593: [475,24,696,40,644], // MATHEMATICAL BOLD FRAKTUR SMALL N + 0x1D594: [475,24,554,45,499], // MATHEMATICAL BOLD FRAKTUR SMALL O + 0x1D595: [593,219,640,36,585], // MATHEMATICAL BOLD FRAKTUR SMALL P + 0x1D596: [475,219,574,55,522], // MATHEMATICAL BOLD FRAKTUR SMALL Q + 0x1D597: [475,24,525,40,493], // MATHEMATICAL BOLD FRAKTUR SMALL R + 0x1D598: [643,31,557,52,505], // MATHEMATICAL BOLD FRAKTUR SMALL S + 0x1D599: [656,23,438,45,378], // MATHEMATICAL BOLD FRAKTUR SMALL T + 0x1D59A: [475,24,681,35,629], // MATHEMATICAL BOLD FRAKTUR SMALL U + 0x1D59B: [593,24,573,55,526], // MATHEMATICAL BOLD FRAKTUR SMALL V + 0x1D59C: [593,24,850,55,795], // MATHEMATICAL BOLD FRAKTUR SMALL W + 0x1D59D: [475,209,521,50,489], // MATHEMATICAL BOLD FRAKTUR SMALL X + 0x1D59E: [593,219,596,55,536], // MATHEMATICAL BOLD FRAKTUR SMALL Y + 0x1D59F: [475,219,484,36,437] // MATHEMATICAL BOLD FRAKTUR SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/BoldFraktur.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js new file mode 100644 index 0000000..0d47564 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/BoxDrawing.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL + 0x2502: [910,303,696,312,385], // BOX DRAWINGS LIGHT VERTICAL + 0x250C: [340,303,708,318,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: [910,-267,708,318,720], // BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT + 0x251C: [910,303,708,318,720], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL + 0x2551: [910,303,708,225,484], // BOX DRAWINGS DOUBLE VERTICAL + 0x2552: [433,303,708,318,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x2558: [910,-174,708,318,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT + 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT + 0x255E: [910,303,708,318,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/BoxDrawing.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js new file mode 100644 index 0000000..260f706 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js @@ -0,0 +1,98 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x300: [713,-528,0,-369,-131], // COMBINING GRAVE ACCENT + 0x301: [713,-528,0,-369,-131], // COMBINING ACUTE ACCENT + 0x302: [704,-528,0,-418,-81], // COMBINING CIRCUMFLEX ACCENT + 0x303: [674,-547,0,-432,-67], // COMBINING TILDE + 0x304: [637,-565,0,-415,-85], // COMBINING MACRON + 0x305: [838,-788,0,-500,0], // COMBINING OVERLINE + 0x306: [691,-528,0,-401,-98], // COMBINING BREVE + 0x307: [666,-537,0,-314,-185], // COMBINING DOT ABOVE + 0x308: [666,-537,0,-419,-80], // COMBINING DIAERESIS + 0x309: [751,-491,0,-336,-131], // COMBINING HOOK ABOVE + 0x30A: [750,-537,0,-356,-143], // COMBINING RING ABOVE + 0x30B: [713,-528,0,-469,-31], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [704,-528,0,-418,-81], // COMBINING CARON + 0x30D: [730,-530,0,-277,-211], // COMBINING VERTICAL LINE ABOVE + 0x30E: [730,-530,0,-358,-142], // COMBINING DOUBLE VERTICAL LINE ABOVE + 0x30F: [713,-528,0,-469,-31], // COMBINING DOUBLE GRAVE ACCENT + 0x310: [828,-528,0,-401,-98], // COMBINING CANDRABINDU + 0x311: [691,-528,0,-401,-98], // COMBINING INVERTED BREVE + 0x312: [867,-532,0,-342,-158], // COMBINING TURNED COMMA ABOVE + 0x313: [867,-532,0,-342,-158], // COMBINING COMMA ABOVE + 0x314: [867,-532,0,-342,-158], // COMBINING REVERSED COMMA ABOVE + 0x315: [867,-532,0,-116,68], // COMBINING COMMA ABOVE RIGHT + 0x316: [-70,255,0,-369,-131], // COMBINING GRAVE ACCENT BELOW + 0x317: [-70,255,0,-369,-131], // COMBINING ACUTE ACCENT BELOW + 0x318: [-58,288,0,-425,-223], // COMBINING LEFT TACK BELOW + 0x319: [-58,288,0,-288,-86], // COMBINING RIGHT TACK BELOW + 0x31A: [752,-531,0,-410,-93], // COMBINING LEFT ANGLE ABOVE + 0x31B: [505,-352,0,-62,66], // COMBINING HORN + 0x31C: [-33,313,0,-375,-190], // COMBINING LEFT HALF RING BELOW + 0x31D: [-70,272,0,-365,-135], // COMBINING UP TACK BELOW + 0x31E: [-70,272,0,-365,-135], // COMBINING DOWN TACK BELOW + 0x31F: [-70,287,0,-356,-144], // COMBINING PLUS SIGN BELOW + 0x320: [-140,206,0,-356,-144], // COMBINING MINUS SIGN BELOW + 0x321: [75,287,0,-241,-22], // COMBINING PALATALIZED HOOK BELOW + 0x322: [75,287,0,-94,125], // COMBINING RETROFLEX HOOK BELOW + 0x323: [-109,238,0,-314,-185], // COMBINING DOT BELOW + 0x324: [-109,238,0,-419,-80], // COMBINING DIAERESIS BELOW + 0x325: [-66,279,0,-356,-143], // COMBINING RING BELOW + 0x326: [-88,423,0,-342,-158], // COMBINING COMMA BELOW + 0x327: [0,218,0,-363,-137], // COMBINING CEDILLA + 0x328: [44,173,0,-364,-135], // COMBINING OGONEK + 0x329: [-107,239,0,-277,-222], // COMBINING VERTICAL LINE BELOW + 0x32A: [-86,260,0,-425,-93], // COMBINING BRIDGE BELOW + 0x32B: [-104,242,0,-420,-95], // COMBINING INVERTED DOUBLE ARCH BELOW + 0x32C: [-83,259,0,-418,-81], // COMBINING CARON BELOW + 0x32D: [-85,261,0,-418,-81], // COMBINING CIRCUMFLEX ACCENT BELOW + 0x32E: [-78,241,0,-401,-98], // COMBINING BREVE BELOW + 0x32F: [-78,241,0,-401,-98], // COMBINING INVERTED BREVE BELOW + 0x330: [-108,235,0,-432,-67], // COMBINING TILDE BELOW + 0x331: [-137,209,0,-415,-85], // COMBINING MACRON BELOW + 0x332: [-137,187,0,-500,0], // COMBINING LOW LINE + 0x333: [-137,287,0,-500,0], // COMBINING DOUBLE LOW LINE + 0x334: [316,-189,0,-432,-67], // COMBINING TILDE OVERLAY + 0x335: [282,-224,0,-414,-108], // COMBINING SHORT STROKE OVERLAY + 0x336: [282,-224,0,-510,-10], // COMBINING LONG STROKE OVERLAY + 0x337: [580,74,0,-410,-43], // COMBINING SHORT SOLIDUS OVERLAY + 0x338: [662,156,0,-410,31], // COMBINING LONG SOLIDUS OVERLAY + 0x339: [-33,313,0,-375,-190], // COMBINING RIGHT HALF RING BELOW + 0x33A: [-71,245,0,-425,-93], // COMBINING INVERTED BRIDGE BELOW + 0x33B: [-70,264,0,-353,-167], // COMBINING SQUARE BELOW + 0x33C: [-89,234,0,-410,-109], // COMBINING SEAGULL BELOW + 0x33D: [719,-520,0,-350,-150], // COMBINING X ABOVE + 0x33E: [881,-516,0,-314,-187], // COMBINING VERTICAL TILDE + 0x33F: [938,-788,0,-500,0], // COMBINING DOUBLE OVERLINE + 0x346: [717,-544,0,-410,-107], // COMBINING BRIDGE ABOVE + 0x34C: [837,-547,0,-446,-81], // COMBINING ALMOST EQUAL TO ABOVE + 0x359: [-66,368,0,-359,-89], // COMBINING ASTERISK BELOW + 0x35C: [-79,242,0,-401,300], // COMBINING DOUBLE BREVE BELOW + 0x360: [674,-529,0,-432,398], // COMBINING DOUBLE TILDE + 0x361: [691,-534,0,-403,265], // COMBINING DOUBLE INVERTED BREVE + 0x362: [-54,293,0,-432,377] // COMBINING DOUBLE RIGHTWARDS ARROW BELOW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js new file mode 100644 index 0000000..7a2cd25 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js @@ -0,0 +1,49 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CombDiactForSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x20D0: [846,-637,0,-470,14], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [846,-637,0,-470,14], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,0,-298,-223], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [846,-508,0,-500,-16], // COMBINING LEFT ARROW ABOVE + 0x20D7: [846,-508,0,-470,14], // COMBINING RIGHT ARROW ABOVE + 0x20DB: [666,-537,0,-512,37], // COMBINING THREE DOTS ABOVE + 0x20DC: [666,-537,0,-627,132], // COMBINING FOUR DOTS ABOVE + 0x20DD: [760,254,0,-753,256], // COMBINING ENCLOSING CIRCLE + 0x20E1: [846,-508,0,-515,79], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1055,169,0,-998,519], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,155,0,-470,12], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,0,-390,-111], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [760,172,0,-643,200], // COMBINING ANNUITY SYMBOL + 0x20E8: [-109,238,0,-512,37], // COMBINING TRIPLE UNDERDOT + 0x20E9: [717,-544,0,-510,54], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [441,-65,0,-688,148], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EB: [775,235,0,-505,208], // COMBINING LONG DOUBLE SOLIDUS OVERLAY + 0x20EC: [-166,375,0,-470,14], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-166,375,0,-470,14], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-35,373,0,-490,-6], // COMBINING LEFT ARROW BELOW + 0x20EF: [-35,373,0,-470,14], // COMBINING RIGHT ARROW BELOW + 0x20F0: [845,-543,0,-385,-115] // COMBINING ASTERISK ABOVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CombDiactForSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js new file mode 100644 index 0000000..15e6a89 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/ControlPictures.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2423: [31,120,500,40,460] // stix-round space indicator + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/ControlPictures.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js new file mode 100644 index 0000000..5fda71a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/CurrencySymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x20A3: [676,0,611,11,583], // FRENCH FRANC SIGN + 0x20A4: [684,16,500,21,477], // LIRA SIGN + 0x20A7: [676,14,1369,16,1341], // PESETA SIGN + 0x20AC: [672,12,500,29,478] // EURO SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/CurrencySymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js new file mode 100644 index 0000000..9ff9195 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js @@ -0,0 +1,129 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Cyrillic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x401: [916,0,667,16,641], // CYRILLIC CAPITAL LETTER IO + 0x402: [676,97,856,40,809], // CYRILLIC CAPITAL LETTER DJE + 0x403: [963,0,632,20,600], // CYRILLIC CAPITAL LETTER GJE + 0x404: [691,19,685,37,638], // CYRILLIC CAPITAL LETTER UKRAINIAN IE + 0x405: [692,19,556,35,513], // CYRILLIC CAPITAL LETTER DZE + 0x406: [676,0,389,20,370], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I + 0x407: [916,0,389,20,370], // CYRILLIC CAPITAL LETTER YI + 0x408: [676,96,500,3,478], // CYRILLIC CAPITAL LETTER JE + 0x409: [676,18,1005,10,958], // CYRILLIC CAPITAL LETTER LJE + 0x40A: [676,0,1054,21,1007], // CYRILLIC CAPITAL LETTER NJE + 0x40B: [676,0,883,40,868], // CYRILLIC CAPITAL LETTER TSHE + 0x40C: [923,0,759,21,741], // CYRILLIC CAPITAL LETTER KJE + 0x40E: [926,22,722,15,699], // CYRILLIC CAPITAL LETTER SHORT U + 0x40F: [676,176,770,21,753], // CYRILLIC CAPITAL LETTER DZHE + 0x410: [690,0,722,9,689], // CYRILLIC CAPITAL LETTER A + 0x411: [676,0,667,16,619], // CYRILLIC CAPITAL LETTER BE + 0x412: [676,0,667,16,619], // CYRILLIC CAPITAL LETTER VE + 0x413: [676,0,632,20,600], // CYRILLIC CAPITAL LETTER GHE + 0x414: [676,176,715,24,691], // CYRILLIC CAPITAL LETTER DE + 0x415: [676,0,667,16,641], // CYRILLIC CAPITAL LETTER IE + 0x416: [684,0,1130,32,1091], // CYRILLIC CAPITAL LETTER ZHE + 0x417: [691,19,570,22,531], // CYRILLIC CAPITAL LETTER ZE + 0x418: [676,0,778,21,759], // CYRILLIC CAPITAL LETTER I + 0x419: [926,0,778,21,759], // CYRILLIC CAPITAL LETTER SHORT I + 0x41A: [684,0,759,21,741], // CYRILLIC CAPITAL LETTER KA + 0x41B: [676,18,738,10,719], // CYRILLIC CAPITAL LETTER EL + 0x41C: [676,0,944,14,921], // CYRILLIC CAPITAL LETTER EM + 0x41D: [676,0,778,21,759], // CYRILLIC CAPITAL LETTER EN + 0x41E: [691,19,778,35,743], // CYRILLIC CAPITAL LETTER O + 0x41F: [676,0,762,13,751], // CYRILLIC CAPITAL LETTER PE + 0x420: [676,0,611,16,600], // CYRILLIC CAPITAL LETTER ER + 0x421: [691,19,709,36,674], // CYRILLIC CAPITAL LETTER ES + 0x422: [676,0,667,31,636], // CYRILLIC CAPITAL LETTER TE + 0x423: [676,22,722,15,699], // CYRILLIC CAPITAL LETTER U + 0x424: [676,0,850,25,825], // CYRILLIC CAPITAL LETTER EF + 0x425: [676,0,722,16,699], // CYRILLIC CAPITAL LETTER HA + 0x426: [676,176,770,21,753], // CYRILLIC CAPITAL LETTER TSE + 0x427: [676,0,732,7,710], // CYRILLIC CAPITAL LETTER CHE + 0x428: [676,0,1020,21,1001], // CYRILLIC CAPITAL LETTER SHA + 0x429: [676,176,1020,21,1001], // CYRILLIC CAPITAL LETTER SHCHA + 0x42A: [676,0,805,41,757], // CYRILLIC CAPITAL LETTER HARD SIGN + 0x42B: [676,0,1004,16,985], // CYRILLIC CAPITAL LETTER YERU + 0x42C: [676,0,672,19,624], // CYRILLIC CAPITAL LETTER SOFT SIGN + 0x42D: [691,19,685,37,648], // CYRILLIC CAPITAL LETTER E + 0x42E: [691,19,955,21,920], // CYRILLIC CAPITAL LETTER YU + 0x42F: [676,0,736,12,687], // CYRILLIC CAPITAL LETTER YA + 0x430: [473,14,517,42,505], // CYRILLIC SMALL LETTER A + 0x431: [691,14,500,25,476], // CYRILLIC SMALL LETTER BE + 0x432: [461,0,492,21,475], // CYRILLIC SMALL LETTER VE + 0x433: [461,0,451,21,434], // CYRILLIC SMALL LETTER GHE + 0x434: [461,143,541,19,524], // CYRILLIC SMALL LETTER DE + 0x435: [473,14,444,25,427], // CYRILLIC SMALL LETTER IE + 0x436: [467,0,762,14,748], // CYRILLIC SMALL LETTER ZHE + 0x437: [473,17,446,25,420], // CYRILLIC SMALL LETTER ZE + 0x438: [461,0,556,21,543], // CYRILLIC SMALL LETTER I + 0x439: [691,0,556,21,543], // CYRILLIC SMALL LETTER SHORT I + 0x43A: [467,0,556,22,543], // CYRILLIC SMALL LETTER KA + 0x43B: [461,11,546,11,529], // CYRILLIC SMALL LETTER EL + 0x43C: [461,0,657,20,640], // CYRILLIC SMALL LETTER EM + 0x43D: [461,0,560,21,543], // CYRILLIC SMALL LETTER EN + 0x43E: [473,14,500,25,476], // CYRILLIC SMALL LETTER O + 0x43F: [461,0,556,21,543], // CYRILLIC SMALL LETTER PE + 0x440: [473,205,556,19,524], // CYRILLIC SMALL LETTER ER + 0x441: [473,14,444,25,430], // CYRILLIC SMALL LETTER ES + 0x442: [461,0,509,18,493], // CYRILLIC SMALL LETTER TE + 0x443: [461,205,520,16,502], // CYRILLIC SMALL LETTER U + 0x444: [676,205,726,31,693], // CYRILLIC SMALL LETTER EF + 0x445: [461,0,500,12,484], // CYRILLIC SMALL LETTER HA + 0x446: [461,143,556,21,543], // CYRILLIC SMALL LETTER TSE + 0x447: [461,0,559,20,542], // CYRILLIC SMALL LETTER CHE + 0x448: [461,0,841,21,824], // CYRILLIC SMALL LETTER SHA + 0x449: [461,143,841,21,824], // CYRILLIC SMALL LETTER SHCHA + 0x44A: [461,0,607,15,592], // CYRILLIC SMALL LETTER HARD SIGN + 0x44B: [461,0,759,22,741], // CYRILLIC SMALL LETTER YERU + 0x44C: [461,0,498,21,483], // CYRILLIC SMALL LETTER SOFT SIGN + 0x44D: [473,14,453,24,429], // CYRILLIC SMALL LETTER E + 0x44E: [473,14,785,21,761], // CYRILLIC SMALL LETTER YU + 0x44F: [461,0,526,11,509], // CYRILLIC SMALL LETTER YA + 0x451: [666,14,444,25,427], // CYRILLIC SMALL LETTER IO + 0x452: [676,205,556,15,485], // CYRILLIC SMALL LETTER DJE + 0x453: [713,0,451,21,434], // CYRILLIC SMALL LETTER GJE + 0x454: [473,14,453,24,429], // CYRILLIC SMALL LETTER UKRAINIAN IE + 0x455: [473,14,389,25,361], // CYRILLIC SMALL LETTER DZE + 0x456: [691,0,278,15,256], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I + 0x457: [666,0,278,-30,309], // CYRILLIC SMALL LETTER YI + 0x458: [691,203,333,-57,263], // CYRILLIC SMALL LETTER JE + 0x459: [461,11,760,11,745], // CYRILLIC SMALL LETTER LJE + 0x45A: [461,0,775,21,760], // CYRILLIC SMALL LETTER NJE + 0x45B: [676,0,556,15,534], // CYRILLIC SMALL LETTER TSHE + 0x45C: [713,0,556,22,543], // CYRILLIC SMALL LETTER KJE + 0x45E: [691,205,500,16,502], // CYRILLIC SMALL LETTER SHORT U + 0x45F: [461,143,556,21,543], // CYRILLIC SMALL LETTER DZHE + 0x462: [676,0,793,31,745], // CYRILLIC CAPITAL LETTER YAT + 0x463: [676,0,602,15,587], // CYRILLIC SMALL LETTER YAT + 0x46A: [676,0,1123,30,1088], // CYRILLIC CAPITAL LETTER BIG YUS + 0x46B: [461,0,762,14,748], // CYRILLIC SMALL LETTER BIG YUS + 0x472: [691,19,778,35,743], // CYRILLIC CAPITAL LETTER FITA + 0x473: [473,14,500,25,476], // CYRILLIC SMALL LETTER FITA + 0x474: [691,18,793,16,778], // CYRILLIC CAPITAL LETTER IZHITSA + 0x475: [470,14,559,21,550], // CYRILLIC SMALL LETTER IZHITSA + 0x490: [833,0,626,14,594], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN + 0x491: [602,0,451,21,434] // CYRILLIC SMALL LETTER GHE WITH UPTURN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Cyrillic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js new file mode 100644 index 0000000..d167990 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/EnclosedAlphanum.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2460: [690,19,695,0,695], // CIRCLED DIGIT ONE + 0x2461: [690,19,695,0,695], // CIRCLED DIGIT TWO + 0x2462: [690,19,695,0,695], // CIRCLED DIGIT THREE + 0x2463: [690,19,695,0,695], // CIRCLED DIGIT FOUR + 0x2464: [690,19,695,0,695], // CIRCLED DIGIT FIVE + 0x2465: [690,19,695,0,695], // CIRCLED DIGIT SIX + 0x2466: [690,19,695,0,695], // CIRCLED DIGIT SEVEN + 0x2467: [690,19,695,0,695], // CIRCLED DIGIT EIGHT + 0x2468: [690,19,695,0,695], // CIRCLED DIGIT NINE + 0x24B6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER A + 0x24B7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER B + 0x24B8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER C + 0x24B9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER D + 0x24BA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER E + 0x24BB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER F + 0x24BC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER G + 0x24BD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER H + 0x24BE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER I + 0x24BF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER J + 0x24C0: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER K + 0x24C1: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER L + 0x24C2: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER M + 0x24C3: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER N + 0x24C4: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER O + 0x24C5: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER P + 0x24C6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Q + 0x24C7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER R + 0x24C8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER S + 0x24C9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER T + 0x24CA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER U + 0x24CB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER V + 0x24CC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER W + 0x24CD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER X + 0x24CE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Y + 0x24CF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Z + 0x24D0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER A + 0x24D1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER B + 0x24D2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER C + 0x24D3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER D + 0x24D4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER E + 0x24D5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER F + 0x24D6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER G + 0x24D7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER H + 0x24D8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER I + 0x24D9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER J + 0x24DA: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER K + 0x24DB: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER L + 0x24DC: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER M + 0x24DD: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER N + 0x24DE: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER O + 0x24DF: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER P + 0x24E0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Q + 0x24E1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER R + 0x24E2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER S + 0x24E3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER T + 0x24E4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER U + 0x24E5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER V + 0x24E6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER W + 0x24E7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER X + 0x24E8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Y + 0x24E9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Z + 0x24EA: [690,19,695,0,695] // CIRCLED DIGIT ZERO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/EnclosedAlphanum.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js new file mode 100644 index 0000000..1f2c3b6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2010: [287,-171,333,44,287], // HYPHEN + 0x2011: [287,-171,333,44,287], // NON-BREAKING HYPHEN + 0x2012: [287,-171,500,0,500], // FIGURE DASH + 0x2013: [271,-181,500,0,500], // EN DASH + 0x2014: [271,-181,1000,0,1000], // EM DASH + 0x2015: [271,-181,2000,0,2000], // HORIZONTAL BAR + 0x2017: [-137,287,520,10,510], // DOUBLE LOW LINE + 0x2018: [691,-356,333,70,254], // LEFT SINGLE QUOTATION MARK + 0x2019: [691,-356,333,79,263], // RIGHT SINGLE QUOTATION MARK + 0x201A: [155,180,333,79,263], // SINGLE LOW-9 QUOTATION MARK + 0x201B: [691,-356,333,79,263], // SINGLE HIGH-REVERSED-9 QUOTATION MARK + 0x201C: [691,-356,500,32,486], // LEFT DOUBLE QUOTATION MARK + 0x201D: [691,-356,500,14,468], // RIGHT DOUBLE QUOTATION MARK + 0x201E: [155,180,500,14,468], // DOUBLE LOW-9 QUOTATION MARK + 0x201F: [691,-356,500,14,468], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK + 0x2020: [691,134,500,47,453], // DAGGER + 0x2021: [691,132,500,45,456], // DOUBLE DAGGER + 0x2022: [462,-42,560,70,490], // BULLET + 0x2025: [156,13,666,82,584], // TWO DOT LEADER + 0x2026: [156,13,1000,82,917], // HORIZONTAL ELLIPSIS + 0x2030: [706,29,1110,61,1049], // PER MILLE SIGN + 0x2031: [706,29,1472,61,1411], // PER TEN THOUSAND SIGN + 0x2032: [713,-438,310,75,235], // PRIME + 0x2033: [713,-438,467,75,392], // DOUBLE PRIME + 0x2034: [713,-438,625,75,550], // TRIPLE PRIME + 0x2035: [713,-438,310,75,235], // REVERSED PRIME + 0x2036: [713,-438,467,75,392], // REVERSED DOUBLE PRIME + 0x2037: [713,-438,625,75,550], // REVERSED TRIPLE PRIME + 0x2038: [117,170,584,91,497], // CARET + 0x2039: [415,-36,333,51,305], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + 0x203A: [415,-36,333,28,282], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + 0x203C: [691,13,625,81,544], // DOUBLE EXCLAMATION MARK + 0x203E: [838,-766,500,0,500], // OVERLINE + 0x2040: [725,-508,798,79,733], // CHARACTER TIE + 0x2044: [688,12,183,-168,345], // FRACTION SLASH + 0x2047: [689,13,947,57,892], // DOUBLE QUESTION MARK + 0x204E: [236,200,500,56,448], // LOW ASTERISK + 0x204F: [472,180,333,67,251], // REVERSED SEMICOLON + 0x2051: [706,200,500,56,448], // TWO ASTERISKS ALIGNED VERTICALLY + 0x2057: [713,-438,783,75,708] // QUADRUPLE PRIME + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js new file mode 100644 index 0000000..5c68aec --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js @@ -0,0 +1,33 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GeometricShapes.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE + 0x25B7: [791,284,1043,70,1008], // WHITE RIGHT-POINTING TRIANGLE + 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE + 0x25C1: [791,284,1043,35,973], // WHITE LEFT-POINTING TRIANGLE + 0x25CA: [795,289,790,45,745], // LOZENGE + 0x25EC: [811,127,1145,35,1110] // WHITE UP-POINTING TRIANGLE WITH DOT + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GeometricShapes.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js new file mode 100644 index 0000000..64e07fc --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekAndCoptic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x37E: [472,180,333,82,266], // GREEK QUESTION MARK + 0x384: [692,-528,300,118,263], // GREEK TONOS + 0x385: [692,-528,390,-2,392], // GREEK DIALYTIKA TONOS + 0x386: [700,0,722,9,689], // GREEK CAPITAL LETTER ALPHA WITH TONOS + 0x387: [472,-303,333,82,251], // GREEK ANO TELEIA + 0x388: [700,0,800,10,791], // GREEK CAPITAL LETTER EPSILON WITH TONOS + 0x389: [700,0,920,10,904], // GREEK CAPITAL LETTER ETA WITH TONOS + 0x38A: [700,0,530,10,516], // GREEK CAPITAL LETTER IOTA WITH TONOS + 0x38C: [700,19,778,10,743], // GREEK CAPITAL LETTER OMICRON WITH TONOS + 0x38E: [700,0,860,10,846], // GREEK CAPITAL LETTER UPSILON WITH TONOS + 0x38F: [700,0,780,10,761], // GREEK CAPITAL LETTER OMEGA WITH TONOS + 0x390: [692,14,390,-2,392], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS + 0x391: [690,0,722,9,689], // GREEK CAPITAL LETTER ALPHA + 0x392: [676,0,667,16,619], // GREEK CAPITAL LETTER BETA + 0x395: [676,0,667,16,641], // GREEK CAPITAL LETTER EPSILON + 0x396: [676,0,667,28,634], // GREEK CAPITAL LETTER ZETA + 0x397: [676,0,778,21,759], // GREEK CAPITAL LETTER ETA + 0x399: [676,0,389,20,370], // GREEK CAPITAL LETTER IOTA + 0x39A: [676,0,778,30,769], // GREEK CAPITAL LETTER KAPPA + 0x39C: [676,0,944,14,921], // GREEK CAPITAL LETTER MU + 0x39D: [676,18,722,16,701], // GREEK CAPITAL LETTER NU + 0x39F: [691,19,778,35,743], // GREEK CAPITAL LETTER OMICRON + 0x3A1: [676,0,611,16,600], // GREEK CAPITAL LETTER RHO + 0x3A4: [676,0,667,31,636], // GREEK CAPITAL LETTER TAU + 0x3A7: [676,0,722,16,699], // GREEK CAPITAL LETTER CHI + 0x3AA: [915,0,389,20,370], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA + 0x3AB: [915,0,703,7,693], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA + 0x3AC: [692,14,644,25,618], // GREEK SMALL LETTER ALPHA WITH TONOS + 0x3AD: [692,14,444,28,429], // GREEK SMALL LETTER EPSILON WITH TONOS + 0x3AE: [692,205,585,12,545], // GREEK SMALL LETTER ETA WITH TONOS + 0x3AF: [692,14,326,15,304], // GREEK SMALL LETTER IOTA WITH TONOS + 0x3B0: [692,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS + 0x3B1: [473,14,644,25,618], // GREEK SMALL LETTER ALPHA + 0x3B2: [692,205,556,45,524], // GREEK SMALL LETTER BETA + 0x3B3: [473,205,518,12,501], // GREEK SMALL LETTER GAMMA + 0x3B4: [692,14,502,26,477], // GREEK SMALL LETTER DELTA + 0x3B5: [473,14,444,28,429], // GREEK SMALL LETTER EPSILON + 0x3B6: [692,205,459,23,437], // GREEK SMALL LETTER ZETA + 0x3B7: [473,205,585,12,545], // GREEK SMALL LETTER ETA + 0x3B8: [692,14,501,25,476], // GREEK SMALL LETTER THETA + 0x3B9: [461,14,326,15,304], // GREEK SMALL LETTER IOTA + 0x3BA: [473,0,581,21,559], // GREEK SMALL LETTER KAPPA + 0x3BB: [692,18,547,19,527], // GREEK SMALL LETTER LAMDA + 0x3BC: [461,205,610,45,588], // GREEK SMALL LETTER MU + 0x3BD: [473,14,518,15,495], // GREEK SMALL LETTER NU + 0x3BE: [692,205,468,23,439], // GREEK SMALL LETTER XI + 0x3BF: [473,14,500,25,476], // GREEK SMALL LETTER OMICRON + 0x3C0: [461,18,631,20,609], // GREEK SMALL LETTER PI + 0x3C1: [473,205,547,45,515], // GREEK SMALL LETTER RHO + 0x3C2: [473,203,464,23,444], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [461,14,568,25,529], // GREEK SMALL LETTER SIGMA + 0x3C4: [461,14,492,18,457], // GREEK SMALL LETTER TAU + 0x3C5: [473,14,576,12,551], // GREEK SMALL LETTER UPSILON + 0x3C6: [473,205,653,24,629], // GREEK SMALL LETTER PHI + 0x3C7: [473,205,612,21,586], // GREEK SMALL LETTER CHI + 0x3C8: [473,205,763,12,751], // GREEK SMALL LETTER PSI + 0x3C9: [473,14,733,26,708], // GREEK SMALL LETTER OMEGA + 0x3CA: [666,14,335,-2,337], // GREEK SMALL LETTER IOTA WITH DIALYTIKA + 0x3CB: [666,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA + 0x3CC: [692,14,500,25,476], // GREEK SMALL LETTER OMICRON WITH TONOS + 0x3CD: [692,14,576,12,551], // GREEK SMALL LETTER UPSILON WITH TONOS + 0x3CE: [692,14,733,26,708], // GREEK SMALL LETTER OMEGA WITH TONOS + 0x3D0: [697,10,500,54,462], // GREEK BETA SYMBOL + 0x3D1: [692,14,647,12,620], // GREEK THETA SYMBOL + 0x3D2: [692,0,743,7,733], // GREEK UPSILON WITH HOOK SYMBOL + 0x3D5: [676,205,653,24,629], // GREEK PHI SYMBOL + 0x3D6: [461,14,864,9,851], // GREEK PI SYMBOL + 0x3D8: [691,205,778,35,743], // GREEK LETTER ARCHAIC KOPPA + 0x3D9: [473,205,500,25,476], // GREEK SMALL LETTER ARCHAIC KOPPA + 0x3DA: [691,211,680,45,645], // GREEK LETTER STIGMA + 0x3DB: [503,203,504,23,483], // GREEK SMALL LETTER STIGMA + 0x3DC: [676,0,620,16,593], // GREEK LETTER DIGAMMA + 0x3DD: [461,205,491,45,458], // GREEK SMALL LETTER DIGAMMA + 0x3DE: [797,14,757,35,715], // GREEK LETTER KOPPA + 0x3DF: [692,0,485,29,453], // GREEK SMALL LETTER KOPPA + 0x3E0: [692,205,839,33,801], // GREEK LETTER SAMPI + 0x3E1: [639,205,611,29,583], // GREEK SMALL LETTER SAMPI + 0x3F0: [473,19,563,12,546], // GREEK KAPPA SYMBOL + 0x3F1: [473,205,511,25,486], // GREEK RHO SYMBOL + 0x3F4: [691,19,778,35,743], // GREEK CAPITAL THETA SYMBOL + 0x3F5: [473,14,444,25,430], // GREEK LUNATE EPSILON SYMBOL + 0x3F6: [473,14,444,14,419] // GREEK REVERSED LUNATE EPSILON SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekAndCoptic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js new file mode 100644 index 0000000..a9a5119 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D6A8: [690,0,735,9,689], // MATHEMATICAL BOLD CAPITAL ALPHA + 0x1D6A9: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL BETA + 0x1D6AA: [676,0,620,16,593], // MATHEMATICAL BOLD CAPITAL GAMMA + 0x1D6AB: [690,0,691,16,656], // MATHEMATICAL BOLD CAPITAL DELTA + 0x1D6AC: [676,0,679,16,641], // MATHEMATICAL BOLD CAPITAL EPSILON + 0x1D6AD: [676,0,693,28,634], // MATHEMATICAL BOLD CAPITAL ZETA + 0x1D6AE: [676,0,810,21,759], // MATHEMATICAL BOLD CAPITAL ETA + 0x1D6AF: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA + 0x1D6B0: [676,0,421,20,370], // MATHEMATICAL BOLD CAPITAL IOTA + 0x1D6B1: [676,0,820,30,769], // MATHEMATICAL BOLD CAPITAL KAPPA + 0x1D6B2: [690,0,707,9,674], // MATHEMATICAL BOLD CAPITAL LAMDA + 0x1D6B3: [676,0,972,14,921], // MATHEMATICAL BOLD CAPITAL MU + 0x1D6B4: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL NU + 0x1D6B5: [676,0,623,28,595], // MATHEMATICAL BOLD CAPITAL XI + 0x1D6B6: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL OMICRON + 0x1D6B7: [676,0,780,21,759], // MATHEMATICAL BOLD CAPITAL PI + 0x1D6B8: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL RHO + 0x1D6B9: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA SYMBOL + 0x1D6BA: [676,0,665,14,627], // MATHEMATICAL BOLD CAPITAL SIGMA + 0x1D6BB: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL TAU + 0x1D6BC: [692,0,722,3,699], // MATHEMATICAL BOLD CAPITAL UPSILON + 0x1D6BD: [676,0,836,18,818], // MATHEMATICAL BOLD CAPITAL PHI + 0x1D6BE: [676,0,747,16,699], // MATHEMATICAL BOLD CAPITAL CHI + 0x1D6BF: [692,0,800,3,785], // MATHEMATICAL BOLD CAPITAL PSI + 0x1D6C0: [692,0,778,35,723], // MATHEMATICAL BOLD CAPITAL OMEGA + 0x1D6C1: [676,14,691,16,656], // MATHEMATICAL BOLD NABLA + 0x1D6C2: [473,14,644,25,618], // MATHEMATICAL BOLD SMALL ALPHA + 0x1D6C3: [692,205,556,45,524], // MATHEMATICAL BOLD SMALL BETA + 0x1D6C4: [473,205,518,12,501], // MATHEMATICAL BOLD SMALL GAMMA + 0x1D6C5: [692,14,502,26,477], // MATHEMATICAL BOLD SMALL DELTA + 0x1D6C6: [473,14,444,28,429], // MATHEMATICAL BOLD SMALL EPSILON + 0x1D6C7: [692,205,459,23,437], // MATHEMATICAL BOLD SMALL ZETA + 0x1D6C8: [473,205,580,12,545], // MATHEMATICAL BOLD SMALL ETA + 0x1D6C9: [692,14,501,25,476], // MATHEMATICAL BOLD SMALL THETA + 0x1D6CA: [461,14,326,15,304], // MATHEMATICAL BOLD SMALL IOTA + 0x1D6CB: [473,0,581,21,559], // MATHEMATICAL BOLD SMALL KAPPA + 0x1D6CC: [692,18,546,19,527], // MATHEMATICAL BOLD SMALL LAMDA + 0x1D6CD: [461,205,610,45,588], // MATHEMATICAL BOLD SMALL MU + 0x1D6CE: [473,14,518,15,495], // MATHEMATICAL BOLD SMALL NU + 0x1D6CF: [692,205,465,23,439], // MATHEMATICAL BOLD SMALL XI + 0x1D6D0: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL OMICRON + 0x1D6D1: [461,18,631,20,609], // MATHEMATICAL BOLD SMALL PI + 0x1D6D2: [473,205,547,45,515], // MATHEMATICAL BOLD SMALL RHO + 0x1D6D3: [473,203,464,23,444], // MATHEMATICAL BOLD SMALL FINAL SIGMA + 0x1D6D4: [461,14,568,25,529], // MATHEMATICAL BOLD SMALL SIGMA + 0x1D6D5: [461,14,492,18,457], // MATHEMATICAL BOLD SMALL TAU + 0x1D6D6: [473,14,576,12,551], // MATHEMATICAL BOLD SMALL UPSILON + 0x1D6D7: [473,205,653,24,629], // MATHEMATICAL BOLD SMALL PHI + 0x1D6D8: [473,205,612,21,586], // MATHEMATICAL BOLD SMALL CHI + 0x1D6D9: [473,205,763,12,751], // MATHEMATICAL BOLD SMALL PSI + 0x1D6DA: [473,14,734,26,708], // MATHEMATICAL BOLD SMALL OMEGA + 0x1D6DB: [707,14,515,25,491], // MATHEMATICAL BOLD PARTIAL DIFFERENTIAL + 0x1D6DC: [473,14,444,25,430], // MATHEMATICAL BOLD EPSILON SYMBOL + 0x1D6DD: [692,14,647,12,620], // MATHEMATICAL BOLD THETA SYMBOL + 0x1D6DE: [473,19,563,12,546], // MATHEMATICAL BOLD KAPPA SYMBOL + 0x1D6DF: [676,205,653,24,629], // MATHEMATICAL BOLD PHI SYMBOL + 0x1D6E0: [473,205,511,25,486], // MATHEMATICAL BOLD RHO SYMBOL + 0x1D6E1: [461,14,864,9,851] // MATHEMATICAL BOLD PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js new file mode 100644 index 0000000..09b85b8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/GreekSSBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D756: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ALPHA + 0x1D757: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL BETA + 0x1D758: [676,0,591,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA + 0x1D759: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD CAPITAL DELTA + 0x1D75A: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL EPSILON + 0x1D75B: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ZETA + 0x1D75C: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ETA + 0x1D75D: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA + 0x1D75E: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA + 0x1D75F: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL KAPPA + 0x1D760: [690,0,706,40,666], // MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA + 0x1D761: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL MU + 0x1D762: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL NU + 0x1D763: [676,0,640,35,605], // MATHEMATICAL SANS-SERIF BOLD CAPITAL XI + 0x1D764: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMICRON + 0x1D765: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PI + 0x1D766: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL RHO + 0x1D767: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA SYMBOL + 0x1D768: [676,0,674,28,632], // MATHEMATICAL SANS-SERIF BOLD CAPITAL SIGMA + 0x1D769: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL TAU + 0x1D76A: [691,0,748,20,728], // MATHEMATICAL SANS-SERIF BOLD CAPITAL UPSILON + 0x1D76B: [676,0,800,25,775], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PHI + 0x1D76C: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL CHI + 0x1D76D: [691,0,806,15,791], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PSI + 0x1D76E: [691,0,752,32,720], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMEGA + 0x1D76F: [664,30,735,45,685], // MATHEMATICAL SANS-SERIF BOLD NABLA + 0x1D770: [473,14,662,40,629], // MATHEMATICAL SANS-SERIF BOLD SMALL ALPHA + 0x1D771: [692,205,512,39,487], // MATHEMATICAL SANS-SERIF BOLD SMALL BETA + 0x1D772: [473,205,502,10,477], // MATHEMATICAL SANS-SERIF BOLD SMALL GAMMA + 0x1D773: [692,14,502,25,477], // MATHEMATICAL SANS-SERIF BOLD SMALL DELTA + 0x1D774: [473,14,451,25,434], // MATHEMATICAL SANS-SERIF BOLD SMALL EPSILON + 0x1D775: [692,205,500,28,488], // MATHEMATICAL SANS-SERIF BOLD SMALL ZETA + 0x1D776: [473,205,510,35,474], // MATHEMATICAL SANS-SERIF BOLD SMALL ETA + 0x1D777: [692,14,500,23,477], // MATHEMATICAL SANS-SERIF BOLD SMALL THETA + 0x1D778: [461,14,319,53,296], // MATHEMATICAL SANS-SERIF BOLD SMALL IOTA + 0x1D779: [473,0,527,55,512], // MATHEMATICAL SANS-SERIF BOLD SMALL KAPPA + 0x1D77A: [692,14,554,18,520], // MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA + 0x1D77B: [461,205,550,39,517], // MATHEMATICAL SANS-SERIF BOLD SMALL MU + 0x1D77C: [473,14,492,55,472], // MATHEMATICAL SANS-SERIF BOLD SMALL NU + 0x1D77D: [692,205,501,28,489], // MATHEMATICAL SANS-SERIF BOLD SMALL XI + 0x1D77E: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL OMICRON + 0x1D77F: [461,14,594,10,572], // MATHEMATICAL SANS-SERIF BOLD SMALL PI + 0x1D780: [473,205,511,38,486], // MATHEMATICAL SANS-SERIF BOLD SMALL RHO + 0x1D781: [473,205,498,26,486], // MATHEMATICAL SANS-SERIF BOLD SMALL FINAL SIGMA + 0x1D782: [461,14,520,25,552], // MATHEMATICAL SANS-SERIF BOLD SMALL SIGMA + 0x1D783: [461,14,479,6,472], // MATHEMATICAL SANS-SERIF BOLD SMALL TAU + 0x1D784: [473,14,514,35,489], // MATHEMATICAL SANS-SERIF BOLD SMALL UPSILON + 0x1D785: [473,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD SMALL PHI + 0x1D786: [473,205,573,9,553], // MATHEMATICAL SANS-SERIF BOLD SMALL CHI + 0x1D787: [473,205,680,25,699], // MATHEMATICAL SANS-SERIF BOLD SMALL PSI + 0x1D788: [461,14,740,42,689], // MATHEMATICAL SANS-SERIF BOLD SMALL OMEGA + 0x1D789: [691,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL + 0x1D78A: [473,14,462,25,440], // MATHEMATICAL SANS-SERIF BOLD EPSILON SYMBOL + 0x1D78B: [692,14,536,35,522], // MATHEMATICAL SANS-SERIF BOLD THETA SYMBOL + 0x1D78C: [473,14,570,14,554], // MATHEMATICAL SANS-SERIF BOLD KAPPA SYMBOL + 0x1D78D: [692,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD PHI SYMBOL + 0x1D78E: [473,205,494,25,469], // MATHEMATICAL SANS-SERIF BOLD RHO SYMBOL + 0x1D78F: [461,14,848,6,839] // MATHEMATICAL SANS-SERIF BOLD PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/GreekSSBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js new file mode 100644 index 0000000..faa17d1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js @@ -0,0 +1,116 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/IPAExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x250: [473,14,512,13,476], // ?? + 0x251: [473,14,608,32,594], // ?? + 0x252: [473,14,608,32,594], // ?? + 0x253: [691,14,560,74,523], // ?? + 0x254: [473,14,472,15,420], // ?? + 0x255: [473,161,477,30,445], // ?? + 0x256: [676,233,602,32,660], // ?? + 0x257: [683,14,650,32,660], // ?? + 0x258: [473,14,457,25,427], // ?? + 0x259: [473,14,457,19,421], // ?? + 0x25A: [473,14,688,41,677], // ?? + 0x25B: [475,14,493,25,439], // ?? + 0x25C: [475,14,493,25,439], // ?? + 0x25D: [475,14,683,25,658], // ?? + 0x25E: [475,14,523,25,469], // ?? + 0x25F: [461,203,338,-54,314], // ?? + 0x260: [683,245,627,37,662], // ?? + 0x261: [473,245,571,37,484], // ?? + 0x262: [461,11,590,35,555], // ?? + 0x263: [461,233,532,24,507], // ?? + 0x264: [450,10,514,17,497], // ?? + 0x265: [450,226,550,17,536], // ?? + 0x266: [683,0,550,14,532], // ?? + 0x267: [683,205,556,16,485], // ?? + 0x268: [691,0,292,21,262], // ?? + 0x269: [456,8,366,22,339], // ?? + 0x26A: [461,0,297,26,264], // ?? + 0x26B: [676,0,395,15,380], // ?? + 0x26C: [676,0,446,17,428], // ?? + 0x26D: [676,233,326,15,384], // ?? + 0x26E: [676,236,619,24,603], // ?? + 0x26F: [473,0,828,16,815], // ?? + 0x270: [473,233,859,16,836], // ?? + 0x271: [473,233,847,21,770], // ?? + 0x272: [473,233,625,-57,586], // ?? + 0x273: [473,233,610,21,668], // ?? + 0x274: [461,12,604,34,558], // ?? + 0x275: [473,14,520,34,485], // ?? + 0x276: [461,5,741,28,713], // ?? + 0x277: [477,2,696,42,653], // ?? + 0x278: [685,231,713,45,667], // ?? + 0x279: [463,10,456,35,441], // ?? + 0x27A: [676,10,456,35,441], // ?? + 0x27B: [463,233,506,35,564], // ?? + 0x27C: [473,233,426,10,416], // ?? + 0x27D: [473,233,454,12,418], // ?? + 0x27E: [484,0,359,15,386], // ?? + 0x27F: [484,0,404,10,381], // ?? + 0x280: [464,0,516,21,495], // ?? + 0x281: [464,0,516,21,495], // ?? + 0x282: [473,218,389,25,361], // ?? + 0x283: [683,233,458,-36,406], // ?? + 0x284: [683,233,373,-57,430], // ?? + 0x285: [470,233,396,8,452], // ?? + 0x286: [683,243,399,-16,449], // ?? + 0x287: [513,129,333,19,332], // ?? + 0x288: [630,233,339,19,389], // ?? + 0x289: [461,14,556,9,538], // ?? + 0x28A: [452,8,500,13,487], // ?? + 0x28B: [465,10,534,23,511], // ?? + 0x28C: [475,0,500,21,485], // ?? + 0x28D: [475,0,722,23,707], // ?? + 0x28E: [666,0,500,16,482], // ?? + 0x28F: [464,0,633,46,587], // ?? + 0x290: [461,218,531,21,577], // ?? + 0x291: [461,150,538,21,517], // ?? + 0x292: [450,236,440,8,430], // ?? + 0x293: [450,307,440,8,430], // ?? + 0x294: [683,0,417,55,426], // ?? + 0x295: [683,0,417,55,426], // ?? + 0x296: [669,14,417,55,426], // ?? + 0x297: [473,232,479,72,447], // ?? + 0x298: [680,17,723,13,708], // ?? + 0x299: [464,0,456,15,441], // ?? + 0x29A: [475,14,465,11,455], // ?? + 0x29B: [537,11,600,29,595], // ?? + 0x29C: [464,0,582,21,561], // ?? + 0x29D: [691,233,394,-60,414], // ?? + 0x29E: [461,215,556,22,543], // ?? + 0x29F: [464,0,470,17,440], // ?? + 0x2A0: [582,205,636,34,659], // ?? + 0x2A1: [683,0,500,55,426], // ?? + 0x2A2: [683,0,500,55,426], // ?? + 0x2A3: [676,14,868,25,843], // ?? + 0x2A4: [676,236,810,25,794], // ?? + 0x2A5: [676,164,960,25,933], // ?? + 0x2A6: [630,12,626,19,598], // ?? + 0x2A7: [683,233,540,19,626], // ?? + 0x2A8: [630,12,700,19,690] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/IPAExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js new file mode 100644 index 0000000..9bb0de5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js @@ -0,0 +1,123 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA1: [501,203,333,82,252], // INVERTED EXCLAMATION MARK + 0xA2: [588,140,500,53,458], // CENT SIGN + 0xA3: [684,16,500,21,477], // POUND SIGN + 0xA4: [542,10,500,-26,526], // CURRENCY SIGN + 0xA5: [676,0,500,-64,547], // YEN SIGN + 0xA6: [691,19,220,66,154], // BROKEN BAR + 0xA7: [691,132,500,57,443], // SECTION SIGN + 0xA8: [666,-537,333,-2,337], // DIAERESIS + 0xA9: [691,19,747,26,721], // COPYRIGHT SIGN + 0xAA: [688,-397,300,-1,301], // FEMININE ORDINAL INDICATOR + 0xAB: [415,-36,500,23,473], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xAC: [399,-108,750,65,685], // NOT SIGN + 0xAD: [287,-171,333,44,287], // SOFT HYPHEN + 0xAE: [691,19,747,26,721], // REGISTERED SIGN + 0xAF: [637,-565,333,1,331], // MACRON + 0xB0: [688,-402,400,57,343], // DEGREE SIGN + 0xB1: [518,151,770,65,685], // PLUS-MINUS SIGN + 0xB2: [688,-275,300,0,300], // SUPERSCRIPT TWO + 0xB3: [688,-268,300,3,297], // SUPERSCRIPT THREE + 0xB4: [713,-528,333,86,324], // ACUTE ACCENT + 0xB5: [461,206,556,33,536], // MICRO SIGN + 0xB6: [676,186,639,60,579], // PILCROW SIGN + 0xB7: [417,-248,250,41,210], // MIDDLE DOT + 0xB8: [0,218,333,68,294], // CEDILLA + 0xB9: [688,-275,300,28,273], // SUPERSCRIPT ONE + 0xBA: [688,-397,330,18,312], // MASCULINE ORDINAL INDICATOR + 0xBB: [415,-36,500,27,477], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xBC: [688,12,750,28,743], // VULGAR FRACTION ONE QUARTER + 0xBD: [688,12,750,-7,775], // VULGAR FRACTION ONE HALF + 0xBE: [688,12,750,23,733], // VULGAR FRACTION THREE QUARTERS + 0xBF: [501,201,500,55,443], // INVERTED QUESTION MARK + 0xC0: [963,0,722,9,689], // LATIN CAPITAL LETTER A WITH GRAVE + 0xC1: [963,0,722,9,689], // LATIN CAPITAL LETTER A WITH ACUTE + 0xC2: [954,0,722,9,689], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX + 0xC3: [924,0,722,9,689], // LATIN CAPITAL LETTER A WITH TILDE + 0xC4: [916,0,722,9,689], // LATIN CAPITAL LETTER A WITH DIAERESIS + 0xC5: [1000,0,722,9,689], // LATIN CAPITAL LETTER A WITH RING ABOVE + 0xC6: [676,0,1000,4,951], // LATIN CAPITAL LETTER AE + 0xC7: [691,218,722,49,687], // LATIN CAPITAL LETTER C WITH CEDILLA + 0xC8: [963,0,667,16,641], // LATIN CAPITAL LETTER E WITH GRAVE + 0xC9: [963,0,667,16,641], // LATIN CAPITAL LETTER E WITH ACUTE + 0xCA: [954,0,667,16,641], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX + 0xCB: [916,0,667,16,641], // LATIN CAPITAL LETTER E WITH DIAERESIS + 0xCC: [963,0,389,20,370], // LATIN CAPITAL LETTER I WITH GRAVE + 0xCD: [963,0,389,20,370], // LATIN CAPITAL LETTER I WITH ACUTE + 0xCE: [954,0,389,20,370], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX + 0xCF: [916,0,389,20,370], // LATIN CAPITAL LETTER I WITH DIAERESIS + 0xD0: [676,0,722,6,690], // LATIN CAPITAL LETTER ETH + 0xD1: [924,18,722,16,701], // LATIN CAPITAL LETTER N WITH TILDE + 0xD2: [963,19,778,35,743], // LATIN CAPITAL LETTER O WITH GRAVE + 0xD3: [963,19,778,35,743], // LATIN CAPITAL LETTER O WITH ACUTE + 0xD4: [954,19,778,35,743], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX + 0xD5: [924,19,778,35,743], // LATIN CAPITAL LETTER O WITH TILDE + 0xD6: [916,19,778,35,743], // LATIN CAPITAL LETTER O WITH DIAERESIS + 0xD7: [538,33,702,66,636], // MULTIPLICATION SIGN + 0xD8: [737,74,778,35,743], // LATIN CAPITAL LETTER O WITH STROKE + 0xD9: [963,19,722,16,701], // LATIN CAPITAL LETTER U WITH GRAVE + 0xDA: [963,19,722,16,701], // LATIN CAPITAL LETTER U WITH ACUTE + 0xDB: [954,19,722,16,701], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX + 0xDC: [916,19,722,16,701], // LATIN CAPITAL LETTER U WITH DIAERESIS + 0xDD: [963,0,722,15,699], // LATIN CAPITAL LETTER Y WITH ACUTE + 0xDE: [676,0,611,16,600], // LATIN CAPITAL LETTER THORN + 0xDF: [691,12,556,19,517], // LATIN SMALL LETTER SHARP S + 0xE0: [713,14,500,25,488], // LATIN SMALL LETTER A WITH GRAVE + 0xE1: [713,14,500,25,488], // LATIN SMALL LETTER A WITH ACUTE + 0xE2: [704,14,500,25,488], // LATIN SMALL LETTER A WITH CIRCUMFLEX + 0xE3: [674,14,500,25,488], // LATIN SMALL LETTER A WITH TILDE + 0xE4: [666,14,500,25,488], // LATIN SMALL LETTER A WITH DIAERESIS + 0xE5: [752,14,500,25,488], // LATIN SMALL LETTER A WITH RING ABOVE + 0xE6: [473,14,722,33,694], // LATIN SMALL LETTER AE + 0xE7: [473,218,444,25,430], // LATIN SMALL LETTER C WITH CEDILLA + 0xE8: [713,14,444,25,427], // LATIN SMALL LETTER E WITH GRAVE + 0xE9: [713,14,444,25,427], // LATIN SMALL LETTER E WITH ACUTE + 0xEA: [704,14,444,25,427], // LATIN SMALL LETTER E WITH CIRCUMFLEX + 0xEB: [666,14,444,25,427], // LATIN SMALL LETTER E WITH DIAERESIS + 0xEC: [713,0,278,14,257], // LATIN SMALL LETTER I WITH GRAVE + 0xED: [713,0,278,15,258], // LATIN SMALL LETTER I WITH ACUTE + 0xEE: [704,0,278,-29,308], // LATIN SMALL LETTER I WITH CIRCUMFLEX + 0xEF: [666,0,278,-29,310], // LATIN SMALL LETTER I WITH DIAERESIS + 0xF0: [691,14,500,25,476], // LATIN SMALL LETTER ETH + 0xF1: [674,0,556,21,539], // LATIN SMALL LETTER N WITH TILDE + 0xF2: [713,14,500,25,476], // LATIN SMALL LETTER O WITH GRAVE + 0xF3: [713,14,500,25,476], // LATIN SMALL LETTER O WITH ACUTE + 0xF4: [704,14,500,25,476], // LATIN SMALL LETTER O WITH CIRCUMFLEX + 0xF5: [674,14,500,25,476], // LATIN SMALL LETTER O WITH TILDE + 0xF6: [666,14,500,25,476], // LATIN SMALL LETTER O WITH DIAERESIS + 0xF7: [537,31,570,33,537], // DIVISION SIGN + 0xF8: [549,92,500,25,476], // LATIN SMALL LETTER O WITH STROKE + 0xF9: [713,14,556,16,538], // LATIN SMALL LETTER U WITH GRAVE + 0xFA: [713,14,556,16,538], // LATIN SMALL LETTER U WITH ACUTE + 0xFB: [704,14,556,16,538], // LATIN SMALL LETTER U WITH CIRCUMFLEX + 0xFC: [666,14,556,16,538], // LATIN SMALL LETTER U WITH DIAERESIS + 0xFD: [713,205,500,16,482], // LATIN SMALL LETTER Y WITH ACUTE + 0xFE: [676,205,556,19,524], // LATIN SMALL LETTER THORN + 0xFF: [666,205,500,16,482] // LATIN SMALL LETTER Y WITH DIAERESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js new file mode 100644 index 0000000..2d5d7f0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js @@ -0,0 +1,155 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x100: [810,0,722,9,689], // LATIN CAPITAL LETTER A WITH MACRON + 0x101: [600,14,500,25,488], // LATIN SMALL LETTER A WITH MACRON + 0x102: [901,0,722,9,689], // LATIN CAPITAL LETTER A WITH BREVE + 0x103: [691,14,500,25,488], // LATIN SMALL LETTER A WITH BREVE + 0x104: [690,205,722,9,721], // LATIN CAPITAL LETTER A WITH OGONEK + 0x105: [473,205,500,25,569], // LATIN SMALL LETTER A WITH OGONEK + 0x106: [923,19,722,49,687], // LATIN CAPITAL LETTER C WITH ACUTE + 0x107: [713,14,444,25,430], // LATIN SMALL LETTER C WITH ACUTE + 0x108: [914,19,722,49,687], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX + 0x109: [704,14,444,25,430], // LATIN SMALL LETTER C WITH CIRCUMFLEX + 0x10A: [876,19,722,49,687], // LATIN CAPITAL LETTER C WITH DOT ABOVE + 0x10B: [666,14,444,25,430], // LATIN SMALL LETTER C WITH DOT ABOVE + 0x10C: [914,19,722,49,687], // LATIN CAPITAL LETTER C WITH CARON + 0x10D: [704,14,444,25,430], // LATIN SMALL LETTER C WITH CARON + 0x10E: [914,0,722,14,690], // LATIN CAPITAL LETTER D WITH CARON + 0x10F: [709,14,680,25,710], // LATIN SMALL LETTER D WITH CARON + 0x110: [676,0,722,6,690], // LATIN CAPITAL LETTER D WITH STROKE + 0x111: [676,14,556,25,534], // LATIN SMALL LETTER D WITH STROKE + 0x112: [810,0,667,16,641], // LATIN CAPITAL LETTER E WITH MACRON + 0x113: [600,14,444,25,427], // LATIN SMALL LETTER E WITH MACRON + 0x114: [901,0,667,16,641], // LATIN CAPITAL LETTER E WITH BREVE + 0x115: [691,14,444,25,427], // LATIN SMALL LETTER E WITH BREVE + 0x116: [876,0,667,16,641], // LATIN CAPITAL LETTER E WITH DOT ABOVE + 0x117: [666,14,444,25,427], // LATIN SMALL LETTER E WITH DOT ABOVE + 0x118: [676,205,667,16,641], // LATIN CAPITAL LETTER E WITH OGONEK + 0x119: [473,205,444,25,435], // LATIN SMALL LETTER E WITH OGONEK + 0x11A: [914,0,667,16,641], // LATIN CAPITAL LETTER E WITH CARON + 0x11B: [704,14,444,25,427], // LATIN SMALL LETTER E WITH CARON + 0x11C: [914,19,778,37,755], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX + 0x11D: [704,206,500,28,483], // LATIN SMALL LETTER G WITH CIRCUMFLEX + 0x11E: [901,19,778,37,755], // LATIN CAPITAL LETTER G WITH BREVE + 0x11F: [691,206,500,28,483], // LATIN SMALL LETTER G WITH BREVE + 0x120: [876,19,778,37,755], // LATIN CAPITAL LETTER G WITH DOT ABOVE + 0x121: [666,206,500,28,483], // LATIN SMALL LETTER G WITH DOT ABOVE + 0x122: [691,378,778,37,755], // LATIN CAPITAL LETTER G WITH CEDILLA + 0x123: [863,206,500,28,483], // LATIN SMALL LETTER G WITH CEDILLA + 0x124: [914,0,778,21,759], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX + 0x125: [914,0,556,15,534], // LATIN SMALL LETTER H WITH CIRCUMFLEX + 0x126: [676,0,778,21,759], // LATIN CAPITAL LETTER H WITH STROKE + 0x127: [676,0,556,15,534], // LATIN SMALL LETTER H WITH STROKE + 0x128: [884,0,389,14,379], // LATIN CAPITAL LETTER I WITH TILDE + 0x129: [674,0,278,-47,318], // LATIN SMALL LETTER I WITH TILDE + 0x12A: [810,0,389,20,370], // LATIN CAPITAL LETTER I WITH MACRON + 0x12B: [600,0,278,-25,305], // LATIN SMALL LETTER I WITH MACRON + 0x12C: [900,0,389,20,370], // LATIN CAPITAL LETTER I WITH BREVE + 0x12D: [691,0,278,-11,292], // LATIN SMALL LETTER I WITH BREVE + 0x12E: [676,205,389,20,389], // LATIN CAPITAL LETTER I WITH OGONEK + 0x12F: [691,205,278,15,321], // LATIN SMALL LETTER I WITH OGONEK + 0x130: [876,0,389,20,370], // LATIN CAPITAL LETTER I WITH DOT ABOVE + 0x131: [461,0,278,15,256], // LATIN SMALL LETTER DOTLESS I + 0x132: [676,96,838,20,917], // LATIN CAPITAL LIGATURE IJ + 0x133: [691,203,552,15,531], // LATIN SMALL LIGATURE IJ + 0x134: [914,96,500,3,479], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX + 0x135: [704,203,333,-57,335], // LATIN SMALL LETTER J WITH CIRCUMFLEX + 0x136: [676,378,778,30,769], // LATIN CAPITAL LETTER K WITH CEDILLA + 0x137: [676,378,556,22,543], // LATIN SMALL LETTER K WITH CEDILLA + 0x138: [470,0,600,19,627], // LATIN SMALL LETTER KRA + 0x139: [923,0,667,19,638], // LATIN CAPITAL LETTER L WITH ACUTE + 0x13A: [923,0,278,15,260], // LATIN SMALL LETTER L WITH ACUTE + 0x13B: [676,378,667,19,638], // LATIN CAPITAL LETTER L WITH CEDILLA + 0x13C: [676,378,278,15,256], // LATIN SMALL LETTER L WITH CEDILLA + 0x13D: [691,0,667,19,638], // LATIN CAPITAL LETTER L WITH CARON + 0x13E: [709,0,457,15,442], // LATIN SMALL LETTER L WITH CARON + 0x13F: [676,0,667,19,638], // LATIN CAPITAL LETTER L WITH MIDDLE DOT + 0x140: [676,0,414,15,441], // LATIN SMALL LETTER L WITH MIDDLE DOT + 0x141: [676,0,667,18,638], // LATIN CAPITAL LETTER L WITH STROKE + 0x142: [676,0,278,-22,303], // LATIN SMALL LETTER L WITH STROKE + 0x143: [923,18,722,16,701], // LATIN CAPITAL LETTER N WITH ACUTE + 0x144: [713,0,556,21,539], // LATIN SMALL LETTER N WITH ACUTE + 0x145: [676,378,722,16,701], // LATIN CAPITAL LETTER N WITH CEDILLA + 0x146: [473,378,556,21,539], // LATIN SMALL LETTER N WITH CEDILLA + 0x147: [914,18,722,16,701], // LATIN CAPITAL LETTER N WITH CARON + 0x148: [704,0,556,21,539], // LATIN SMALL LETTER N WITH CARON + 0x149: [709,0,705,13,693], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE + 0x14A: [676,96,732,14,712], // LATIN CAPITAL LETTER ENG + 0x14B: [473,205,556,21,490], // LATIN SMALL LETTER ENG + 0x14C: [810,19,778,35,743], // LATIN CAPITAL LETTER O WITH MACRON + 0x14D: [600,14,500,25,476], // LATIN SMALL LETTER O WITH MACRON + 0x14E: [901,19,778,35,743], // LATIN CAPITAL LETTER O WITH BREVE + 0x14F: [691,14,500,25,476], // LATIN SMALL LETTER O WITH BREVE + 0x150: [923,19,778,35,743], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE + 0x151: [713,14,500,25,476], // LATIN SMALL LETTER O WITH DOUBLE ACUTE + 0x152: [684,5,1000,22,981], // LATIN CAPITAL LIGATURE OE + 0x153: [473,14,722,22,696], // LATIN SMALL LIGATURE OE + 0x154: [923,0,722,26,716], // LATIN CAPITAL LETTER R WITH ACUTE + 0x155: [713,0,444,28,434], // LATIN SMALL LETTER R WITH ACUTE + 0x156: [676,378,722,26,716], // LATIN CAPITAL LETTER R WITH CEDILLA + 0x157: [473,378,444,28,434], // LATIN SMALL LETTER R WITH CEDILLA + 0x158: [914,0,722,26,716], // LATIN CAPITAL LETTER R WITH CARON + 0x159: [704,0,444,28,434], // LATIN SMALL LETTER R WITH CARON + 0x15A: [923,19,556,35,513], // LATIN CAPITAL LETTER S WITH ACUTE + 0x15B: [713,14,389,25,364], // LATIN SMALL LETTER S WITH ACUTE + 0x15C: [914,19,556,35,513], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX + 0x15D: [704,14,389,22,361], // LATIN SMALL LETTER S WITH CIRCUMFLEX + 0x15E: [692,218,556,35,513], // LATIN CAPITAL LETTER S WITH CEDILLA + 0x15F: [473,218,389,25,361], // LATIN SMALL LETTER S WITH CEDILLA + 0x160: [914,19,556,35,513], // LATIN CAPITAL LETTER S WITH CARON + 0x161: [704,14,389,22,361], // LATIN SMALL LETTER S WITH CARON + 0x162: [676,218,667,31,636], // LATIN CAPITAL LETTER T WITH CEDILLA + 0x163: [630,218,333,19,332], // LATIN SMALL LETTER T WITH CEDILLA + 0x164: [914,0,667,31,636], // LATIN CAPITAL LETTER T WITH CARON + 0x165: [709,12,415,19,445], // LATIN SMALL LETTER T WITH CARON + 0x166: [676,0,667,31,636], // LATIN CAPITAL LETTER T WITH STROKE + 0x167: [630,12,333,17,332], // LATIN SMALL LETTER T WITH STROKE + 0x168: [886,19,722,16,701], // LATIN CAPITAL LETTER U WITH TILDE + 0x169: [674,14,556,16,538], // LATIN SMALL LETTER U WITH TILDE + 0x16A: [810,19,722,16,701], // LATIN CAPITAL LETTER U WITH MACRON + 0x16B: [600,14,556,16,538], // LATIN SMALL LETTER U WITH MACRON + 0x16C: [901,19,722,16,701], // LATIN CAPITAL LETTER U WITH BREVE + 0x16D: [691,14,556,16,538], // LATIN SMALL LETTER U WITH BREVE + 0x16E: [935,19,722,16,701], // LATIN CAPITAL LETTER U WITH RING ABOVE + 0x16F: [740,14,556,16,538], // LATIN SMALL LETTER U WITH RING ABOVE + 0x170: [923,19,722,16,701], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE + 0x171: [713,14,556,16,538], // LATIN SMALL LETTER U WITH DOUBLE ACUTE + 0x172: [676,205,722,16,701], // LATIN CAPITAL LETTER U WITH OGONEK + 0x173: [461,205,556,16,547], // LATIN SMALL LETTER U WITH OGONEK + 0x174: [914,15,1000,19,981], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX + 0x175: [704,14,722,23,707], // LATIN SMALL LETTER W WITH CIRCUMFLEX + 0x176: [914,0,722,15,699], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX + 0x177: [704,205,500,16,482], // LATIN SMALL LETTER Y WITH CIRCUMFLEX + 0x178: [876,0,722,15,699], // LATIN CAPITAL LETTER Y WITH DIAERESIS + 0x179: [923,0,667,28,634], // LATIN CAPITAL LETTER Z WITH ACUTE + 0x17A: [713,0,444,21,420], // LATIN SMALL LETTER Z WITH ACUTE + 0x17B: [876,0,667,28,634], // LATIN CAPITAL LETTER Z WITH DOT ABOVE + 0x17C: [666,0,444,21,420], // LATIN SMALL LETTER Z WITH DOT ABOVE + 0x17D: [914,0,667,28,634], // LATIN CAPITAL LETTER Z WITH CARON + 0x17E: [704,0,444,21,420], // LATIN SMALL LETTER Z WITH CARON + 0x17F: [691,0,333,14,389] // LATIN SMALL LETTER LONG S + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js new file mode 100644 index 0000000..571965d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedAdditional.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1E80: [923,15,1000,19,981], // LATIN CAPITAL LETTER W WITH GRAVE + 0x1E81: [713,14,722,23,707], // LATIN SMALL LETTER W WITH GRAVE + 0x1E82: [923,15,1000,19,981], // LATIN CAPITAL LETTER W WITH ACUTE + 0x1E83: [713,14,722,23,707], // LATIN SMALL LETTER W WITH ACUTE + 0x1E84: [876,15,1000,19,981], // LATIN CAPITAL LETTER W WITH DIAERESIS + 0x1E85: [666,14,722,23,707], // LATIN SMALL LETTER W WITH DIAERESIS + 0x1EF2: [923,0,722,15,699], // LATIN CAPITAL LETTER Y WITH GRAVE + 0x1EF3: [713,205,500,16,482] // LATIN SMALL LETTER Y WITH GRAVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedAdditional.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js new file mode 100644 index 0000000..fcc10b5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js @@ -0,0 +1,59 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LatinExtendedB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x180: [676,14,553,-28,516], // LATIN SMALL LETTER B WITH STROKE + 0x188: [576,14,568,30,574], // LATIN SMALL LETTER C WITH HOOK + 0x190: [686,4,610,38,587], // LATIN CAPITAL LETTER OPEN E + 0x192: [706,155,500,0,498], // LATIN SMALL LETTER F WITH HOOK + 0x195: [676,10,797,14,767], // LATIN SMALL LETTER HV + 0x199: [691,0,533,12,533], // LATIN SMALL LETTER K WITH HOOK + 0x19A: [676,0,291,24,265], // LATIN SMALL LETTER L WITH BAR + 0x19B: [666,0,536,60,526], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x19E: [473,205,559,21,539], // LATIN SMALL LETTER N WITH LONG RIGHT LEG + 0x1A0: [732,19,778,35,788], // LATIN CAPITAL LETTER O WITH HORN + 0x1A1: [505,14,554,25,576], // LATIN SMALL LETTER O WITH HORN + 0x1A5: [673,205,550,10,515], // LATIN SMALL LETTER P WITH HOOK + 0x1AA: [689,228,446,25,421], // LATIN LETTER REVERSED ESH LOOP + 0x1AB: [630,218,347,18,331], // LATIN SMALL LETTER T WITH PALATAL HOOK + 0x1AD: [691,12,371,19,389], // LATIN SMALL LETTER T WITH HOOK + 0x1AF: [810,19,796,16,836], // LATIN CAPITAL LETTER U WITH HORN + 0x1B0: [596,14,600,16,626], // LATIN SMALL LETTER U WITH HORN + 0x1BA: [450,237,441,9,415], // LATIN SMALL LETTER EZH WITH TAIL + 0x1BB: [688,0,515,27,492], // LATIN LETTER TWO WITH STROKE + 0x1BE: [541,10,527,78,449], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE + 0x1C0: [740,0,186,60,126], // LATIN LETTER DENTAL CLICK + 0x1C1: [740,0,313,60,253], // LATIN LETTER LATERAL CLICK + 0x1C2: [740,0,445,39,405], // LATIN LETTER ALVEOLAR CLICK + 0x1C3: [691,13,333,81,251], // LATIN LETTER RETROFLEX CLICK + 0x1F0: [704,203,333,-57,335], // LATIN SMALL LETTER J WITH CARON + 0x1FA: [972,0,722,9,689], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE + 0x1FB: [923,14,500,25,488], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE + 0x1FC: [923,0,1000,4,951], // LATIN CAPITAL LETTER AE WITH ACUTE + 0x1FD: [713,14,722,33,694], // LATIN SMALL LETTER AE WITH ACUTE + 0x1FE: [923,74,778,35,743], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE + 0x1FF: [713,92,500,25,476], // LATIN SMALL LETTER O WITH STROKE AND ACUTE + 0x237: [461,203,333,-57,260] // LATIN SMALL LETTER DOTLESS J + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LatinExtendedB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js new file mode 100644 index 0000000..9020c10 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js @@ -0,0 +1,70 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2102: [691,19,727,45,672], // stix-mathematical bold oblique double-struck capital C + 0x2105: [688,12,873,38,835], // CARE OF + 0x2107: [691,19,699,65,662], // EULER CONSTANT + 0x210C: [701,205,843,42,795], // BLACK-LETTER CAPITAL H + 0x210D: [676,0,768,75,693], // stix-mathematical bold oblique double-struck capital H + 0x210E: [685,10,576,50,543], // PLANCK CONSTANT + 0x210F: [685,10,576,50,543], // stix-/hbar - Planck's over 2pi + 0x2111: [701,25,790,54,735], // BLACK-LETTER CAPITAL I + 0x2113: [699,14,500,43,632], // SCRIPT SMALL L + 0x2115: [676,0,738,75,663], // stix-mathematical bold oblique double-struck capital N + 0x2116: [691,18,1093,10,1042], // NUMERO SIGN + 0x2117: [691,19,747,26,721], // SOUND RECORDING COPYRIGHT + 0x2118: [541,219,850,55,822], // SCRIPT CAPITAL P + 0x2119: [676,0,700,75,670], // stix-mathematical bold oblique double-struck capital P + 0x211A: [691,64,797,45,747], // stix-mathematical bold oblique double-struck capital Q + 0x211C: [701,25,884,50,841], // BLACK-LETTER CAPITAL R + 0x211D: [676,0,783,75,758], // stix-mathematical bold oblique double-struck capital R + 0x211E: [676,101,722,26,726], // PRESCRIPTION TAKE + 0x2122: [676,-271,1000,24,977], // TRADE MARK SIGN + 0x2124: [691,0,777,52,727], // stix-mathematical bold oblique double-struck capital Z + 0x2125: [676,205,448,21,424], // OUNCE SIGN + 0x2126: [692,0,758,35,723], // OHM SIGN + 0x2127: [674,18,758,35,723], // INVERTED OHM SIGN + 0x2128: [701,195,755,44,703], // BLACK-LETTER CAPITAL Z + 0x2129: [475,0,312,9,244], // TURNED GREEK SMALL LETTER IOTA + 0x212B: [920,0,722,9,689], // ANGSTROM SIGN + 0x212D: [701,19,773,54,731], // BLACK-LETTER CAPITAL C + 0x2132: [676,0,616,48,546], // TURNED CAPITAL F + 0x2135: [694,34,766,76,690], // ALEF SYMBOL + 0x2136: [694,34,703,60,659], // BET SYMBOL + 0x2137: [694,34,562,71,493], // GIMEL SYMBOL + 0x2138: [694,34,599,40,559], // DALET SYMBOL + 0x213C: [461,11,804,55,759], // DOUBLE-STRUCK SMALL PI + 0x213D: [486,203,646,23,624], // DOUBLE-STRUCK SMALL GAMMA + 0x213E: [676,0,497,75,643], // DOUBLE-STRUCK CAPITAL GAMMA + 0x213F: [676,0,768,75,693], // DOUBLE-STRUCK CAPITAL PI + 0x2140: [773,269,976,36,952], // DOUBLE-STRUCK N-ARY SUMMATION + 0x2145: [676,0,748,75,703], // stix-mathematical bold double-struck capital D + 0x2146: [676,14,643,50,583], // stix-mathematical bold double-struck small letter d + 0x2147: [473,14,573,50,523], // stix-mathematical bold double-struck small letter e + 0x2148: [691,0,330,65,265], // stix-mathematical bold double-struck small letter i + 0x2149: [691,205,371,-20,311], // stix-mathematical bold double-struck small letter j + 0x214B: [690,17,833,61,788] // TURNED AMPERSAND + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js new file mode 100644 index 0000000..79f2371 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js @@ -0,0 +1,172 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'] = { + directory: 'General/Bold', + family: 'STIXGeneral', + weight: 'bold', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1D00,0x1DBF,"PhoneticExtensions"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2070,0x209F,"SuperAndSubscripts"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2150,0x218F,"NumberForms"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x2980,0x29FF,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,"SuppMathOperators"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0x1D400,0x1D433,"MathBold"], + [0x1D56C,0x1D59F,"BoldFraktur"], + [0x1D5D4,0x1D607,"MathSSBold"], + [0x1D6A8,0x1D6E1,"GreekBold"], + [0x1D756,0x1D78F,"GreekSSBold"], + [0x1D7CE,0x1D7D7,"MathBold"], + [0x1D7EC,0x1D7F6,"MathSSBold"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [691,13,333,81,251], // EXCLAMATION MARK + 0x22: [691,-404,555,83,472], // QUOTATION MARK + 0x23: [700,0,500,5,495], // NUMBER SIGN + 0x24: [750,99,500,29,472], // DOLLAR SIGN + 0x25: [706,29,749,61,688], // PERCENT SIGN + 0x26: [691,16,833,62,789], // AMPERSAND + 0x27: [691,-404,278,75,204], // APOSTROPHE + 0x28: [694,168,333,46,306], // LEFT PARENTHESIS + 0x29: [694,168,333,27,287], // RIGHT PARENTHESIS + 0x2A: [691,-255,500,56,448], // ASTERISK + 0x2B: [563,57,750,65,685], // PLUS SIGN + 0x2C: [155,180,250,39,223], // COMMA + 0x2D: [287,-171,333,44,287], // HYPHEN-MINUS + 0x2E: [156,13,250,41,210], // FULL STOP + 0x2F: [691,19,278,-24,302], // SOLIDUS + 0x30: [688,13,500,24,476], // DIGIT ZERO + 0x31: [688,0,500,65,441], // DIGIT ONE + 0x32: [688,0,500,17,478], // DIGIT TWO + 0x33: [688,14,500,16,468], // DIGIT THREE + 0x34: [688,0,500,19,476], // DIGIT FOUR + 0x35: [676,8,500,22,470], // DIGIT FIVE + 0x36: [688,13,500,28,475], // DIGIT SIX + 0x37: [676,0,500,17,477], // DIGIT SEVEN + 0x38: [688,13,500,28,472], // DIGIT EIGHT + 0x39: [688,13,500,26,473], // DIGIT NINE + 0x3A: [472,13,333,82,251], // COLON + 0x3B: [472,180,333,82,266], // SEMICOLON + 0x3C: [534,24,750,80,670], // LESS-THAN SIGN + 0x3D: [399,-107,750,68,682], // EQUALS SIGN + 0x3E: [534,24,750,80,670], // GREATER-THAN SIGN + 0x3F: [689,13,500,57,445], // QUESTION MARK + 0x40: [691,19,930,108,822], // COMMERCIAL AT + 0x41: [690,0,722,9,689], // LATIN CAPITAL LETTER A + 0x42: [676,0,667,16,619], // LATIN CAPITAL LETTER B + 0x43: [691,19,722,49,687], // LATIN CAPITAL LETTER C + 0x44: [676,0,722,14,690], // LATIN CAPITAL LETTER D + 0x45: [676,0,667,16,641], // LATIN CAPITAL LETTER E + 0x46: [676,0,611,16,583], // LATIN CAPITAL LETTER F + 0x47: [691,19,778,37,755], // LATIN CAPITAL LETTER G + 0x48: [676,0,778,21,759], // LATIN CAPITAL LETTER H + 0x49: [676,0,389,20,370], // LATIN CAPITAL LETTER I + 0x4A: [676,96,500,3,478], // LATIN CAPITAL LETTER J + 0x4B: [676,0,778,30,769], // LATIN CAPITAL LETTER K + 0x4C: [677,0,667,19,638], // LATIN CAPITAL LETTER L + 0x4D: [676,0,944,14,921], // LATIN CAPITAL LETTER M + 0x4E: [676,18,722,16,701], // LATIN CAPITAL LETTER N + 0x4F: [691,19,778,35,743], // LATIN CAPITAL LETTER O + 0x50: [676,0,611,16,600], // LATIN CAPITAL LETTER P + 0x51: [691,176,778,35,743], // LATIN CAPITAL LETTER Q + 0x52: [676,0,722,26,716], // LATIN CAPITAL LETTER R + 0x53: [692,19,556,35,513], // LATIN CAPITAL LETTER S + 0x54: [676,0,667,31,636], // LATIN CAPITAL LETTER T + 0x55: [676,19,722,16,701], // LATIN CAPITAL LETTER U + 0x56: [676,18,722,16,701], // LATIN CAPITAL LETTER V + 0x57: [676,15,1000,19,981], // LATIN CAPITAL LETTER W + 0x58: [676,0,722,16,699], // LATIN CAPITAL LETTER X + 0x59: [676,0,722,15,699], // LATIN CAPITAL LETTER Y + 0x5A: [676,0,667,28,634], // LATIN CAPITAL LETTER Z + 0x5B: [678,149,333,67,301], // LEFT SQUARE BRACKET + 0x5C: [691,19,278,-25,303], // REVERSE SOLIDUS + 0x5D: [678,149,333,32,266], // RIGHT SQUARE BRACKET + 0x5E: [676,-311,581,73,509], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [713,-528,333,8,246], // GRAVE ACCENT + 0x61: [473,14,500,25,488], // LATIN SMALL LETTER A + 0x62: [676,14,556,17,521], // LATIN SMALL LETTER B + 0x63: [473,14,444,25,430], // LATIN SMALL LETTER C + 0x64: [676,14,556,25,534], // LATIN SMALL LETTER D + 0x65: [473,14,444,25,427], // LATIN SMALL LETTER E + 0x66: [691,0,333,14,389], // LATIN SMALL LETTER F + 0x67: [473,206,500,28,483], // LATIN SMALL LETTER G + 0x68: [676,0,556,15,534], // LATIN SMALL LETTER H + 0x69: [691,0,278,15,256], // LATIN SMALL LETTER I + 0x6A: [691,203,333,-57,263], // LATIN SMALL LETTER J + 0x6B: [676,0,556,22,543], // LATIN SMALL LETTER K + 0x6C: [676,0,278,15,256], // LATIN SMALL LETTER L + 0x6D: [473,0,833,15,814], // LATIN SMALL LETTER M + 0x6E: [473,0,556,21,539], // LATIN SMALL LETTER N + 0x6F: [473,14,500,25,476], // LATIN SMALL LETTER O + 0x70: [473,205,556,19,524], // LATIN SMALL LETTER P + 0x71: [473,205,556,34,536], // LATIN SMALL LETTER Q + 0x72: [473,0,444,28,434], // LATIN SMALL LETTER R + 0x73: [473,14,389,25,361], // LATIN SMALL LETTER S + 0x74: [630,12,333,19,332], // LATIN SMALL LETTER T + 0x75: [461,14,556,16,538], // LATIN SMALL LETTER U + 0x76: [461,14,500,21,485], // LATIN SMALL LETTER V + 0x77: [461,14,722,23,707], // LATIN SMALL LETTER W + 0x78: [461,0,500,12,484], // LATIN SMALL LETTER X + 0x79: [461,205,500,16,482], // LATIN SMALL LETTER Y + 0x7A: [461,0,444,21,420], // LATIN SMALL LETTER Z + 0x7B: [698,175,394,22,340], // LEFT CURLY BRACKET + 0x7C: [691,19,220,66,154], // VERTICAL LINE + 0x7D: [698,175,394,54,372], // RIGHT CURLY BRACKET + 0x7E: [333,-173,520,29,491], // TILDE + 0x393: [676,0,620,16,593], // GREEK CAPITAL LETTER GAMMA + 0x394: [690,0,722,33,673], // GREEK CAPITAL LETTER DELTA + 0x398: [692,18,778,35,743], // GREEK CAPITAL LETTER THETA + 0x39B: [690,0,707,9,674], // GREEK CAPITAL LETTER LAMDA + 0x39E: [676,0,647,40,607], // GREEK CAPITAL LETTER XI + 0x3A0: [676,0,778,21,759], // GREEK CAPITAL LETTER PI + 0x3A3: [676,0,671,28,641], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [692,0,703,7,693], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [676,0,836,18,818], // GREEK CAPITAL LETTER PHI + 0x3A8: [692,0,808,15,797], // GREEK CAPITAL LETTER PSI + 0x3A9: [692,0,768,28,740] // GREEK CAPITAL LETTER OMEGA +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js new file mode 100644 index 0000000..e3782ac --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D400: [690,0,722,9,689], // MATHEMATICAL BOLD CAPITAL A + 0x1D401: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL B + 0x1D402: [691,19,722,49,687], // MATHEMATICAL BOLD CAPITAL C + 0x1D403: [676,0,722,14,690], // MATHEMATICAL BOLD CAPITAL D + 0x1D404: [676,0,667,16,641], // MATHEMATICAL BOLD CAPITAL E + 0x1D405: [676,0,611,16,583], // MATHEMATICAL BOLD CAPITAL F + 0x1D406: [691,19,778,37,755], // MATHEMATICAL BOLD CAPITAL G + 0x1D407: [676,0,778,21,759], // MATHEMATICAL BOLD CAPITAL H + 0x1D408: [676,0,389,20,370], // MATHEMATICAL BOLD CAPITAL I + 0x1D409: [676,96,500,3,478], // MATHEMATICAL BOLD CAPITAL J + 0x1D40A: [676,0,778,30,769], // MATHEMATICAL BOLD CAPITAL K + 0x1D40B: [676,0,667,19,638], // MATHEMATICAL BOLD CAPITAL L + 0x1D40C: [676,0,944,14,921], // MATHEMATICAL BOLD CAPITAL M + 0x1D40D: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL N + 0x1D40E: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL O + 0x1D40F: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL P + 0x1D410: [691,176,778,35,743], // MATHEMATICAL BOLD CAPITAL Q + 0x1D411: [676,0,722,26,716], // MATHEMATICAL BOLD CAPITAL R + 0x1D412: [692,19,556,35,513], // MATHEMATICAL BOLD CAPITAL S + 0x1D413: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL T + 0x1D414: [676,19,722,16,701], // MATHEMATICAL BOLD CAPITAL U + 0x1D415: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL V + 0x1D416: [676,15,1000,19,981], // MATHEMATICAL BOLD CAPITAL W + 0x1D417: [676,0,722,16,699], // MATHEMATICAL BOLD CAPITAL X + 0x1D418: [676,0,722,15,699], // MATHEMATICAL BOLD CAPITAL Y + 0x1D419: [676,0,667,28,634], // MATHEMATICAL BOLD CAPITAL Z + 0x1D41A: [473,14,500,25,488], // MATHEMATICAL BOLD SMALL A + 0x1D41B: [676,14,556,17,521], // MATHEMATICAL BOLD SMALL B + 0x1D41C: [473,14,444,25,430], // MATHEMATICAL BOLD SMALL C + 0x1D41D: [676,14,556,25,534], // MATHEMATICAL BOLD SMALL D + 0x1D41E: [473,14,444,25,427], // MATHEMATICAL BOLD SMALL E + 0x1D41F: [691,0,333,14,389], // MATHEMATICAL BOLD SMALL F + 0x1D420: [473,206,500,28,483], // MATHEMATICAL BOLD SMALL G + 0x1D421: [676,0,556,15,534], // MATHEMATICAL BOLD SMALL H + 0x1D422: [691,0,278,15,256], // MATHEMATICAL BOLD SMALL I + 0x1D423: [691,203,333,-57,263], // MATHEMATICAL BOLD SMALL J + 0x1D424: [676,0,556,22,543], // MATHEMATICAL BOLD SMALL K + 0x1D425: [676,0,278,15,256], // MATHEMATICAL BOLD SMALL L + 0x1D426: [473,0,833,15,814], // MATHEMATICAL BOLD SMALL M + 0x1D427: [473,0,556,21,539], // MATHEMATICAL BOLD SMALL N + 0x1D428: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL O + 0x1D429: [473,205,556,19,524], // MATHEMATICAL BOLD SMALL P + 0x1D42A: [473,205,556,34,536], // MATHEMATICAL BOLD SMALL Q + 0x1D42B: [473,0,444,28,434], // MATHEMATICAL BOLD SMALL R + 0x1D42C: [473,14,389,25,361], // MATHEMATICAL BOLD SMALL S + 0x1D42D: [630,12,333,19,332], // MATHEMATICAL BOLD SMALL T + 0x1D42E: [461,14,556,16,538], // MATHEMATICAL BOLD SMALL U + 0x1D42F: [461,14,500,21,485], // MATHEMATICAL BOLD SMALL V + 0x1D430: [461,14,722,23,707], // MATHEMATICAL BOLD SMALL W + 0x1D431: [461,0,500,12,484], // MATHEMATICAL BOLD SMALL X + 0x1D432: [461,205,500,16,482], // MATHEMATICAL BOLD SMALL Y + 0x1D433: [461,0,444,21,420], // MATHEMATICAL BOLD SMALL Z + 0x1D7CE: [688,13,500,24,476], // MATHEMATICAL BOLD DIGIT ZERO + 0x1D7CF: [688,0,500,65,441], // MATHEMATICAL BOLD DIGIT ONE + 0x1D7D0: [688,0,500,17,478], // MATHEMATICAL BOLD DIGIT TWO + 0x1D7D1: [688,14,500,16,468], // MATHEMATICAL BOLD DIGIT THREE + 0x1D7D2: [688,0,500,19,476], // MATHEMATICAL BOLD DIGIT FOUR + 0x1D7D3: [676,8,500,22,470], // MATHEMATICAL BOLD DIGIT FIVE + 0x1D7D4: [688,13,500,28,475], // MATHEMATICAL BOLD DIGIT SIX + 0x1D7D5: [676,0,500,17,477], // MATHEMATICAL BOLD DIGIT SEVEN + 0x1D7D6: [688,13,500,28,472], // MATHEMATICAL BOLD DIGIT EIGHT + 0x1D7D7: [688,13,500,26,473] // MATHEMATICAL BOLD DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js new file mode 100644 index 0000000..2930eba --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js @@ -0,0 +1,260 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2200: [676,0,599,5,594], // FOR ALL + 0x2201: [785,29,539,63,476], // COMPLEMENT + 0x2202: [686,10,559,44,559], // PARTIAL DIFFERENTIAL + 0x2203: [676,0,599,76,523], // THERE EXISTS + 0x2204: [803,127,599,76,523], // THERE DOES NOT EXIST + 0x2205: [594,90,787,50,737], // EMPTY SET + 0x2206: [676,0,681,23,658], // INCREMENT + 0x2207: [676,0,681,23,658], // NABLA + 0x2208: [547,13,750,82,668], // ELEMENT OF + 0x2209: [680,146,750,82,668], // stix-negated (vert) set membership, variant + 0x220A: [499,-35,500,60,440], // SMALL ELEMENT OF + 0x220B: [547,13,750,82,668], // CONTAINS AS MEMBER + 0x220C: [680,146,750,82,668], // stix-negated (vert) contains + 0x220D: [499,-35,500,60,440], // SMALL CONTAINS AS MEMBER + 0x220F: [763,259,1000,37,963], // N-ARY PRODUCT + 0x2210: [763,259,982,28,954], // N-ARY COPRODUCT + 0x2211: [763,259,914,40,873], // N-ARY SUMMATION + 0x2212: [297,-209,750,66,685], // MINUS SIGN + 0x2213: [657,12,770,65,685], // MINUS-OR-PLUS SIGN + 0x2214: [793,57,750,65,685], // DOT PLUS + 0x2215: [732,193,584,78,506], // DIVISION SLASH + 0x2216: [411,-93,452,25,427], // SET MINUS + 0x2217: [502,-34,585,82,503], // ASTERISK OPERATOR + 0x2218: [409,-95,394,40,354], // RING OPERATOR + 0x2219: [473,-59,584,85,499], // BULLET OPERATOR + 0x221A: [946,259,965,130,1016], // SQUARE ROOT + 0x221D: [450,0,772,80,692], // PROPORTIONAL TO + 0x221E: [450,0,964,80,884], // INFINITY + 0x221F: [584,0,685,50,634], // RIGHT ANGLE + 0x2220: [569,0,792,50,708], // ANGLE + 0x2221: [569,74,792,50,708], // MEASURED ANGLE + 0x2222: [534,26,695,27,667], // SPHERICAL ANGLE + 0x2223: [690,189,288,100,188], // DIVIDES + 0x2224: [690,189,411,23,388], // DOES NOT DIVIDE + 0x2225: [690,189,487,100,387], // PARALLEL TO + 0x2226: [690,189,617,23,594], // NOT PARALLEL TO + 0x2227: [536,28,640,52,588], // LOGICAL AND + 0x2228: [536,28,640,52,588], // LOGICAL OR + 0x2229: [541,33,650,66,584], // stix-intersection, serifs + 0x222A: [541,33,650,66,584], // stix-union, serifs + 0x222B: [824,320,553,32,733], // INTEGRAL + 0x222C: [824,320,863,32,1043], // DOUBLE INTEGRAL + 0x222D: [824,320,1174,32,1354], // TRIPLE INTEGRAL + 0x222E: [824,320,591,30,731], // CONTOUR INTEGRAL + 0x222F: [824,320,903,32,1043], // SURFACE INTEGRAL + 0x2230: [824,320,1214,32,1354], // VOLUME INTEGRAL + 0x2231: [824,320,593,32,733], // CLOCKWISE INTEGRAL + 0x2232: [824,320,593,32,733], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [824,320,593,32,733], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2234: [575,41,750,66,685], // THEREFORE + 0x2235: [575,41,750,66,685], // BECAUSE + 0x2236: [575,41,554,190,364], // RATIO + 0x2237: [575,41,750,68,683], // PROPORTION + 0x2238: [543,-209,750,66,685], // DOT MINUS + 0x2239: [543,37,750,66,686], // EXCESS + 0x223A: [575,41,750,66,685], // GEOMETRIC PROPORTION + 0x223B: [565,59,750,67,682], // HOMOTHETIC + 0x223C: [374,-132,750,67,682], // TILDE OPERATOR + 0x223D: [374,-132,750,67,682], // REVERSED TILDE + 0x223E: [419,-85,750,68,683], // stix-most positive + 0x223F: [484,-67,750,66,684], // stix-reverse sine wave + 0x2240: [575,40,348,53,295], // WREATH PRODUCT + 0x2241: [444,-62,750,67,682], // stix-not, vert, similar + 0x2242: [463,-45,750,68,683], // MINUS TILDE + 0x2243: [463,-45,750,68,683], // ASYMPTOTICALLY EQUAL TO + 0x2244: [530,54,750,68,683], // stix-not (vert) similar or equal + 0x2245: [568,60,750,68,683], // APPROXIMATELY EQUAL TO + 0x2246: [568,150,750,68,683], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO + 0x2247: [642,152,750,68,683], // stix-not (vert) similar over two-line equals + 0x2248: [508,-26,750,68,683], // ALMOST EQUAL TO + 0x2249: [583,48,750,68,683], // stix-not, vert, approximate + 0x224A: [568,75,750,68,683], // ALMOST EQUAL OR EQUAL TO + 0x224B: [613,109,750,68,683], // TRIPLE TILDE + 0x224C: [568,60,750,68,683], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) + 0x224D: [518,13,750,68,683], // EQUIVALENT TO + 0x224E: [484,-22,750,68,683], // GEOMETRICALLY EQUIVALENT TO + 0x224F: [484,-107,750,68,683], // DIFFERENCE BETWEEN + 0x2250: [667,-107,750,68,682], // APPROACHES THE LIMIT + 0x2251: [667,161,750,68,682], // GEOMETRICALLY EQUAL TO + 0x2252: [667,161,750,68,682], // APPROXIMATELY EQUAL TO OR THE IMAGE OF + 0x2253: [667,161,750,68,682], // IMAGE OF OR APPROXIMATELY EQUAL TO + 0x2254: [483,-50,932,68,864], // COLON EQUALS + 0x2255: [483,-50,932,68,864], // EQUALS COLON + 0x2256: [471,-63,750,68,682], // RING IN EQUAL TO + 0x2257: [809,-107,750,68,682], // RING EQUAL TO + 0x2258: [761,-107,750,68,682], // CORRESPONDS TO + 0x2259: [836,-107,750,68,682], // ESTIMATES + 0x225A: [836,-107,750,68,682], // EQUIANGULAR TO + 0x225B: [841,-107,750,68,682], // STAR EQUALS + 0x225C: [844,-107,750,68,682], // DELTA EQUAL TO + 0x225D: [838,-107,750,55,735], // EQUAL TO BY DEFINITION + 0x225E: [721,-107,750,68,682], // MEASURED BY + 0x225F: [880,-107,750,68,682], // QUESTIONED EQUAL TO + 0x2260: [662,156,750,68,682], // stix-not (vert) equals + 0x2261: [507,-27,750,68,682], // IDENTICAL TO + 0x2262: [688,156,750,68,682], // stix-not (vert) three-line equals + 0x2263: [592,57,750,68,682], // STRICTLY EQUIVALENT TO + 0x2264: [627,121,750,80,670], // LESS-THAN OR EQUAL TO + 0x2265: [627,120,750,80,670], // GREATER-THAN OR EQUAL TO + 0x2266: [729,222,750,80,670], // LESS-THAN OVER EQUAL TO + 0x2267: [729,222,750,80,670], // GREATER-THAN OVER EQUAL TO + 0x2268: [729,294,750,80,670], // stix-less, vert, not double equals + 0x2269: [729,294,750,80,670], // stix-gt, vert, not double equals + 0x226A: [534,24,1000,38,961], // MUCH LESS-THAN + 0x226B: [534,24,1000,38,961], // MUCH GREATER-THAN + 0x226C: [732,193,417,46,371], // BETWEEN + 0x226D: [591,87,750,68,683], // stix-not (vert) asymptotically equal to + 0x226E: [625,115,750,80,670], // stix-not, vert, less-than + 0x226F: [625,115,750,80,670], // stix-not, vert, greater-than + 0x2270: [717,235,750,80,670], // stix-not, vert, less-than-or-equal + 0x2271: [717,235,750,80,670], // stix-not, vert, greater-than-or-equal + 0x2272: [690,182,750,67,682], // stix-less-than or (contour) similar + 0x2273: [690,182,750,67,682], // stix-greater-than or (contour) similar + 0x2274: [780,282,750,67,682], // stix-not, vert, less, similar + 0x2275: [780,282,750,67,682], // stix-not, vert, greater, similar + 0x2276: [734,226,750,80,670], // LESS-THAN OR GREATER-THAN + 0x2277: [734,226,750,80,670], // GREATER-THAN OR LESS-THAN + 0x2278: [824,316,750,80,670], // stix-not, vert, less, greater + 0x2279: [824,316,750,80,670], // stix-not, vert, greater, less + 0x227A: [531,23,750,80,670], // PRECEDES + 0x227B: [531,23,750,80,670], // SUCCEEDS + 0x227C: [645,138,750,80,670], // PRECEDES OR EQUAL TO + 0x227D: [645,138,750,80,670], // SUCCEEDS OR EQUAL TO + 0x227E: [676,169,750,67,682], // PRECEDES OR EQUIVALENT TO + 0x227F: [676,169,750,67,682], // SUCCEEDS OR EQUIVALENT TO + 0x2280: [625,115,750,80,670], // DOES NOT PRECEDE + 0x2281: [625,115,750,80,670], // stix-not (vert) succeeds + 0x2282: [547,13,750,82,668], // SUBSET OF + 0x2283: [547,13,750,82,668], // SUPERSET OF + 0x2284: [680,146,750,82,668], // stix-not subset [vertical negation] + 0x2285: [680,146,750,82,668], // stix-not superset [vertical negation] + 0x2286: [647,101,750,82,668], // SUBSET OF OR EQUAL TO + 0x2287: [647,101,750,82,668], // SUPERSET OF OR EQUAL TO + 0x2288: [747,201,750,82,668], // stix-/nsubseteq N: not (vert) subset, equals + 0x2289: [747,201,750,82,668], // stix-/nsupseteq N: not (vert) superset, equals + 0x228A: [734,200,750,82,668], // stix-subset, not equals, variant + 0x228B: [734,200,750,82,668], // stix-superset, not equals, variant + 0x228C: [541,33,650,66,584], // MULTISET + 0x228D: [541,33,650,66,584], // MULTISET MULTIPLICATION + 0x228E: [541,33,650,66,584], // MULTISET UNION + 0x228F: [532,27,750,87,663], // SQUARE IMAGE OF + 0x2290: [532,27,750,87,663], // SQUARE ORIGINAL OF + 0x2291: [644,93,750,87,663], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [644,93,750,87,663], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [541,33,650,66,584], // stix-square intersection, serifs + 0x2294: [541,33,650,66,584], // stix-square union, serifs + 0x2295: [634,130,864,50,814], // stix-circled plus (with rim) + 0x2296: [634,130,864,50,814], // CIRCLED MINUS + 0x2297: [634,130,864,50,814], // stix-circled times (with rim) + 0x2298: [634,130,864,50,814], // CIRCLED DIVISION SLASH + 0x2299: [594,90,784,50,734], // CIRCLED DOT OPERATOR + 0x229A: [634,130,842,39,803], // CIRCLED RING OPERATOR + 0x229B: [634,130,864,50,814], // CIRCLED ASTERISK OPERATOR + 0x229C: [634,130,864,50,814], // stix-two horizontal bars in circle + 0x229D: [634,130,864,50,814], // CIRCLED DASH + 0x229E: [661,158,910,45,865], // SQUARED PLUS + 0x229F: [661,158,910,45,865], // SQUARED MINUS + 0x22A0: [661,158,910,45,865], // SQUARED TIMES + 0x22A1: [661,158,910,45,865], // SQUARED DOT OPERATOR + 0x22A2: [676,0,750,91,659], // RIGHT TACK + 0x22A3: [676,0,750,91,659], // LEFT TACK + 0x22A4: [676,0,750,91,659], // DOWN TACK + 0x22A5: [676,0,750,91,659], // UP TACK + 0x22A6: [676,0,555,91,464], // ASSERTION + 0x22A7: [676,0,555,91,464], // MODELS + 0x22A8: [676,0,750,91,659], // TRUE + 0x22A9: [676,0,972,91,882], // FORCES + 0x22AA: [676,0,944,91,856], // TRIPLE VERTICAL BAR RIGHT TURNSTILE + 0x22AB: [676,0,944,91,856], // DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE + 0x22AC: [676,0,913,21,822], // DOES NOT PROVE + 0x22AD: [676,0,912,21,822], // NOT TRUE + 0x22AE: [676,0,1096,21,1024], // DOES NOT FORCE + 0x22AF: [676,0,1104,21,1016], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE + 0x22B0: [543,38,750,98,652], // PRECEDES UNDER RELATION + 0x22B1: [543,38,750,98,652], // SUCCEEDS UNDER RELATION + 0x22B2: [534,24,750,81,669], // NORMAL SUBGROUP OF + 0x22B3: [534,24,750,81,669], // CONTAINS AS NORMAL SUBGROUP + 0x22B4: [621,113,750,81,669], // NORMAL SUBGROUP OF OR EQUAL TO + 0x22B5: [621,113,750,81,669], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO + 0x22B6: [436,-96,1216,50,1166], // ORIGINAL OF + 0x22B7: [436,-96,1216,50,1166], // IMAGE OF + 0x22B8: [436,-96,884,50,834], // MULTIMAP + 0x22B9: [563,57,750,65,685], // HERMITIAN CONJUGATE MATRIX + 0x22BA: [461,216,498,74,424], // INTERCALATE + 0x22BB: [536,189,640,52,588], // XOR + 0x22BC: [697,28,640,52,588], // NAND + 0x22BD: [697,28,640,52,588], // NOR + 0x22BE: [630,0,750,60,690], // RIGHT ANGLE WITH ARC + 0x22BF: [662,158,910,45,865], // RIGHT TRIANGLE + 0x22C4: [515,-17,584,43,541], // DIAMOND OPERATOR + 0x22C7: [595,63,750,66,685], // DIVISION TIMES + 0x22C8: [604,72,870,67,803], // BOWTIE + 0x22C9: [604,72,870,57,817], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CA: [604,72,870,53,813], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CB: [604,72,870,97,773], // LEFT SEMIDIRECT PRODUCT + 0x22CC: [604,72,870,97,773], // RIGHT SEMIDIRECT PRODUCT + 0x22CD: [463,-45,750,68,683], // REVERSED TILDE EQUALS + 0x22CE: [536,28,640,41,599], // CURLY LOGICAL OR + 0x22CF: [536,28,640,41,599], // CURLY LOGICAL AND + 0x22D0: [600,67,750,63,687], // DOUBLE SUBSET + 0x22D1: [600,67,750,63,687], // DOUBLE SUPERSET + 0x22D2: [541,33,750,65,685], // DOUBLE INTERSECTION + 0x22D3: [541,33,750,65,685], // DOUBLE UNION + 0x22D4: [643,33,650,66,584], // PITCHFORK + 0x22D5: [690,189,685,48,637], // EQUAL AND PARALLEL TO + 0x22D6: [534,24,750,80,670], // LESS-THAN WITH DOT + 0x22D7: [534,24,750,80,670], // GREATER-THAN WITH DOT + 0x22D8: [534,24,1336,40,1296], // VERY MUCH LESS-THAN + 0x22D9: [534,24,1336,40,1296], // VERY MUCH GREATER-THAN + 0x22DA: [916,408,750,80,670], // stix-less, equal, slanted, greater + 0x22DB: [916,408,750,80,670], // stix-greater, equal, slanted, less + 0x22DC: [627,120,750,80,670], // EQUAL TO OR LESS-THAN + 0x22DD: [627,120,750,80,670], // EQUAL TO OR GREATER-THAN + 0x22DE: [645,138,750,80,670], // EQUAL TO OR PRECEDES + 0x22DF: [645,138,750,80,670], // EQUAL TO OR SUCCEEDS + 0x22E0: [735,199,750,80,670], // stix-not (vert) precedes or contour equals + 0x22E1: [735,199,750,80,670], // stix-not (vert) succeeds or contour equals + 0x22E2: [792,241,750,87,663], // NOT SQUARE IMAGE OF OR EQUAL TO + 0x22E3: [792,241,750,87,663], // NOT SQUARE ORIGINAL OF OR EQUAL TO + 0x22E6: [690,200,750,67,682], // LESS-THAN BUT NOT EQUIVALENT TO + 0x22E7: [690,200,750,67,682], // GREATER-THAN BUT NOT EQUIVALENT TO + 0x22E8: [676,187,750,67,682], // PRECEDES BUT NOT EQUIVALENT TO + 0x22E9: [676,187,750,67,682], // SUCCEEDS BUT NOT EQUIVALENT TO + 0x22EA: [625,115,750,81,669], // NOT NORMAL SUBGROUP OF + 0x22EB: [625,115,750,81,669], // DOES NOT CONTAIN AS NORMAL SUBGROUP + 0x22EC: [711,228,750,81,669], // stix-not, vert, left triangle, equals + 0x22ED: [711,228,750,81,669], // stix-not, vert, right triangle, equals + 0x22EE: [678,174,584,205,375], // VERTICAL ELLIPSIS + 0x22EF: [351,-181,977,62,914], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F0: [579,75,977,162,815], // UP RIGHT DIAGONAL ELLIPSIS + 0x22F1: [579,75,977,162,815], // DOWN RIGHT DIAGONAL ELLIPSIS + 0x22F6: [735,13,750,82,668], // ELEMENT OF WITH OVERBAR + 0x22FD: [735,13,750,82,668] // CONTAINS WITH OVERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js new file mode 100644 index 0000000..04ae647 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathSSBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D5D4: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL A + 0x1D5D5: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL B + 0x1D5D6: [691,19,723,49,688], // MATHEMATICAL SANS-SERIF BOLD CAPITAL C + 0x1D5D7: [676,0,709,80,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL D + 0x1D5D8: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL E + 0x1D5D9: [676,0,582,80,570], // MATHEMATICAL SANS-SERIF BOLD CAPITAL F + 0x1D5DA: [691,19,746,37,671], // MATHEMATICAL SANS-SERIF BOLD CAPITAL G + 0x1D5DB: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL H + 0x1D5DC: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL I + 0x1D5DD: [676,96,481,15,406], // MATHEMATICAL SANS-SERIF BOLD CAPITAL J + 0x1D5DE: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL K + 0x1D5DF: [676,0,603,80,587], // MATHEMATICAL SANS-SERIF BOLD CAPITAL L + 0x1D5E0: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL M + 0x1D5E1: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL N + 0x1D5E2: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL O + 0x1D5E3: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL P + 0x1D5E4: [691,176,779,35,754], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Q + 0x1D5E5: [676,0,670,80,657], // MATHEMATICAL SANS-SERIF BOLD CAPITAL R + 0x1D5E6: [691,19,554,35,511], // MATHEMATICAL SANS-SERIF BOLD CAPITAL S + 0x1D5E7: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL T + 0x1D5E8: [676,19,699,75,624], // MATHEMATICAL SANS-SERIF BOLD CAPITAL U + 0x1D5E9: [676,18,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL V + 0x1D5EA: [676,15,997,30,967], // MATHEMATICAL SANS-SERIF BOLD CAPITAL W + 0x1D5EB: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL X + 0x1D5EC: [676,0,694,20,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Y + 0x1D5ED: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Z + 0x1D5EE: [473,14,489,23,428], // MATHEMATICAL SANS-SERIF BOLD SMALL A + 0x1D5EF: [676,13,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL B + 0x1D5F0: [473,14,462,25,442], // MATHEMATICAL SANS-SERIF BOLD SMALL C + 0x1D5F1: [676,14,518,25,463], // MATHEMATICAL SANS-SERIF BOLD SMALL D + 0x1D5F2: [473,13,452,25,433], // MATHEMATICAL SANS-SERIF BOLD SMALL E + 0x1D5F3: [691,0,340,14,374], // MATHEMATICAL SANS-SERIF BOLD SMALL F + 0x1D5F4: [473,206,504,28,490], // MATHEMATICAL SANS-SERIF BOLD SMALL G + 0x1D5F5: [676,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL H + 0x1D5F6: [688,0,245,50,195], // MATHEMATICAL SANS-SERIF BOLD SMALL I + 0x1D5F7: [688,203,324,-57,269], // MATHEMATICAL SANS-SERIF BOLD SMALL J + 0x1D5F8: [676,0,519,55,506], // MATHEMATICAL SANS-SERIF BOLD SMALL K + 0x1D5F9: [676,0,235,55,180], // MATHEMATICAL SANS-SERIF BOLD SMALL L + 0x1D5FA: [473,0,776,55,721], // MATHEMATICAL SANS-SERIF BOLD SMALL M + 0x1D5FB: [473,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL N + 0x1D5FC: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL O + 0x1D5FD: [473,205,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL P + 0x1D5FE: [473,205,512,25,457], // MATHEMATICAL SANS-SERIF BOLD SMALL Q + 0x1D5FF: [473,0,411,55,406], // MATHEMATICAL SANS-SERIF BOLD SMALL R + 0x1D600: [473,13,385,25,357], // MATHEMATICAL SANS-SERIF BOLD SMALL S + 0x1D601: [630,12,386,7,371], // MATHEMATICAL SANS-SERIF BOLD SMALL T + 0x1D602: [461,15,518,55,463], // MATHEMATICAL SANS-SERIF BOLD SMALL U + 0x1D603: [461,14,462,15,447], // MATHEMATICAL SANS-SERIF BOLD SMALL V + 0x1D604: [461,14,701,17,684], // MATHEMATICAL SANS-SERIF BOLD SMALL W + 0x1D605: [461,0,506,20,486], // MATHEMATICAL SANS-SERIF BOLD SMALL X + 0x1D606: [461,205,472,18,455], // MATHEMATICAL SANS-SERIF BOLD SMALL Y + 0x1D607: [461,0,441,21,417], // MATHEMATICAL SANS-SERIF BOLD SMALL Z + 0x1D7EC: [688,13,500,24,476], // MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO + 0x1D7ED: [688,0,500,82,334], // MATHEMATICAL SANS-SERIF BOLD DIGIT ONE + 0x1D7EE: [688,0,500,20,474], // MATHEMATICAL SANS-SERIF BOLD DIGIT TWO + 0x1D7EF: [688,13,500,18,479], // MATHEMATICAL SANS-SERIF BOLD DIGIT THREE + 0x1D7F0: [688,0,500,19,484], // MATHEMATICAL SANS-SERIF BOLD DIGIT FOUR + 0x1D7F1: [676,13,500,13,483], // MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE + 0x1D7F2: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT SIX + 0x1D7F3: [676,0,500,35,471], // MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN + 0x1D7F4: [688,13,500,28,472], // MATHEMATICAL SANS-SERIF BOLD DIGIT EIGHT + 0x1D7F5: [688,13,500,26,475] // MATHEMATICAL SANS-SERIF BOLD DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MathSSBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js new file mode 100644 index 0000000..e4700e7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x27C8: [547,13,1025,62,943], // REVERSE SOLIDUS PRECEDING SUBSET + 0x27C9: [547,13,1025,62,943], // SUBSET PRECEDING SOLIDUS + 0x27E8: [732,193,445,69,399], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [732,193,445,46,376] // MATHEMATICAL RIGHT ANGLE BRACKET + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscMathSymbolsA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js new file mode 100644 index 0000000..256ad58 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscMathSymbolsB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2980: [705,200,675,105,570], // TRIPLE VERTICAL BAR DELIMITER + 0x29B6: [634,130,864,50,814], // CIRCLED VERTICAL BAR + 0x29B7: [634,130,864,50,814], // CIRCLED PARALLEL + 0x29B8: [634,130,864,50,814], // CIRCLED REVERSE SOLIDUS + 0x29C0: [634,130,864,50,814], // CIRCLED LESS-THAN + 0x29C1: [634,130,864,50,814], // CIRCLED GREATER-THAN + 0x29C4: [661,158,910,45,865], // SQUARED RISING DIAGONAL SLASH + 0x29C5: [661,158,910,45,865], // SQUARED FALLING DIAGONAL SLASH + 0x29C6: [661,158,910,45,865], // SQUARED ASTERISK + 0x29C7: [661,158,910,45,865] // SQUARED SMALL CIRCLE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscMathSymbolsB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js new file mode 100644 index 0000000..c61a8c8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js @@ -0,0 +1,30 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x266D: [740,5,437,86,389], // MUSIC FLAT SIGN + 0x266E: [818,210,490,97,393], // MUSIC NATURAL SIGN + 0x266F: [818,210,490,52,438] // MUSIC SHARP SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js new file mode 100644 index 0000000..e59cd5f --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js @@ -0,0 +1,42 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/MiscTechnical.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2302: [774,0,926,55,871], // HOUSE + 0x2308: [731,193,469,164,459], // LEFT CEILING + 0x2309: [731,193,469,10,305], // RIGHT CEILING + 0x230A: [732,193,469,164,459], // LEFT FLOOR + 0x230B: [732,193,469,10,305], // RIGHT FLOOR + 0x2310: [399,-108,750,65,685], // REVERSED NOT SIGN + 0x2319: [399,-108,750,65,685], // TURNED NOT SIGN + 0x2322: [378,-129,1026,37,990], // stix-small down curve + 0x2323: [378,-129,1026,37,990], // stix-small up curve + 0x2329: [732,193,445,69,399], // LEFT-POINTING ANGLE BRACKET + 0x232A: [732,193,445,46,376], // RIGHT-POINTING ANGLE BRACKET + 0x2336: [751,156,926,85,841], // APL FUNCTIONAL SYMBOL I-BEAM + 0x233D: [694,190,924,80,844], // APL FUNCTIONAL SYMBOL CIRCLE STILE + 0x233F: [732,200,728,55,673], // APL FUNCTIONAL SYMBOL SLASH BAR + 0x23AF: [297,-209,315,0,315] // HORIZONTAL LINE EXTENSION + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/MiscTechnical.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js new file mode 100644 index 0000000..43ac403 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/NumberForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2153: [688,12,750,-7,763], // VULGAR FRACTION ONE THIRD + 0x2154: [688,12,750,28,763], // VULGAR FRACTION TWO THIRDS + 0x2155: [688,12,750,-7,775], // VULGAR FRACTION ONE FIFTH + 0x2156: [688,12,750,28,775], // VULGAR FRACTION TWO FIFTHS + 0x2157: [688,12,750,23,775], // VULGAR FRACTION THREE FIFTHS + 0x2158: [688,12,750,22,775], // VULGAR FRACTION FOUR FIFTHS + 0x2159: [688,12,750,-7,758], // VULGAR FRACTION ONE SIXTH + 0x215A: [688,12,750,49,758], // VULGAR FRACTION FIVE SIXTHS + 0x215B: [688,12,750,-7,775], // VULGAR FRACTION ONE EIGHTH + 0x215C: [688,12,750,23,775], // VULGAR FRACTION THREE EIGHTHS + 0x215D: [688,12,750,49,775], // VULGAR FRACTION FIVE EIGHTHS + 0x215E: [688,12,750,30,775] // VULGAR FRACTION SEVEN EIGHTHS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/NumberForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js new file mode 100644 index 0000000..f2e1c0d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js @@ -0,0 +1,30 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/PhoneticExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x1D00: [475,0,515,9,503], // LATIN LETTER SMALL CAPITAL A + 0x1D07: [461,0,531,20,511], // LATIN LETTER SMALL CAPITAL E + 0x1D1C: [461,19,600,16,584] // LATIN LETTER SMALL CAPITAL U + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/PhoneticExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js new file mode 100644 index 0000000..f0a66d2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js @@ -0,0 +1,87 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2B0: [842,-335,378,6,365], // MODIFIER LETTER SMALL H + 0x2B1: [848,-336,378,7,365], // MODIFIER LETTER SMALL H WITH HOOK + 0x2B2: [868,-179,300,25,273], // MODIFIER LETTER SMALL J + 0x2B3: [699,-335,270,12,266], // MODIFIER LETTER SMALL R + 0x2B4: [690,-326,292,10,264], // MODIFIER LETTER SMALL TURNED R + 0x2B5: [690,-163,319,10,342], // MODIFIER LETTER SMALL TURNED R WITH HOOK + 0x2B6: [684,-345,404,20,397], // MODIFIER LETTER SMALL CAPITAL INVERTED R + 0x2B7: [681,-331,550,23,528], // MODIFIER LETTER SMALL W + 0x2B8: [690,-179,380,16,374], // MODIFIER LETTER SMALL Y + 0x2B9: [684,-421,208,30,216], // MODIFIER LETTER PRIME + 0x2BA: [684,-421,356,19,364], // MODIFIER LETTER DOUBLE PRIME + 0x2BB: [685,-350,333,39,223], // MODIFIER LETTER TURNED COMMA + 0x2BC: [686,-351,333,39,223], // MODIFIER LETTER APOSTROPHE + 0x2BD: [686,-351,250,39,223], // MODIFIER LETTER REVERSED COMMA + 0x2BE: [662,-382,334,65,250], // MODIFIER LETTER RIGHT HALF RING + 0x2BF: [662,-382,334,65,250], // MODIFIER LETTER LEFT HALF RING + 0x2C0: [690,-240,353,30,333], // MODIFIER LETTER GLOTTAL STOP + 0x2C1: [690,-240,353,30,333], // MODIFIER LETTER REVERSED GLOTTAL STOP + 0x2C2: [760,-414,317,30,297], // MODIFIER LETTER LEFT ARROWHEAD + 0x2C3: [760,-414,317,30,297], // MODIFIER LETTER RIGHT ARROWHEAD + 0x2C4: [720,-453,317,-14,332], // MODIFIER LETTER UP ARROWHEAD + 0x2C5: [720,-453,317,-14,332], // MODIFIER LETTER DOWN ARROWHEAD + 0x2C6: [704,-528,333,-2,335], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [704,-528,333,-2,335], // CARON + 0x2C8: [720,-455,279,112,167], // MODIFIER LETTER VERTICAL LINE + 0x2C9: [637,-565,370,20,350], // MODIFIER LETTER MACRON + 0x2CA: [713,-528,266,20,258], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [713,-528,266,20,258], // MODIFIER LETTER GRAVE ACCENT + 0x2CC: [70,195,278,112,167], // MODIFIER LETTER LOW VERTICAL LINE + 0x2CD: [-88,160,370,20,350], // MODIFIER LETTER LOW MACRON + 0x2CE: [-7,192,333,15,253], // MODIFIER LETTER LOW GRAVE ACCENT + 0x2CF: [-7,192,333,80,318], // MODIFIER LETTER LOW ACUTE ACCENT + 0x2D0: [474,-4,333,79,254], // MODIFIER LETTER TRIANGULAR COLON + 0x2D1: [474,-294,333,79,254], // MODIFIER LETTER HALF TRIANGULAR COLON + 0x2D2: [378,-62,333,65,268], // MODIFIER LETTER CENTRED RIGHT HALF RING + 0x2D3: [378,-62,333,65,268], // MODIFIER LETTER CENTRED LEFT HALF RING + 0x2D4: [206,-4,333,51,281], // MODIFIER LETTER UP TACK + 0x2D5: [206,-4,333,51,281], // MODIFIER LETTER DOWN TACK + 0x2D6: [227,-9,334,61,273], // MODIFIER LETTER PLUS SIGN + 0x2D7: [150,-84,334,61,273], // MODIFIER LETTER MINUS SIGN + 0x2D8: [691,-528,333,15,318], // BREVE + 0x2D9: [666,-537,333,102,231], // DOT ABOVE + 0x2DA: [750,-537,333,60,273], // RING ABOVE + 0x2DB: [44,173,333,90,319], // OGONEK + 0x2DC: [674,-547,333,-16,349], // SMALL TILDE + 0x2DD: [713,-528,333,-13,425], // DOUBLE ACUTE ACCENT + 0x2DE: [481,-186,292,0,302], // MODIFIER LETTER RHOTIC HOOK + 0x2DF: [744,-506,260,10,250], // MODIFIER LETTER CROSS ACCENT + 0x2E0: [684,-190,420,10,410], // MODIFIER LETTER SMALL GAMMA + 0x2E1: [842,-335,190,5,186], // MODIFIER LETTER SMALL L + 0x2E2: [695,-320,300,19,278], // MODIFIER LETTER SMALL S + 0x2E3: [690,-335,380,12,376], // MODIFIER LETTER SMALL X + 0x2E4: [855,-335,328,20,323], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP + 0x2E5: [676,0,405,40,368], // MODIFIER LETTER EXTRA-HIGH TONE BAR + 0x2E6: [676,0,405,40,368], // MODIFIER LETTER HIGH TONE BAR + 0x2E7: [676,0,405,40,368], // MODIFIER LETTER MID TONE BAR + 0x2E8: [676,0,405,40,368], // MODIFIER LETTER LOW TONE BAR + 0x2E9: [676,0,405,40,368], // MODIFIER LETTER EXTRA-LOW TONE BAR + 0x2EC: [70,167,314,5,309], // MODIFIER LETTER VOICING + 0x2ED: [720,-528,395,5,390] // MODIFIER LETTER UNASPIRATED + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js new file mode 100644 index 0000000..a8cc0a1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuperAndSubscripts.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x207F: [700,-275,491,15,478] // SUPERSCRIPT LATIN SMALL LETTER N + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SuperAndSubscripts.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js new file mode 100644 index 0000000..8c02211 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js @@ -0,0 +1,84 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Bold/SuppMathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold'], + { + 0x2A0C: [824,320,1484,32,1664], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [824,320,593,32,733], // FINITE PART INTEGRAL + 0x2A0E: [824,320,593,32,733], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [824,320,593,32,733], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [824,320,593,32,733], // CIRCULATION FUNCTION + 0x2A11: [824,320,593,32,733], // ANTICLOCKWISE INTEGRATION + 0x2A12: [824,320,613,32,733], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [824,320,593,32,733], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [824,320,675,32,735], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [824,320,593,32,733], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [824,320,623,32,733], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [824,320,791,32,871], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [824,320,633,32,733], // INTEGRAL WITH TIMES SIGN + 0x2A19: [824,320,653,32,733], // INTEGRAL WITH INTERSECTION + 0x2A1A: [824,320,653,32,733], // INTEGRAL WITH UNION + 0x2A1B: [959,320,557,32,737], // INTEGRAL WITH OVERBAR + 0x2A1C: [824,455,557,32,737], // INTEGRAL WITH UNDERBAR + 0x2A22: [894,57,750,65,685], // PLUS SIGN WITH SMALL CIRCLE ABOVE + 0x2A23: [736,57,750,65,685], // PLUS SIGN WITH CIRCUMFLEX ACCENT ABOVE + 0x2A24: [746,57,750,65,685], // PLUS SIGN WITH TILDE ABOVE + 0x2A25: [563,287,750,65,685], // PLUS SIGN WITH DOT BELOW + 0x2A26: [563,240,750,65,685], // PLUS SIGN WITH TILDE BELOW + 0x2A27: [563,247,780,65,778], // PLUS SIGN WITH SUBSCRIPT TWO + 0x2A2A: [297,37,750,66,685], // MINUS SIGN WITH DOT BELOW + 0x2A2B: [543,37,750,66,685], // MINUS SIGN WITH FALLING DOTS + 0x2A30: [745,33,702,66,636], // MULTIPLICATION SIGN WITH DOT ABOVE + 0x2A31: [538,191,702,66,636], // MULTIPLICATION SIGN WITH UNDERBAR + 0x2A32: [538,59,702,66,636], // SEMIDIRECT PRODUCT WITH BOTTOM CLOSED + 0x2A3F: [676,0,734,27,707], // AMALGAMATION OR COPRODUCT + 0x2A5E: [887,28,640,52,588], // LOGICAL AND WITH DOUBLE OVERBAR + 0x2A63: [536,379,640,52,588], // LOGICAL OR WITH DOUBLE UNDERBAR + 0x2A66: [399,161,750,68,682], // EQUALS SIGN WITH DOT BELOW + 0x2A67: [775,-27,750,68,682], // IDENTICAL WITH DOT ABOVE + 0x2A6A: [565,-132,750,67,682], // TILDE OPERATOR WITH DOT ABOVE + 0x2A6D: [759,60,750,68,683], // CONGRUENT WITH DOT ABOVE + 0x2A6E: [884,-107,750,68,682], // EQUALS WITH ASTERISK + 0x2A6F: [752,-26,750,68,683], // ALMOST EQUAL TO WITH CIRCUMFLEX ACCENT + 0x2A70: [680,176,750,68,683], // APPROXIMATELY EQUAL OR EQUAL TO + 0x2A71: [665,159,750,65,685], // EQUALS SIGN ABOVE PLUS SIGN + 0x2A72: [665,159,750,65,685], // PLUS SIGN ABOVE EQUALS SIGN + 0x2A73: [568,60,750,67,682], // EQUALS SIGN ABOVE TILDE OPERATOR + 0x2A7D: [648,140,750,80,670], // LESS-THAN OR SLANTED EQUAL TO + 0x2A7E: [648,140,750,80,670], // GREATER-THAN OR SLANTED EQUAL TO + 0x2A87: [646,213,750,80,670], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A88: [646,213,750,80,670], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A89: [792,305,750,67,682], // LESS-THAN AND NOT APPROXIMATE + 0x2A8A: [792,305,750,67,682], // GREATER-THAN AND NOT APPROXIMATE + 0x2A95: [648,140,750,80,670], // SLANTED EQUAL TO OR LESS-THAN + 0x2A96: [648,140,750,80,670], // SLANTED EQUAL TO OR GREATER-THAN + 0x2A9D: [689,183,750,67,682], // stix-similar (conforming) or less-than + 0x2A9E: [689,183,750,67,682], // SIMILAR OR GREATER-THAN + 0x2AAF: [619,111,750,80,670], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [619,111,750,80,670], // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN + 0x2ABD: [547,13,750,82,668], // SUBSET WITH DOT + 0x2ABE: [547,13,750,82,668], // SUPERSET WITH DOT + 0x2AC5: [730,222,750,80,670], // SUBSET OF ABOVE EQUALS SIGN + 0x2AC6: [730,222,750,80,670] // SUPERSET OF ABOVE EQUALS SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Bold/SuppMathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js new file mode 100644 index 0000000..194a77d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/AlphaPresentForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0xFB00: [698,205,613,-169,726], // LATIN SMALL LIGATURE FF + 0xFB01: [703,205,556,-188,514], // LATIN SMALL LIGATURE FI + 0xFB02: [704,205,556,-186,553], // LATIN SMALL LIGATURE FL + 0xFB03: [703,205,856,-169,814], // LATIN SMALL LIGATURE FFI + 0xFB04: [704,205,854,-169,851] // LATIN SMALL LIGATURE FFL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/AlphaPresentForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js new file mode 100644 index 0000000..9f5fea7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js @@ -0,0 +1,122 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [684,13,389,67,370], // EXCLAMATION MARK + 0x22: [685,-398,555,136,536], // QUOTATION MARK + 0x23: [700,0,500,-32,532], // NUMBER SIGN + 0x24: [733,100,500,-20,497], // DOLLAR SIGN + 0x25: [706,29,757,80,707], // PERCENT SIGN + 0x26: [682,19,849,76,771], // AMPERSAND + 0x27: [685,-398,278,128,268], // APOSTROPHE + 0x28: [685,179,333,28,344], // LEFT PARENTHESIS + 0x29: [685,179,333,-44,271], // RIGHT PARENTHESIS + 0x2A: [685,-252,500,101,492], // ASTERISK + 0x2B: [506,0,570,33,537], // PLUS SIGN + 0x2C: [134,182,250,-60,144], // COMMA + 0x2D: [282,-166,333,2,271], // HYPHEN-MINUS + 0x2E: [135,13,250,-9,139], // FULL STOP + 0x2F: [685,18,278,-64,342], // SOLIDUS + 0x30: [683,14,500,17,477], // DIGIT ZERO + 0x31: [683,0,500,5,419], // DIGIT ONE + 0x32: [683,0,500,-27,446], // DIGIT TWO + 0x33: [683,13,500,-14,450], // DIGIT THREE + 0x34: [683,0,500,-15,503], // DIGIT FOUR + 0x35: [669,13,500,-11,486], // DIGIT FIVE + 0x36: [679,15,500,23,509], // DIGIT SIX + 0x37: [669,0,500,52,525], // DIGIT SEVEN + 0x38: [683,13,500,3,476], // DIGIT EIGHT + 0x39: [683,10,500,-12,475], // DIGIT NINE + 0x3A: [459,13,333,23,264], // COLON + 0x3B: [459,183,333,-25,264], // SEMICOLON + 0x3C: [518,12,570,31,539], // LESS-THAN SIGN + 0x3D: [399,-107,570,33,537], // EQUALS SIGN + 0x3E: [518,12,570,31,539], // GREATER-THAN SIGN + 0x3F: [684,13,500,79,470], // QUESTION MARK + 0x40: [685,18,939,118,825], // COMMERCIAL AT + 0x41: [683,0,667,-68,593], // LATIN CAPITAL LETTER A + 0x42: [669,0,667,-25,624], // LATIN CAPITAL LETTER B + 0x43: [685,18,667,32,677], // LATIN CAPITAL LETTER C + 0x44: [669,0,722,-46,685], // LATIN CAPITAL LETTER D + 0x45: [669,0,667,-27,653], // LATIN CAPITAL LETTER E + 0x46: [669,0,667,-13,660], // LATIN CAPITAL LETTER F + 0x47: [685,18,722,21,705], // LATIN CAPITAL LETTER G + 0x48: [669,0,778,-24,799], // LATIN CAPITAL LETTER H + 0x49: [669,0,389,-32,406], // LATIN CAPITAL LETTER I + 0x4A: [669,99,500,-46,524], // LATIN CAPITAL LETTER J + 0x4B: [669,0,667,-21,702], // LATIN CAPITAL LETTER K + 0x4C: [669,0,611,-22,590], // LATIN CAPITAL LETTER L + 0x4D: [669,12,889,-29,917], // LATIN CAPITAL LETTER M + 0x4E: [669,15,722,-27,748], // LATIN CAPITAL LETTER N + 0x4F: [685,18,722,27,691], // LATIN CAPITAL LETTER O + 0x50: [669,0,611,-28,613], // LATIN CAPITAL LETTER P + 0x51: [685,208,722,27,691], // LATIN CAPITAL LETTER Q + 0x52: [669,0,667,-28,623], // LATIN CAPITAL LETTER R + 0x53: [685,18,556,2,526], // LATIN CAPITAL LETTER S + 0x54: [669,0,611,49,650], // LATIN CAPITAL LETTER T + 0x55: [669,18,722,67,744], // LATIN CAPITAL LETTER U + 0x56: [669,18,667,66,715], // LATIN CAPITAL LETTER V + 0x57: [669,18,889,64,940], // LATIN CAPITAL LETTER W + 0x58: [669,0,667,-24,694], // LATIN CAPITAL LETTER X + 0x59: [669,0,611,71,659], // LATIN CAPITAL LETTER Y + 0x5A: [669,0,611,-12,589], // LATIN CAPITAL LETTER Z + 0x5B: [674,159,333,-37,362], // LEFT SQUARE BRACKET + 0x5C: [685,18,278,-1,279], // REVERSE SOLIDUS + 0x5D: [674,157,333,-56,343], // RIGHT SQUARE BRACKET + 0x5E: [669,-304,570,67,503], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [697,-516,333,85,297], // GRAVE ACCENT + 0x61: [462,14,500,-21,456], // LATIN SMALL LETTER A + 0x62: [699,13,500,-14,444], // LATIN SMALL LETTER B + 0x63: [462,13,444,-5,392], // LATIN SMALL LETTER C + 0x64: [699,13,500,-21,517], // LATIN SMALL LETTER D + 0x65: [462,13,444,5,398], // LATIN SMALL LETTER E + 0x66: [698,205,333,-169,446], // LATIN SMALL LETTER F + 0x67: [462,203,500,-52,477], // LATIN SMALL LETTER G + 0x68: [699,9,556,-13,498], // LATIN SMALL LETTER H + 0x69: [684,9,278,2,262], // LATIN SMALL LETTER I + 0x6A: [685,207,278,-189,279], // LATIN SMALL LETTER J + 0x6B: [699,8,500,-23,483], // LATIN SMALL LETTER K + 0x6C: [699,9,278,2,290], // LATIN SMALL LETTER L + 0x6D: [462,9,778,-14,723], // LATIN SMALL LETTER M + 0x6E: [462,9,556,-6,494], // LATIN SMALL LETTER N + 0x6F: [462,13,500,-3,441], // LATIN SMALL LETTER O + 0x70: [462,205,500,-120,446], // LATIN SMALL LETTER P + 0x71: [462,205,500,1,471], // LATIN SMALL LETTER Q + 0x72: [462,0,389,-21,389], // LATIN SMALL LETTER R + 0x73: [462,13,389,-19,333], // LATIN SMALL LETTER S + 0x74: [594,9,278,-11,281], // LATIN SMALL LETTER T + 0x75: [462,9,556,15,493], // LATIN SMALL LETTER U + 0x76: [462,13,444,15,401], // LATIN SMALL LETTER V + 0x77: [462,13,667,15,614], // LATIN SMALL LETTER W + 0x78: [462,13,500,-45,469], // LATIN SMALL LETTER X + 0x79: [462,205,444,-94,392], // LATIN SMALL LETTER Y + 0x7A: [449,78,389,-43,368], // LATIN SMALL LETTER Z + 0x7B: [686,187,348,4,436], // LEFT CURLY BRACKET + 0x7C: [685,18,220,66,154], // VERTICAL LINE + 0x7D: [686,187,348,-129,303], // RIGHT CURLY BRACKET + 0x7E: [331,-175,570,54,516] // TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js new file mode 100644 index 0000000..eccb4d0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/BoxDrawing.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL + 0x2502: [910,303,696,312,385], // BOX DRAWINGS LIGHT VERTICAL + 0x250C: [340,303,708,318,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: [910,-267,708,318,720], // BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT + 0x251C: [910,303,708,318,720], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL + 0x2551: [910,303,708,225,484], // BOX DRAWINGS DOUBLE VERTICAL + 0x2552: [433,303,708,318,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x2558: [910,-174,708,318,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT + 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT + 0x255E: [910,303,708,318,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/BoxDrawing.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js new file mode 100644 index 0000000..11dc36d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CombDiactForSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x20DD: [760,254,0,-753,256] // COMBINING ENCLOSING CIRCLE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/CombDiactForSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js new file mode 100644 index 0000000..f800445 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/ControlPictures.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2423: [31,120,500,40,460] // stix-round space indicator + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/ControlPictures.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js new file mode 100644 index 0000000..83b8262 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/CurrencySymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x20A3: [669,0,668,-13,661], // FRENCH FRANC SIGN + 0x20A4: [683,12,500,-32,510], // LIRA SIGN + 0x20A7: [669,13,1229,-28,1173], // PESETA SIGN + 0x20AC: [681,17,562,34,546] // EURO SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/CurrencySymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js new file mode 100644 index 0000000..7865cea --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js @@ -0,0 +1,129 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Cyrillic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x401: [905,0,667,-35,645], // CYRILLIC CAPITAL LETTER IO + 0x402: [669,205,789,80,737], // CYRILLIC CAPITAL LETTER DJE + 0x403: [947,0,604,-32,658], // CYRILLIC CAPITAL LETTER GJE + 0x404: [685,18,657,44,689], // CYRILLIC CAPITAL LETTER UKRAINIAN IE + 0x405: [685,18,556,-22,502], // CYRILLIC CAPITAL LETTER DZE + 0x406: [669,0,389,-32,406], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I + 0x407: [905,0,389,-35,477], // CYRILLIC CAPITAL LETTER YI + 0x408: [669,99,500,-8,562], // CYRILLIC CAPITAL LETTER JE + 0x409: [669,18,954,-59,896], // CYRILLIC CAPITAL LETTER LJE + 0x40A: [669,0,982,-32,924], // CYRILLIC CAPITAL LETTER NJE + 0x40B: [669,0,830,71,757], // CYRILLIC CAPITAL LETTER TSHE + 0x40C: [947,0,678,-35,697], // CYRILLIC CAPITAL LETTER KJE + 0x40E: [951,18,666,99,712], // CYRILLIC CAPITAL LETTER SHORT U + 0x40F: [669,184,778,-33,791], // CYRILLIC CAPITAL LETTER DZHE + 0x410: [683,0,667,-57,604], // CYRILLIC CAPITAL LETTER A + 0x411: [669,0,635,-18,629], // CYRILLIC CAPITAL LETTER BE + 0x412: [669,0,654,-25,624], // CYRILLIC CAPITAL LETTER VE + 0x413: [669,0,604,-32,658], // CYRILLIC CAPITAL LETTER GHE + 0x414: [669,184,696,-115,718], // CYRILLIC CAPITAL LETTER DE + 0x415: [669,0,667,-35,645], // CYRILLIC CAPITAL LETTER IE + 0x416: [678,0,927,-63,969], // CYRILLIC CAPITAL LETTER ZHE + 0x417: [686,18,561,-10,549], // CYRILLIC CAPITAL LETTER ZE + 0x418: [669,0,768,-33,790], // CYRILLIC CAPITAL LETTER I + 0x419: [948,0,768,-33,790], // CYRILLIC CAPITAL LETTER SHORT I + 0x41A: [678,0,678,-35,697], // CYRILLIC CAPITAL LETTER KA + 0x41B: [669,18,742,-59,764], // CYRILLIC CAPITAL LETTER EL + 0x41C: [669,12,890,-34,912], // CYRILLIC CAPITAL LETTER EM + 0x41D: [669,0,769,-32,791], // CYRILLIC CAPITAL LETTER EN + 0x41E: [685,18,722,53,717], // CYRILLIC CAPITAL LETTER O + 0x41F: [669,0,767,-35,789], // CYRILLIC CAPITAL LETTER PE + 0x420: [669,0,590,-30,611], // CYRILLIC CAPITAL LETTER ER + 0x421: [685,18,667,65,710], // CYRILLIC CAPITAL LETTER ES + 0x422: [669,0,611,80,681], // CYRILLIC CAPITAL LETTER TE + 0x423: [669,18,666,99,712], // CYRILLIC CAPITAL LETTER U + 0x424: [669,0,833,72,816], // CYRILLIC CAPITAL LETTER EF + 0x425: [669,0,607,-61,657], // CYRILLIC CAPITAL LETTER HA + 0x426: [669,184,770,-32,792], // CYRILLIC CAPITAL LETTER TSE + 0x427: [669,0,758,120,780], // CYRILLIC CAPITAL LETTER CHE + 0x428: [669,0,960,-33,982], // CYRILLIC CAPITAL LETTER SHA + 0x429: [669,184,960,-33,982], // CYRILLIC CAPITAL LETTER SHCHA + 0x42A: [669,0,780,107,722], // CYRILLIC CAPITAL LETTER HARD SIGN + 0x42B: [669,0,985,-19,1007], // CYRILLIC CAPITAL LETTER YERU + 0x42C: [669,0,636,-19,578], // CYRILLIC CAPITAL LETTER SOFT SIGN + 0x42D: [685,18,671,4,648], // CYRILLIC CAPITAL LETTER E + 0x42E: [685,18,905,-38,871], // CYRILLIC CAPITAL LETTER YU + 0x42F: [669,0,710,-65,732], // CYRILLIC CAPITAL LETTER YA + 0x430: [462,14,527,20,497], // CYRILLIC SMALL LETTER A + 0x431: [685,13,499,32,570], // CYRILLIC SMALL LETTER BE + 0x432: [462,13,482,25,458], // CYRILLIC SMALL LETTER VE + 0x433: [461,14,368,-8,371], // CYRILLIC SMALL LETTER GHE + 0x434: [695,13,496,22,466], // CYRILLIC SMALL LETTER DE + 0x435: [462,13,431,22,415], // CYRILLIC SMALL LETTER IE + 0x436: [462,13,898,-4,890], // CYRILLIC SMALL LETTER ZHE + 0x437: [462,13,400,-11,378], // CYRILLIC SMALL LETTER ZE + 0x438: [462,9,542,34,512], // CYRILLIC SMALL LETTER I + 0x439: [697,9,542,34,514], // CYRILLIC SMALL LETTER SHORT I + 0x43A: [461,8,522,12,527], // CYRILLIC SMALL LETTER KA + 0x43B: [462,11,507,-48,477], // CYRILLIC SMALL LETTER EL + 0x43C: [449,11,667,-48,637], // CYRILLIC SMALL LETTER EM + 0x43D: [462,9,543,13,513], // CYRILLIC SMALL LETTER EN + 0x43E: [462,13,500,24,468], // CYRILLIC SMALL LETTER O + 0x43F: [462,9,543,13,513], // CYRILLIC SMALL LETTER PE + 0x440: [462,205,497,-96,470], // CYRILLIC SMALL LETTER ER + 0x441: [462,13,435,26,423], // CYRILLIC SMALL LETTER ES + 0x442: [462,9,777,10,747], // CYRILLIC SMALL LETTER TE + 0x443: [462,205,447,-94,422], // CYRILLIC SMALL LETTER U + 0x444: [699,205,750,28,717], // CYRILLIC SMALL LETTER EF + 0x445: [462,13,456,-38,511], // CYRILLIC SMALL LETTER HA + 0x446: [462,179,542,34,512], // CYRILLIC SMALL LETTER TSE + 0x447: [462,9,531,48,501], // CYRILLIC SMALL LETTER CHE + 0x448: [462,9,800,36,770], // CYRILLIC SMALL LETTER SHA + 0x449: [462,179,800,36,770], // CYRILLIC SMALL LETTER SHCHA + 0x44A: [462,13,594,29,556], // CYRILLIC SMALL LETTER HARD SIGN + 0x44B: [462,13,754,43,724], // CYRILLIC SMALL LETTER YERU + 0x44C: [462,13,491,43,453], // CYRILLIC SMALL LETTER SOFT SIGN + 0x44D: [462,13,444,-12,405], // CYRILLIC SMALL LETTER E + 0x44E: [462,13,740,12,710], // CYRILLIC SMALL LETTER YU + 0x44F: [449,11,538,2,508], // CYRILLIC SMALL LETTER YA + 0x451: [655,13,434,22,487], // CYRILLIC SMALL LETTER IO + 0x452: [699,205,523,12,490], // CYRILLIC SMALL LETTER DJE + 0x453: [697,14,368,-8,456], // CYRILLIC SMALL LETTER GJE + 0x454: [462,13,415,22,450], // CYRILLIC SMALL LETTER UKRAINIAN IE + 0x455: [462,13,389,0,352], // CYRILLIC SMALL LETTER DZE + 0x456: [684,9,278,20,280], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I + 0x457: [655,9,278,22,382], // CYRILLIC SMALL LETTER YI + 0x458: [685,207,278,-161,307], // CYRILLIC SMALL LETTER JE + 0x459: [462,13,694,-48,656], // CYRILLIC SMALL LETTER LJE + 0x45A: [462,13,733,12,695], // CYRILLIC SMALL LETTER NJE + 0x45B: [699,9,556,12,515], // CYRILLIC SMALL LETTER TSHE + 0x45C: [697,8,522,12,527], // CYRILLIC SMALL LETTER KJE + 0x45E: [697,205,447,-94,436], // CYRILLIC SMALL LETTER SHORT U + 0x45F: [462,179,538,30,508], // CYRILLIC SMALL LETTER DZHE + 0x462: [669,0,761,62,707], // CYRILLIC CAPITAL LETTER YAT + 0x463: [699,13,569,20,531], // CYRILLIC SMALL LETTER YAT + 0x46A: [669,0,978,-22,918], // CYRILLIC CAPITAL LETTER BIG YUS + 0x46B: [449,13,844,-4,825], // CYRILLIC SMALL LETTER BIG YUS + 0x472: [685,18,722,53,717], // CYRILLIC CAPITAL LETTER FITA + 0x473: [462,13,500,24,468], // CYRILLIC SMALL LETTER FITA + 0x474: [678,18,667,66,750], // CYRILLIC CAPITAL LETTER IZHITSA + 0x475: [462,13,487,15,534], // CYRILLIC SMALL LETTER IZHITSA + 0x490: [834,0,539,-32,641], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN + 0x491: [590,9,360,31,457] // CYRILLIC SMALL LETTER GHE WITH UPTURN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Cyrillic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js new file mode 100644 index 0000000..83bd01b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/EnclosedAlphanum.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2460: [690,19,695,0,695], // CIRCLED DIGIT ONE + 0x2461: [690,19,695,0,695], // CIRCLED DIGIT TWO + 0x2462: [690,19,695,0,695], // CIRCLED DIGIT THREE + 0x2463: [690,19,695,0,695], // CIRCLED DIGIT FOUR + 0x2464: [690,19,695,0,695], // CIRCLED DIGIT FIVE + 0x2465: [690,19,695,0,695], // CIRCLED DIGIT SIX + 0x2466: [690,19,695,0,695], // CIRCLED DIGIT SEVEN + 0x2467: [690,19,695,0,695], // CIRCLED DIGIT EIGHT + 0x2468: [690,19,695,0,695], // CIRCLED DIGIT NINE + 0x24B6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER A + 0x24B7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER B + 0x24B8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER C + 0x24B9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER D + 0x24BA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER E + 0x24BB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER F + 0x24BC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER G + 0x24BD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER H + 0x24BE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER I + 0x24BF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER J + 0x24C0: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER K + 0x24C1: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER L + 0x24C2: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER M + 0x24C3: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER N + 0x24C4: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER O + 0x24C5: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER P + 0x24C6: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Q + 0x24C7: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER R + 0x24C8: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER S + 0x24C9: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER T + 0x24CA: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER U + 0x24CB: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER V + 0x24CC: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER W + 0x24CD: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER X + 0x24CE: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Y + 0x24CF: [690,19,695,0,695], // CIRCLED LATIN CAPITAL LETTER Z + 0x24D0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER A + 0x24D1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER B + 0x24D2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER C + 0x24D3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER D + 0x24D4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER E + 0x24D5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER F + 0x24D6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER G + 0x24D7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER H + 0x24D8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER I + 0x24D9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER J + 0x24DA: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER K + 0x24DB: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER L + 0x24DC: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER M + 0x24DD: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER N + 0x24DE: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER O + 0x24DF: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER P + 0x24E0: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Q + 0x24E1: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER R + 0x24E2: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER S + 0x24E3: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER T + 0x24E4: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER U + 0x24E5: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER V + 0x24E6: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER W + 0x24E7: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER X + 0x24E8: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Y + 0x24E9: [690,19,695,0,695], // CIRCLED LATIN SMALL LETTER Z + 0x24EA: [690,19,695,0,695] // CIRCLED DIGIT ZERO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/EnclosedAlphanum.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js new file mode 100644 index 0000000..1deda25 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js @@ -0,0 +1,50 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2010: [282,-166,333,-4,273], // HYPHEN + 0x2011: [282,-166,333,-4,273], // NON-BREAKING HYPHEN + 0x2012: [282,-166,500,-40,477], // FIGURE DASH + 0x2013: [269,-178,500,-40,477], // EN DASH + 0x2014: [269,-178,1000,-40,977], // EM DASH + 0x2018: [685,-369,333,128,332], // LEFT SINGLE QUOTATION MARK + 0x2019: [685,-369,333,98,302], // RIGHT SINGLE QUOTATION MARK + 0x201A: [134,182,333,-5,199], // SINGLE LOW-9 QUOTATION MARK + 0x201B: [685,-369,333,128,302], // SINGLE HIGH-REVERSED-9 QUOTATION MARK + 0x201C: [685,-369,500,53,513], // LEFT DOUBLE QUOTATION MARK + 0x201D: [685,-369,500,53,513], // RIGHT DOUBLE QUOTATION MARK + 0x201E: [134,182,500,-57,403], // DOUBLE LOW-9 QUOTATION MARK + 0x201F: [685,-369,500,92,513], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK + 0x2020: [685,145,500,91,494], // DAGGER + 0x2021: [685,139,500,10,493], // DOUBLE DAGGER + 0x2022: [462,-42,560,70,490], // BULLET + 0x2026: [135,13,1000,40,852], // HORIZONTAL ELLIPSIS + 0x2030: [706,29,1118,80,1068], // PER MILLE SIGN + 0x2031: [706,29,1480,80,1430], // PER TEN THOUSAND SIGN + 0x2039: [415,-32,333,32,303], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + 0x203A: [415,-32,333,10,281], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + 0x203E: [637,-565,500,0,500], // OVERLINE + 0x2044: [688,12,183,-168,345] // FRACTION SLASH + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js new file mode 100644 index 0000000..2a7eec4 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js @@ -0,0 +1,119 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekAndCoptic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x384: [680,-516,300,140,319], // GREEK TONOS + 0x385: [680,-516,380,27,440], // GREEK DIALYTIKA TONOS + 0x386: [693,0,667,-68,593], // GREEK CAPITAL LETTER ALPHA WITH TONOS + 0x387: [459,-311,333,116,264], // GREEK ANO TELEIA + 0x388: [693,0,700,10,748], // GREEK CAPITAL LETTER EPSILON WITH TONOS + 0x389: [693,0,850,9,889], // GREEK CAPITAL LETTER ETA WITH TONOS + 0x38A: [693,0,450,9,503], // GREEK CAPITAL LETTER IOTA WITH TONOS + 0x38C: [693,18,722,11,691], // GREEK CAPITAL LETTER OMICRON WITH TONOS + 0x38E: [693,0,700,8,855], // GREEK CAPITAL LETTER UPSILON WITH TONOS + 0x38F: [693,0,808,25,774], // GREEK CAPITAL LETTER OMEGA WITH TONOS + 0x390: [680,9,278,6,419], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS + 0x391: [683,0,667,-68,593], // GREEK CAPITAL LETTER ALPHA + 0x392: [669,0,667,-25,624], // GREEK CAPITAL LETTER BETA + 0x393: [669,0,585,-13,670], // GREEK CAPITAL LETTER GAMMA + 0x394: [683,0,667,-65,549], // GREEK CAPITAL LETTER DELTA + 0x395: [669,0,667,-27,653], // GREEK CAPITAL LETTER EPSILON + 0x396: [669,0,611,-12,589], // GREEK CAPITAL LETTER ZETA + 0x397: [669,0,778,-24,799], // GREEK CAPITAL LETTER ETA + 0x398: [685,18,718,27,691], // GREEK CAPITAL LETTER THETA + 0x399: [669,0,389,-32,406], // GREEK CAPITAL LETTER IOTA + 0x39A: [669,0,667,-21,702], // GREEK CAPITAL LETTER KAPPA + 0x39B: [683,0,655,-68,581], // GREEK CAPITAL LETTER LAMDA + 0x39C: [669,12,889,-29,917], // GREEK CAPITAL LETTER MU + 0x39D: [669,15,722,-27,748], // GREEK CAPITAL LETTER NU + 0x39E: [669,0,746,25,740], // GREEK CAPITAL LETTER XI + 0x39F: [685,18,722,27,691], // GREEK CAPITAL LETTER OMICRON + 0x3A0: [669,0,778,-24,799], // GREEK CAPITAL LETTER PI + 0x3A1: [669,0,611,-28,613], // GREEK CAPITAL LETTER RHO + 0x3A3: [669,0,633,-11,619], // GREEK CAPITAL LETTER SIGMA + 0x3A4: [669,0,611,49,650], // GREEK CAPITAL LETTER TAU + 0x3A5: [685,0,611,21,697], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [669,0,771,26,763], // GREEK CAPITAL LETTER PHI + 0x3A7: [669,0,667,-24,694], // GREEK CAPITAL LETTER CHI + 0x3A8: [685,0,661,17,780], // GREEK CAPITAL LETTER PSI + 0x3A9: [685,0,808,25,774], // GREEK CAPITAL LETTER OMEGA + 0x3AA: [905,0,389,-32,486], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA + 0x3AB: [905,0,611,21,697], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA + 0x3AC: [680,13,576,-3,574], // GREEK SMALL LETTER ALPHA WITH TONOS + 0x3AD: [680,13,454,-5,408], // GREEK SMALL LETTER EPSILON WITH TONOS + 0x3AE: [680,205,488,-7,474], // GREEK SMALL LETTER ETA WITH TONOS + 0x3AF: [680,9,278,2,286], // GREEK SMALL LETTER IOTA WITH TONOS + 0x3B0: [680,13,536,-7,500], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS + 0x3B1: [462,13,576,-3,574], // GREEK SMALL LETTER ALPHA + 0x3B2: [698,205,500,-79,480], // GREEK SMALL LETTER BETA + 0x3B3: [462,204,438,3,461], // GREEK SMALL LETTER GAMMA + 0x3B4: [698,13,496,-3,456], // GREEK SMALL LETTER DELTA + 0x3B5: [462,13,454,-5,408], // GREEK SMALL LETTER EPSILON + 0x3B6: [698,205,415,-5,473], // GREEK SMALL LETTER ZETA + 0x3B7: [462,205,488,-7,474], // GREEK SMALL LETTER ETA + 0x3B8: [698,13,501,-3,488], // GREEK SMALL LETTER THETA + 0x3B9: [462,9,278,2,238], // GREEK SMALL LETTER IOTA + 0x3BA: [462,12,500,-23,504], // GREEK SMALL LETTER KAPPA + 0x3BB: [698,18,484,-34,459], // GREEK SMALL LETTER LAMDA + 0x3BC: [449,205,523,-82,483], // GREEK SMALL LETTER MU + 0x3BD: [462,13,469,-23,441], // GREEK SMALL LETTER NU + 0x3BE: [698,205,415,-5,426], // GREEK SMALL LETTER XI + 0x3BF: [462,13,500,-3,441], // GREEK SMALL LETTER OMICRON + 0x3C0: [449,15,558,-6,570], // GREEK SMALL LETTER PI + 0x3C1: [462,205,495,-81,447], // GREEK SMALL LETTER RHO + 0x3C2: [462,205,415,-5,447], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [449,13,499,-3,536], // GREEK SMALL LETTER SIGMA + 0x3C4: [449,9,415,4,455], // GREEK SMALL LETTER TAU + 0x3C5: [462,13,536,-7,477], // GREEK SMALL LETTER UPSILON + 0x3C6: [462,205,678,-3,619], // GREEK SMALL LETTER PHI + 0x3C7: [462,205,404,-136,515], // GREEK SMALL LETTER CHI + 0x3C8: [462,205,652,-5,715], // GREEK SMALL LETTER PSI + 0x3C9: [462,13,735,-3,676], // GREEK SMALL LETTER OMEGA + 0x3CA: [655,9,278,2,351], // GREEK SMALL LETTER IOTA WITH DIALYTIKA + 0x3CB: [655,13,536,-7,477], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA + 0x3CC: [680,13,500,-3,441], // GREEK SMALL LETTER OMICRON WITH TONOS + 0x3CD: [680,13,536,-7,477], // GREEK SMALL LETTER UPSILON WITH TONOS + 0x3CE: [680,13,735,-3,676], // GREEK SMALL LETTER OMEGA WITH TONOS + 0x3D0: [696,12,500,42,479], // GREEK BETA SYMBOL + 0x3D1: [698,13,582,8,589], // GREEK THETA SYMBOL + 0x3D2: [685,0,611,21,696], // GREEK UPSILON WITH HOOK SYMBOL + 0x3D5: [699,205,678,-3,619], // GREEK PHI SYMBOL + 0x3D6: [449,13,828,-2,844], // GREEK PI SYMBOL + 0x3D8: [685,200,722,27,691], // GREEK LETTER ARCHAIC KOPPA + 0x3D9: [462,205,500,-3,441], // GREEK SMALL LETTER ARCHAIC KOPPA + 0x3DA: [685,205,669,32,665], // GREEK LETTER STIGMA + 0x3DB: [492,205,475,-5,509], // GREEK SMALL LETTER STIGMA + 0x3DC: [669,0,667,-13,670], // GREEK LETTER DIGAMMA + 0x3DD: [450,190,525,32,507], // GREEK SMALL LETTER DIGAMMA + 0x3DE: [793,18,757,-7,758], // GREEK LETTER KOPPA + 0x3DF: [698,0,485,16,466], // GREEK SMALL LETTER KOPPA + 0x3E0: [685,205,734,27,710], // GREEK LETTER SAMPI + 0x3E1: [639,205,530,47,467], // GREEK SMALL LETTER SAMPI + 0x3F0: [462,15,569,-50,592], // GREEK KAPPA SYMBOL + 0x3F1: [462,206,517,-12,458], // GREEK RHO SYMBOL + 0x3F4: [685,18,722,27,691], // GREEK CAPITAL THETA SYMBOL + 0x3F5: [463,13,466,-3,429], // GREEK LUNATE EPSILON SYMBOL + 0x3F6: [460,16,486,-5,427] // GREEK REVERSED LUNATE EPSILON SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekAndCoptic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js new file mode 100644 index 0000000..fd6d1aa --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1D71C: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL ALPHA + 0x1D71D: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL BETA + 0x1D71E: [669,0,634,42,749], // MATHEMATICAL BOLD ITALIC CAPITAL GAMMA + 0x1D71F: [685,0,632,32,589], // MATHEMATICAL BOLD ITALIC CAPITAL DELTA + 0x1D720: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL EPSILON + 0x1D721: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL ZETA + 0x1D722: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL ETA + 0x1D723: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA + 0x1D724: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL IOTA + 0x1D725: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL KAPPA + 0x1D726: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL LAMDA + 0x1D727: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL MU + 0x1D728: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL NU + 0x1D729: [669,0,718,57,757], // MATHEMATICAL BOLD ITALIC CAPITAL XI + 0x1D72A: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL OMICRON + 0x1D72B: [669,0,887,39,942], // MATHEMATICAL BOLD ITALIC CAPITAL PI + 0x1D72C: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL RHO + 0x1D72D: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA SYMBOL + 0x1D72E: [669,0,759,64,787], // MATHEMATICAL BOLD ITALIC CAPITAL SIGMA + 0x1D72F: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL TAU + 0x1D730: [685,0,589,31,721], // MATHEMATICAL BOLD ITALIC CAPITAL UPSILON + 0x1D731: [669,0,827,28,799], // MATHEMATICAL BOLD ITALIC CAPITAL PHI + 0x1D732: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL CHI + 0x1D733: [685,0,694,30,781], // MATHEMATICAL BOLD ITALIC CAPITAL PSI + 0x1D734: [685,0,826,57,815], // MATHEMATICAL BOLD ITALIC CAPITAL OMEGA + 0x1D735: [669,16,632,43,600], // MATHEMATICAL BOLD ITALIC NABLA + 0x1D736: [461,12,624,44,630], // MATHEMATICAL BOLD ITALIC SMALL ALPHA + 0x1D737: [685,205,555,28,583], // MATHEMATICAL BOLD ITALIC SMALL BETA + 0x1D738: [462,203,490,44,503], // MATHEMATICAL BOLD ITALIC SMALL GAMMA + 0x1D739: [685,8,538,44,538], // MATHEMATICAL BOLD ITALIC SMALL DELTA + 0x1D73A: [462,10,495,28,451], // MATHEMATICAL BOLD ITALIC SMALL EPSILON + 0x1D73B: [685,203,472,44,522], // MATHEMATICAL BOLD ITALIC SMALL ZETA + 0x1D73C: [462,205,517,33,511], // MATHEMATICAL BOLD ITALIC SMALL ETA + 0x1D73D: [686,11,566,44,555], // MATHEMATICAL BOLD ITALIC SMALL THETA + 0x1D73E: [462,9,318,55,274], // MATHEMATICAL BOLD ITALIC SMALL IOTA + 0x1D73F: [462,0,560,55,577], // MATHEMATICAL BOLD ITALIC SMALL KAPPA + 0x1D740: [685,16,570,55,537], // MATHEMATICAL BOLD ITALIC SMALL LAMDA + 0x1D741: [449,205,636,33,603], // MATHEMATICAL BOLD ITALIC SMALL MU + 0x1D742: [459,10,523,55,534], // MATHEMATICAL BOLD ITALIC SMALL NU + 0x1D743: [685,203,476,28,487], // MATHEMATICAL BOLD ITALIC SMALL XI + 0x1D744: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL OMICRON + 0x1D745: [449,13,579,39,590], // MATHEMATICAL BOLD ITALIC SMALL PI + 0x1D746: [462,205,595,33,562], // MATHEMATICAL BOLD ITALIC SMALL RHO + 0x1D747: [462,203,480,39,508], // MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA + 0x1D748: [449,10,592,44,603], // MATHEMATICAL BOLD ITALIC SMALL SIGMA + 0x1D749: [449,7,469,33,502], // MATHEMATICAL BOLD ITALIC SMALL TAU + 0x1D74A: [462,10,552,33,535], // MATHEMATICAL BOLD ITALIC SMALL UPSILON + 0x1D74B: [462,205,706,55,667], // MATHEMATICAL BOLD ITALIC SMALL PHI + 0x1D74C: [462,204,621,33,676], // MATHEMATICAL BOLD ITALIC SMALL CHI + 0x1D74D: [462,205,701,33,756], // MATHEMATICAL BOLD ITALIC SMALL PSI + 0x1D74E: [462,10,687,22,665], // MATHEMATICAL BOLD ITALIC SMALL OMEGA + 0x1D74F: [686,10,559,44,559], // MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL + 0x1D750: [461,10,481,44,481], // MATHEMATICAL BOLD ITALIC EPSILON SYMBOL + 0x1D751: [698,13,607,33,584], // MATHEMATICAL BOLD ITALIC THETA SYMBOL + 0x1D752: [462,15,607,-12,630], // MATHEMATICAL BOLD ITALIC KAPPA SYMBOL + 0x1D753: [685,205,683,44,655], // MATHEMATICAL BOLD ITALIC PHI SYMBOL + 0x1D754: [462,205,585,44,563], // MATHEMATICAL BOLD ITALIC RHO SYMBOL + 0x1D755: [449,10,868,33,879] // MATHEMATICAL BOLD ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js new file mode 100644 index 0000000..dd92db1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/GreekSSBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1D790: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ALPHA + 0x1D791: [676,0,706,60,671], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL BETA + 0x1D792: [676,0,602,60,705], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA + 0x1D793: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL DELTA + 0x1D794: [676,0,683,60,708], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL EPSILON + 0x1D795: [676,0,707,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ZETA + 0x1D796: [676,0,748,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ETA + 0x1D797: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA + 0x1D798: [676,0,435,50,505], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA + 0x1D799: [676,0,712,60,796], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL KAPPA + 0x1D79A: [690,0,686,20,646], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA + 0x1D79B: [676,0,933,60,981], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL MU + 0x1D79C: [676,18,744,60,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL NU + 0x1D79D: [676,0,690,47,737], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL XI + 0x1D79E: [692,18,849,90,824], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMICRON + 0x1D79F: [676,0,745,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PI + 0x1D7A0: [676,0,581,60,675], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL RHO + 0x1D7A1: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA SYMBOL + 0x1D7A2: [676,0,696,21,748], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL SIGMA + 0x1D7A3: [676,0,641,87,715], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL TAU + 0x1D7A4: [691,0,671,91,799], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL UPSILON + 0x1D7A5: [676,0,835,72,835], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PHI + 0x1D7A6: [676,0,740,20,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL CHI + 0x1D7A7: [691,0,791,125,901], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PSI + 0x1D7A8: [691,0,816,47,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMEGA + 0x1D7A9: [664,30,780,120,760], // MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA + 0x1D7AA: [473,14,678,47,703], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ALPHA + 0x1D7AB: [692,205,552,-12,581], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL BETA + 0x1D7AC: [473,204,525,84,571], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL GAMMA + 0x1D7AD: [692,14,507,30,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL DELTA + 0x1D7AE: [473,14,504,45,508], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL EPSILON + 0x1D7AF: [692,205,480,49,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ZETA + 0x1D7B0: [473,205,532,38,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ETA + 0x1D7B1: [692,14,560,65,553], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL THETA + 0x1D7B2: [462,14,325,56,302], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA + 0x1D7B3: [473,0,537,38,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL KAPPA + 0x1D7B4: [692,14,574,18,540], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA + 0x1D7B5: [462,205,594,-12,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL MU + 0x1D7B6: [473,14,525,41,565], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL NU + 0x1D7B7: [692,205,481,43,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL XI + 0x1D7B8: [473,14,543,45,515], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMICRON + 0x1D7B9: [462,14,632,45,656], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PI + 0x1D7BA: [473,205,560,-33,536], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL RHO + 0x1D7BB: [473,205,517,52,554], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL FINAL SIGMA + 0x1D7BC: [462,14,614,45,639], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL SIGMA + 0x1D7BD: [462,14,523,42,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL TAU + 0x1D7BE: [473,14,550,61,526], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL UPSILON + 0x1D7BF: [473,205,683,55,659], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PHI + 0x1D7C0: [473,205,575,-80,626], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL CHI + 0x1D7C1: [473,205,703,75,751], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PSI + 0x1D7C2: [461,14,756,64,732], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMEGA + 0x1D7C3: [691,14,548,45,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL + 0x1D7C4: [473,14,468,45,470], // MATHEMATICAL SANS-SERIF BOLD ITALIC EPSILON SYMBOL + 0x1D7C5: [692,14,579,54,579], // MATHEMATICAL SANS-SERIF BOLD ITALIC THETA SYMBOL + 0x1D7C6: [473,10,646,-10,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC KAPPA SYMBOL + 0x1D7C7: [692,205,678,48,654], // MATHEMATICAL SANS-SERIF BOLD ITALIC PHI SYMBOL + 0x1D7C8: [473,205,544,38,520], // MATHEMATICAL SANS-SERIF BOLD ITALIC RHO SYMBOL + 0x1D7C9: [462,14,889,40,912] // MATHEMATICAL SANS-SERIF BOLD ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/GreekSSBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js new file mode 100644 index 0000000..f6a37e3 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js @@ -0,0 +1,116 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/IPAExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x250: [473,14,512,13,492], // ?? + 0x251: [473,14,612,25,592], // ?? + 0x252: [473,14,612,25,592], // ?? + 0x253: [691,13,500,-14,449], // ?? + 0x254: [462,13,444,-5,392], // ?? + 0x255: [462,157,444,-5,406], // ?? + 0x256: [699,233,500,-21,517], // ?? + 0x257: [683,13,570,-21,653], // ?? + 0x258: [462,13,444,5,421], // ?? + 0x259: [462,13,444,5,398], // ?? + 0x25A: [462,13,626,5,626], // ?? + 0x25B: [475,14,444,5,482], // ?? + 0x25C: [475,14,480,5,469], // ?? + 0x25D: [475,14,689,5,689], // ?? + 0x25E: [475,14,486,7,475], // ?? + 0x25F: [462,207,367,-100,364], // ?? + 0x260: [683,245,720,-52,751], // ?? + 0x261: [472,245,549,-52,520], // ?? + 0x262: [462,11,561,21,544], // ?? + 0x263: [462,234,444,20,400], // ?? + 0x264: [450,10,493,10,488], // ?? + 0x265: [459,249,556,-13,498], // ?? + 0x266: [683,9,556,-13,498], // ?? + 0x267: [683,205,533,-13,475], // ?? + 0x268: [684,9,278,-10,262], // ?? + 0x269: [456,8,253,2,237], // ?? + 0x26A: [462,0,304,-32,321], // ?? + 0x26B: [699,9,320,9,368], // ?? + 0x26C: [699,9,445,17,417], // ?? + 0x26D: [699,233,291,-47,290], // ?? + 0x26E: [699,236,623,2,585], // ?? + 0x26F: [462,9,778,-14,723], // ?? + 0x270: [462,233,778,-14,723], // ?? + 0x271: [462,233,759,-14,704], // ?? + 0x272: [462,233,694,-109,632], // ?? + 0x273: [462,233,505,-6,486], // ?? + 0x274: [462,12,588,-27,614], // ?? + 0x275: [462,13,500,-3,441], // ?? + 0x276: [462,5,749,23,751], // ?? + 0x277: [477,2,685,-3,626], // ?? + 0x278: [685,231,691,-3,632], // ?? + 0x279: [462,0,427,0,410], // ?? + 0x27A: [699,0,493,0,476], // ?? + 0x27B: [462,233,436,0,417], // ?? + 0x27C: [462,233,389,-87,389], // ?? + 0x27D: [462,233,389,-47,389], // ?? + 0x27E: [484,0,360,-21,417], // ?? + 0x27F: [484,0,338,10,292], // ?? + 0x280: [464,0,498,8,515], // ?? + 0x281: [464,0,498,8,597], // ?? + 0x282: [462,218,389,-32,333], // ?? + 0x283: [683,233,424,-104,584], // ?? + 0x284: [683,207,394,-90,576], // ?? + 0x285: [470,233,415,79,344], // ?? + 0x286: [683,243,521,-40,641], // ?? + 0x287: [513,90,310,7,299], // ?? + 0x288: [594,233,311,-60,281], // ?? + 0x289: [462,9,556,-16,514], // ?? + 0x28A: [452,8,500,15,552], // ?? + 0x28B: [462,10,534,18,492], // ?? + 0x28C: [462,13,444,15,401], // ?? + 0x28D: [462,13,667,15,614], // ?? + 0x28E: [667,0,444,16,502], // ?? + 0x28F: [464,0,633,65,606], // ?? + 0x290: [449,218,440,-24,405], // ?? + 0x291: [449,97,411,-24,376], // ?? + 0x292: [450,236,499,-10,558], // ?? + 0x293: [450,307,499,-10,528], // ?? + 0x294: [685,0,530,25,520], // ?? + 0x295: [685,0,530,65,509], // ?? + 0x296: [669,14,487,25,453], // ?? + 0x297: [462,237,479,20,544], // ?? + 0x298: [680,17,723,13,734], // ?? + 0x299: [464,0,493,-10,486], // ?? + 0x29A: [475,14,465,16,504], // ?? + 0x29B: [538,11,580,29,690], // ?? + 0x29C: [464,0,582,21,676], // ?? + 0x29D: [685,233,475,-50,463], // ?? + 0x29E: [457,250,500,22,528], // ?? + 0x29F: [464,0,485,10,468], // ?? + 0x2A0: [582,205,488,1,674], // ?? + 0x2A1: [685,0,530,25,520], // ?? + 0x2A2: [685,0,530,65,507], // ?? + 0x2A3: [699,13,750,-21,735], // ?? + 0x2A4: [699,236,820,-21,813], // ?? + 0x2A5: [699,97,817,-21,743], // ?? + 0x2A6: [594,13,560,-3,524], // ?? + 0x2A7: [683,233,453,-30,670], // ?? + 0x2A8: [594,18,600,-3,618] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/IPAExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js new file mode 100644 index 0000000..db95141 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js @@ -0,0 +1,123 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA1: [494,205,389,19,320], // INVERTED EXCLAMATION MARK + 0xA2: [576,143,500,42,439], // CENT SIGN + 0xA3: [683,12,500,-32,510], // POUND SIGN + 0xA4: [542,10,500,-26,526], // CURRENCY SIGN + 0xA5: [669,0,500,33,628], // YEN SIGN + 0xA6: [685,18,220,66,154], // BROKEN BAR + 0xA7: [685,143,500,36,459], // SECTION SIGN + 0xA8: [655,-525,333,55,397], // DIAERESIS + 0xA9: [685,18,747,30,718], // COPYRIGHT SIGN + 0xAA: [685,-399,266,16,330], // FEMININE ORDINAL INDICATOR + 0xAB: [415,-32,500,12,468], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xAC: [399,-108,606,51,555], // NOT SIGN + 0xAD: [282,-166,333,2,271], // SOFT HYPHEN + 0xAE: [685,18,747,30,718], // REGISTERED SIGN + 0xAF: [623,-553,333,51,393], // MACRON + 0xB0: [688,-402,400,83,369], // DEGREE SIGN + 0xB1: [568,0,570,33,537], // PLUS-MINUS SIGN + 0xB2: [683,-274,300,2,313], // SUPERSCRIPT TWO + 0xB3: [683,-265,300,17,321], // SUPERSCRIPT THREE + 0xB4: [697,-516,333,139,379], // ACUTE ACCENT + 0xB5: [449,207,576,-60,516], // MICRO SIGN + 0xB6: [669,193,617,60,679], // PILCROW SIGN + 0xB7: [405,-257,250,51,199], // MIDDLE DOT + 0xB8: [5,218,333,-80,156], // CEDILLA + 0xB9: [683,-274,300,30,301], // SUPERSCRIPT ONE + 0xBA: [685,-400,300,56,347], // MASCULINE ORDINAL INDICATOR + 0xBB: [415,-32,500,12,468], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xBC: [683,14,750,7,721], // VULGAR FRACTION ONE QUARTER + 0xBD: [683,14,750,-9,723], // VULGAR FRACTION ONE HALF + 0xBE: [683,14,750,7,726], // VULGAR FRACTION THREE QUARTERS + 0xBF: [492,205,500,30,421], // INVERTED QUESTION MARK + 0xC0: [947,0,667,-68,593], // LATIN CAPITAL LETTER A WITH GRAVE + 0xC1: [947,0,667,-68,593], // LATIN CAPITAL LETTER A WITH ACUTE + 0xC2: [940,0,667,-68,593], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX + 0xC3: [905,0,667,-68,612], // LATIN CAPITAL LETTER A WITH TILDE + 0xC4: [905,0,667,-68,599], // LATIN CAPITAL LETTER A WITH DIAERESIS + 0xC5: [1004,0,667,-68,593], // LATIN CAPITAL LETTER A WITH RING ABOVE + 0xC6: [669,0,944,-64,918], // LATIN CAPITAL LETTER AE + 0xC7: [685,218,667,32,677], // LATIN CAPITAL LETTER C WITH CEDILLA + 0xC8: [947,0,667,-27,653], // LATIN CAPITAL LETTER E WITH GRAVE + 0xC9: [947,0,667,-27,653], // LATIN CAPITAL LETTER E WITH ACUTE + 0xCA: [940,0,667,-27,653], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX + 0xCB: [905,0,667,-27,653], // LATIN CAPITAL LETTER E WITH DIAERESIS + 0xCC: [947,0,389,-32,406], // LATIN CAPITAL LETTER I WITH GRAVE + 0xCD: [947,0,389,-32,440], // LATIN CAPITAL LETTER I WITH ACUTE + 0xCE: [940,0,389,-32,469], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX + 0xCF: [905,0,389,-32,480], // LATIN CAPITAL LETTER I WITH DIAERESIS + 0xD0: [669,0,722,-31,700], // LATIN CAPITAL LETTER ETH + 0xD1: [905,15,722,-27,748], // LATIN CAPITAL LETTER N WITH TILDE + 0xD2: [947,18,722,27,691], // LATIN CAPITAL LETTER O WITH GRAVE + 0xD3: [947,18,722,27,691], // LATIN CAPITAL LETTER O WITH ACUTE + 0xD4: [940,18,722,27,691], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX + 0xD5: [905,18,722,27,691], // LATIN CAPITAL LETTER O WITH TILDE + 0xD6: [905,18,722,27,691], // LATIN CAPITAL LETTER O WITH DIAERESIS + 0xD7: [490,-16,570,48,522], // MULTIPLICATION SIGN + 0xD8: [764,125,722,27,691], // LATIN CAPITAL LETTER O WITH STROKE + 0xD9: [947,18,722,67,744], // LATIN CAPITAL LETTER U WITH GRAVE + 0xDA: [947,18,722,67,744], // LATIN CAPITAL LETTER U WITH ACUTE + 0xDB: [940,18,722,67,744], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX + 0xDC: [905,18,722,67,744], // LATIN CAPITAL LETTER U WITH DIAERESIS + 0xDD: [947,0,611,71,659], // LATIN CAPITAL LETTER Y WITH ACUTE + 0xDE: [669,0,611,-27,573], // LATIN CAPITAL LETTER THORN + 0xDF: [705,200,500,-200,473], // LATIN SMALL LETTER SHARP S + 0xE0: [697,14,500,-21,456], // LATIN SMALL LETTER A WITH GRAVE + 0xE1: [697,14,500,-21,456], // LATIN SMALL LETTER A WITH ACUTE + 0xE2: [690,14,500,-21,475], // LATIN SMALL LETTER A WITH CIRCUMFLEX + 0xE3: [655,14,500,-21,497], // LATIN SMALL LETTER A WITH TILDE + 0xE4: [655,14,500,-21,485], // LATIN SMALL LETTER A WITH DIAERESIS + 0xE5: [756,14,500,-21,456], // LATIN SMALL LETTER A WITH RING ABOVE + 0xE6: [462,13,722,-5,673], // LATIN SMALL LETTER AE + 0xE7: [462,218,444,-24,392], // LATIN SMALL LETTER C WITH CEDILLA + 0xE8: [697,13,444,5,398], // LATIN SMALL LETTER E WITH GRAVE + 0xE9: [697,13,444,5,419], // LATIN SMALL LETTER E WITH ACUTE + 0xEA: [690,13,444,5,462], // LATIN SMALL LETTER E WITH CIRCUMFLEX + 0xEB: [655,13,444,5,470], // LATIN SMALL LETTER E WITH DIAERESIS + 0xEC: [697,9,278,2,294], // LATIN SMALL LETTER I WITH GRAVE + 0xED: [697,9,278,2,310], // LATIN SMALL LETTER I WITH ACUTE + 0xEE: [690,9,278,2,353], // LATIN SMALL LETTER I WITH CIRCUMFLEX + 0xEF: [655,9,278,2,362], // LATIN SMALL LETTER I WITH DIAERESIS + 0xF0: [699,13,500,-3,454], // LATIN SMALL LETTER ETH + 0xF1: [655,9,556,-6,507], // LATIN SMALL LETTER N WITH TILDE + 0xF2: [697,13,500,-3,441], // LATIN SMALL LETTER O WITH GRAVE + 0xF3: [697,13,500,-3,441], // LATIN SMALL LETTER O WITH ACUTE + 0xF4: [690,13,500,-3,462], // LATIN SMALL LETTER O WITH CIRCUMFLEX + 0xF5: [655,13,500,-3,485], // LATIN SMALL LETTER O WITH TILDE + 0xF6: [655,13,500,-3,470], // LATIN SMALL LETTER O WITH DIAERESIS + 0xF7: [535,29,570,33,537], // DIVISION SIGN + 0xF8: [560,119,500,-3,441], // LATIN SMALL LETTER O WITH STROKE + 0xF9: [697,9,556,15,493], // LATIN SMALL LETTER U WITH GRAVE + 0xFA: [697,9,556,15,493], // LATIN SMALL LETTER U WITH ACUTE + 0xFB: [690,9,556,15,493], // LATIN SMALL LETTER U WITH CIRCUMFLEX + 0xFC: [655,9,556,15,493], // LATIN SMALL LETTER U WITH DIAERESIS + 0xFD: [697,205,444,-94,401], // LATIN SMALL LETTER Y WITH ACUTE + 0xFE: [699,205,500,-120,446], // LATIN SMALL LETTER THORN + 0xFF: [655,205,444,-94,460] // LATIN SMALL LETTER Y WITH DIAERESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js new file mode 100644 index 0000000..0131f70 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js @@ -0,0 +1,155 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x100: [793,0,667,-68,593], // LATIN CAPITAL LETTER A WITH MACRON + 0x101: [586,14,500,-21,486], // LATIN SMALL LETTER A WITH MACRON + 0x102: [885,0,667,-68,593], // LATIN CAPITAL LETTER A WITH BREVE + 0x103: [678,14,500,-21,483], // LATIN SMALL LETTER A WITH BREVE + 0x104: [683,173,667,-68,640], // LATIN CAPITAL LETTER A WITH OGONEK + 0x105: [462,173,500,-21,507], // LATIN SMALL LETTER A WITH OGONEK + 0x106: [904,18,667,32,677], // LATIN CAPITAL LETTER C WITH ACUTE + 0x107: [697,13,444,-5,392], // LATIN SMALL LETTER C WITH ACUTE + 0x108: [897,18,667,32,677], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX + 0x109: [690,13,444,-5,415], // LATIN SMALL LETTER C WITH CIRCUMFLEX + 0x10A: [862,18,667,32,677], // LATIN CAPITAL LETTER C WITH DOT ABOVE + 0x10B: [655,13,444,-5,392], // LATIN SMALL LETTER C WITH DOT ABOVE + 0x10C: [897,18,667,32,677], // LATIN CAPITAL LETTER C WITH CARON + 0x10D: [690,13,444,-5,437], // LATIN SMALL LETTER C WITH CARON + 0x10E: [897,0,722,-46,685], // LATIN CAPITAL LETTER D WITH CARON + 0x10F: [710,13,658,-21,726], // LATIN SMALL LETTER D WITH CARON + 0x110: [669,0,722,-31,700], // LATIN CAPITAL LETTER D WITH STROKE + 0x111: [699,13,500,-21,541], // LATIN SMALL LETTER D WITH STROKE + 0x112: [793,0,667,-27,653], // LATIN CAPITAL LETTER E WITH MACRON + 0x113: [586,13,444,5,431], // LATIN SMALL LETTER E WITH MACRON + 0x114: [885,0,667,-27,653], // LATIN CAPITAL LETTER E WITH BREVE + 0x115: [678,13,444,5,478], // LATIN SMALL LETTER E WITH BREVE + 0x116: [862,0,667,-27,653], // LATIN CAPITAL LETTER E WITH DOT ABOVE + 0x117: [655,13,444,5,398], // LATIN SMALL LETTER E WITH DOT ABOVE + 0x118: [669,182,667,-27,653], // LATIN CAPITAL LETTER E WITH OGONEK + 0x119: [462,182,444,5,398], // LATIN SMALL LETTER E WITH OGONEK + 0x11A: [897,0,667,-27,653], // LATIN CAPITAL LETTER E WITH CARON + 0x11B: [690,13,444,5,486], // LATIN SMALL LETTER E WITH CARON + 0x11C: [897,18,722,21,705], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX + 0x11D: [690,203,500,-52,477], // LATIN SMALL LETTER G WITH CIRCUMFLEX + 0x11E: [885,18,722,21,705], // LATIN CAPITAL LETTER G WITH BREVE + 0x11F: [678,203,500,-52,477], // LATIN SMALL LETTER G WITH BREVE + 0x120: [862,18,722,21,705], // LATIN CAPITAL LETTER G WITH DOT ABOVE + 0x121: [655,203,500,-52,477], // LATIN SMALL LETTER G WITH DOT ABOVE + 0x122: [685,359,722,21,705], // LATIN CAPITAL LETTER G WITH CEDILLA + 0x123: [832,203,500,-52,477], // LATIN SMALL LETTER G WITH CEDILLA + 0x124: [897,0,778,-24,799], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX + 0x125: [897,9,556,-13,498], // LATIN SMALL LETTER H WITH CIRCUMFLEX + 0x126: [669,0,778,-24,800], // LATIN CAPITAL LETTER H WITH STROKE + 0x127: [699,9,556,-13,498], // LATIN SMALL LETTER H WITH STROKE + 0x128: [862,0,389,-32,470], // LATIN CAPITAL LETTER I WITH TILDE + 0x129: [655,9,278,-9,350], // LATIN SMALL LETTER I WITH TILDE + 0x12A: [793,0,389,-32,451], // LATIN CAPITAL LETTER I WITH MACRON + 0x12B: [586,9,278,-11,331], // LATIN SMALL LETTER I WITH MACRON + 0x12C: [885,0,389,-32,458], // LATIN CAPITAL LETTER I WITH BREVE + 0x12D: [678,9,278,2,328], // LATIN SMALL LETTER I WITH BREVE + 0x12E: [669,173,389,-32,406], // LATIN CAPITAL LETTER I WITH OGONEK + 0x12F: [684,173,278,2,262], // LATIN SMALL LETTER I WITH OGONEK + 0x130: [862,0,389,-32,406], // LATIN CAPITAL LETTER I WITH DOT ABOVE + 0x131: [462,9,278,2,238], // LATIN SMALL LETTER DOTLESS I + 0x132: [669,99,823,-32,913], // LATIN CAPITAL LIGATURE IJ + 0x133: [685,207,552,2,544], // LATIN SMALL LIGATURE IJ + 0x134: [897,99,500,-46,554], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX + 0x135: [690,207,278,-189,314], // LATIN SMALL LETTER J WITH CIRCUMFLEX + 0x136: [669,359,667,-21,702], // LATIN CAPITAL LETTER K WITH CEDILLA + 0x137: [699,359,500,-23,483], // LATIN SMALL LETTER K WITH CEDILLA + 0x138: [470,0,600,6,689], // LATIN SMALL LETTER KRA + 0x139: [904,0,611,-22,590], // LATIN CAPITAL LETTER L WITH ACUTE + 0x13A: [904,9,278,2,344], // LATIN SMALL LETTER L WITH ACUTE + 0x13B: [669,359,611,-22,590], // LATIN CAPITAL LETTER L WITH CEDILLA + 0x13C: [699,359,278,-62,290], // LATIN SMALL LETTER L WITH CEDILLA + 0x13D: [685,0,611,-22,667], // LATIN CAPITAL LETTER L WITH CARON + 0x13E: [710,9,451,2,499], // LATIN SMALL LETTER L WITH CARON + 0x13F: [669,0,611,-22,590], // LATIN CAPITAL LETTER L WITH MIDDLE DOT + 0x140: [699,9,375,2,382], // LATIN SMALL LETTER L WITH MIDDLE DOT + 0x141: [669,0,611,-22,590], // LATIN CAPITAL LETTER L WITH STROKE + 0x142: [699,9,278,-13,301], // LATIN SMALL LETTER L WITH STROKE + 0x143: [904,15,722,-27,748], // LATIN CAPITAL LETTER N WITH ACUTE + 0x144: [697,9,556,-6,494], // LATIN SMALL LETTER N WITH ACUTE + 0x145: [669,359,722,-27,748], // LATIN CAPITAL LETTER N WITH CEDILLA + 0x146: [462,359,556,-6,494], // LATIN SMALL LETTER N WITH CEDILLA + 0x147: [897,15,722,-27,748], // LATIN CAPITAL LETTER N WITH CARON + 0x148: [690,9,556,-6,506], // LATIN SMALL LETTER N WITH CARON + 0x149: [710,9,700,42,657], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE + 0x14A: [669,203,722,-46,685], // LATIN CAPITAL LETTER ENG + 0x14B: [462,207,543,-6,474], // LATIN SMALL LETTER ENG + 0x14C: [793,18,722,27,691], // LATIN CAPITAL LETTER O WITH MACRON + 0x14D: [586,13,500,-3,461], // LATIN SMALL LETTER O WITH MACRON + 0x14E: [885,18,722,27,691], // LATIN CAPITAL LETTER O WITH BREVE + 0x14F: [678,13,500,-3,488], // LATIN SMALL LETTER O WITH BREVE + 0x150: [904,18,722,27,700], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE + 0x151: [697,13,500,-3,519], // LATIN SMALL LETTER O WITH DOUBLE ACUTE + 0x152: [677,8,944,23,946], // LATIN CAPITAL LIGATURE OE + 0x153: [462,13,722,6,674], // LATIN SMALL LIGATURE OE + 0x154: [904,0,667,-28,623], // LATIN CAPITAL LETTER R WITH ACUTE + 0x155: [697,0,389,-21,389], // LATIN SMALL LETTER R WITH ACUTE + 0x156: [669,359,667,-28,623], // LATIN CAPITAL LETTER R WITH CEDILLA + 0x157: [462,359,389,-102,389], // LATIN SMALL LETTER R WITH CEDILLA + 0x158: [897,0,667,-28,623], // LATIN CAPITAL LETTER R WITH CARON + 0x159: [690,0,389,-21,411], // LATIN SMALL LETTER R WITH CARON + 0x15A: [904,18,556,2,526], // LATIN CAPITAL LETTER S WITH ACUTE + 0x15B: [697,13,389,-19,379], // LATIN SMALL LETTER S WITH ACUTE + 0x15C: [897,18,556,2,526], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX + 0x15D: [690,13,389,-19,367], // LATIN SMALL LETTER S WITH CIRCUMFLEX + 0x15E: [685,218,556,2,526], // LATIN CAPITAL LETTER S WITH CEDILLA + 0x15F: [462,218,389,-19,333], // LATIN SMALL LETTER S WITH CEDILLA + 0x160: [897,18,556,2,526], // LATIN CAPITAL LETTER S WITH CARON + 0x161: [690,13,389,-19,411], // LATIN SMALL LETTER S WITH CARON + 0x162: [669,218,611,49,650], // LATIN CAPITAL LETTER T WITH CEDILLA + 0x163: [594,218,278,-75,289], // LATIN SMALL LETTER T WITH CEDILLA + 0x164: [897,0,611,49,650], // LATIN CAPITAL LETTER T WITH CARON + 0x165: [710,9,411,-11,499], // LATIN SMALL LETTER T WITH CARON + 0x166: [669,0,611,49,650], // LATIN CAPITAL LETTER T WITH STROKE + 0x167: [594,9,278,-30,281], // LATIN SMALL LETTER T WITH STROKE + 0x168: [841,18,722,67,744], // LATIN CAPITAL LETTER U WITH TILDE + 0x169: [655,9,556,15,493], // LATIN SMALL LETTER U WITH TILDE + 0x16A: [793,18,722,67,744], // LATIN CAPITAL LETTER U WITH MACRON + 0x16B: [586,9,556,15,493], // LATIN SMALL LETTER U WITH MACRON + 0x16C: [885,18,722,67,744], // LATIN CAPITAL LETTER U WITH BREVE + 0x16D: [678,9,556,15,493], // LATIN SMALL LETTER U WITH BREVE + 0x16E: [921,18,722,67,744], // LATIN CAPITAL LETTER U WITH RING ABOVE + 0x16F: [729,9,556,15,493], // LATIN SMALL LETTER U WITH RING ABOVE + 0x170: [889,18,722,67,744], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE + 0x171: [697,9,556,15,527], // LATIN SMALL LETTER U WITH DOUBLE ACUTE + 0x172: [669,173,722,67,744], // LATIN CAPITAL LETTER U WITH OGONEK + 0x173: [462,173,556,15,531], // LATIN SMALL LETTER U WITH OGONEK + 0x174: [897,18,889,64,940], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX + 0x175: [690,13,667,15,614], // LATIN SMALL LETTER W WITH CIRCUMFLEX + 0x176: [897,0,611,71,659], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX + 0x177: [690,205,444,-94,393], // LATIN SMALL LETTER Y WITH CIRCUMFLEX + 0x178: [862,0,611,71,659], // LATIN CAPITAL LETTER Y WITH DIAERESIS + 0x179: [904,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH ACUTE + 0x17A: [697,78,389,-43,379], // LATIN SMALL LETTER Z WITH ACUTE + 0x17B: [862,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH DOT ABOVE + 0x17C: [655,78,389,-43,368], // LATIN SMALL LETTER Z WITH DOT ABOVE + 0x17D: [897,0,611,-12,589], // LATIN CAPITAL LETTER Z WITH CARON + 0x17E: [690,78,389,-43,411], // LATIN SMALL LETTER Z WITH CARON + 0x17F: [691,0,333,14,536] // LATIN SMALL LETTER LONG S + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js new file mode 100644 index 0000000..46f4353 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedAdditional.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1E80: [904,18,889,64,940], // LATIN CAPITAL LETTER W WITH GRAVE + 0x1E81: [697,13,667,15,614], // LATIN SMALL LETTER W WITH GRAVE + 0x1E82: [904,18,889,64,940], // LATIN CAPITAL LETTER W WITH ACUTE + 0x1E83: [697,13,667,15,614], // LATIN SMALL LETTER W WITH ACUTE + 0x1E84: [862,18,889,64,940], // LATIN CAPITAL LETTER W WITH DIAERESIS + 0x1E85: [655,13,667,15,614], // LATIN SMALL LETTER W WITH DIAERESIS + 0x1EF2: [904,0,611,71,659], // LATIN CAPITAL LETTER Y WITH GRAVE + 0x1EF3: [697,205,444,-94,392] // LATIN SMALL LETTER Y WITH GRAVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedAdditional.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js new file mode 100644 index 0000000..a0ff8fd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js @@ -0,0 +1,59 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LatinExtendedB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x180: [699,13,500,-14,444], // LATIN SMALL LETTER B WITH STROKE + 0x188: [576,13,560,-5,627], // LATIN SMALL LETTER C WITH HOOK + 0x190: [686,4,512,54,676], // LATIN CAPITAL LETTER OPEN E + 0x192: [707,156,500,-87,537], // LATIN SMALL LETTER F WITH HOOK + 0x195: [699,10,735,-13,692], // LATIN SMALL LETTER HV + 0x199: [691,8,500,-23,483], // LATIN SMALL LETTER K WITH HOOK + 0x19A: [699,9,278,2,290], // LATIN SMALL LETTER L WITH BAR + 0x19B: [666,0,480,16,452], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x19E: [462,205,536,-6,474], // LATIN SMALL LETTER N WITH LONG RIGHT LEG + 0x1A0: [716,18,722,27,806], // LATIN CAPITAL LETTER O WITH HORN + 0x1A1: [507,13,537,24,595], // LATIN SMALL LETTER O WITH HORN + 0x1A5: [673,205,520,-100,466], // LATIN SMALL LETTER P WITH HOOK + 0x1AA: [684,233,400,46,380], // LATIN LETTER REVERSED ESH LOOP + 0x1AB: [594,218,286,-49,289], // LATIN SMALL LETTER T WITH PALATAL HOOK + 0x1AD: [691,9,360,-3,450], // LATIN SMALL LETTER T WITH HOOK + 0x1AF: [803,18,775,67,893], // LATIN CAPITAL LETTER U WITH HORN + 0x1B0: [583,9,556,15,656], // LATIN SMALL LETTER U WITH HORN + 0x1BA: [450,237,496,-52,458], // LATIN SMALL LETTER EZH WITH TAIL + 0x1BB: [683,0,500,-27,469], // LATIN LETTER TWO WITH STROKE + 0x1BE: [541,10,500,37,463], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE + 0x1C0: [740,0,208,14,278], // LATIN LETTER DENTAL CLICK + 0x1C1: [740,0,345,14,415], // LATIN LETTER LATERAL CLICK + 0x1C2: [740,0,368,14,438], // LATIN LETTER ALVEOLAR CLICK + 0x1C3: [684,13,300,45,355], // LATIN LETTER RETROFLEX CLICK + 0x1F0: [690,207,350,-104,474], // LATIN SMALL LETTER J WITH CARON + 0x1FA: [972,0,667,-68,593], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE + 0x1FB: [909,14,500,-21,456], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE + 0x1FC: [904,0,944,-64,918], // LATIN CAPITAL LETTER AE WITH ACUTE + 0x1FD: [697,13,722,-5,673], // LATIN SMALL LETTER AE WITH ACUTE + 0x1FE: [904,125,722,27,691], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE + 0x1FF: [697,119,500,-3,441], // LATIN SMALL LETTER O WITH STROKE AND ACUTE + 0x237: [462,207,278,-189,239] // LATIN SMALL LETTER DOTLESS J + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LatinExtendedB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js new file mode 100644 index 0000000..a5842e1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js @@ -0,0 +1,56 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2102: [685,14,713,35,704], // stix-mathematical bold oblique double-struck capital C + 0x2105: [683,14,847,52,795], // CARE OF + 0x210A: [462,224,819,27,771], // SCRIPT SMALL G + 0x210B: [699,21,1171,65,1154], // SCRIPT CAPITAL H + 0x210D: [669,0,773,21,808], // stix-mathematical bold oblique double-struck capital H + 0x2110: [699,21,997,47,977], // SCRIPT CAPITAL I + 0x2112: [699,21,1036,40,1015], // SCRIPT CAPITAL L + 0x2113: [699,14,500,43,632], // SCRIPT SMALL L + 0x2115: [669,0,760,27,783], // stix-mathematical bold oblique double-struck capital N + 0x2116: [675,15,1055,24,1031], // NUMERO SIGN + 0x2119: [669,0,497,18,715], // stix-mathematical bold oblique double-struck capital P + 0x211A: [685,74,754,35,734], // stix-mathematical bold oblique double-struck capital Q + 0x211B: [699,21,1048,55,973], // SCRIPT CAPITAL R + 0x211D: [669,0,727,18,718], // stix-mathematical bold oblique double-struck capital R + 0x2122: [676,-271,1000,24,977], // TRADE MARK SIGN + 0x2124: [669,0,807,23,837], // stix-mathematical bold oblique double-struck capital Z + 0x212C: [699,21,1060,55,985], // SCRIPT CAPITAL B + 0x212F: [462,14,726,35,648], // SCRIPT SMALL E + 0x2130: [699,21,826,95,791], // SCRIPT CAPITAL E + 0x2131: [699,21,1042,65,1025], // SCRIPT CAPITAL F + 0x2133: [699,21,1300,60,1245], // SCRIPT CAPITAL M + 0x2134: [462,14,848,35,780], // SCRIPT SMALL O + 0x213C: [449,13,730,32,715], // DOUBLE-STRUCK SMALL PI + 0x213F: [669,0,796,35,821], // DOUBLE-STRUCK CAPITAL PI + 0x2145: [669,0,748,18,733], // stix-mathematical bold double-struck capital D + 0x2146: [699,13,633,45,698], // stix-mathematical bold double-struck small letter d + 0x2147: [462,13,575,45,540], // stix-mathematical bold double-struck small letter e + 0x2148: [669,0,379,40,413], // stix-mathematical bold double-struck small letter i + 0x2149: [669,205,421,-93,455] // stix-mathematical bold double-struck small letter j + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js new file mode 100644 index 0000000..0a7a82b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js @@ -0,0 +1,56 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'] = { + directory: 'General/BoldItalic', + family: 'STIXGeneral', + weight: 'bold', + style: 'italic', + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2200,0x22FF,"MathOperators"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0x1D468,0x1D49B,"MathBoldItalic"], + [0x1D4D0,0x1D503,"MathBoldScript"], + [0x1D63C,0x1D66F,"MathSSItalicBold"], + [0x1D71C,0x1D755,"GreekBoldItalic"], + [0x1D790,0x1D7C9,"GreekSSBoldItalic"] + ] + +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-bold-italic"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js new file mode 100644 index 0000000..a3ed8fa --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1D468: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL A + 0x1D469: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL B + 0x1D46A: [685,12,701,55,745], // MATHEMATICAL BOLD ITALIC CAPITAL C + 0x1D46B: [669,0,818,42,790], // MATHEMATICAL BOLD ITALIC CAPITAL D + 0x1D46C: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL E + 0x1D46D: [669,0,635,44,750], // MATHEMATICAL BOLD ITALIC CAPITAL F + 0x1D46E: [685,12,768,55,768], // MATHEMATICAL BOLD ITALIC CAPITAL G + 0x1D46F: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL H + 0x1D470: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL I + 0x1D471: [669,12,558,66,646], // MATHEMATICAL BOLD ITALIC CAPITAL J + 0x1D472: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL K + 0x1D473: [669,0,744,42,700], // MATHEMATICAL BOLD ITALIC CAPITAL L + 0x1D474: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL M + 0x1D475: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL N + 0x1D476: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL O + 0x1D477: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL P + 0x1D478: [685,154,810,55,756], // MATHEMATICAL BOLD ITALIC CAPITAL Q + 0x1D479: [669,0,801,42,784], // MATHEMATICAL BOLD ITALIC CAPITAL R + 0x1D47A: [685,10,671,55,704], // MATHEMATICAL BOLD ITALIC CAPITAL S + 0x1D47B: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL T + 0x1D47C: [669,10,733,72,810], // MATHEMATICAL BOLD ITALIC CAPITAL U + 0x1D47D: [669,15,593,66,797], // MATHEMATICAL BOLD ITALIC CAPITAL V + 0x1D47E: [669,17,925,66,1129], // MATHEMATICAL BOLD ITALIC CAPITAL W + 0x1D47F: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL X + 0x1D480: [669,0,549,39,725], // MATHEMATICAL BOLD ITALIC CAPITAL Y + 0x1D481: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL Z + 0x1D482: [462,10,581,44,548], // MATHEMATICAL BOLD ITALIC SMALL A + 0x1D483: [685,8,509,50,487], // MATHEMATICAL BOLD ITALIC SMALL B + 0x1D484: [462,10,477,44,460], // MATHEMATICAL BOLD ITALIC SMALL C + 0x1D485: [685,14,595,44,589], // MATHEMATICAL BOLD ITALIC SMALL D + 0x1D486: [462,10,498,44,459], // MATHEMATICAL BOLD ITALIC SMALL E + 0x1D487: [685,207,572,44,632], // MATHEMATICAL BOLD ITALIC SMALL F + 0x1D488: [462,203,527,22,527], // MATHEMATICAL BOLD ITALIC SMALL G + 0x1D489: [685,10,576,50,543], // MATHEMATICAL BOLD ITALIC SMALL H + 0x1D48A: [620,9,357,55,300], // MATHEMATICAL BOLD ITALIC SMALL I + 0x1D48B: [620,207,431,-18,414], // MATHEMATICAL BOLD ITALIC SMALL J + 0x1D48C: [685,11,580,55,563], // MATHEMATICAL BOLD ITALIC SMALL K + 0x1D48D: [685,9,346,50,310], // MATHEMATICAL BOLD ITALIC SMALL L + 0x1D48E: [467,9,760,33,727], // MATHEMATICAL BOLD ITALIC SMALL M + 0x1D48F: [467,10,559,33,526], // MATHEMATICAL BOLD ITALIC SMALL N + 0x1D490: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL O + 0x1D491: [469,205,571,-33,554], // MATHEMATICAL BOLD ITALIC SMALL P + 0x1D492: [462,205,526,44,532], // MATHEMATICAL BOLD ITALIC SMALL Q + 0x1D493: [467,0,441,33,424], // MATHEMATICAL BOLD ITALIC SMALL R + 0x1D494: [462,11,474,55,419], // MATHEMATICAL BOLD ITALIC SMALL S + 0x1D495: [592,10,351,44,318], // MATHEMATICAL BOLD ITALIC SMALL T + 0x1D496: [463,10,535,33,502], // MATHEMATICAL BOLD ITALIC SMALL U + 0x1D497: [473,14,554,52,539], // MATHEMATICAL BOLD ITALIC SMALL V + 0x1D498: [473,14,814,52,799], // MATHEMATICAL BOLD ITALIC SMALL W + 0x1D499: [462,8,587,33,543], // MATHEMATICAL BOLD ITALIC SMALL X + 0x1D49A: [462,205,519,35,522], // MATHEMATICAL BOLD ITALIC SMALL Y + 0x1D49B: [462,19,531,35,499] // MATHEMATICAL BOLD ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js new file mode 100644 index 0000000..fb7f143 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathBoldScript.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1D4D0: [699,21,984,50,955], // MATHEMATICAL BOLD SCRIPT CAPITAL A + 0x1D4D1: [699,21,1060,55,985], // MATHEMATICAL BOLD SCRIPT CAPITAL B + 0x1D4D2: [699,21,912,60,877], // MATHEMATICAL BOLD SCRIPT CAPITAL C + 0x1D4D3: [699,21,991,60,906], // MATHEMATICAL BOLD SCRIPT CAPITAL D + 0x1D4D4: [699,21,826,95,791], // MATHEMATICAL BOLD SCRIPT CAPITAL E + 0x1D4D5: [699,21,1042,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL F + 0x1D4D6: [699,21,834,82,799], // MATHEMATICAL BOLD SCRIPT CAPITAL G + 0x1D4D7: [699,21,1171,65,1154], // MATHEMATICAL BOLD SCRIPT CAPITAL H + 0x1D4D8: [699,21,997,47,977], // MATHEMATICAL BOLD SCRIPT CAPITAL I + 0x1D4D9: [699,224,906,19,886], // MATHEMATICAL BOLD SCRIPT CAPITAL J + 0x1D4DA: [699,21,1154,45,1130], // MATHEMATICAL BOLD SCRIPT CAPITAL K + 0x1D4DB: [699,21,1036,40,1015], // MATHEMATICAL BOLD SCRIPT CAPITAL L + 0x1D4DC: [699,21,1300,60,1245], // MATHEMATICAL BOLD SCRIPT CAPITAL M + 0x1D4DD: [699,21,1095,60,1078], // MATHEMATICAL BOLD SCRIPT CAPITAL N + 0x1D4DE: [699,21,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL O + 0x1D4DF: [699,21,1025,55,994], // MATHEMATICAL BOLD SCRIPT CAPITAL P + 0x1D4E0: [699,52,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL Q + 0x1D4E1: [699,21,1048,55,973], // MATHEMATICAL BOLD SCRIPT CAPITAL R + 0x1D4E2: [699,21,816,81,781], // MATHEMATICAL BOLD SCRIPT CAPITAL S + 0x1D4E3: [699,21,1030,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL T + 0x1D4E4: [699,21,964,60,904], // MATHEMATICAL BOLD SCRIPT CAPITAL U + 0x1D4E5: [699,21,1040,60,1024], // MATHEMATICAL BOLD SCRIPT CAPITAL V + 0x1D4E6: [699,21,1320,60,1306], // MATHEMATICAL BOLD SCRIPT CAPITAL W + 0x1D4E7: [699,21,1033,64,1010], // MATHEMATICAL BOLD SCRIPT CAPITAL X + 0x1D4E8: [699,224,989,60,963], // MATHEMATICAL BOLD SCRIPT CAPITAL Y + 0x1D4E9: [699,21,996,50,976], // MATHEMATICAL BOLD SCRIPT CAPITAL Z + 0x1D4EA: [462,14,942,35,865], // MATHEMATICAL BOLD SCRIPT SMALL A + 0x1D4EB: [699,14,646,60,624], // MATHEMATICAL BOLD SCRIPT SMALL B + 0x1D4EC: [462,14,764,35,683], // MATHEMATICAL BOLD SCRIPT SMALL C + 0x1D4ED: [699,14,949,28,912], // MATHEMATICAL BOLD SCRIPT SMALL D + 0x1D4EE: [462,14,726,35,648], // MATHEMATICAL BOLD SCRIPT SMALL E + 0x1D4EF: [699,205,768,25,749], // MATHEMATICAL BOLD SCRIPT SMALL F + 0x1D4F0: [462,224,819,27,771], // MATHEMATICAL BOLD SCRIPT SMALL G + 0x1D4F1: [699,14,838,55,758], // MATHEMATICAL BOLD SCRIPT SMALL H + 0x1D4F2: [698,14,558,40,534], // MATHEMATICAL BOLD SCRIPT SMALL I + 0x1D4F3: [698,224,840,41,823], // MATHEMATICAL BOLD SCRIPT SMALL J + 0x1D4F4: [699,14,810,55,730], // MATHEMATICAL BOLD SCRIPT SMALL K + 0x1D4F5: [699,14,650,43,632], // MATHEMATICAL BOLD SCRIPT SMALL L + 0x1D4F6: [462,14,1137,45,1057], // MATHEMATICAL BOLD SCRIPT SMALL M + 0x1D4F7: [462,14,851,45,771], // MATHEMATICAL BOLD SCRIPT SMALL N + 0x1D4F8: [462,14,848,35,780], // MATHEMATICAL BOLD SCRIPT SMALL O + 0x1D4F9: [462,205,885,25,770], // MATHEMATICAL BOLD SCRIPT SMALL P + 0x1D4FA: [462,205,913,35,833], // MATHEMATICAL BOLD SCRIPT SMALL Q + 0x1D4FB: [462,0,677,40,648], // MATHEMATICAL BOLD SCRIPT SMALL R + 0x1D4FC: [557,14,562,51,449], // MATHEMATICAL BOLD SCRIPT SMALL S + 0x1D4FD: [669,14,618,47,612], // MATHEMATICAL BOLD SCRIPT SMALL T + 0x1D4FE: [449,14,842,31,762], // MATHEMATICAL BOLD SCRIPT SMALL U + 0x1D4FF: [458,14,732,40,670], // MATHEMATICAL BOLD SCRIPT SMALL V + 0x1D500: [458,14,1012,40,950], // MATHEMATICAL BOLD SCRIPT SMALL W + 0x1D501: [462,14,820,63,740], // MATHEMATICAL BOLD SCRIPT SMALL X + 0x1D502: [449,224,784,40,711], // MATHEMATICAL BOLD SCRIPT SMALL Y + 0x1D503: [493,14,782,61,702] // MATHEMATICAL BOLD SCRIPT SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathBoldScript.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js new file mode 100644 index 0000000..09187e1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2202: [686,10,559,44,559], // PARTIAL DIFFERENTIAL + 0x2212: [297,-209,606,51,555] // MINUS SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js new file mode 100644 index 0000000..659da3e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/MathSSItalicBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x1D63C: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL A + 0x1D63D: [676,0,636,80,691], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL B + 0x1D63E: [691,19,723,119,797], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL C + 0x1D63F: [676,0,709,80,772], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL D + 0x1D640: [676,0,635,80,728], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL E + 0x1D641: [676,0,582,80,725], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL F + 0x1D642: [691,19,746,107,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL G + 0x1D643: [676,0,715,80,803], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL H + 0x1D644: [676,0,440,79,534], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL I + 0x1D645: [676,96,481,15,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL J + 0x1D646: [676,0,712,80,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL K + 0x1D647: [676,0,603,80,612], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL L + 0x1D648: [676,0,913,80,1001], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL M + 0x1D649: [676,18,724,80,812], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL N + 0x1D64A: [692,18,778,106,840], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL O + 0x1D64B: [676,0,581,80,695], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL P + 0x1D64C: [691,176,779,105,839], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Q + 0x1D64D: [676,0,670,80,698], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL R + 0x1D64E: [691,19,554,66,637], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL S + 0x1D64F: [676,0,641,157,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL T + 0x1D650: [676,19,699,123,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL U + 0x1D651: [676,18,690,193,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL V + 0x1D652: [676,15,997,198,1135], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL W + 0x1D653: [676,0,740,40,853], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL X + 0x1D654: [676,0,694,188,842], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Y + 0x1D655: [676,0,653,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Z + 0x1D656: [473,14,489,48,507], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL A + 0x1D657: [676,13,512,51,558], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL B + 0x1D658: [473,14,462,71,524], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL C + 0x1D659: [676,14,518,69,625], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D + 0x1D65A: [473,13,452,71,492], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL E + 0x1D65B: [692,0,340,72,533], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL F + 0x1D65C: [473,206,504,2,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL G + 0x1D65D: [676,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL H + 0x1D65E: [688,0,245,59,366], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL I + 0x1D65F: [688,202,324,-90,440], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL J + 0x1D660: [676,0,519,55,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL K + 0x1D661: [676,0,235,55,348], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL L + 0x1D662: [473,0,776,55,809], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL M + 0x1D663: [473,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL N + 0x1D664: [473,14,501,72,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL O + 0x1D665: [473,205,512,3,559], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL P + 0x1D666: [473,205,512,69,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Q + 0x1D667: [473,0,411,55,519], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL R + 0x1D668: [473,13,385,37,442], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL S + 0x1D669: [631,12,386,98,447], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL T + 0x1D66A: [462,15,518,81,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL U + 0x1D66B: [462,14,462,129,561], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL V + 0x1D66C: [462,14,701,131,798], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL W + 0x1D66D: [462,0,506,20,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL X + 0x1D66E: [462,204,472,-27,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Y + 0x1D66F: [462,0,441,21,530] // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/MathSSItalicBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js new file mode 100644 index 0000000..f02ab4a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/BoldItalic/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-bold-italic'], + { + 0x2B0: [852,-328,380,7,365], // MODIFIER LETTER SMALL H + 0x2B1: [841,-329,380,7,365], // MODIFIER LETTER SMALL H WITH HOOK + 0x2B2: [1017,-331,350,24,384], // MODIFIER LETTER SMALL J + 0x2B3: [690,-344,389,21,384], // MODIFIER LETTER SMALL R + 0x2B4: [690,-344,389,2,365], // MODIFIER LETTER SMALL TURNED R + 0x2B5: [690,-171,389,2,371], // MODIFIER LETTER SMALL TURNED R WITH HOOK + 0x2B6: [684,-345,390,5,466], // MODIFIER LETTER SMALL CAPITAL INVERTED R + 0x2B7: [690,-331,450,15,467], // MODIFIER LETTER SMALL W + 0x2B8: [690,-176,350,11,386], // MODIFIER LETTER SMALL Y + 0x2BB: [685,-369,333,128,332], // MODIFIER LETTER TURNED COMMA + 0x2C0: [690,-240,343,-3,323], // MODIFIER LETTER GLOTTAL STOP + 0x2C1: [690,-240,326,20,364], // MODIFIER LETTER REVERSED GLOTTAL STOP + 0x2C6: [690,-516,333,40,367], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [690,-516,333,79,411], // CARON + 0x2D8: [678,-516,333,71,387], // BREVE + 0x2D9: [655,-525,333,163,293], // DOT ABOVE + 0x2DA: [754,-541,333,127,340], // RING ABOVE + 0x2DB: [44,173,333,-40,189], // OGONEK + 0x2DC: [655,-536,333,48,407], // SMALL TILDE + 0x2DD: [697,-516,333,69,498], // DOUBLE ACUTE ACCENT + 0x2E0: [684,-190,379,14,423], // MODIFIER LETTER SMALL GAMMA + 0x2E1: [857,-329,222,2,217], // MODIFIER LETTER SMALL L + 0x2E2: [690,-331,280,8,274], // MODIFIER LETTER SMALL S + 0x2E3: [690,-335,389,3,387], // MODIFIER LETTER SMALL X + 0x2E4: [849,-329,328,9,364], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP + 0x2EC: [70,167,314,5,309], // MODIFIER LETTER VOICING + 0x2ED: [720,-528,395,5,390] // MODIFIER LETTER UNASPIRATED + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/BoldItalic/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js new file mode 100644 index 0000000..505b922 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/AlphaPresentForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0xFB00: [678,207,527,-147,673], // LATIN SMALL LIGATURE FF + 0xFB01: [681,207,500,-141,481], // LATIN SMALL LIGATURE FI + 0xFB02: [682,204,500,-141,518], // LATIN SMALL LIGATURE FL + 0xFB03: [681,207,744,-147,725], // LATIN SMALL LIGATURE FFI + 0xFB04: [682,207,745,-147,763] // LATIN SMALL LIGATURE FFL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/AlphaPresentForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js new file mode 100644 index 0000000..c27a42f --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/BoxDrawing.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL + 0x2502: [910,303,708,317,390], // BOX DRAWINGS LIGHT VERTICAL + 0x250C: [340,303,708,317,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: [910,-267,708,317,720], // BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT + 0x251C: [910,303,708,317,719], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL + 0x2551: [910,303,708,225,483], // BOX DRAWINGS DOUBLE VERTICAL + 0x2552: [433,303,708,317,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x2558: [910,-174,708,317,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT + 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT + 0x255E: [910,303,708,317,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x256C: [910,303,708,-11,719] // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/BoxDrawing.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js new file mode 100644 index 0000000..84021d7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js @@ -0,0 +1,47 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CombDiactForSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x20D0: [760,-627,0,-453,-17], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [760,-627,0,-426,10], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,0,-300,-234], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [760,-548,0,-453,-17], // COMBINING LEFT ARROW ABOVE + 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE + 0x20DB: [622,-523,0,-453,44], // COMBINING THREE DOTS ABOVE + 0x20DC: [622,-523,0,-582,114], // COMBINING FOUR DOTS ABOVE + 0x20DD: [725,221,0,-723,223], // COMBINING ENCLOSING CIRCLE + 0x20E1: [760,-548,0,-453,25], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1023,155,0,-970,490], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,156,0,-430,-24], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,0,-351,-86], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [725,178,0,-595,221], // COMBINING ANNUITY SYMBOL + 0x20E8: [-119,218,0,-462,35], // COMBINING TRIPLE UNDERDOT + 0x20E9: [681,-538,0,-478,55], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [419,-87,0,-793,153], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EC: [681,-548,0,-453,-17], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [681,-548,0,-453,-17], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-40,252,0,-453,-17], // COMBINING LEFT ARROW BELOW + 0x20EF: [-40,252,0,-453,-17] // COMBINING RIGHT ARROW BELOW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/CombDiactForSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js new file mode 100644 index 0000000..b3719f8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ControlPictures.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2423: [16,120,500,40,460] // stix-round space indicator + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/ControlPictures.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js new file mode 100644 index 0000000..04f03de --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/CurrencySymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x20A3: [653,0,611,8,645], // FRENCH FRANC SIGN + 0x20A4: [670,8,500,10,517], // LIRA SIGN + 0x20A7: [653,13,1149,0,1126], // PESETA SIGN + 0x20AC: [664,12,500,16,538] // EURO SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/CurrencySymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js new file mode 100644 index 0000000..fcb3620 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js @@ -0,0 +1,129 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Cyrillic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x401: [856,0,611,1,631], // CYRILLIC CAPITAL LETTER IO + 0x402: [653,208,723,70,663], // CYRILLIC CAPITAL LETTER DJE + 0x403: [914,0,569,-36,603], // CYRILLIC CAPITAL LETTER GJE + 0x404: [666,18,657,67,680], // CYRILLIC CAPITAL LETTER UKRAINIAN IE + 0x405: [667,18,500,7,498], // CYRILLIC CAPITAL LETTER DZE + 0x406: [653,0,333,-7,382], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I + 0x407: [856,0,333,-31,433], // CYRILLIC CAPITAL LETTER YI + 0x408: [653,18,444,-34,463], // CYRILLIC CAPITAL LETTER JE + 0x409: [653,16,961,-35,901], // CYRILLIC CAPITAL LETTER LJE + 0x40A: [653,0,966,-28,906], // CYRILLIC CAPITAL LETTER NJE + 0x40B: [653,0,786,70,701], // CYRILLIC CAPITAL LETTER TSHE + 0x40C: [914,0,621,-28,657], // CYRILLIC CAPITAL LETTER KJE + 0x40E: [887,14,656,110,716], // CYRILLIC CAPITAL LETTER SHORT U + 0x40F: [653,179,722,-25,747], // CYRILLIC CAPITAL LETTER DZHE + 0x410: [668,0,611,-49,566], // CYRILLIC CAPITAL LETTER A + 0x411: [653,0,590,-28,603], // CYRILLIC CAPITAL LETTER BE + 0x412: [653,0,597,-23,571], // CYRILLIC CAPITAL LETTER VE + 0x413: [653,0,569,-36,603], // CYRILLIC CAPITAL LETTER GHE + 0x414: [653,179,655,-103,696], // CYRILLIC CAPITAL LETTER DE + 0x415: [653,0,611,1,631], // CYRILLIC CAPITAL LETTER IE + 0x416: [661,0,956,-55,972], // CYRILLIC CAPITAL LETTER ZHE + 0x417: [668,16,564,9,548], // CYRILLIC CAPITAL LETTER ZE + 0x418: [653,0,708,-25,749], // CYRILLIC CAPITAL LETTER I + 0x419: [887,0,708,-25,749], // CYRILLIC CAPITAL LETTER SHORT I + 0x41A: [661,0,621,-28,657], // CYRILLIC CAPITAL LETTER KA + 0x41B: [653,16,699,-35,740], // CYRILLIC CAPITAL LETTER EL + 0x41C: [653,0,814,-33,855], // CYRILLIC CAPITAL LETTER EM + 0x41D: [653,0,708,-26,749], // CYRILLIC CAPITAL LETTER EN + 0x41E: [667,18,712,60,699], // CYRILLIC CAPITAL LETTER O + 0x41F: [653,0,704,-29,745], // CYRILLIC CAPITAL LETTER PE + 0x420: [653,0,568,-24,578], // CYRILLIC CAPITAL LETTER ER + 0x421: [666,18,667,67,690], // CYRILLIC CAPITAL LETTER ES + 0x422: [653,0,556,70,644], // CYRILLIC CAPITAL LETTER TE + 0x423: [653,14,656,110,716], // CYRILLIC CAPITAL LETTER U + 0x424: [653,0,772,73,758], // CYRILLIC CAPITAL LETTER EF + 0x425: [653,0,575,-67,617], // CYRILLIC CAPITAL LETTER HA + 0x426: [653,179,706,-25,747], // CYRILLIC CAPITAL LETTER TSE + 0x427: [653,0,622,54,663], // CYRILLIC CAPITAL LETTER CHE + 0x428: [653,0,936,-14,977], // CYRILLIC CAPITAL LETTER SHA + 0x429: [653,179,936,-14,977], // CYRILLIC CAPITAL LETTER SHCHA + 0x42A: [653,0,695,63,652], // CYRILLIC CAPITAL LETTER HARD SIGN + 0x42B: [653,0,852,-28,893], // CYRILLIC CAPITAL LETTER YERU + 0x42C: [653,0,597,-28,537], // CYRILLIC CAPITAL LETTER SOFT SIGN + 0x42D: [666,18,658,15,636], // CYRILLIC CAPITAL LETTER E + 0x42E: [666,18,877,-32,850], // CYRILLIC CAPITAL LETTER YU + 0x42F: [653,0,635,-49,676], // CYRILLIC CAPITAL LETTER YA + 0x430: [441,11,514,23,482], // CYRILLIC SMALL LETTER A + 0x431: [683,11,498,36,535], // CYRILLIC SMALL LETTER BE + 0x432: [441,11,442,31,423], // CYRILLIC SMALL LETTER VE + 0x433: [441,11,390,1,384], // CYRILLIC SMALL LETTER GHE + 0x434: [683,11,489,30,470], // CYRILLIC SMALL LETTER DE + 0x435: [441,11,440,34,422], // CYRILLIC SMALL LETTER IE + 0x436: [441,11,799,0,791], // CYRILLIC SMALL LETTER ZHE + 0x437: [441,11,376,-18,357], // CYRILLIC SMALL LETTER ZE + 0x438: [441,11,527,29,495], // CYRILLIC SMALL LETTER I + 0x439: [667,11,527,29,495], // CYRILLIC SMALL LETTER SHORT I + 0x43A: [441,11,491,18,485], // CYRILLIC SMALL LETTER KA + 0x43B: [441,12,474,-44,442], // CYRILLIC SMALL LETTER EL + 0x43C: [432,12,633,-45,601], // CYRILLIC SMALL LETTER EM + 0x43D: [441,9,504,20,472], // CYRILLIC SMALL LETTER EN + 0x43E: [441,11,489,29,470], // CYRILLIC SMALL LETTER O + 0x43F: [441,9,511,19,479], // CYRILLIC SMALL LETTER PE + 0x440: [441,205,483,-77,464], // CYRILLIC SMALL LETTER ER + 0x441: [441,11,441,27,422], // CYRILLIC SMALL LETTER ES + 0x442: [441,9,741,17,709], // CYRILLIC SMALL LETTER TE + 0x443: [441,206,421,-61,389], // CYRILLIC SMALL LETTER U + 0x444: [683,205,702,29,677], // CYRILLIC SMALL LETTER EF + 0x445: [441,11,444,-35,439], // CYRILLIC SMALL LETTER HA + 0x446: [441,182,527,29,495], // CYRILLIC SMALL LETTER TSE + 0x447: [441,9,482,42,450], // CYRILLIC SMALL LETTER CHE + 0x448: [441,11,785,31,753], // CYRILLIC SMALL LETTER SHA + 0x449: [441,182,785,31,753], // CYRILLIC SMALL LETTER SHCHA + 0x44A: [441,11,567,12,528], // CYRILLIC SMALL LETTER HARD SIGN + 0x44B: [441,11,689,50,657], // CYRILLIC SMALL LETTER YERU + 0x44C: [441,11,471,50,433], // CYRILLIC SMALL LETTER SOFT SIGN + 0x44D: [441,11,408,7,391], // CYRILLIC SMALL LETTER E + 0x44E: [441,11,674,21,655], // CYRILLIC SMALL LETTER YU + 0x44F: [432,9,481,-25,449], // CYRILLIC SMALL LETTER YA + 0x451: [606,11,440,34,475], // CYRILLIC SMALL LETTER IO + 0x452: [683,208,479,20,448], // CYRILLIC SMALL LETTER DJE + 0x453: [664,11,390,1,455], // CYRILLIC SMALL LETTER GJE + 0x454: [441,11,428,26,441], // CYRILLIC SMALL LETTER UKRAINIAN IE + 0x455: [442,13,389,-9,341], // CYRILLIC SMALL LETTER DZE + 0x456: [654,11,278,43,258], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I + 0x457: [606,11,278,43,357], // CYRILLIC SMALL LETTER YI + 0x458: [652,207,278,-172,231], // CYRILLIC SMALL LETTER JE + 0x459: [441,12,679,-44,631], // CYRILLIC SMALL LETTER LJE + 0x45A: [441,11,697,21,649], // CYRILLIC SMALL LETTER NJE + 0x45B: [683,9,511,20,479], // CYRILLIC SMALL LETTER TSHE + 0x45C: [664,11,491,18,485], // CYRILLIC SMALL LETTER KJE + 0x45E: [667,206,421,-61,417], // CYRILLIC SMALL LETTER SHORT U + 0x45F: [441,182,527,29,495], // CYRILLIC SMALL LETTER DZHE + 0x462: [653,0,681,19,621], // CYRILLIC CAPITAL LETTER YAT + 0x463: [683,11,542,13,504], // CYRILLIC SMALL LETTER YAT + 0x46A: [653,0,953,-55,893], // CYRILLIC CAPITAL LETTER BIG YUS + 0x46B: [432,11,741,0,686], // CYRILLIC SMALL LETTER BIG YUS + 0x472: [667,18,712,60,699], // CYRILLIC CAPITAL LETTER FITA + 0x473: [441,11,489,29,470], // CYRILLIC SMALL LETTER FITA + 0x474: [662,18,646,76,742], // CYRILLIC CAPITAL LETTER IZHITSA + 0x475: [441,18,464,34,528], // CYRILLIC SMALL LETTER IZHITSA + 0x490: [783,0,524,-30,622], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN + 0x491: [507,11,337,42,404] // CYRILLIC SMALL LETTER GHE WITH UPTURN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Cyrillic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js new file mode 100644 index 0000000..6d2afc0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/EnclosedAlphanum.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2460: [676,14,684,0,684], // CIRCLED DIGIT ONE + 0x2461: [676,14,684,0,684], // CIRCLED DIGIT TWO + 0x2462: [676,14,684,0,684], // CIRCLED DIGIT THREE + 0x2463: [676,14,684,0,684], // CIRCLED DIGIT FOUR + 0x2464: [676,14,684,0,684], // CIRCLED DIGIT FIVE + 0x2465: [676,14,684,0,684], // CIRCLED DIGIT SIX + 0x2466: [676,14,684,0,684], // CIRCLED DIGIT SEVEN + 0x2467: [676,14,684,0,684], // CIRCLED DIGIT EIGHT + 0x2468: [676,14,684,0,684], // CIRCLED DIGIT NINE + 0x24B6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER A + 0x24B7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER B + 0x24B8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER C + 0x24B9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER D + 0x24BA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER E + 0x24BB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER F + 0x24BC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER G + 0x24BD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER H + 0x24BE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER I + 0x24BF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER J + 0x24C0: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER K + 0x24C1: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER L + 0x24C2: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER M + 0x24C3: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER N + 0x24C4: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER O + 0x24C5: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER P + 0x24C6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Q + 0x24C7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER R + 0x24C8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER S + 0x24C9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER T + 0x24CA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER U + 0x24CB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER V + 0x24CC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER W + 0x24CD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER X + 0x24CE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Y + 0x24CF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Z + 0x24D0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER A + 0x24D1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER B + 0x24D2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER C + 0x24D3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER D + 0x24D4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER E + 0x24D5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER F + 0x24D6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER G + 0x24D7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER H + 0x24D8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER I + 0x24D9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER J + 0x24DA: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER K + 0x24DB: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER L + 0x24DC: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER M + 0x24DD: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER N + 0x24DE: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER O + 0x24DF: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER P + 0x24E0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Q + 0x24E1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER R + 0x24E2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER S + 0x24E3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER T + 0x24E4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER U + 0x24E5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER V + 0x24E6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER W + 0x24E7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER X + 0x24E8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Y + 0x24E9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Z + 0x24EA: [676,14,684,0,684] // CIRCLED DIGIT ZERO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/EnclosedAlphanum.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js new file mode 100644 index 0000000..800c400 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js @@ -0,0 +1,50 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2010: [257,-191,333,49,282], // HYPHEN + 0x2011: [257,-191,333,49,282], // NON-BREAKING HYPHEN + 0x2012: [258,-192,500,-8,508], // FIGURE DASH + 0x2013: [243,-197,500,-6,505], // EN DASH + 0x2014: [243,-197,889,-6,894], // EM DASH + 0x2018: [666,-436,333,171,310], // LEFT SINGLE QUOTATION MARK + 0x2019: [666,-436,333,151,290], // RIGHT SINGLE QUOTATION MARK + 0x201A: [101,129,333,44,183], // SINGLE LOW-9 QUOTATION MARK + 0x201B: [666,-436,333,169,290], // SINGLE HIGH-REVERSED-9 QUOTATION MARK + 0x201C: [666,-436,556,166,514], // LEFT DOUBLE QUOTATION MARK + 0x201D: [666,-436,556,151,499], // RIGHT DOUBLE QUOTATION MARK + 0x201E: [101,129,556,57,405], // DOUBLE LOW-9 QUOTATION MARK + 0x201F: [666,-436,556,169,499], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK + 0x2020: [666,159,500,101,488], // DAGGER + 0x2021: [666,143,500,22,491], // DOUBLE DAGGER + 0x2022: [444,-59,523,70,455], // BULLET + 0x2026: [100,11,889,57,762], // HORIZONTAL ELLIPSIS + 0x2030: [706,19,1117,80,1067], // PER MILLE SIGN + 0x2031: [706,19,1479,80,1429], // PER TEN THOUSAND SIGN + 0x2039: [403,-37,333,51,281], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + 0x203A: [403,-37,333,52,282], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + 0x203E: [582,-532,500,0,500], // OVERLINE + 0x2044: [676,10,167,-169,337] // FRACTION SLASH + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js new file mode 100644 index 0000000..3d29cc3 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js @@ -0,0 +1,78 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekAndCoptic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x384: [649,-494,289,160,322], // GREEK TONOS + 0x385: [649,-494,333,70,387], // GREEK DIALYTIKA TONOS + 0x386: [678,0,611,-51,564], // GREEK CAPITAL LETTER ALPHA WITH TONOS + 0x387: [441,-330,333,150,261], // GREEK ANO TELEIA + 0x388: [678,0,630,7,679], // GREEK CAPITAL LETTER EPSILON WITH TONOS + 0x389: [678,0,740,4,821], // GREEK CAPITAL LETTER ETA WITH TONOS + 0x38A: [678,0,350,3,429], // GREEK CAPITAL LETTER IOTA WITH TONOS + 0x38C: [678,18,722,58,699], // GREEK CAPITAL LETTER OMICRON WITH TONOS + 0x38E: [678,0,580,8,725], // GREEK CAPITAL LETTER UPSILON WITH TONOS + 0x38F: [678,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA WITH TONOS + 0x390: [649,11,278,49,387], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS + 0x391: [668,0,611,-51,564], // GREEK CAPITAL LETTER ALPHA + 0x392: [653,0,611,-8,588], // GREEK CAPITAL LETTER BETA + 0x395: [653,0,611,-1,634], // GREEK CAPITAL LETTER EPSILON + 0x396: [653,0,556,-6,606], // GREEK CAPITAL LETTER ZETA + 0x397: [653,0,722,-8,769], // GREEK CAPITAL LETTER ETA + 0x399: [653,0,333,-8,384], // GREEK CAPITAL LETTER IOTA + 0x39A: [653,0,667,7,722], // GREEK CAPITAL LETTER KAPPA + 0x39C: [653,0,833,-18,872], // GREEK CAPITAL LETTER MU + 0x39D: [653,15,667,-20,727], // GREEK CAPITAL LETTER NU + 0x39F: [667,18,722,60,699], // GREEK CAPITAL LETTER OMICRON + 0x3A1: [653,0,611,0,605], // GREEK CAPITAL LETTER RHO + 0x3A4: [653,0,556,59,633], // GREEK CAPITAL LETTER TAU + 0x3A7: [653,0,611,-29,655], // GREEK CAPITAL LETTER CHI + 0x3AA: [856,0,333,-8,460], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA + 0x3AB: [856,0,556,78,648], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA + 0x3AC: [649,11,552,27,549], // GREEK SMALL LETTER ALPHA WITH TONOS + 0x3AD: [649,11,444,30,425], // GREEK SMALL LETTER EPSILON WITH TONOS + 0x3AE: [649,205,474,14,442], // GREEK SMALL LETTER ETA WITH TONOS + 0x3AF: [649,11,278,49,288], // GREEK SMALL LETTER IOTA WITH TONOS + 0x3B0: [649,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS + 0x3CA: [606,11,278,49,359], // GREEK SMALL LETTER IOTA WITH DIALYTIKA + 0x3CB: [606,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA + 0x3CC: [649,11,500,27,468], // GREEK SMALL LETTER OMICRON WITH TONOS + 0x3CD: [649,10,478,19,446], // GREEK SMALL LETTER UPSILON WITH TONOS + 0x3CE: [649,11,686,27,654], // GREEK SMALL LETTER OMEGA WITH TONOS + 0x3D0: [694,10,456,45,436], // GREEK BETA SYMBOL + 0x3D2: [668,0,596,78,693], // GREEK UPSILON WITH HOOK SYMBOL + 0x3D8: [667,205,722,60,699], // GREEK LETTER ARCHAIC KOPPA + 0x3D9: [441,205,500,27,468], // GREEK SMALL LETTER ARCHAIC KOPPA + 0x3DA: [666,207,673,55,665], // GREEK LETTER STIGMA + 0x3DB: [458,185,444,30,482], // GREEK SMALL LETTER STIGMA + 0x3DC: [653,0,557,8,645], // GREEK LETTER DIGAMMA + 0x3DD: [433,190,487,32,472], // GREEK SMALL LETTER DIGAMMA + 0x3DE: [773,18,645,19,675], // GREEK LETTER KOPPA + 0x3DF: [683,0,457,31,445], // GREEK SMALL LETTER KOPPA + 0x3E0: [666,207,708,7,668], // GREEK LETTER SAMPI + 0x3E1: [552,210,528,93,448], // GREEK SMALL LETTER SAMPI + 0x3F0: [441,13,533,-16,559], // GREEK KAPPA SYMBOL + 0x3F4: [667,18,722,60,699], // GREEK CAPITAL THETA SYMBOL + 0x3F6: [441,11,444,24,414] // GREEK REVERSED LUNATE EPSILON SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GreekAndCoptic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js new file mode 100644 index 0000000..d6106d6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/GreekItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1D6E2: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL ALPHA + 0x1D6E3: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL BETA + 0x1D6E4: [653,0,616,38,721], // MATHEMATICAL ITALIC CAPITAL GAMMA + 0x1D6E5: [667,0,596,30,556], // MATHEMATICAL ITALIC CAPITAL DELTA + 0x1D6E6: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL EPSILON + 0x1D6E7: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL ZETA + 0x1D6E8: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL ETA + 0x1D6E9: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA + 0x1D6EA: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL IOTA + 0x1D6EB: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL KAPPA + 0x1D6EC: [667,0,718,35,686], // MATHEMATICAL ITALIC CAPITAL LAMDA + 0x1D6ED: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL MU + 0x1D6EE: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL NU + 0x1D6EF: [653,0,706,52,741], // MATHEMATICAL ITALIC CAPITAL XI + 0x1D6F0: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL OMICRON + 0x1D6F1: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL PI + 0x1D6F2: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL RHO + 0x1D6F3: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA SYMBOL + 0x1D6F4: [653,0,735,58,760], // MATHEMATICAL ITALIC CAPITAL SIGMA + 0x1D6F5: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL TAU + 0x1D6F6: [668,0,567,28,687], // MATHEMATICAL ITALIC CAPITAL UPSILON + 0x1D6F7: [653,0,772,25,747], // MATHEMATICAL ITALIC CAPITAL PHI + 0x1D6F8: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL CHI + 0x1D6F9: [667,0,670,28,743], // MATHEMATICAL ITALIC CAPITAL PSI + 0x1D6FA: [666,0,800,32,777], // MATHEMATICAL ITALIC CAPITAL OMEGA + 0x1D6FB: [653,15,627,42,600], // MATHEMATICAL ITALIC NABLA + 0x1D6FC: [441,10,524,40,529], // MATHEMATICAL ITALIC SMALL ALPHA + 0x1D6FD: [668,183,493,25,518], // MATHEMATICAL ITALIC SMALL BETA + 0x1D6FE: [441,187,428,35,458], // MATHEMATICAL ITALIC SMALL GAMMA + 0x1D6FF: [668,11,463,40,451], // MATHEMATICAL ITALIC SMALL DELTA + 0x1D700: [441,11,484,25,444], // MATHEMATICAL ITALIC SMALL EPSILON + 0x1D701: [668,183,435,40,480], // MATHEMATICAL ITALIC SMALL ZETA + 0x1D702: [441,183,460,30,455], // MATHEMATICAL ITALIC SMALL ETA + 0x1D703: [668,11,484,40,474], // MATHEMATICAL ITALIC SMALL THETA + 0x1D704: [441,11,267,50,227], // MATHEMATICAL ITALIC SMALL IOTA + 0x1D705: [441,0,534,50,549], // MATHEMATICAL ITALIC SMALL KAPPA + 0x1D706: [668,16,541,50,511], // MATHEMATICAL ITALIC SMALL LAMDA + 0x1D707: [428,183,579,30,549], // MATHEMATICAL ITALIC SMALL MU + 0x1D708: [446,9,452,50,462], // MATHEMATICAL ITALIC SMALL NU + 0x1D709: [668,183,433,25,443], // MATHEMATICAL ITALIC SMALL XI + 0x1D70A: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL OMICRON + 0x1D70B: [428,13,558,35,568], // MATHEMATICAL ITALIC SMALL PI + 0x1D70C: [441,183,502,30,472], // MATHEMATICAL ITALIC SMALL RHO + 0x1D70D: [490,183,439,35,464], // MATHEMATICAL ITALIC SMALL FINAL SIGMA + 0x1D70E: [428,11,537,40,547], // MATHEMATICAL ITALIC SMALL SIGMA + 0x1D70F: [428,5,442,30,472], // MATHEMATICAL ITALIC SMALL TAU + 0x1D710: [439,11,460,30,445], // MATHEMATICAL ITALIC SMALL UPSILON + 0x1D711: [441,183,666,50,631], // MATHEMATICAL ITALIC SMALL PHI + 0x1D712: [441,202,595,30,645], // MATHEMATICAL ITALIC SMALL CHI + 0x1D713: [441,183,661,30,711], // MATHEMATICAL ITALIC SMALL PSI + 0x1D714: [441,11,681,20,661], // MATHEMATICAL ITALIC SMALL OMEGA + 0x1D715: [668,11,471,40,471], // MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL + 0x1D716: [441,11,430,40,430], // MATHEMATICAL ITALIC EPSILON SYMBOL + 0x1D717: [678,10,554,20,507], // MATHEMATICAL ITALIC THETA SYMBOL + 0x1D718: [441,13,561,12,587], // MATHEMATICAL ITALIC KAPPA SYMBOL + 0x1D719: [668,183,645,40,620], // MATHEMATICAL ITALIC PHI SYMBOL + 0x1D71A: [441,187,509,40,489], // MATHEMATICAL ITALIC RHO SYMBOL + 0x1D71B: [428,11,856,30,866] // MATHEMATICAL ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/GreekItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js new file mode 100644 index 0000000..2bced3b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js @@ -0,0 +1,116 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/IPAExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x250: [460,10,444,19,421], // ?? + 0x251: [460,10,511,17,487], // ?? + 0x252: [460,10,511,17,487], // ?? + 0x253: [683,11,500,23,488], // ?? + 0x254: [441,11,444,30,425], // ?? + 0x255: [441,160,444,-3,425], // ?? + 0x256: [683,233,500,15,527], // ?? + 0x257: [683,13,500,15,748], // ?? + 0x258: [441,11,444,31,416], // ?? + 0x259: [441,11,444,31,412], // ?? + 0x25A: [441,11,639,31,639], // ?? + 0x25B: [475,14,444,31,467], // ?? + 0x25C: [475,14,480,31,447], // ?? + 0x25D: [475,14,666,31,666], // ?? + 0x25E: [475,14,490,30,458], // ?? + 0x25F: [441,207,357,-100,340], // ?? + 0x260: [683,212,714,8,799], // ?? + 0x261: [482,212,595,8,579], // ?? + 0x262: [441,11,562,52,562], // ?? + 0x263: [441,234,444,15,426], // ?? + 0x264: [450,10,480,4,475], // ?? + 0x265: [450,242,500,19,478], // ?? + 0x266: [683,9,500,19,494], // ?? + 0x267: [683,233,500,-6,494], // ?? + 0x268: [654,11,278,16,264], // ?? + 0x269: [454,10,333,51,266], // ?? + 0x26A: [441,0,247,-8,298], // ?? + 0x26B: [683,11,278,4,331], // ?? + 0x26C: [683,11,375,12,366], // ?? + 0x26D: [683,233,252,8,279], // ?? + 0x26E: [683,233,575,41,537], // ?? + 0x26F: [441,9,722,12,704], // ?? + 0x270: [441,233,722,12,704], // ?? + 0x271: [441,233,690,12,672], // ?? + 0x272: [441,233,606,-110,580], // ?? + 0x273: [441,233,498,14,487], // ?? + 0x274: [441,8,539,-20,599], // ?? + 0x275: [441,11,500,27,468], // ?? + 0x276: [441,6,718,49,738], // ?? + 0x277: [475,4,668,30,638], // ?? + 0x278: [683,233,660,30,630], // ?? + 0x279: [441,0,402,-45,322], // ?? + 0x27A: [683,0,383,-45,384], // ?? + 0x27B: [441,233,353,-45,342], // ?? + 0x27C: [441,233,333,-20,412], // ?? + 0x27D: [441,233,390,24,412], // ?? + 0x27E: [470,0,401,45,424], // ?? + 0x27F: [470,0,338,66,293], // ?? + 0x280: [464,0,475,25,501], // ?? + 0x281: [464,0,475,25,581], // ?? + 0x282: [442,218,389,9,376], // ?? + 0x283: [683,233,415,-110,577], // ?? + 0x284: [683,233,453,-110,595], // ?? + 0x285: [470,233,339,79,355], // ?? + 0x286: [683,243,439,-62,602], // ?? + 0x287: [460,97,330,38,296], // ?? + 0x288: [546,233,278,6,308], // ?? + 0x289: [441,11,500,9,479], // ?? + 0x28A: [450,10,537,49,552], // ?? + 0x28B: [441,10,500,52,475], // ?? + 0x28C: [441,18,444,20,426], // ?? + 0x28D: [441,18,667,15,648], // ?? + 0x28E: [647,0,444,10,460], // ?? + 0x28F: [464,0,633,62,603], // ?? + 0x290: [428,218,405,17,429], // ?? + 0x291: [428,47,393,17,380], // ?? + 0x292: [450,233,413,21,517], // ?? + 0x293: [450,305,457,7,544], // ?? + 0x294: [683,0,500,55,509], // ?? + 0x295: [683,0,500,55,495], // ?? + 0x296: [662,14,393,-25,413], // ?? + 0x297: [441,238,450,24,459], // ?? + 0x298: [679,17,723,22,704], // ?? + 0x299: [464,0,460,19,505], // ?? + 0x29A: [475,14,479,20,470], // ?? + 0x29B: [515,11,570,29,650], // ?? + 0x29C: [464,0,572,25,671], // ?? + 0x29D: [652,233,403,-80,394], // ?? + 0x29E: [439,255,463,26,473], // ?? + 0x29F: [464,0,470,25,473], // ?? + 0x2A0: [582,209,480,25,666], // ?? + 0x2A1: [683,0,500,55,509], // ?? + 0x2A2: [683,0,500,55,495], // ?? + 0x2A3: [683,13,743,15,741], // ?? + 0x2A4: [683,233,743,15,780], // ?? + 0x2A5: [683,47,754,15,741], // ?? + 0x2A6: [546,11,500,38,523], // ?? + 0x2A7: [683,233,517,-32,655], // ?? + 0x2A8: [546,16,632,38,612] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/IPAExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js new file mode 100644 index 0000000..77ae0a2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js @@ -0,0 +1,123 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA1: [474,205,389,59,321], // INVERTED EXCLAMATION MARK + 0xA2: [560,143,500,77,472], // CENT SIGN + 0xA3: [670,8,500,10,517], // POUND SIGN + 0xA4: [534,10,500,-22,522], // CURRENCY SIGN + 0xA5: [653,0,500,28,605], // YEN SIGN + 0xA6: [666,18,275,105,171], // BROKEN BAR + 0xA7: [666,162,500,53,461], // SECTION SIGN + 0xA8: [606,-508,333,107,405], // DIAERESIS + 0xA9: [666,18,760,41,719], // COPYRIGHT SIGN + 0xAA: [676,-406,276,42,352], // FEMININE ORDINAL INDICATOR + 0xAB: [403,-37,500,53,445], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xAC: [386,-108,675,86,590], // NOT SIGN + 0xAD: [255,-192,333,49,282], // SOFT HYPHEN + 0xAE: [666,18,760,41,719], // REGISTERED SIGN + 0xAF: [583,-532,333,99,411], // MACRON + 0xB0: [676,-390,400,101,387], // DEGREE SIGN + 0xB1: [568,0,675,86,590], // PLUS-MINUS SIGN + 0xB2: [676,-271,300,33,324], // SUPERSCRIPT TWO + 0xB3: [676,-268,300,43,339], // SUPERSCRIPT THREE + 0xB4: [664,-494,333,180,403], // ACUTE ACCENT + 0xB5: [428,209,500,-30,497], // MICRO SIGN + 0xB6: [653,123,559,60,621], // PILCROW SIGN + 0xB7: [310,-199,250,70,181], // MIDDLE DOT + 0xB8: [0,217,333,-30,182], // CEDILLA + 0xB9: [676,-271,300,43,284], // SUPERSCRIPT ONE + 0xBA: [676,-406,310,67,362], // MASCULINE ORDINAL INDICATOR + 0xBB: [403,-37,500,55,447], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xBC: [676,10,750,33,736], // VULGAR FRACTION ONE QUARTER + 0xBD: [676,10,750,34,749], // VULGAR FRACTION ONE HALF + 0xBE: [676,10,750,23,736], // VULGAR FRACTION THREE QUARTERS + 0xBF: [473,205,500,28,367], // INVERTED QUESTION MARK + 0xC0: [914,0,611,-51,564], // LATIN CAPITAL LETTER A WITH GRAVE + 0xC1: [914,0,611,-51,564], // LATIN CAPITAL LETTER A WITH ACUTE + 0xC2: [911,0,611,-51,564], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX + 0xC3: [874,0,611,-51,572], // LATIN CAPITAL LETTER A WITH TILDE + 0xC4: [856,0,611,-51,564], // LATIN CAPITAL LETTER A WITH DIAERESIS + 0xC5: [957,0,611,-51,564], // LATIN CAPITAL LETTER A WITH RING ABOVE + 0xC6: [653,0,889,-27,911], // LATIN CAPITAL LETTER AE + 0xC7: [666,217,667,66,689], // LATIN CAPITAL LETTER C WITH CEDILLA + 0xC8: [914,0,611,-1,634], // LATIN CAPITAL LETTER E WITH GRAVE + 0xC9: [914,0,611,-1,634], // LATIN CAPITAL LETTER E WITH ACUTE + 0xCA: [911,0,611,-1,634], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX + 0xCB: [856,0,611,-1,634], // LATIN CAPITAL LETTER E WITH DIAERESIS + 0xCC: [914,0,333,-8,398], // LATIN CAPITAL LETTER I WITH GRAVE + 0xCD: [914,0,333,-8,414], // LATIN CAPITAL LETTER I WITH ACUTE + 0xCE: [911,0,333,-8,450], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX + 0xCF: [856,0,333,-8,457], // LATIN CAPITAL LETTER I WITH DIAERESIS + 0xD0: [653,0,722,-8,700], // LATIN CAPITAL LETTER ETH + 0xD1: [874,15,667,-20,727], // LATIN CAPITAL LETTER N WITH TILDE + 0xD2: [914,18,722,60,699], // LATIN CAPITAL LETTER O WITH GRAVE + 0xD3: [914,18,722,60,699], // LATIN CAPITAL LETTER O WITH ACUTE + 0xD4: [911,18,722,60,699], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX + 0xD5: [874,18,722,60,699], // LATIN CAPITAL LETTER O WITH TILDE + 0xD6: [856,18,722,60,699], // LATIN CAPITAL LETTER O WITH DIAERESIS + 0xD7: [497,-8,675,93,582], // MULTIPLICATION SIGN + 0xD8: [722,105,722,60,699], // LATIN CAPITAL LETTER O WITH STROKE + 0xD9: [914,18,722,102,765], // LATIN CAPITAL LETTER U WITH GRAVE + 0xDA: [914,18,722,102,765], // LATIN CAPITAL LETTER U WITH ACUTE + 0xDB: [911,18,722,102,765], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX + 0xDC: [856,18,722,102,765], // LATIN CAPITAL LETTER U WITH DIAERESIS + 0xDD: [914,0,556,78,633], // LATIN CAPITAL LETTER Y WITH ACUTE + 0xDE: [653,0,611,0,569], // LATIN CAPITAL LETTER THORN + 0xDF: [679,207,500,-168,493], // LATIN SMALL LETTER SHARP S + 0xE0: [664,11,501,17,476], // LATIN SMALL LETTER A WITH GRAVE + 0xE1: [664,11,501,17,476], // LATIN SMALL LETTER A WITH ACUTE + 0xE2: [661,11,501,17,497], // LATIN SMALL LETTER A WITH CIRCUMFLEX + 0xE3: [624,11,501,17,521], // LATIN SMALL LETTER A WITH TILDE + 0xE4: [606,11,501,17,503], // LATIN SMALL LETTER A WITH DIAERESIS + 0xE5: [709,11,501,17,476], // LATIN SMALL LETTER A WITH RING ABOVE + 0xE6: [441,11,667,23,640], // LATIN SMALL LETTER AE + 0xE7: [441,217,444,26,425], // LATIN SMALL LETTER C WITH CEDILLA + 0xE8: [664,11,444,31,414], // LATIN SMALL LETTER E WITH GRAVE + 0xE9: [664,11,444,31,431], // LATIN SMALL LETTER E WITH ACUTE + 0xEA: [661,11,444,31,466], // LATIN SMALL LETTER E WITH CIRCUMFLEX + 0xEB: [606,11,444,31,475], // LATIN SMALL LETTER E WITH DIAERESIS + 0xEC: [664,11,278,47,302], // LATIN SMALL LETTER I WITH GRAVE + 0xED: [664,11,278,47,318], // LATIN SMALL LETTER I WITH ACUTE + 0xEE: [661,11,278,47,351], // LATIN SMALL LETTER I WITH CIRCUMFLEX + 0xEF: [606,11,278,47,361], // LATIN SMALL LETTER I WITH DIAERESIS + 0xF0: [683,11,500,27,482], // LATIN SMALL LETTER ETH + 0xF1: [624,9,500,14,488], // LATIN SMALL LETTER N WITH TILDE + 0xF2: [664,11,500,27,468], // LATIN SMALL LETTER O WITH GRAVE + 0xF3: [664,11,500,27,468], // LATIN SMALL LETTER O WITH ACUTE + 0xF4: [661,11,500,27,468], // LATIN SMALL LETTER O WITH CIRCUMFLEX + 0xF5: [624,11,500,27,494], // LATIN SMALL LETTER O WITH TILDE + 0xF6: [606,11,500,27,474], // LATIN SMALL LETTER O WITH DIAERESIS + 0xF7: [517,11,675,86,590], // DIVISION SIGN + 0xF8: [554,135,500,28,469], // LATIN SMALL LETTER O WITH STROKE + 0xF9: [664,11,500,42,475], // LATIN SMALL LETTER U WITH GRAVE + 0xFA: [664,11,500,42,475], // LATIN SMALL LETTER U WITH ACUTE + 0xFB: [661,11,500,42,475], // LATIN SMALL LETTER U WITH CIRCUMFLEX + 0xFC: [606,11,500,42,475], // LATIN SMALL LETTER U WITH DIAERESIS + 0xFD: [664,206,444,-24,426], // LATIN SMALL LETTER Y WITH ACUTE + 0xFE: [683,205,500,-75,469], // LATIN SMALL LETTER THORN + 0xFF: [606,206,444,-24,442] // LATIN SMALL LETTER Y WITH DIAERESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js new file mode 100644 index 0000000..4f75f49 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js @@ -0,0 +1,154 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x100: [757,0,611,-51,564], // LATIN CAPITAL LETTER A WITH MACRON + 0x101: [543,11,501,17,481], // LATIN SMALL LETTER A WITH MACRON + 0x102: [862,0,611,-51,564], // LATIN CAPITAL LETTER A WITH BREVE + 0x103: [650,11,501,17,481], // LATIN SMALL LETTER A WITH BREVE + 0x104: [668,169,611,-51,626], // LATIN CAPITAL LETTER A WITH OGONEK + 0x105: [441,169,501,17,529], // LATIN SMALL LETTER A WITH OGONEK + 0x106: [876,18,667,66,689], // LATIN CAPITAL LETTER C WITH ACUTE + 0x107: [664,11,444,30,431], // LATIN SMALL LETTER C WITH ACUTE + 0x108: [875,18,667,66,689], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX + 0x109: [661,11,444,30,427], // LATIN SMALL LETTER C WITH CIRCUMFLEX + 0x10A: [818,18,667,66,689], // LATIN CAPITAL LETTER C WITH DOT ABOVE + 0x10B: [606,11,444,30,425], // LATIN SMALL LETTER C WITH DOT ABOVE + 0x10C: [875,18,667,66,689], // LATIN CAPITAL LETTER C WITH CARON + 0x10D: [661,11,444,30,473], // LATIN SMALL LETTER C WITH CARON + 0x10E: [875,0,722,-8,700], // LATIN CAPITAL LETTER D WITH CARON + 0x10F: [691,13,609,15,697], // LATIN SMALL LETTER D WITH CARON + 0x110: [653,0,722,-8,700], // LATIN CAPITAL LETTER D WITH STROKE + 0x111: [683,13,500,15,580], // LATIN SMALL LETTER D WITH STROKE + 0x112: [757,0,611,-1,634], // LATIN CAPITAL LETTER E WITH MACRON + 0x113: [542,11,444,31,466], // LATIN SMALL LETTER E WITH MACRON + 0x114: [866,0,611,-1,634], // LATIN CAPITAL LETTER E WITH BREVE + 0x115: [650,11,444,31,471], // LATIN SMALL LETTER E WITH BREVE + 0x116: [818,0,611,-1,634], // LATIN CAPITAL LETTER E WITH DOT ABOVE + 0x117: [606,11,444,31,412], // LATIN SMALL LETTER E WITH DOT ABOVE + 0x118: [653,175,611,-1,634], // LATIN CAPITAL LETTER E WITH OGONEK + 0x119: [441,175,444,31,412], // LATIN SMALL LETTER E WITH OGONEK + 0x11A: [875,0,611,-1,634], // LATIN CAPITAL LETTER E WITH CARON + 0x11B: [661,11,444,31,502], // LATIN SMALL LETTER E WITH CARON + 0x11C: [877,18,722,52,722], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX + 0x11D: [661,206,500,8,471], // LATIN SMALL LETTER G WITH CIRCUMFLEX + 0x11E: [866,18,722,52,722], // LATIN CAPITAL LETTER G WITH BREVE + 0x11F: [650,206,500,8,476], // LATIN SMALL LETTER G WITH BREVE + 0x120: [818,18,722,52,722], // LATIN CAPITAL LETTER G WITH DOT ABOVE + 0x121: [606,206,500,8,471], // LATIN SMALL LETTER G WITH DOT ABOVE + 0x122: [666,267,722,52,722], // LATIN CAPITAL LETTER G WITH CEDILLA + 0x123: [724,206,500,8,471], // LATIN SMALL LETTER G WITH CEDILLA + 0x124: [875,0,722,-8,769], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX + 0x125: [875,9,500,19,478], // LATIN SMALL LETTER H WITH CIRCUMFLEX + 0x126: [653,0,722,-8,769], // LATIN CAPITAL LETTER H WITH STROKE + 0x127: [683,9,500,19,478], // LATIN SMALL LETTER H WITH STROKE + 0x128: [836,0,333,-8,444], // LATIN CAPITAL LETTER I WITH TILDE + 0x129: [624,11,278,30,357], // LATIN SMALL LETTER I WITH TILDE + 0x12A: [757,0,333,-8,439], // LATIN CAPITAL LETTER I WITH MACRON + 0x12B: [543,11,278,29,341], // LATIN SMALL LETTER I WITH MACRON + 0x12C: [866,0,333,-8,448], // LATIN CAPITAL LETTER I WITH BREVE + 0x12D: [650,11,278,46,347], // LATIN SMALL LETTER I WITH BREVE + 0x12E: [653,169,333,-8,384], // LATIN CAPITAL LETTER I WITH OGONEK + 0x12F: [654,169,278,49,303], // LATIN SMALL LETTER I WITH OGONEK + 0x130: [818,0,333,-8,384], // LATIN CAPITAL LETTER I WITH DOT ABOVE + 0x132: [653,18,750,-8,783], // LATIN CAPITAL LIGATURE IJ + 0x133: [654,207,500,49,500], // LATIN SMALL LIGATURE IJ + 0x134: [877,18,444,-6,536], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX + 0x135: [661,207,278,-124,353], // LATIN SMALL LETTER J WITH CIRCUMFLEX + 0x136: [653,267,667,7,722], // LATIN CAPITAL LETTER K WITH CEDILLA + 0x137: [683,267,444,14,461], // LATIN SMALL LETTER K WITH CEDILLA + 0x138: [459,0,542,5,601], // LATIN SMALL LETTER KRA + 0x139: [876,0,556,-8,559], // LATIN CAPITAL LETTER L WITH ACUTE + 0x13A: [876,11,278,41,348], // LATIN SMALL LETTER L WITH ACUTE + 0x13B: [653,267,556,-8,559], // LATIN CAPITAL LETTER L WITH CEDILLA + 0x13C: [683,267,278,7,279], // LATIN SMALL LETTER L WITH CEDILLA + 0x13D: [666,0,556,-8,595], // LATIN CAPITAL LETTER L WITH CARON + 0x13E: [693,11,278,41,448], // LATIN SMALL LETTER L WITH CARON + 0x13F: [653,0,556,-8,559], // LATIN CAPITAL LETTER L WITH MIDDLE DOT + 0x140: [683,11,323,41,386], // LATIN SMALL LETTER L WITH MIDDLE DOT + 0x141: [653,0,556,-8,559], // LATIN CAPITAL LETTER L WITH STROKE + 0x142: [683,11,278,37,307], // LATIN SMALL LETTER L WITH STROKE + 0x143: [876,15,667,-20,727], // LATIN CAPITAL LETTER N WITH ACUTE + 0x144: [664,9,500,14,474], // LATIN SMALL LETTER N WITH ACUTE + 0x145: [653,267,667,-20,727], // LATIN CAPITAL LETTER N WITH CEDILLA + 0x146: [441,267,500,14,474], // LATIN SMALL LETTER N WITH CEDILLA + 0x147: [875,15,667,-20,727], // LATIN CAPITAL LETTER N WITH CARON + 0x148: [661,9,500,14,475], // LATIN SMALL LETTER N WITH CARON + 0x149: [691,9,577,58,540], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE + 0x14A: [666,18,722,-8,700], // LATIN CAPITAL LETTER ENG + 0x14B: [441,208,500,14,442], // LATIN SMALL LETTER ENG + 0x14C: [757,18,722,60,699], // LATIN CAPITAL LETTER O WITH MACRON + 0x14D: [543,11,500,27,511], // LATIN SMALL LETTER O WITH MACRON + 0x14E: [866,18,722,60,709], // LATIN CAPITAL LETTER O WITH BREVE + 0x14F: [650,11,500,27,533], // LATIN SMALL LETTER O WITH BREVE + 0x150: [876,18,722,60,720], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE + 0x151: [664,11,500,27,541], // LATIN SMALL LETTER O WITH DOUBLE ACUTE + 0x152: [666,8,944,49,964], // LATIN CAPITAL LIGATURE OE + 0x153: [441,12,667,20,646], // LATIN SMALL LIGATURE OE + 0x154: [876,0,611,-13,588], // LATIN CAPITAL LETTER R WITH ACUTE + 0x155: [664,0,389,45,412], // LATIN SMALL LETTER R WITH ACUTE + 0x156: [653,267,611,-13,588], // LATIN CAPITAL LETTER R WITH CEDILLA + 0x157: [441,267,389,-2,412], // LATIN SMALL LETTER R WITH CEDILLA + 0x158: [875,0,611,-13,588], // LATIN CAPITAL LETTER R WITH CARON + 0x159: [663,0,389,45,426], // LATIN SMALL LETTER R WITH CARON + 0x15A: [876,18,500,17,508], // LATIN CAPITAL LETTER S WITH ACUTE + 0x15B: [664,13,389,16,403], // LATIN SMALL LETTER S WITH ACUTE + 0x15C: [877,18,500,17,508], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX + 0x15D: [661,13,389,16,385], // LATIN SMALL LETTER S WITH CIRCUMFLEX + 0x15E: [667,217,500,17,508], // LATIN CAPITAL LETTER S WITH CEDILLA + 0x15F: [442,217,389,16,366], // LATIN SMALL LETTER S WITH CEDILLA + 0x160: [875,18,500,17,532], // LATIN CAPITAL LETTER S WITH CARON + 0x161: [663,13,389,16,426], // LATIN SMALL LETTER S WITH CARON + 0x162: [653,217,556,59,633], // LATIN CAPITAL LETTER T WITH CEDILLA + 0x163: [546,217,278,-38,296], // LATIN SMALL LETTER T WITH CEDILLA + 0x164: [875,0,556,59,633], // LATIN CAPITAL LETTER T WITH CARON + 0x165: [693,11,278,38,453], // LATIN SMALL LETTER T WITH CARON + 0x166: [653,0,556,59,633], // LATIN CAPITAL LETTER T WITH STROKE + 0x167: [546,11,278,28,296], // LATIN SMALL LETTER T WITH STROKE + 0x168: [836,18,722,102,765], // LATIN CAPITAL LETTER U WITH TILDE + 0x169: [624,11,500,42,475], // LATIN SMALL LETTER U WITH TILDE + 0x16A: [757,18,722,102,765], // LATIN CAPITAL LETTER U WITH MACRON + 0x16B: [543,11,500,42,475], // LATIN SMALL LETTER U WITH MACRON + 0x16C: [866,18,722,102,765], // LATIN CAPITAL LETTER U WITH BREVE + 0x16D: [650,11,500,42,480], // LATIN SMALL LETTER U WITH BREVE + 0x16E: [907,18,722,102,765], // LATIN CAPITAL LETTER U WITH RING ABOVE + 0x16F: [691,11,500,42,475], // LATIN SMALL LETTER U WITH RING ABOVE + 0x170: [876,18,722,102,765], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE + 0x171: [664,11,500,42,511], // LATIN SMALL LETTER U WITH DOUBLE ACUTE + 0x172: [653,169,722,102,765], // LATIN CAPITAL LETTER U WITH OGONEK + 0x173: [441,169,500,42,538], // LATIN SMALL LETTER U WITH OGONEK + 0x174: [877,18,833,71,906], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX + 0x175: [661,18,667,15,648], // LATIN SMALL LETTER W WITH CIRCUMFLEX + 0x176: [877,0,556,78,633], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX + 0x177: [661,206,444,-24,426], // LATIN SMALL LETTER Y WITH CIRCUMFLEX + 0x178: [818,0,556,78,633], // LATIN CAPITAL LETTER Y WITH DIAERESIS + 0x179: [876,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH ACUTE + 0x17A: [664,81,389,-2,390], // LATIN SMALL LETTER Z WITH ACUTE + 0x17B: [818,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH DOT ABOVE + 0x17C: [606,81,389,-2,380], // LATIN SMALL LETTER Z WITH DOT ABOVE + 0x17D: [875,0,556,-6,606], // LATIN CAPITAL LETTER Z WITH CARON + 0x17E: [663,81,389,-2,426], // LATIN SMALL LETTER Z WITH CARON + 0x17F: [683,0,383,13,513] // LATIN SMALL LETTER LONG S + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js new file mode 100644 index 0000000..f77339b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedAdditional.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1E80: [880,18,833,71,906], // LATIN CAPITAL LETTER W WITH GRAVE + 0x1E81: [664,18,667,15,648], // LATIN SMALL LETTER W WITH GRAVE + 0x1E82: [876,18,833,71,906], // LATIN CAPITAL LETTER W WITH ACUTE + 0x1E83: [664,18,667,15,648], // LATIN SMALL LETTER W WITH ACUTE + 0x1E84: [818,18,833,71,906], // LATIN CAPITAL LETTER W WITH DIAERESIS + 0x1E85: [606,18,667,15,648], // LATIN SMALL LETTER W WITH DIAERESIS + 0x1EF2: [880,0,556,78,633], // LATIN CAPITAL LETTER Y WITH GRAVE + 0x1EF3: [664,206,444,-24,426] // LATIN SMALL LETTER Y WITH GRAVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedAdditional.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js new file mode 100644 index 0000000..c72db5a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js @@ -0,0 +1,58 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LatinExtendedB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x180: [683,11,500,23,473], // LATIN SMALL LETTER B WITH STROKE + 0x188: [548,11,500,30,577], // LATIN SMALL LETTER C WITH HOOK + 0x190: [684,6,667,66,671], // LATIN CAPITAL LETTER OPEN E + 0x192: [706,159,472,-62,494], // LATIN SMALL LETTER F WITH HOOK + 0x195: [683,10,672,19,654], // LATIN SMALL LETTER HV + 0x199: [683,11,500,14,490], // LATIN SMALL LETTER K WITH HOOK + 0x19A: [683,11,278,41,279], // LATIN SMALL LETTER L WITH BAR + 0x19B: [668,0,490,30,478], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x19E: [441,233,500,14,442], // LATIN SMALL LETTER N WITH LONG RIGHT LEG + 0x1A0: [691,18,722,60,783], // LATIN CAPITAL LETTER O WITH HORN + 0x1A1: [467,11,534,27,583], // LATIN SMALL LETTER O WITH HORN + 0x1A5: [669,205,504,-75,472], // LATIN SMALL LETTER P WITH HOOK + 0x1AA: [685,233,340,31,319], // LATIN LETTER REVERSED ESH LOOP + 0x1AB: [546,218,278,-54,296], // LATIN SMALL LETTER T WITH PALATAL HOOK + 0x1AD: [683,11,310,38,452], // LATIN SMALL LETTER T WITH HOOK + 0x1AF: [765,18,754,102,881], // LATIN CAPITAL LETTER U WITH HORN + 0x1B0: [543,11,573,42,607], // LATIN SMALL LETTER U WITH HORN + 0x1BA: [450,234,500,8,462], // LATIN SMALL LETTER EZH WITH TAIL + 0x1BB: [676,0,500,12,500], // LATIN LETTER TWO WITH STROKE + 0x1BE: [539,12,500,47,453], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE + 0x1C0: [736,0,170,15,258], // LATIN LETTER DENTAL CLICK + 0x1C1: [736,0,290,15,379], // LATIN LETTER LATERAL CLICK + 0x1C2: [736,0,340,15,429], // LATIN LETTER ALVEOLAR CLICK + 0x1C3: [667,11,333,39,304], // LATIN LETTER RETROFLEX CLICK + 0x1F0: [661,207,278,-124,397], // LATIN SMALL LETTER J WITH CARON + 0x1FA: [950,0,611,-51,564], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE + 0x1FB: [860,11,501,17,476], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE + 0x1FC: [876,0,889,-27,911], // LATIN CAPITAL LETTER AE WITH ACUTE + 0x1FD: [664,11,667,23,640], // LATIN SMALL LETTER AE WITH ACUTE + 0x1FE: [876,105,722,60,699], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE + 0x1FF: [664,135,500,28,469] // LATIN SMALL LETTER O WITH STROKE AND ACUTE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LatinExtendedB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js new file mode 100644 index 0000000..94d91cd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js @@ -0,0 +1,56 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2102: [666,18,702,35,702], // stix-mathematical bold oblique double-struck capital C + 0x2105: [676,14,855,47,808], // CARE OF + 0x210A: [441,219,738,30,678], // SCRIPT SMALL G + 0x210B: [687,15,997,53,991], // SCRIPT CAPITAL H + 0x210D: [653,0,732,17,767], // stix-mathematical bold oblique double-struck capital H + 0x210E: [668,11,513,45,483], // PLANCK CONSTANT + 0x2110: [675,15,897,26,888], // SCRIPT CAPITAL I + 0x2112: [687,15,946,33,931], // SCRIPT CAPITAL L + 0x2115: [653,0,727,25,755], // stix-mathematical bold oblique double-struck capital N + 0x2116: [668,15,1046,19,1031], // NUMERO SIGN + 0x2119: [653,0,687,17,686], // stix-mathematical bold oblique double-struck capital P + 0x211A: [666,71,723,35,713], // stix-mathematical bold oblique double-struck capital Q + 0x211B: [687,15,944,34,876], // SCRIPT CAPITAL R + 0x211D: [653,0,687,17,686], // stix-mathematical bold oblique double-struck capital R + 0x2122: [653,-247,980,30,957], // TRADE MARK SIGN + 0x2124: [653,0,754,7,750], // stix-mathematical bold oblique double-struck capital Z + 0x212C: [687,15,950,34,902], // SCRIPT CAPITAL B + 0x212F: [441,11,627,30,554], // SCRIPT SMALL E + 0x2130: [687,15,750,100,734], // SCRIPT CAPITAL E + 0x2131: [680,0,919,43,907], // SCRIPT CAPITAL F + 0x2133: [674,15,1072,38,1056], // SCRIPT CAPITAL M + 0x2134: [441,11,697,30,680], // SCRIPT SMALL O + 0x213C: [428,12,635,40,630], // DOUBLE-STRUCK SMALL PI + 0x213F: [653,0,750,30,780], // DOUBLE-STRUCK CAPITAL PI + 0x2145: [653,0,713,17,703], // stix-mathematical bold double-struck capital D + 0x2146: [683,11,581,40,634], // stix-mathematical bold double-struck small letter d + 0x2147: [441,11,515,40,485], // stix-mathematical bold double-struck small letter e + 0x2148: [653,0,293,27,346], // stix-mathematical bold double-struck small letter i + 0x2149: [653,217,341,-104,394] // stix-mathematical bold double-struck small letter j + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js new file mode 100644 index 0000000..6ee9d2d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js @@ -0,0 +1,192 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'] = { + directory: 'General/Italic', + family: 'STIXGeneral', + style: 'italic', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2200,0x22FF,"MathOperators"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0x1D434,0x1D467,"MathItalic"], + [0x1D49C,0x1D4CF,"MathScript"], + [0x1D608,0x1D63B,"MathSSItalic"], + [0x1D6A4,0x1D6A5,"ij"], + [0x1D6E2,0x1D71B,"GreekItalic"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [667,11,333,39,304], // EXCLAMATION MARK + 0x22: [666,-421,420,144,432], // QUOTATION MARK + 0x23: [676,0,501,2,540], // NUMBER SIGN + 0x24: [731,89,500,32,497], // DOLLAR SIGN + 0x25: [706,19,755,80,705], // PERCENT SIGN + 0x26: [666,18,778,76,723], // AMPERSAND + 0x27: [666,-421,214,132,241], // APOSTROPHE + 0x28: [669,181,333,42,315], // LEFT PARENTHESIS + 0x29: [669,180,333,16,289], // RIGHT PARENTHESIS + 0x2A: [666,-255,500,128,492], // ASTERISK + 0x2B: [506,0,675,86,590], // PLUS SIGN + 0x2C: [101,129,250,-5,135], // COMMA + 0x2D: [255,-192,333,49,282], // HYPHEN-MINUS + 0x2E: [100,11,250,27,138], // FULL STOP + 0x2F: [666,18,278,-65,386], // SOLIDUS + 0x30: [676,7,500,32,497], // DIGIT ZERO + 0x31: [676,0,500,50,409], // DIGIT ONE + 0x32: [676,0,500,12,452], // DIGIT TWO + 0x33: [676,7,500,16,465], // DIGIT THREE + 0x34: [676,0,500,1,479], // DIGIT FOUR + 0x35: [666,7,500,15,491], // DIGIT FIVE + 0x36: [686,7,500,30,521], // DIGIT SIX + 0x37: [666,8,500,75,537], // DIGIT SEVEN + 0x38: [676,7,500,30,493], // DIGIT EIGHT + 0x39: [676,17,500,23,492], // DIGIT NINE + 0x3A: [441,11,333,50,261], // COLON + 0x3B: [441,129,333,26,261], // SEMICOLON + 0x3C: [516,10,675,84,592], // LESS-THAN SIGN + 0x3D: [386,-120,675,86,590], // EQUALS SIGN + 0x3E: [516,10,675,84,592], // GREATER-THAN SIGN + 0x3F: [664,12,500,132,472], // QUESTION MARK + 0x40: [666,18,920,118,806], // COMMERCIAL AT + 0x41: [668,0,611,-51,564], // LATIN CAPITAL LETTER A + 0x42: [653,0,611,-8,588], // LATIN CAPITAL LETTER B + 0x43: [666,18,667,66,689], // LATIN CAPITAL LETTER C + 0x44: [653,0,722,-8,700], // LATIN CAPITAL LETTER D + 0x45: [653,0,611,-1,634], // LATIN CAPITAL LETTER E + 0x46: [653,0,611,8,645], // LATIN CAPITAL LETTER F + 0x47: [666,18,722,52,722], // LATIN CAPITAL LETTER G + 0x48: [653,0,722,-8,769], // LATIN CAPITAL LETTER H + 0x49: [653,0,333,-8,384], // LATIN CAPITAL LETTER I + 0x4A: [653,18,444,-6,491], // LATIN CAPITAL LETTER J + 0x4B: [653,0,667,7,722], // LATIN CAPITAL LETTER K + 0x4C: [653,0,556,-8,559], // LATIN CAPITAL LETTER L + 0x4D: [653,0,833,-18,872], // LATIN CAPITAL LETTER M + 0x4E: [653,15,667,-20,727], // LATIN CAPITAL LETTER N + 0x4F: [667,18,722,60,699], // LATIN CAPITAL LETTER O + 0x50: [653,0,611,0,605], // LATIN CAPITAL LETTER P + 0x51: [666,182,722,59,699], // LATIN CAPITAL LETTER Q + 0x52: [653,0,611,-13,588], // LATIN CAPITAL LETTER R + 0x53: [667,18,500,17,508], // LATIN CAPITAL LETTER S + 0x54: [653,0,556,59,633], // LATIN CAPITAL LETTER T + 0x55: [653,18,722,102,765], // LATIN CAPITAL LETTER U + 0x56: [653,18,611,76,688], // LATIN CAPITAL LETTER V + 0x57: [653,18,833,71,906], // LATIN CAPITAL LETTER W + 0x58: [653,0,611,-29,655], // LATIN CAPITAL LETTER X + 0x59: [653,0,556,78,633], // LATIN CAPITAL LETTER Y + 0x5A: [653,0,556,-6,606], // LATIN CAPITAL LETTER Z + 0x5B: [663,153,389,21,391], // LEFT SQUARE BRACKET + 0x5C: [666,18,278,-41,319], // REVERSE SOLIDUS + 0x5D: [663,153,389,12,382], // RIGHT SQUARE BRACKET + 0x5E: [666,-301,422,0,422], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [664,-492,333,120,311], // GRAVE ACCENT + 0x61: [441,11,501,17,476], // LATIN SMALL LETTER A + 0x62: [683,11,500,23,473], // LATIN SMALL LETTER B + 0x63: [441,11,444,30,425], // LATIN SMALL LETTER C + 0x64: [683,13,500,15,527], // LATIN SMALL LETTER D + 0x65: [441,11,444,31,412], // LATIN SMALL LETTER E + 0x66: [678,207,278,-147,424], // LATIN SMALL LETTER F + 0x67: [441,206,500,8,471], // LATIN SMALL LETTER G + 0x68: [683,9,500,19,478], // LATIN SMALL LETTER H + 0x69: [654,11,278,49,264], // LATIN SMALL LETTER I + 0x6A: [652,207,278,-124,279], // LATIN SMALL LETTER J + 0x6B: [683,11,444,14,461], // LATIN SMALL LETTER K + 0x6C: [683,11,278,41,279], // LATIN SMALL LETTER L + 0x6D: [441,9,722,12,704], // LATIN SMALL LETTER M + 0x6E: [441,9,500,14,474], // LATIN SMALL LETTER N + 0x6F: [441,11,500,27,468], // LATIN SMALL LETTER O + 0x70: [441,205,504,-75,472], // LATIN SMALL LETTER P + 0x71: [441,209,500,25,484], // LATIN SMALL LETTER Q + 0x72: [441,0,389,45,412], // LATIN SMALL LETTER R + 0x73: [442,13,389,16,366], // LATIN SMALL LETTER S + 0x74: [546,11,278,38,296], // LATIN SMALL LETTER T + 0x75: [441,11,500,42,475], // LATIN SMALL LETTER U + 0x76: [441,18,444,20,426], // LATIN SMALL LETTER V + 0x77: [441,18,667,15,648], // LATIN SMALL LETTER W + 0x78: [441,11,444,-27,447], // LATIN SMALL LETTER X + 0x79: [441,206,444,-24,426], // LATIN SMALL LETTER Y + 0x7A: [428,81,389,-2,380], // LATIN SMALL LETTER Z + 0x7B: [687,177,400,51,407], // LEFT CURLY BRACKET + 0x7C: [666,18,275,105,171], // VERTICAL LINE + 0x7D: [687,177,400,-7,349], // RIGHT CURLY BRACKET + 0x7E: [323,-183,541,40,502], // TILDE + 0x131: [441,11,278,47,235], // LATIN SMALL LETTER DOTLESS I + 0x237: [441,207,278,-124,246], // LATIN SMALL LETTER DOTLESS J + 0x393: [653,0,611,8,645], // GREEK CAPITAL LETTER GAMMA + 0x394: [668,0,611,-32,526], // GREEK CAPITAL LETTER DELTA + 0x398: [667,18,722,60,699], // GREEK CAPITAL LETTER THETA + 0x39B: [668,0,611,-51,564], // GREEK CAPITAL LETTER LAMDA + 0x39E: [653,0,651,-6,680], // GREEK CAPITAL LETTER XI + 0x3A0: [653,0,722,-8,769], // GREEK CAPITAL LETTER PI + 0x3A3: [653,0,620,-6,659], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [668,0,556,78,648], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [653,0,741,50,731], // GREEK CAPITAL LETTER PHI + 0x3A8: [667,0,675,77,778], // GREEK CAPITAL LETTER PSI + 0x3A9: [666,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [441,11,552,27,549], // GREEK SMALL LETTER ALPHA + 0x3B2: [678,205,506,-40,514], // GREEK SMALL LETTER BETA + 0x3B3: [435,206,410,19,438], // GREEK SMALL LETTER GAMMA + 0x3B4: [668,11,460,24,460], // GREEK SMALL LETTER DELTA + 0x3B5: [441,11,444,30,425], // GREEK SMALL LETTER EPSILON + 0x3B6: [683,185,454,30,475], // GREEK SMALL LETTER ZETA + 0x3B7: [441,205,474,14,442], // GREEK SMALL LETTER ETA + 0x3B8: [678,11,480,27,494], // GREEK SMALL LETTER THETA + 0x3B9: [441,11,278,49,235], // GREEK SMALL LETTER IOTA + 0x3BA: [441,13,444,14,465], // GREEK SMALL LETTER KAPPA + 0x3BB: [678,16,458,-12,431], // GREEK SMALL LETTER LAMDA + 0x3BC: [428,205,526,-33,483], // GREEK SMALL LETTER MU + 0x3BD: [441,18,470,20,459], // GREEK SMALL LETTER NU + 0x3BE: [683,185,454,30,446], // GREEK SMALL LETTER XI + 0x3BF: [441,11,500,27,468], // GREEK SMALL LETTER OMICRON + 0x3C0: [428,18,504,19,536], // GREEK SMALL LETTER PI + 0x3C1: [441,205,504,-40,471], // GREEK SMALL LETTER RHO + 0x3C2: [441,185,454,30,453], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [428,11,498,27,531], // GREEK SMALL LETTER SIGMA + 0x3C4: [428,11,410,12,426], // GREEK SMALL LETTER TAU + 0x3C5: [441,10,478,19,446], // GREEK SMALL LETTER UPSILON + 0x3C6: [441,205,622,27,590], // GREEK SMALL LETTER PHI + 0x3C7: [441,207,457,-108,498], // GREEK SMALL LETTER CHI + 0x3C8: [441,205,584,15,668], // GREEK SMALL LETTER PSI + 0x3C9: [439,11,686,27,654], // GREEK SMALL LETTER OMEGA + 0x3D1: [678,10,556,19,526], // GREEK THETA SYMBOL + 0x3D5: [683,205,627,27,595], // GREEK PHI SYMBOL + 0x3D6: [428,11,792,17,832], // GREEK PI SYMBOL + 0x3F1: [441,205,516,27,484], // GREEK RHO SYMBOL + 0x3F5: [441,11,444,30,420], // GREEK LUNATE EPSILON SYMBOL + 0x2113: [687,11,579,48,571] // SCRIPT SMALL L +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral-italic"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js new file mode 100644 index 0000000..f3c3ada --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js @@ -0,0 +1,78 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1D434: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL A + 0x1D435: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL B + 0x1D436: [659,12,671,50,711], // MATHEMATICAL ITALIC CAPITAL C + 0x1D437: [653,0,790,38,765], // MATHEMATICAL ITALIC CAPITAL D + 0x1D438: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL E + 0x1D439: [653,0,618,38,723], // MATHEMATICAL ITALIC CAPITAL F + 0x1D43A: [668,12,734,50,734], // MATHEMATICAL ITALIC CAPITAL G + 0x1D43B: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL H + 0x1D43C: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL I + 0x1D43D: [653,12,540,60,620], // MATHEMATICAL ITALIC CAPITAL J + 0x1D43E: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL K + 0x1D43F: [653,0,708,38,668], // MATHEMATICAL ITALIC CAPITAL L + 0x1D440: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL M + 0x1D441: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL N + 0x1D442: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL O + 0x1D443: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL P + 0x1D444: [667,152,781,50,731], // MATHEMATICAL ITALIC CAPITAL Q + 0x1D445: [653,0,740,38,725], // MATHEMATICAL ITALIC CAPITAL R + 0x1D446: [668,10,650,50,680], // MATHEMATICAL ITALIC CAPITAL S + 0x1D447: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL T + 0x1D448: [653,13,705,65,775], // MATHEMATICAL ITALIC CAPITAL U + 0x1D449: [653,16,575,60,760], // MATHEMATICAL ITALIC CAPITAL V + 0x1D44A: [653,16,916,60,1101], // MATHEMATICAL ITALIC CAPITAL W + 0x1D44B: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL X + 0x1D44C: [653,0,535,35,695], // MATHEMATICAL ITALIC CAPITAL Y + 0x1D44D: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL Z + 0x1D44E: [441,10,502,40,472], // MATHEMATICAL ITALIC SMALL A + 0x1D44F: [668,11,470,45,450], // MATHEMATICAL ITALIC SMALL B + 0x1D450: [441,11,415,40,400], // MATHEMATICAL ITALIC SMALL C + 0x1D451: [668,12,532,40,527], // MATHEMATICAL ITALIC SMALL D + 0x1D452: [441,11,445,40,410], // MATHEMATICAL ITALIC SMALL E + 0x1D453: [668,187,555,40,615], // MATHEMATICAL ITALIC SMALL F + 0x1D454: [441,187,492,20,492], // MATHEMATICAL ITALIC SMALL G + 0x1D456: [616,11,311,50,257], // MATHEMATICAL ITALIC SMALL I + 0x1D457: [616,187,389,-16,372], // MATHEMATICAL ITALIC SMALL J + 0x1D458: [668,11,542,45,527], // MATHEMATICAL ITALIC SMALL K + 0x1D459: [668,10,318,45,278], // MATHEMATICAL ITALIC SMALL L + 0x1D45A: [441,8,710,30,680], // MATHEMATICAL ITALIC SMALL M + 0x1D45B: [441,8,497,30,467], // MATHEMATICAL ITALIC SMALL N + 0x1D45C: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL O + 0x1D45D: [441,183,489,-30,474], // MATHEMATICAL ITALIC SMALL P + 0x1D45E: [441,183,458,40,463], // MATHEMATICAL ITALIC SMALL Q + 0x1D45F: [441,0,408,30,393], // MATHEMATICAL ITALIC SMALL R + 0x1D460: [441,11,440,50,390], // MATHEMATICAL ITALIC SMALL S + 0x1D461: [567,9,313,40,283], // MATHEMATICAL ITALIC SMALL T + 0x1D462: [441,9,474,30,444], // MATHEMATICAL ITALIC SMALL U + 0x1D463: [458,9,506,72,479], // MATHEMATICAL ITALIC SMALL V + 0x1D464: [460,9,775,72,748], // MATHEMATICAL ITALIC SMALL W + 0x1D465: [441,9,550,30,510], // MATHEMATICAL ITALIC SMALL X + 0x1D466: [440,183,496,30,496], // MATHEMATICAL ITALIC SMALL Y + 0x1D467: [450,14,499,42,467] // MATHEMATICAL ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js new file mode 100644 index 0000000..1b81422 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL + 0x2212: [286,-220,675,86,590] // MINUS SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js new file mode 100644 index 0000000..9424ad6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathSSItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1D608: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL A + 0x1D609: [662,0,604,74,641], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL B + 0x1D60A: [676,14,671,96,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL C + 0x1D60B: [662,0,692,74,751], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL D + 0x1D60C: [662,0,583,74,678], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL E + 0x1D60D: [662,0,535,74,679], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL F + 0x1D60E: [676,14,695,97,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL G + 0x1D60F: [662,0,658,74,749], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL H + 0x1D610: [662,0,401,59,512], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL I + 0x1D611: [662,14,398,22,470], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL J + 0x1D612: [662,0,634,74,729], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL K + 0x1D613: [662,0,559,74,564], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL L + 0x1D614: [662,0,843,75,933], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL M + 0x1D615: [662,14,675,74,766], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL N + 0x1D616: [676,14,714,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL O + 0x1D617: [662,0,525,74,638], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL P + 0x1D618: [676,175,716,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Q + 0x1D619: [662,0,589,74,639], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL R + 0x1D61A: [676,14,541,62,597], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL S + 0x1D61B: [662,0,608,161,748], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL T + 0x1D61C: [662,14,661,117,757], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL U + 0x1D61D: [662,11,654,196,788], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL V + 0x1D61E: [662,11,921,194,1057], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL W + 0x1D61F: [662,0,700,31,806], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL X + 0x1D620: [662,0,630,186,774], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Y + 0x1D621: [662,0,637,28,763], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Z + 0x1D622: [463,10,448,55,467], // MATHEMATICAL SANS-SERIF ITALIC SMALL A + 0x1D623: [684,10,496,74,535], // MATHEMATICAL SANS-SERIF ITALIC SMALL B + 0x1D624: [463,10,456,67,503], // MATHEMATICAL SANS-SERIF ITALIC SMALL C + 0x1D625: [684,11,494,72,600], // MATHEMATICAL SANS-SERIF ITALIC SMALL D + 0x1D626: [463,10,444,69,487], // MATHEMATICAL SANS-SERIF ITALIC SMALL E + 0x1D627: [683,0,336,101,526], // MATHEMATICAL SANS-SERIF ITALIC SMALL F + 0x1D628: [463,216,496,-7,575], // MATHEMATICAL SANS-SERIF ITALIC SMALL G + 0x1D629: [684,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL H + 0x1D62A: [679,0,220,69,325], // MATHEMATICAL SANS-SERIF ITALIC SMALL I + 0x1D62B: [679,216,254,-118,354], // MATHEMATICAL SANS-SERIF ITALIC SMALL J + 0x1D62C: [684,0,453,63,556], // MATHEMATICAL SANS-SERIF ITALIC SMALL K + 0x1D62D: [684,0,205,61,313], // MATHEMATICAL SANS-SERIF ITALIC SMALL L + 0x1D62E: [464,0,756,65,775], // MATHEMATICAL SANS-SERIF ITALIC SMALL M + 0x1D62F: [464,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL N + 0x1D630: [463,10,499,76,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL O + 0x1D631: [464,216,498,14,538], // MATHEMATICAL SANS-SERIF ITALIC SMALL P + 0x1D632: [464,216,498,72,549], // MATHEMATICAL SANS-SERIF ITALIC SMALL Q + 0x1D633: [464,0,336,63,439], // MATHEMATICAL SANS-SERIF ITALIC SMALL R + 0x1D634: [463,10,389,61,432], // MATHEMATICAL SANS-SERIF ITALIC SMALL S + 0x1D635: [580,10,291,96,376], // MATHEMATICAL SANS-SERIF ITALIC SMALL T + 0x1D636: [453,11,491,89,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL U + 0x1D637: [453,14,474,143,555], // MATHEMATICAL SANS-SERIF ITALIC SMALL V + 0x1D638: [453,14,702,140,787], // MATHEMATICAL SANS-SERIF ITALIC SMALL W + 0x1D639: [453,0,482,30,544], // MATHEMATICAL SANS-SERIF ITALIC SMALL X + 0x1D63A: [453,216,484,-19,565], // MATHEMATICAL SANS-SERIF ITALIC SMALL Y + 0x1D63B: [453,0,447,25,517] // MATHEMATICAL SANS-SERIF ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathSSItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js new file mode 100644 index 0000000..3392e33 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js @@ -0,0 +1,68 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/MathScript.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1D49C: [674,15,855,31,846], // MATHEMATICAL SCRIPT CAPITAL A + 0x1D49E: [687,15,797,37,781], // MATHEMATICAL SCRIPT CAPITAL C + 0x1D49F: [687,15,885,36,818], // MATHEMATICAL SCRIPT CAPITAL D + 0x1D4A2: [687,15,773,83,740], // MATHEMATICAL SCRIPT CAPITAL G + 0x1D4A5: [674,177,802,9,792], // MATHEMATICAL SCRIPT CAPITAL J + 0x1D4A6: [687,15,1009,40,1004], // MATHEMATICAL SCRIPT CAPITAL K + 0x1D4A9: [687,15,970,38,956], // MATHEMATICAL SCRIPT CAPITAL N + 0x1D4AA: [680,15,692,82,663], // MATHEMATICAL SCRIPT CAPITAL O + 0x1D4AB: [687,15,910,38,886], // MATHEMATICAL SCRIPT CAPITAL P + 0x1D4AC: [680,38,692,82,663], // MATHEMATICAL SCRIPT CAPITAL Q + 0x1D4AE: [680,15,743,67,701], // MATHEMATICAL SCRIPT CAPITAL S + 0x1D4AF: [687,15,912,43,907], // MATHEMATICAL SCRIPT CAPITAL T + 0x1D4B0: [687,15,842,36,805], // MATHEMATICAL SCRIPT CAPITAL U + 0x1D4B1: [687,15,932,35,922], // MATHEMATICAL SCRIPT CAPITAL V + 0x1D4B2: [687,15,1078,35,1070], // MATHEMATICAL SCRIPT CAPITAL W + 0x1D4B3: [687,15,891,36,873], // MATHEMATICAL SCRIPT CAPITAL X + 0x1D4B4: [687,226,926,91,916], // MATHEMATICAL SCRIPT CAPITAL Y + 0x1D4B5: [687,15,932,59,912], // MATHEMATICAL SCRIPT CAPITAL Z + 0x1D4B6: [441,11,819,30,758], // MATHEMATICAL SCRIPT SMALL A + 0x1D4B7: [687,12,580,47,559], // MATHEMATICAL SCRIPT SMALL B + 0x1D4B8: [441,11,662,30,589], // MATHEMATICAL SCRIPT SMALL C + 0x1D4B9: [687,11,845,30,827], // MATHEMATICAL SCRIPT SMALL D + 0x1D4BB: [687,209,685,27,673], // MATHEMATICAL SCRIPT SMALL F + 0x1D4BD: [687,11,753,38,690], // MATHEMATICAL SCRIPT SMALL H + 0x1D4BE: [653,11,496,83,484], // MATHEMATICAL SCRIPT SMALL I + 0x1D4BF: [653,219,730,9,718], // MATHEMATICAL SCRIPT SMALL J + 0x1D4C0: [687,11,726,40,666], // MATHEMATICAL SCRIPT SMALL K + 0x1D4C1: [687,11,579,48,571], // MATHEMATICAL SCRIPT SMALL L + 0x1D4C2: [441,11,1038,49,978], // MATHEMATICAL SCRIPT SMALL M + 0x1D4C3: [441,11,761,49,701], // MATHEMATICAL SCRIPT SMALL N + 0x1D4C5: [441,209,773,23,694], // MATHEMATICAL SCRIPT SMALL P + 0x1D4C6: [441,209,780,30,743], // MATHEMATICAL SCRIPT SMALL Q + 0x1D4C7: [444,0,580,48,572], // MATHEMATICAL SCRIPT SMALL R + 0x1D4C8: [531,11,515,62,412], // MATHEMATICAL SCRIPT SMALL S + 0x1D4C9: [658,11,551,30,532], // MATHEMATICAL SCRIPT SMALL T + 0x1D4CA: [424,11,753,30,693], // MATHEMATICAL SCRIPT SMALL U + 0x1D4CB: [441,11,618,30,582], // MATHEMATICAL SCRIPT SMALL V + 0x1D4CC: [441,11,888,30,852], // MATHEMATICAL SCRIPT SMALL W + 0x1D4CD: [441,11,752,65,675], // MATHEMATICAL SCRIPT SMALL X + 0x1D4CE: [424,219,658,30,617], // MATHEMATICAL SCRIPT SMALL Y + 0x1D4CF: [478,11,691,52,617] // MATHEMATICAL SCRIPT SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/MathScript.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js new file mode 100644 index 0000000..402aa7c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x2B0: [838,-326,378,7,391], // MODIFIER LETTER SMALL H + 0x2B1: [838,-326,378,7,414], // MODIFIER LETTER SMALL H WITH HOOK + 0x2B2: [851,-199,300,44,350], // MODIFIER LETTER SMALL J + 0x2B3: [690,-345,320,2,320], // MODIFIER LETTER SMALL R + 0x2B4: [690,-345,320,0,318], // MODIFIER LETTER SMALL TURNED R + 0x2B5: [690,-163,320,0,335], // MODIFIER LETTER SMALL TURNED R WITH HOOK + 0x2B6: [684,-345,390,6,462], // MODIFIER LETTER SMALL CAPITAL INVERTED R + 0x2B7: [690,-327,500,15,515], // MODIFIER LETTER SMALL W + 0x2B8: [693,-202,330,16,357], // MODIFIER LETTER SMALL Y + 0x2BB: [686,-443,333,79,236], // MODIFIER LETTER TURNED COMMA + 0x2C0: [690,-295,326,30,307], // MODIFIER LETTER GLOTTAL STOP + 0x2C1: [690,-295,326,23,343], // MODIFIER LETTER REVERSED GLOTTAL STOP + 0x2C6: [661,-492,333,91,385], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [661,-492,333,121,426], // CARON + 0x2D8: [650,-492,333,117,418], // BREVE + 0x2D9: [606,-508,333,207,305], // DOT ABOVE + 0x2DA: [707,-508,333,155,355], // RING ABOVE + 0x2DB: [40,169,333,-20,200], // OGONEK + 0x2DC: [624,-517,333,100,427], // SMALL TILDE + 0x2DD: [664,-494,333,93,486], // DOUBLE ACUTE ACCENT + 0x2E0: [684,-218,315,23,335], // MODIFIER LETTER SMALL GAMMA + 0x2E1: [837,-333,220,41,214], // MODIFIER LETTER SMALL L + 0x2E2: [691,-335,300,16,290], // MODIFIER LETTER SMALL S + 0x2E3: [691,-333,380,4,379], // MODIFIER LETTER SMALL X + 0x2E4: [847,-333,318,8,345], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP + 0x2EC: [70,147,320,15,305], // MODIFIER LETTER VOICING + 0x2ED: [665,-507,405,10,395] // MODIFIER LETTER UNASPIRATED + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js new file mode 100644 index 0000000..59c4a7b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Italic/ij.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral-italic'], + { + 0x1D6A4: [441,11,278,47,235], // MATHEMATICAL ITALIC SMALL DOTLESS I + 0x1D6A5: [441,207,278,-124,246] // MATHEMATICAL ITALIC SMALL DOTLESS J + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Italic/ij.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js new file mode 100644 index 0000000..5b3c84d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/AlphaPresentForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0xFB00: [683,0,605,20,655], // LATIN SMALL LIGATURE FF + 0xFB01: [683,0,558,32,523], // LATIN SMALL LIGATURE FI + 0xFB02: [683,0,556,31,522], // LATIN SMALL LIGATURE FL + 0xFB03: [683,0,832,20,797], // LATIN SMALL LIGATURE FFI + 0xFB04: [683,0,830,20,796] // LATIN SMALL LIGATURE FFL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/AlphaPresentForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js new file mode 100644 index 0000000..072b5f0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js @@ -0,0 +1,106 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Arrows.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x219A: [450,-58,926,60,866], // LEFTWARDS ARROW WITH STROKE + 0x219B: [450,-58,926,60,866], // RIGHTWARDS ARROW WITH STROKE + 0x219C: [411,-102,926,70,856], // LEFTWARDS WAVE ARROW + 0x219D: [411,-102,926,70,856], // RIGHTWARDS WAVE ARROW + 0x219E: [449,-58,926,70,856], // LEFTWARDS TWO HEADED ARROW + 0x219F: [662,154,511,60,451], // UPWARDS TWO HEADED ARROW + 0x21A0: [449,-58,926,70,856], // RIGHTWARDS TWO HEADED ARROW + 0x21A1: [662,154,511,60,451], // DOWNWARDS TWO HEADED ARROW + 0x21A2: [449,-58,926,70,856], // LEFTWARDS ARROW WITH TAIL + 0x21A3: [449,-58,926,70,856], // RIGHTWARDS ARROW WITH TAIL + 0x21A4: [450,-57,926,70,857], // LEFTWARDS ARROW FROM BAR + 0x21A5: [662,154,511,60,451], // UPWARDS ARROW FROM BAR + 0x21A7: [662,154,511,59,451], // DOWNWARDS ARROW FROM BAR + 0x21A8: [662,154,511,59,451], // UP DOWN ARROW WITH BASE + 0x21AB: [553,0,926,70,856], // LEFTWARDS ARROW WITH LOOP + 0x21AC: [553,0,926,70,856], // RIGHTWARDS ARROW WITH LOOP + 0x21AD: [449,-58,1200,49,1151], // LEFT RIGHT WAVE ARROW + 0x21AE: [450,-58,926,38,888], // LEFT RIGHT ARROW WITH STROKE + 0x21AF: [662,154,511,60,451], // DOWNWARDS ZIGZAG ARROW + 0x21B0: [662,156,463,30,424], // UPWARDS ARROW WITH TIP LEFTWARDS + 0x21B1: [662,156,463,39,433], // UPWARDS ARROW WITH TIP RIGHTWARDS + 0x21B2: [662,154,463,25,419], // DOWNWARDS ARROW WITH TIP LEFTWARDS + 0x21B3: [662,154,463,39,433], // DOWNWARDS ARROW WITH TIP RIGHTWARDS + 0x21B4: [662,154,926,70,856], // RIGHTWARDS ARROW WITH CORNER DOWNWARDS + 0x21B5: [662,156,926,70,856], // DOWNWARDS ARROW WITH CORNER LEFTWARDS + 0x21B6: [534,0,926,44,882], // ANTICLOCKWISE TOP SEMICIRCLE ARROW + 0x21B7: [534,0,926,44,882], // CLOCKWISE TOP SEMICIRCLE ARROW + 0x21B8: [732,156,926,55,872], // NORTH WEST ARROW TO LONG BAR + 0x21B9: [598,92,926,60,866], // LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR + 0x21BA: [686,116,974,116,858], // ANTICLOCKWISE OPEN CIRCLE ARROW + 0x21BB: [686,116,974,116,858], // CLOCKWISE OPEN CIRCLE ARROW + 0x21BE: [662,156,511,222,441], // UPWARDS HARPOON WITH BARB RIGHTWARDS + 0x21BF: [662,156,511,69,288], // UPWARDS HARPOON WITH BARB LEFTWARDS + 0x21C2: [662,156,511,222,441], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS + 0x21C3: [662,156,511,69,288], // DOWNWARDS HARPOON WITH BARB LEFTWARDS + 0x21C4: [598,92,926,71,856], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW + 0x21C5: [662,156,773,31,742], // UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW + 0x21C6: [598,92,926,71,856], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW + 0x21C7: [599,92,926,70,856], // LEFTWARDS PAIRED ARROWS + 0x21C8: [662,156,773,41,732], // UPWARDS PAIRED ARROWS + 0x21C9: [599,92,926,70,856], // RIGHTWARDS PAIRED ARROWS + 0x21CA: [662,156,773,41,732], // DOWNWARDS PAIRED ARROWS + 0x21CB: [539,33,926,70,856], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON + 0x21CD: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW WITH STROKE + 0x21CE: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW WITH STROKE + 0x21CF: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW WITH STROKE + 0x21D6: [662,156,926,55,874], // NORTH WEST DOUBLE ARROW + 0x21D7: [662,156,926,55,874], // NORTH EAST DOUBLE ARROW + 0x21D8: [662,156,926,55,874], // SOUTH EAST DOUBLE ARROW + 0x21D9: [662,156,926,55,874], // SOUTH WEST DOUBLE ARROW + 0x21DA: [644,139,926,46,852], // LEFTWARDS TRIPLE ARROW + 0x21DB: [645,138,926,74,880], // RIGHTWARDS TRIPLE ARROW + 0x21DC: [449,-58,926,60,866], // LEFTWARDS SQUIGGLE ARROW + 0x21DD: [449,-58,926,60,866], // RIGHTWARDS SQUIGGLE ARROW + 0x21DE: [662,156,511,60,451], // UPWARDS ARROW WITH DOUBLE STROKE + 0x21DF: [662,156,511,60,451], // DOWNWARDS ARROW WITH DOUBLE STROKE + 0x21E0: [449,-58,926,60,866], // LEFTWARDS DASHED ARROW + 0x21E1: [662,156,511,60,451], // UPWARDS DASHED ARROW + 0x21E2: [449,-58,926,60,866], // RIGHTWARDS DASHED ARROW + 0x21E3: [662,156,511,60,451], // DOWNWARDS DASHED ARROW + 0x21E4: [450,-58,926,60,866], // LEFTWARDS ARROW TO BAR + 0x21E5: [450,-58,926,60,866], // RIGHTWARDS ARROW TO BAR + 0x21E6: [551,45,926,60,866], // LEFTWARDS WHITE ARROW + 0x21E7: [662,156,685,45,641], // UPWARDS WHITE ARROW + 0x21E8: [551,45,926,60,866], // RIGHTWARDS WHITE ARROW + 0x21E9: [662,156,685,45,641], // DOWNWARDS WHITE ARROW + 0x21EA: [690,184,685,45,641], // UPWARDS WHITE ARROW FROM BAR + 0x21F4: [448,-57,926,70,856], // RIGHT ARROW WITH SMALL CIRCLE + 0x21F5: [662,156,773,31,742], // DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW + 0x21F6: [739,232,926,60,866], // THREE RIGHTWARDS ARROWS + 0x21F7: [450,-58,926,60,866], // LEFTWARDS ARROW WITH VERTICAL STROKE + 0x21F8: [450,-58,926,55,861], // RIGHTWARDS ARROW WITH VERTICAL STROKE + 0x21F9: [450,-58,926,48,878], // LEFT RIGHT ARROW WITH VERTICAL STROKE + 0x21FA: [450,-58,926,60,866], // LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE + 0x21FB: [450,-58,926,60,866], // RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE + 0x21FC: [450,-58,926,38,888], // LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE + 0x21FD: [449,-57,926,60,866], // LEFTWARDS OPEN-HEADED ARROW + 0x21FE: [449,-57,926,60,866], // RIGHTWARDS OPEN-HEADED ARROW + 0x21FF: [449,-57,926,20,906] // LEFT RIGHT OPEN-HEADED ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Arrows.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js new file mode 100644 index 0000000..3d0d77c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js @@ -0,0 +1,82 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BBBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D538: [662,0,741,50,691], // MATHEMATICAL DOUBLE-STRUCK CAPITAL A + 0x1D539: [662,0,676,70,626], // MATHEMATICAL DOUBLE-STRUCK CAPITAL B + 0x1D53B: [662,0,722,70,677], // MATHEMATICAL DOUBLE-STRUCK CAPITAL D + 0x1D53C: [662,0,622,70,567], // MATHEMATICAL DOUBLE-STRUCK CAPITAL E + 0x1D53D: [662,0,469,70,567], // MATHEMATICAL DOUBLE-STRUCK CAPITAL F + 0x1D53E: [676,13,706,45,664], // MATHEMATICAL DOUBLE-STRUCK CAPITAL G + 0x1D540: [662,0,322,78,244], // MATHEMATICAL DOUBLE-STRUCK CAPITAL I + 0x1D541: [662,14,560,40,495], // MATHEMATICAL DOUBLE-STRUCK CAPITAL J + 0x1D542: [674,0,735,70,729], // MATHEMATICAL DOUBLE-STRUCK CAPITAL K + 0x1D543: [662,0,591,70,571], // MATHEMATICAL DOUBLE-STRUCK CAPITAL L + 0x1D544: [662,0,855,70,785], // MATHEMATICAL DOUBLE-STRUCK CAPITAL M + 0x1D546: [676,14,760,45,715], // MATHEMATICAL DOUBLE-STRUCK CAPITAL O + 0x1D54A: [676,14,636,35,597], // MATHEMATICAL DOUBLE-STRUCK CAPITAL S + 0x1D54B: [662,0,527,20,622], // MATHEMATICAL DOUBLE-STRUCK CAPITAL T + 0x1D54C: [662,14,698,65,633], // MATHEMATICAL DOUBLE-STRUCK CAPITAL U + 0x1D54D: [662,0,568,12,653], // MATHEMATICAL DOUBLE-STRUCK CAPITAL V + 0x1D54E: [662,0,920,12,949], // MATHEMATICAL DOUBLE-STRUCK CAPITAL W + 0x1D54F: [662,0,768,35,733], // MATHEMATICAL DOUBLE-STRUCK CAPITAL X + 0x1D550: [662,0,563,12,685], // MATHEMATICAL DOUBLE-STRUCK CAPITAL Y + 0x1D552: [460,10,561,45,506], // MATHEMATICAL DOUBLE-STRUCK SMALL A + 0x1D553: [683,10,565,50,524], // MATHEMATICAL DOUBLE-STRUCK SMALL B + 0x1D554: [460,10,520,45,475], // MATHEMATICAL DOUBLE-STRUCK SMALL C + 0x1D555: [683,10,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL D + 0x1D556: [460,10,523,45,478], // MATHEMATICAL DOUBLE-STRUCK SMALL E + 0x1D557: [683,0,368,25,431], // MATHEMATICAL DOUBLE-STRUCK SMALL F + 0x1D558: [460,218,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL G + 0x1D559: [683,0,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL H + 0x1D55A: [683,0,258,55,203], // MATHEMATICAL DOUBLE-STRUCK SMALL I + 0x1D55B: [683,217,305,-15,250], // MATHEMATICAL DOUBLE-STRUCK SMALL J + 0x1D55C: [683,0,551,50,539], // MATHEMATICAL DOUBLE-STRUCK SMALL K + 0x1D55D: [683,0,258,55,203], // MATHEMATICAL DOUBLE-STRUCK SMALL L + 0x1D55E: [460,0,830,55,775], // MATHEMATICAL DOUBLE-STRUCK SMALL M + 0x1D55F: [460,0,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL N + 0x1D560: [458,12,553,45,508], // MATHEMATICAL DOUBLE-STRUCK SMALL O + 0x1D561: [460,218,574,55,529], // MATHEMATICAL DOUBLE-STRUCK SMALL P + 0x1D562: [460,218,574,45,519], // MATHEMATICAL DOUBLE-STRUCK SMALL Q + 0x1D563: [463,0,301,55,407], // MATHEMATICAL DOUBLE-STRUCK SMALL R + 0x1D564: [460,10,519,36,483], // MATHEMATICAL DOUBLE-STRUCK SMALL S + 0x1D565: [633,10,329,20,297], // MATHEMATICAL DOUBLE-STRUCK SMALL T + 0x1D566: [450,10,544,55,489], // MATHEMATICAL DOUBLE-STRUCK SMALL U + 0x1D567: [450,0,443,20,479], // MATHEMATICAL DOUBLE-STRUCK SMALL V + 0x1D568: [450,0,676,20,695], // MATHEMATICAL DOUBLE-STRUCK SMALL W + 0x1D569: [450,0,560,30,530], // MATHEMATICAL DOUBLE-STRUCK SMALL X + 0x1D56A: [450,218,468,20,510], // MATHEMATICAL DOUBLE-STRUCK SMALL Y + 0x1D56B: [450,0,519,43,476], // MATHEMATICAL DOUBLE-STRUCK SMALL Z + 0x1D7D8: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT ZERO + 0x1D7D9: [693,0,540,91,355], // MATHEMATICAL DOUBLE-STRUCK DIGIT ONE + 0x1D7DA: [676,0,547,48,514], // MATHEMATICAL DOUBLE-STRUCK DIGIT TWO + 0x1D7DB: [676,14,540,49,478], // MATHEMATICAL DOUBLE-STRUCK DIGIT THREE + 0x1D7DC: [676,0,540,20,524], // MATHEMATICAL DOUBLE-STRUCK DIGIT FOUR + 0x1D7DD: [662,14,540,35,489], // MATHEMATICAL DOUBLE-STRUCK DIGIT FIVE + 0x1D7DE: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT SIX + 0x1D7DF: [662,0,540,24,511], // MATHEMATICAL DOUBLE-STRUCK DIGIT SEVEN + 0x1D7E0: [676,14,540,28,512], // MATHEMATICAL DOUBLE-STRUCK DIGIT EIGHT + 0x1D7E1: [676,12,540,28,512] // MATHEMATICAL DOUBLE-STRUCK DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BBBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js new file mode 100644 index 0000000..7972c0b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BlockElements.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2580: [910,-304,1213,0,1213], // UPPER HALF BLOCK + 0x2584: [303,303,1213,0,1213], // LOWER HALF BLOCK + 0x2588: [910,303,1213,0,1213], // FULL BLOCK + 0x258C: [910,303,1212,0,606], // LEFT HALF BLOCK + 0x2590: [910,303,1212,606,1212], // RIGHT HALF BLOCK + 0x2591: [860,258,1200,0,1200], // LIGHT SHADE + 0x2592: [874,273,1200,0,1200], // MEDIUM SHADE + 0x2593: [874,273,1200,0,1200] // DARK SHADE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BlockElements.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js new file mode 100644 index 0000000..6246764 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoldFraktur.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D56C: [701,25,856,50,805], // MATHEMATICAL BOLD FRAKTUR CAPITAL A + 0x1D56D: [701,19,849,50,794], // MATHEMATICAL BOLD FRAKTUR CAPITAL B + 0x1D56E: [701,19,773,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL C + 0x1D56F: [701,19,891,54,836], // MATHEMATICAL BOLD FRAKTUR CAPITAL D + 0x1D570: [701,19,788,54,731], // MATHEMATICAL BOLD FRAKTUR CAPITAL E + 0x1D571: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL F + 0x1D572: [701,19,833,54,781], // MATHEMATICAL BOLD FRAKTUR CAPITAL G + 0x1D573: [701,205,843,42,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL H + 0x1D574: [701,25,790,54,735], // MATHEMATICAL BOLD FRAKTUR CAPITAL I + 0x1D575: [701,205,803,54,748], // MATHEMATICAL BOLD FRAKTUR CAPITAL J + 0x1D576: [701,25,864,42,814], // MATHEMATICAL BOLD FRAKTUR CAPITAL K + 0x1D577: [701,25,699,51,645], // MATHEMATICAL BOLD FRAKTUR CAPITAL L + 0x1D578: [701,25,1133,50,1081], // MATHEMATICAL BOLD FRAKTUR CAPITAL M + 0x1D579: [701,25,862,50,810], // MATHEMATICAL BOLD FRAKTUR CAPITAL N + 0x1D57A: [701,19,909,54,854], // MATHEMATICAL BOLD FRAKTUR CAPITAL O + 0x1D57B: [701,205,850,50,795], // MATHEMATICAL BOLD FRAKTUR CAPITAL P + 0x1D57C: [701,59,930,54,902], // MATHEMATICAL BOLD FRAKTUR CAPITAL Q + 0x1D57D: [701,25,884,50,841], // MATHEMATICAL BOLD FRAKTUR CAPITAL R + 0x1D57E: [701,19,852,54,802], // MATHEMATICAL BOLD FRAKTUR CAPITAL S + 0x1D57F: [701,25,793,54,740], // MATHEMATICAL BOLD FRAKTUR CAPITAL T + 0x1D580: [701,25,860,54,809], // MATHEMATICAL BOLD FRAKTUR CAPITAL U + 0x1D581: [701,19,855,50,800], // MATHEMATICAL BOLD FRAKTUR CAPITAL V + 0x1D582: [701,19,1121,50,1066], // MATHEMATICAL BOLD FRAKTUR CAPITAL W + 0x1D583: [701,25,819,50,775], // MATHEMATICAL BOLD FRAKTUR CAPITAL X + 0x1D584: [701,205,837,50,782], // MATHEMATICAL BOLD FRAKTUR CAPITAL Y + 0x1D585: [701,195,755,44,703], // MATHEMATICAL BOLD FRAKTUR CAPITAL Z + 0x1D586: [475,24,600,55,545], // MATHEMATICAL BOLD FRAKTUR SMALL A + 0x1D587: [695,24,559,45,504], // MATHEMATICAL BOLD FRAKTUR SMALL B + 0x1D588: [475,24,464,55,412], // MATHEMATICAL BOLD FRAKTUR SMALL C + 0x1D589: [694,25,557,48,502], // MATHEMATICAL BOLD FRAKTUR SMALL D + 0x1D58A: [475,24,476,55,427], // MATHEMATICAL BOLD FRAKTUR SMALL E + 0x1D58B: [700,214,370,33,352], // MATHEMATICAL BOLD FRAKTUR SMALL F + 0x1D58C: [475,219,566,55,506], // MATHEMATICAL BOLD FRAKTUR SMALL G + 0x1D58D: [695,219,576,45,516], // MATHEMATICAL BOLD FRAKTUR SMALL H + 0x1D58E: [697,24,429,35,379], // MATHEMATICAL BOLD FRAKTUR SMALL I + 0x1D58F: [697,219,389,40,337], // MATHEMATICAL BOLD FRAKTUR SMALL J + 0x1D590: [695,24,456,48,402], // MATHEMATICAL BOLD FRAKTUR SMALL K + 0x1D591: [695,24,433,45,379], // MATHEMATICAL BOLD FRAKTUR SMALL L + 0x1D592: [475,24,984,40,932], // MATHEMATICAL BOLD FRAKTUR SMALL M + 0x1D593: [475,24,696,40,644], // MATHEMATICAL BOLD FRAKTUR SMALL N + 0x1D594: [475,24,554,45,499], // MATHEMATICAL BOLD FRAKTUR SMALL O + 0x1D595: [593,219,640,36,585], // MATHEMATICAL BOLD FRAKTUR SMALL P + 0x1D596: [475,219,574,55,522], // MATHEMATICAL BOLD FRAKTUR SMALL Q + 0x1D597: [475,24,525,40,493], // MATHEMATICAL BOLD FRAKTUR SMALL R + 0x1D598: [643,31,557,52,505], // MATHEMATICAL BOLD FRAKTUR SMALL S + 0x1D599: [656,23,438,45,378], // MATHEMATICAL BOLD FRAKTUR SMALL T + 0x1D59A: [475,24,681,35,629], // MATHEMATICAL BOLD FRAKTUR SMALL U + 0x1D59B: [593,24,573,55,526], // MATHEMATICAL BOLD FRAKTUR SMALL V + 0x1D59C: [593,24,850,55,795], // MATHEMATICAL BOLD FRAKTUR SMALL W + 0x1D59D: [475,209,521,50,489], // MATHEMATICAL BOLD FRAKTUR SMALL X + 0x1D59E: [593,219,596,55,536], // MATHEMATICAL BOLD FRAKTUR SMALL Y + 0x1D59F: [475,219,484,36,437] // MATHEMATICAL BOLD FRAKTUR SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BoldFraktur.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js new file mode 100644 index 0000000..d675eab --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js @@ -0,0 +1,72 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/BoxDrawing.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2500: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT HORIZONTAL + 0x2502: [910,303,708,317,390], // BOX DRAWINGS LIGHT VERTICAL + 0x2506: [910,303,708,317,390], // BOX DRAWINGS LIGHT TRIPLE DASH VERTICAL + 0x2508: [340,-267,708,-11,719], // BOX DRAWINGS LIGHT QUADRUPLE DASH HORIZONTAL + 0x250A: [910,303,708,317,390], // BOX DRAWINGS LIGHT QUADRUPLE DASH VERTICAL + 0x250C: [340,303,708,317,720], // BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: [340,303,708,-11,390], // BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: [910,-267,708,317,720], // BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: [910,-267,708,-11,390], // BOX DRAWINGS LIGHT UP AND LEFT + 0x251C: [910,303,708,317,719], // BOX DRAWINGS LIGHT VERTICAL AND RIGHT + 0x2524: [910,303,708,-11,390], // BOX DRAWINGS LIGHT VERTICAL AND LEFT + 0x252C: [340,303,708,-11,719], // BOX DRAWINGS LIGHT DOWN AND HORIZONTAL + 0x2534: [910,-267,708,-11,719], // BOX DRAWINGS LIGHT UP AND HORIZONTAL + 0x253C: [910,303,708,-11,719], // BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL + 0x2550: [433,-174,708,-11,719], // BOX DRAWINGS DOUBLE HORIZONTAL + 0x2551: [910,303,708,225,483], // BOX DRAWINGS DOUBLE VERTICAL + 0x2552: [433,303,708,317,720], // BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE + 0x2553: [340,303,708,225,720], // BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE + 0x2554: [433,303,708,225,719], // BOX DRAWINGS DOUBLE DOWN AND RIGHT + 0x2555: [433,303,708,-11,390], // BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE + 0x2556: [340,303,708,-11,483], // BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE + 0x2557: [433,303,708,-11,483], // BOX DRAWINGS DOUBLE DOWN AND LEFT + 0x2558: [910,-174,708,317,720], // BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE + 0x2559: [910,-267,708,225,720], // BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE + 0x255A: [910,-174,708,225,719], // BOX DRAWINGS DOUBLE UP AND RIGHT + 0x255B: [910,-174,708,-11,390], // BOX DRAWINGS UP SINGLE AND LEFT DOUBLE + 0x255C: [910,-267,708,-11,483], // BOX DRAWINGS UP DOUBLE AND LEFT SINGLE + 0x255D: [910,-174,708,-11,483], // BOX DRAWINGS DOUBLE UP AND LEFT + 0x255E: [910,303,708,317,720], // BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE + 0x255F: [910,303,708,225,720], // BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE + 0x2560: [910,303,708,225,720], // BOX DRAWINGS DOUBLE VERTICAL AND RIGHT + 0x2561: [910,303,708,-11,390], // BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE + 0x2562: [910,303,708,-11,483], // BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE + 0x2563: [910,303,708,-11,483], // BOX DRAWINGS DOUBLE VERTICAL AND LEFT + 0x2564: [433,303,708,-11,719], // BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE + 0x2565: [340,303,708,-11,719], // BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE + 0x2566: [433,303,708,-11,719], // BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL + 0x2567: [910,-174,708,-11,719], // BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE + 0x2568: [910,-267,708,-11,719], // BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE + 0x2569: [910,-174,708,-11,719], // BOX DRAWINGS DOUBLE UP AND HORIZONTAL + 0x256A: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE + 0x256B: [910,303,708,-11,719], // BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE + 0x256C: [910,303,708,-11,719], // BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL + 0x2571: [910,303,708,-15,723], // BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT + 0x2572: [910,303,708,-15,723] // BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/BoxDrawing.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js new file mode 100644 index 0000000..085e13c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CJK.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x3012: [662,0,685,10,672], // POSTAL MARK + 0x3030: [417,-93,1412,45,1367] // WAVY DASH + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CJK.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js new file mode 100644 index 0000000..cac5342 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js @@ -0,0 +1,86 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x305: [820,-770,0,-480,20], // COMBINING OVERLINE + 0x309: [751,-492,0,-307,-118], // COMBINING HOOK ABOVE + 0x30D: [700,-500,0,-250,-195], // COMBINING VERTICAL LINE ABOVE + 0x30E: [700,-500,0,-326,-133], // COMBINING DOUBLE VERTICAL LINE ABOVE + 0x30F: [678,-507,0,-401,-22], // COMBINING DOUBLE GRAVE ACCENT + 0x310: [767,-507,0,-373,-92], // COMBINING CANDRABINDU + 0x311: [664,-507,0,-373,-92], // COMBINING INVERTED BREVE + 0x312: [745,-502,0,-299,-160], // COMBINING TURNED COMMA ABOVE + 0x313: [745,-502,0,-299,-160], // COMBINING COMMA ABOVE + 0x314: [745,-502,0,-299,-160], // COMBINING REVERSED COMMA ABOVE + 0x315: [745,-502,0,-85,54], // COMBINING COMMA ABOVE RIGHT + 0x316: [-53,224,0,-351,-127], // COMBINING GRAVE ACCENT BELOW + 0x317: [-53,224,0,-371,-147], // COMBINING ACUTE ACCENT BELOW + 0x318: [-53,283,0,-397,-210], // COMBINING LEFT TACK BELOW + 0x319: [-53,283,0,-267,-80], // COMBINING RIGHT TACK BELOW + 0x31A: [735,-531,0,-380,-80], // COMBINING LEFT ANGLE ABOVE + 0x31B: [474,-345,0,-44,51], // COMBINING HORN + 0x31C: [-71,266,0,-360,-232], // COMBINING LEFT HALF RING BELOW + 0x31D: [-53,240,0,-345,-115], // COMBINING UP TACK BELOW + 0x31E: [-53,240,0,-345,-115], // COMBINING DOWN TACK BELOW + 0x31F: [-53,250,0,-326,-134], // COMBINING PLUS SIGN BELOW + 0x320: [-124,168,0,-326,-134], // COMBINING MINUS SIGN BELOW + 0x321: [75,287,0,-235,1], // COMBINING PALATALIZED HOOK BELOW + 0x322: [75,287,0,-54,182], // COMBINING RETROFLEX HOOK BELOW + 0x323: [-118,217,0,-280,-181], // COMBINING DOT BELOW + 0x324: [-119,218,0,-379,-81], // COMBINING DIAERESIS BELOW + 0x325: [-69,268,0,-329,-130], // COMBINING RING BELOW + 0x326: [-110,353,0,-299,-160], // COMBINING COMMA BELOW + 0x327: [0,215,0,-334,-125], // COMBINING CEDILLA + 0x328: [0,165,0,-322,-137], // COMBINING OGONEK + 0x329: [-102,234,0,-250,-210], // COMBINING VERTICAL LINE BELOW + 0x32A: [-98,235,0,-385,-73], // COMBINING BRIDGE BELOW + 0x32B: [-110,227,0,-380,-75], // COMBINING INVERTED DOUBLE ARCH BELOW + 0x32C: [-73,240,0,-385,-74], // COMBINING CARON BELOW + 0x32D: [-73,240,0,-385,-74], // COMBINING CIRCUMFLEX ACCENT BELOW + 0x32E: [-68,225,0,-370,-89], // COMBINING BREVE BELOW + 0x32F: [-59,216,0,-370,-89], // COMBINING INVERTED BREVE BELOW + 0x330: [-113,219,0,-395,-65], // COMBINING TILDE BELOW + 0x331: [-141,195,0,-385,-74], // COMBINING MACRON BELOW + 0x332: [-141,191,0,-480,20], // COMBINING LOW LINE + 0x333: [-141,300,0,-480,20], // COMBINING DOUBLE LOW LINE + 0x334: [320,-214,0,-401,-71], // COMBINING TILDE OVERLAY + 0x335: [274,-230,0,-384,-78], // COMBINING SHORT STROKE OVERLAY + 0x336: [274,-230,0,-480,20], // COMBINING LONG STROKE OVERLAY + 0x337: [580,74,0,-380,-41], // COMBINING SHORT SOLIDUS OVERLAY + 0x339: [-71,266,0,-280,-152], // COMBINING RIGHT HALF RING BELOW + 0x33A: [-53,190,0,-385,-73], // COMBINING INVERTED BRIDGE BELOW + 0x33B: [-53,227,0,-313,-147], // COMBINING SQUARE BELOW + 0x33C: [-65,189,0,-380,-79], // COMBINING SEAGULL BELOW + 0x33D: [715,-525,0,-326,-135], // COMBINING X ABOVE + 0x33E: [829,-499,0,-283,-177], // COMBINING VERTICAL TILDE + 0x33F: [928,-770,0,-480,20], // COMBINING DOUBLE OVERLINE + 0x346: [681,-538,0,-350,-68], // COMBINING BRIDGE ABOVE + 0x34C: [777,-532,0,-386,-56], // COMBINING ALMOST EQUAL TO ABOVE + 0x359: [-65,367,0,-357,-87], // COMBINING ASTERISK BELOW + 0x35C: [-76,233,0,-373,295], // COMBINING DOUBLE BREVE BELOW + 0x360: [633,-517,0,-395,365], // COMBINING DOUBLE TILDE + 0x361: [664,-507,0,-373,295], // COMBINING DOUBLE INVERTED BREVE + 0x362: [-65,270,0,-395,355] // COMBINING DOUBLE RIGHTWARDS ARROW BELOW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js new file mode 100644 index 0000000..c25e5fd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js @@ -0,0 +1,50 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CombDiactForSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x20D0: [760,-627,0,-453,-17], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [760,-627,0,-453,-17], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,0,-242,-192], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [760,-548,0,-453,-17], // COMBINING LEFT ARROW ABOVE + 0x20DB: [622,-523,0,-462,35], // COMBINING THREE DOTS ABOVE + 0x20DC: [622,-523,0,-600,96], // COMBINING FOUR DOTS ABOVE + 0x20DD: [725,221,0,-723,223], // COMBINING ENCLOSING CIRCLE + 0x20DE: [780,180,0,-730,230], // COMBINING ENCLOSING SQUARE + 0x20DF: [843,341,0,-840,344], // COMBINING ENCLOSING DIAMOND + 0x20E1: [760,-548,0,-453,25], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1023,155,0,-970,490], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,156,0,-430,-40], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,0,-335,-102], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [725,178,0,-650,166], // COMBINING ANNUITY SYMBOL + 0x20E8: [-119,218,0,-462,35], // COMBINING TRIPLE UNDERDOT + 0x20E9: [681,-538,0,-480,53], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [419,-87,0,-658,118], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EB: [756,217,0,-448,193], // COMBINING LONG DOUBLE SOLIDUS OVERLAY + 0x20EC: [-119,252,0,-453,-17], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-119,252,0,-453,-17], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-40,252,0,-453,-17], // COMBINING LEFT ARROW BELOW + 0x20EF: [-40,252,0,-453,-17], // COMBINING RIGHT ARROW BELOW + 0x20F0: [819,-517,0,-357,-87] // COMBINING ASTERISK ABOVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CombDiactForSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js new file mode 100644 index 0000000..b738a43 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ControlPictures.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2423: [16,120,500,40,460] // stix-round space indicator + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/ControlPictures.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js new file mode 100644 index 0000000..fb87019 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/CurrencySymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x20A3: [662,0,556,11,546], // FRENCH FRANC SIGN + 0x20A4: [676,8,500,12,490], // LIRA SIGN + 0x20A7: [662,10,1182,16,1141], // PESETA SIGN + 0x20AC: [664,12,500,38,462] // EURO SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/CurrencySymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js new file mode 100644 index 0000000..275025a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js @@ -0,0 +1,129 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Cyrillic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x401: [872,0,629,22,607], // CYRILLIC CAPITAL LETTER IO + 0x402: [662,189,756,18,700], // CYRILLIC CAPITAL LETTER DJE + 0x403: [928,0,571,19,544], // CYRILLIC CAPITAL LETTER GJE + 0x404: [676,14,651,38,621], // CYRILLIC CAPITAL LETTER UKRAINIAN IE + 0x405: [676,14,556,62,510], // CYRILLIC CAPITAL LETTER DZE + 0x406: [662,0,333,18,315], // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I + 0x407: [872,0,333,25,323], // CYRILLIC CAPITAL LETTER YI + 0x408: [662,14,373,-6,354], // CYRILLIC CAPITAL LETTER JE + 0x409: [662,14,988,10,954], // CYRILLIC CAPITAL LETTER LJE + 0x40A: [662,0,1017,19,983], // CYRILLIC CAPITAL LETTER NJE + 0x40B: [662,0,803,18,786], // CYRILLIC CAPITAL LETTER TSHE + 0x40C: [928,0,690,19,686], // CYRILLIC CAPITAL LETTER KJE + 0x40E: [915,15,711,15,694], // CYRILLIC CAPITAL LETTER SHORT U + 0x40F: [662,153,715,19,696], // CYRILLIC CAPITAL LETTER DZHE + 0x410: [674,0,713,9,701], // CYRILLIC CAPITAL LETTER A + 0x411: [662,0,611,19,577], // CYRILLIC CAPITAL LETTER BE + 0x412: [662,0,651,19,595], // CYRILLIC CAPITAL LETTER VE + 0x413: [662,0,571,19,544], // CYRILLIC CAPITAL LETTER GHE + 0x414: [662,153,665,14,646], // CYRILLIC CAPITAL LETTER DE + 0x415: [662,0,629,22,607], // CYRILLIC CAPITAL LETTER IE + 0x416: [676,0,1021,8,1013], // CYRILLIC CAPITAL LETTER ZHE + 0x417: [676,14,576,28,545], // CYRILLIC CAPITAL LETTER ZE + 0x418: [662,0,723,19,704], // CYRILLIC CAPITAL LETTER I + 0x419: [915,0,723,19,704], // CYRILLIC CAPITAL LETTER SHORT I + 0x41A: [676,0,690,19,686], // CYRILLIC CAPITAL LETTER KA + 0x41B: [662,14,683,9,664], // CYRILLIC CAPITAL LETTER EL + 0x41C: [662,0,893,19,871], // CYRILLIC CAPITAL LETTER EM + 0x41D: [662,0,726,19,704], // CYRILLIC CAPITAL LETTER EN + 0x41E: [676,14,729,36,690], // CYRILLIC CAPITAL LETTER O + 0x41F: [662,0,724,19,705], // CYRILLIC CAPITAL LETTER PE + 0x420: [662,0,571,19,535], // CYRILLIC CAPITAL LETTER ER + 0x421: [676,14,677,36,641], // CYRILLIC CAPITAL LETTER ES + 0x422: [662,0,618,30,592], // CYRILLIC CAPITAL LETTER TE + 0x423: [662,15,711,15,694], // CYRILLIC CAPITAL LETTER U + 0x424: [662,0,769,38,731], // CYRILLIC CAPITAL LETTER EF + 0x425: [662,0,716,9,703], // CYRILLIC CAPITAL LETTER HA + 0x426: [662,153,715,19,696], // CYRILLIC CAPITAL LETTER TSE + 0x427: [662,0,657,3,639], // CYRILLIC CAPITAL LETTER CHE + 0x428: [662,0,994,29,965], // CYRILLIC CAPITAL LETTER SHA + 0x429: [662,153,994,29,965], // CYRILLIC CAPITAL LETTER SHCHA + 0x42A: [662,0,737,13,703], // CYRILLIC CAPITAL LETTER HARD SIGN + 0x42B: [662,0,884,19,865], // CYRILLIC CAPITAL LETTER YERU + 0x42C: [662,0,612,19,578], // CYRILLIC CAPITAL LETTER SOFT SIGN + 0x42D: [676,14,651,30,613], // CYRILLIC CAPITAL LETTER E + 0x42E: [676,14,902,19,863], // CYRILLIC CAPITAL LETTER YU + 0x42F: [662,0,637,3,618], // CYRILLIC CAPITAL LETTER YA + 0x430: [460,10,450,37,446], // CYRILLIC SMALL LETTER A + 0x431: [685,10,507,39,478], // CYRILLIC SMALL LETTER BE + 0x432: [450,0,474,24,438], // CYRILLIC SMALL LETTER VE + 0x433: [450,0,394,17,387], // CYRILLIC SMALL LETTER GHE + 0x434: [450,137,462,14,439], // CYRILLIC SMALL LETTER DE + 0x435: [460,10,466,38,437], // CYRILLIC SMALL LETTER IE + 0x436: [456,0,721,14,707], // CYRILLIC SMALL LETTER ZHE + 0x437: [460,10,390,14,357], // CYRILLIC SMALL LETTER ZE + 0x438: [450,0,525,23,502], // CYRILLIC SMALL LETTER I + 0x439: [704,0,525,23,502], // CYRILLIC SMALL LETTER SHORT I + 0x43A: [456,0,503,23,495], // CYRILLIC SMALL LETTER KA + 0x43B: [450,10,499,8,476], // CYRILLIC SMALL LETTER EL + 0x43C: [450,0,617,23,594], // CYRILLIC SMALL LETTER EM + 0x43D: [450,0,525,23,502], // CYRILLIC SMALL LETTER EN + 0x43E: [460,10,512,35,476], // CYRILLIC SMALL LETTER O + 0x43F: [450,0,525,23,502], // CYRILLIC SMALL LETTER PE + 0x440: [460,217,499,-2,463], // CYRILLIC SMALL LETTER ER + 0x441: [460,10,456,41,428], // CYRILLIC SMALL LETTER ES + 0x442: [450,0,434,8,426], // CYRILLIC SMALL LETTER TE + 0x443: [450,218,491,8,483], // CYRILLIC SMALL LETTER U + 0x444: [662,217,678,43,635], // CYRILLIC SMALL LETTER EF + 0x445: [450,0,489,14,476], // CYRILLIC SMALL LETTER HA + 0x446: [450,137,525,23,502], // CYRILLIC SMALL LETTER TSE + 0x447: [450,0,512,18,489], // CYRILLIC SMALL LETTER CHE + 0x448: [450,0,768,23,745], // CYRILLIC SMALL LETTER SHA + 0x449: [450,137,768,23,745], // CYRILLIC SMALL LETTER SHCHA + 0x44A: [450,0,539,8,507], // CYRILLIC SMALL LETTER HARD SIGN + 0x44B: [450,0,670,23,646], // CYRILLIC SMALL LETTER YERU + 0x44C: [450,0,457,23,425], // CYRILLIC SMALL LETTER SOFT SIGN + 0x44D: [460,10,444,14,410], // CYRILLIC SMALL LETTER E + 0x44E: [460,10,738,23,703], // CYRILLIC SMALL LETTER YU + 0x44F: [450,0,471,4,448], // CYRILLIC SMALL LETTER YA + 0x451: [622,10,466,38,437], // CYRILLIC SMALL LETTER IO + 0x452: [683,218,512,6,439], // CYRILLIC SMALL LETTER DJE + 0x453: [679,0,394,17,387], // CYRILLIC SMALL LETTER GJE + 0x454: [460,10,444,34,430], // CYRILLIC SMALL LETTER UKRAINIAN IE + 0x455: [459,10,389,49,346], // CYRILLIC SMALL LETTER DZE + 0x456: [683,0,278,29,266], // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I + 0x457: [622,0,278,1,299], // CYRILLIC SMALL LETTER YI + 0x458: [683,218,278,-77,187], // CYRILLIC SMALL LETTER JE + 0x459: [450,10,702,8,670], // CYRILLIC SMALL LETTER LJE + 0x45A: [450,0,721,23,689], // CYRILLIC SMALL LETTER NJE + 0x45B: [683,0,512,6,499], // CYRILLIC SMALL LETTER TSHE + 0x45C: [679,0,503,23,495], // CYRILLIC SMALL LETTER KJE + 0x45E: [704,218,491,8,483], // CYRILLIC SMALL LETTER SHORT U + 0x45F: [450,137,518,23,495], // CYRILLIC SMALL LETTER DZHE + 0x462: [662,0,746,26,713], // CYRILLIC CAPITAL LETTER YAT + 0x463: [683,0,539,8,507], // CYRILLIC SMALL LETTER YAT + 0x46A: [662,0,998,6,992], // CYRILLIC CAPITAL LETTER BIG YUS + 0x46B: [450,0,722,14,708], // CYRILLIC SMALL LETTER BIG YUS + 0x472: [676,14,729,36,690], // CYRILLIC CAPITAL LETTER FITA + 0x473: [460,10,512,35,476], // CYRILLIC SMALL LETTER FITA + 0x474: [676,11,766,16,760], // CYRILLIC CAPITAL LETTER IZHITSA + 0x475: [456,14,539,19,532], // CYRILLIC SMALL LETTER IZHITSA + 0x490: [803,0,571,19,544], // CYRILLIC CAPITAL LETTER GHE WITH UPTURN + 0x491: [558,0,394,17,387] // CYRILLIC SMALL LETTER GHE WITH UPTURN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Cyrillic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js new file mode 100644 index 0000000..900e1dc --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js @@ -0,0 +1,57 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Dingbats.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2702: [612,-82,961,35,905], // BLACK SCISSORS + 0x2709: [555,-138,690,34,638], // ENVELOPE + 0x2713: [707,12,755,34,704], // CHECK MARK + 0x2720: [592,87,767,53,714], // MALTESE CROSS + 0x272A: [613,106,789,35,733], // CIRCLED WHITE STAR + 0x2736: [616,108,695,35,642], // SIX POINTED BLACK STAR + 0x273D: [612,108,682,35,626], // HEAVY TEARDROP-SPOKED ASTERISK + 0x2772: [719,213,488,188,466], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT + 0x2773: [719,213,488,22,300], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT + 0x2780: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT ONE + 0x2781: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT TWO + 0x2782: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT THREE + 0x2783: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT FOUR + 0x2784: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT FIVE + 0x2785: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT SIX + 0x2786: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT SEVEN + 0x2787: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT EIGHT + 0x2788: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF DIGIT NINE + 0x2789: [705,14,788,35,733], // DINGBAT CIRCLED SANS-SERIF NUMBER TEN + 0x278A: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE + 0x278B: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT TWO + 0x278C: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE + 0x278D: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FOUR + 0x278E: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FIVE + 0x278F: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SIX + 0x2790: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SEVEN + 0x2791: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT EIGHT + 0x2792: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT NINE + 0x2793: [705,14,788,35,733], // DINGBAT NEGATIVE CIRCLED SANS-SERIF NUMBER TEN + 0x279B: [433,-70,918,35,861] // DRAFTING POINT RIGHTWARDS ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Dingbats.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js new file mode 100644 index 0000000..acc9d64 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/EnclosedAlphanum.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2460: [676,14,684,0,684], // CIRCLED DIGIT ONE + 0x2461: [676,14,684,0,684], // CIRCLED DIGIT TWO + 0x2462: [676,14,684,0,684], // CIRCLED DIGIT THREE + 0x2463: [676,14,684,0,684], // CIRCLED DIGIT FOUR + 0x2464: [676,14,684,0,684], // CIRCLED DIGIT FIVE + 0x2465: [676,14,684,0,684], // CIRCLED DIGIT SIX + 0x2466: [676,14,684,0,684], // CIRCLED DIGIT SEVEN + 0x2467: [676,14,684,0,684], // CIRCLED DIGIT EIGHT + 0x2468: [676,14,684,0,684], // CIRCLED DIGIT NINE + 0x24B6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER A + 0x24B7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER B + 0x24B8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER C + 0x24B9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER D + 0x24BA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER E + 0x24BB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER F + 0x24BC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER G + 0x24BD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER H + 0x24BE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER I + 0x24BF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER J + 0x24C0: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER K + 0x24C1: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER L + 0x24C2: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER M + 0x24C3: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER N + 0x24C4: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER O + 0x24C5: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER P + 0x24C6: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Q + 0x24C7: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER R + 0x24C8: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER S + 0x24C9: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER T + 0x24CA: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER U + 0x24CB: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER V + 0x24CC: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER W + 0x24CD: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER X + 0x24CE: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Y + 0x24CF: [676,14,684,0,684], // CIRCLED LATIN CAPITAL LETTER Z + 0x24D0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER A + 0x24D1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER B + 0x24D2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER C + 0x24D3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER D + 0x24D4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER E + 0x24D5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER F + 0x24D6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER G + 0x24D7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER H + 0x24D8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER I + 0x24D9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER J + 0x24DA: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER K + 0x24DB: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER L + 0x24DC: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER M + 0x24DD: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER N + 0x24DE: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER O + 0x24DF: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER P + 0x24E0: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Q + 0x24E1: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER R + 0x24E2: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER S + 0x24E3: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER T + 0x24E4: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER U + 0x24E5: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER V + 0x24E6: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER W + 0x24E7: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER X + 0x24E8: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Y + 0x24E9: [676,14,684,0,684], // CIRCLED LATIN SMALL LETTER Z + 0x24EA: [676,14,684,0,684] // CIRCLED DIGIT ZERO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/EnclosedAlphanum.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js new file mode 100644 index 0000000..e285538 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js @@ -0,0 +1,74 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Fraktur.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D504: [695,22,785,47,742], // MATHEMATICAL FRAKTUR CAPITAL A + 0x1D505: [704,24,822,48,774], // MATHEMATICAL FRAKTUR CAPITAL B + 0x1D507: [695,24,868,50,817], // MATHEMATICAL FRAKTUR CAPITAL D + 0x1D508: [695,24,729,50,678], // MATHEMATICAL FRAKTUR CAPITAL E + 0x1D509: [695,204,767,50,716], // MATHEMATICAL FRAKTUR CAPITAL F + 0x1D50A: [695,24,806,50,755], // MATHEMATICAL FRAKTUR CAPITAL G + 0x1D50D: [695,204,772,50,721], // MATHEMATICAL FRAKTUR CAPITAL J + 0x1D50E: [695,22,846,50,801], // MATHEMATICAL FRAKTUR CAPITAL K + 0x1D50F: [695,24,669,47,626], // MATHEMATICAL FRAKTUR CAPITAL L + 0x1D510: [695,22,1083,50,1031], // MATHEMATICAL FRAKTUR CAPITAL M + 0x1D511: [695,22,827,50,775], // MATHEMATICAL FRAKTUR CAPITAL N + 0x1D512: [695,24,837,37,786], // MATHEMATICAL FRAKTUR CAPITAL O + 0x1D513: [695,204,823,40,773], // MATHEMATICAL FRAKTUR CAPITAL P + 0x1D514: [695,64,865,37,814], // MATHEMATICAL FRAKTUR CAPITAL Q + 0x1D516: [695,24,856,55,801], // MATHEMATICAL FRAKTUR CAPITAL S + 0x1D517: [695,24,766,47,722], // MATHEMATICAL FRAKTUR CAPITAL T + 0x1D518: [696,22,787,50,744], // MATHEMATICAL FRAKTUR CAPITAL U + 0x1D519: [695,24,831,48,781], // MATHEMATICAL FRAKTUR CAPITAL V + 0x1D51A: [695,24,1075,48,1025], // MATHEMATICAL FRAKTUR CAPITAL W + 0x1D51B: [695,31,763,46,735], // MATHEMATICAL FRAKTUR CAPITAL X + 0x1D51C: [695,204,766,47,714], // MATHEMATICAL FRAKTUR CAPITAL Y + 0x1D51E: [468,18,530,51,479], // MATHEMATICAL FRAKTUR SMALL A + 0x1D51F: [695,18,513,46,462], // MATHEMATICAL FRAKTUR SMALL B + 0x1D520: [468,18,385,57,344], // MATHEMATICAL FRAKTUR SMALL C + 0x1D521: [695,18,506,45,455], // MATHEMATICAL FRAKTUR SMALL D + 0x1D522: [468,18,420,47,379], // MATHEMATICAL FRAKTUR SMALL E + 0x1D523: [694,209,327,27,316], // MATHEMATICAL FRAKTUR SMALL F + 0x1D524: [468,209,499,51,461], // MATHEMATICAL FRAKTUR SMALL G + 0x1D525: [695,209,528,48,476], // MATHEMATICAL FRAKTUR SMALL H + 0x1D526: [694,18,384,42,338], // MATHEMATICAL FRAKTUR SMALL I + 0x1D527: [695,209,345,44,311], // MATHEMATICAL FRAKTUR SMALL J + 0x1D528: [695,18,420,48,368], // MATHEMATICAL FRAKTUR SMALL K + 0x1D529: [695,18,398,46,350], // MATHEMATICAL FRAKTUR SMALL L + 0x1D52A: [468,25,910,59,856], // MATHEMATICAL FRAKTUR SMALL M + 0x1D52B: [468,25,636,60,582], // MATHEMATICAL FRAKTUR SMALL N + 0x1D52C: [468,18,503,50,452], // MATHEMATICAL FRAKTUR SMALL O + 0x1D52D: [586,209,555,38,504], // MATHEMATICAL FRAKTUR SMALL P + 0x1D52E: [468,209,507,51,459], // MATHEMATICAL FRAKTUR SMALL Q + 0x1D52F: [468,18,463,38,426], // MATHEMATICAL FRAKTUR SMALL R + 0x1D530: [623,24,518,49,469], // MATHEMATICAL FRAKTUR SMALL S + 0x1D531: [656,18,374,38,337], // MATHEMATICAL FRAKTUR SMALL T + 0x1D532: [478,18,647,60,593], // MATHEMATICAL FRAKTUR SMALL U + 0x1D533: [586,18,515,47,464], // MATHEMATICAL FRAKTUR SMALL V + 0x1D534: [586,25,759,41,708], // MATHEMATICAL FRAKTUR SMALL W + 0x1D535: [468,189,456,45,406], // MATHEMATICAL FRAKTUR SMALL X + 0x1D536: [586,209,516,48,464], // MATHEMATICAL FRAKTUR SMALL Y + 0x1D537: [468,209,457,43,407] // MATHEMATICAL FRAKTUR SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Fraktur.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js new file mode 100644 index 0000000..e40fe80 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js @@ -0,0 +1,68 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2010: [259,-193,333,39,285], // HYPHEN + 0x2011: [257,-194,333,39,285], // NON-BREAKING HYPHEN + 0x2012: [259,-193,500,0,500], // FIGURE DASH + 0x2013: [250,-201,500,0,500], // EN DASH + 0x2014: [250,-201,1000,0,1000], // EM DASH + 0x2015: [250,-201,2000,0,2000], // HORIZONTAL BAR + 0x2016: [690,189,523,129,394], // DOUBLE VERTICAL LINE + 0x2017: [-141,300,500,0,500], // DOUBLE LOW LINE + 0x2018: [676,-433,333,115,254], // LEFT SINGLE QUOTATION MARK + 0x2019: [676,-433,333,79,218], // RIGHT SINGLE QUOTATION MARK + 0x201A: [102,141,333,79,218], // SINGLE LOW-9 QUOTATION MARK + 0x201B: [676,-433,333,79,218], // SINGLE HIGH-REVERSED-9 QUOTATION MARK + 0x201C: [676,-433,444,43,414], // LEFT DOUBLE QUOTATION MARK + 0x201D: [676,-433,444,30,401], // RIGHT DOUBLE QUOTATION MARK + 0x201E: [102,141,444,45,416], // DOUBLE LOW-9 QUOTATION MARK + 0x201F: [676,-433,444,30,401], // DOUBLE HIGH-REVERSED-9 QUOTATION MARK + 0x2022: [444,-59,523,70,455], // BULLET + 0x2025: [100,11,667,111,555], // TWO DOT LEADER + 0x2030: [706,19,1109,61,1048], // PER MILLE SIGN + 0x2031: [706,19,1471,61,1410], // PER TEN THOUSAND SIGN + 0x2033: [678,-401,426,75,351], // DOUBLE PRIME + 0x2034: [678,-401,563,75,488], // TRIPLE PRIME + 0x2035: [678,-402,289,75,214], // REVERSED PRIME + 0x2036: [678,-401,426,75,351], // REVERSED DOUBLE PRIME + 0x2037: [678,-401,563,75,488], // REVERSED TRIPLE PRIME + 0x2038: [102,156,511,59,454], // CARET + 0x2039: [416,-33,333,63,285], // SINGLE LEFT-POINTING ANGLE QUOTATION MARK + 0x203A: [416,-33,333,48,270], // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK + 0x203B: [547,41,685,48,635], // REFERENCE MARK + 0x203C: [676,9,549,130,452], // DOUBLE EXCLAMATION MARK + 0x2040: [709,-512,798,72,726], // CHARACTER TIE + 0x2043: [332,-172,333,39,285], // HYPHEN BULLET + 0x2044: [676,14,167,-168,331], // FRACTION SLASH + 0x2047: [676,8,839,68,809], // DOUBLE QUESTION MARK + 0x204E: [240,171,500,68,433], // LOW ASTERISK + 0x204F: [459,141,278,60,199], // REVERSED SEMICOLON + 0x2050: [691,40,790,55,735], // CLOSE UP + 0x2051: [676,171,501,68,433], // TWO ASTERISKS ALIGNED VERTICALLY + 0x2052: [706,200,471,54,417], // COMMERCIAL MINUS SIGN + 0x2057: [678,-401,710,75,635], // QUADRUPLE PRIME + 0x205F: [0,0,1000,0,0] // MEDIUM MATHEMATICAL SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js new file mode 100644 index 0000000..d5a9f14 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js @@ -0,0 +1,118 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GeometricShapes.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x25A0: [662,158,910,45,865], // BLACK SQUARE + 0x25A1: [662,158,910,45,865], // WHITE SQUARE + 0x25A2: [662,158,910,45,865], // WHITE SQUARE WITH ROUNDED CORNERS + 0x25A3: [662,158,910,45,865], // WHITE SQUARE CONTAINING BLACK SMALL SQUARE + 0x25A4: [662,158,910,45,865], // SQUARE WITH HORIZONTAL FILL + 0x25A5: [662,158,910,45,865], // SQUARE WITH VERTICAL FILL + 0x25A6: [662,158,910,45,865], // SQUARE WITH ORTHOGONAL CROSSHATCH FILL + 0x25A7: [662,158,910,45,865], // SQUARE WITH UPPER LEFT TO LOWER RIGHT FILL + 0x25A8: [662,158,910,45,865], // SQUARE WITH UPPER RIGHT TO LOWER LEFT FILL + 0x25A9: [662,158,910,45,865], // SQUARE WITH DIAGONAL CROSSHATCH FILL + 0x25AA: [460,-40,484,32,452], // BLACK SMALL SQUARE + 0x25AB: [460,-40,484,32,452], // WHITE SMALL SQUARE + 0x25AC: [469,11,1020,38,982], // BLACK RECTANGLE + 0x25AD: [469,11,1020,38,982], // WHITE RECTANGLE + 0x25AE: [724,220,560,40,520], // BLACK VERTICAL RECTANGLE + 0x25AF: [724,220,560,40,520], // WHITE VERTICAL RECTANGLE + 0x25B0: [514,11,1140,28,1112], // BLACK PARALLELOGRAM + 0x25B1: [514,11,1140,29,1111], // WHITE PARALLELOGRAM + 0x25B2: [811,127,1145,35,1110], // BLACK UP-POINTING TRIANGLE + 0x25B4: [553,-28,660,27,632], // BLACK UP-POINTING SMALL TRIANGLE + 0x25B5: [553,-28,660,27,632], // WHITE UP-POINTING SMALL TRIANGLE + 0x25B6: [790,285,1043,70,1008], // BLACK RIGHT-POINTING TRIANGLE + 0x25B7: [791,284,1043,70,1008], // WHITE RIGHT-POINTING TRIANGLE + 0x25B8: [556,49,660,80,605], // BLACK RIGHT-POINTING SMALL TRIANGLE + 0x25BA: [555,50,930,65,885], // BLACK RIGHT-POINTING POINTER + 0x25BB: [555,50,930,65,885], // WHITE RIGHT-POINTING POINTER + 0x25BC: [811,127,1145,35,1110], // BLACK DOWN-POINTING TRIANGLE + 0x25BE: [477,48,660,27,632], // BLACK DOWN-POINTING SMALL TRIANGLE + 0x25BF: [477,48,660,27,632], // WHITE DOWN-POINTING SMALL TRIANGLE + 0x25C0: [790,285,1043,35,973], // BLACK LEFT-POINTING TRIANGLE + 0x25C1: [791,284,1043,70,1008], // WHITE LEFT-POINTING TRIANGLE + 0x25C2: [555,50,660,55,580], // BLACK LEFT-POINTING SMALL TRIANGLE + 0x25C4: [555,50,930,45,865], // BLACK LEFT-POINTING POINTER + 0x25C5: [555,50,930,45,865], // WHITE LEFT-POINTING POINTER + 0x25C6: [744,242,1064,39,1025], // BLACK DIAMOND + 0x25C7: [744,242,1064,39,1025], // WHITE DIAMOND + 0x25C8: [744,242,1064,39,1025], // WHITE DIAMOND CONTAINING BLACK SMALL DIAMOND + 0x25C9: [623,119,842,50,792], // FISHEYE + 0x25CA: [795,289,790,45,745], // LOZENGE + 0x25CB: [623,119,842,50,792], // WHITE CIRCLE + 0x25CC: [680,176,910,29,881], // DOTTED CIRCLE + 0x25CD: [680,176,910,27,884], // CIRCLE WITH VERTICAL FILL + 0x25CE: [623,119,842,50,792], // BULLSEYE + 0x25CF: [623,119,842,50,792], // BLACK CIRCLE + 0x25D0: [623,119,842,50,792], // CIRCLE WITH LEFT HALF BLACK + 0x25D1: [623,119,842,50,792], // CIRCLE WITH RIGHT HALF BLACK + 0x25D2: [623,119,842,50,792], // CIRCLE WITH LOWER HALF BLACK + 0x25D3: [623,119,842,50,792], // CIRCLE WITH UPPER HALF BLACK + 0x25D4: [623,119,842,50,792], // CIRCLE WITH UPPER RIGHT QUADRANT BLACK + 0x25D5: [623,119,842,50,792], // CIRCLE WITH ALL BUT UPPER LEFT QUADRANT BLACK + 0x25D6: [680,176,580,66,494], // LEFT HALF BLACK CIRCLE + 0x25D7: [680,176,580,86,514], // RIGHT HALF BLACK CIRCLE + 0x25D8: [662,158,910,45,865], // INVERSE BULLET + 0x25D9: [662,158,910,45,865], // INVERSE WHITE CIRCLE + 0x25DA: [662,-252,910,45,865], // UPPER HALF INVERSE WHITE CIRCLE + 0x25DB: [252,158,910,45,865], // LOWER HALF INVERSE WHITE CIRCLE + 0x25DC: [680,-252,910,27,455], // UPPER LEFT QUADRANT CIRCULAR ARC + 0x25DD: [680,-252,910,455,884], // UPPER RIGHT QUADRANT CIRCULAR ARC + 0x25DE: [252,176,910,455,884], // LOWER RIGHT QUADRANT CIRCULAR ARC + 0x25DF: [252,176,910,26,455], // LOWER LEFT QUADRANT CIRCULAR ARC + 0x25E0: [680,-251,910,27,884], // UPPER HALF CIRCLE + 0x25E1: [252,176,910,27,884], // LOWER HALF CIRCLE + 0x25E2: [662,158,911,45,865], // BLACK LOWER RIGHT TRIANGLE + 0x25E3: [662,158,911,45,865], // BLACK LOWER LEFT TRIANGLE + 0x25E4: [662,158,911,45,865], // BLACK UPPER LEFT TRIANGLE + 0x25E5: [662,158,911,45,865], // BLACK UPPER RIGHT TRIANGLE + 0x25E6: [444,-59,523,70,455], // WHITE BULLET + 0x25E7: [662,157,910,45,865], // SQUARE WITH LEFT HALF BLACK + 0x25E8: [662,157,910,45,865], // SQUARE WITH RIGHT HALF BLACK + 0x25E9: [662,157,910,45,865], // SQUARE WITH UPPER LEFT DIAGONAL HALF BLACK + 0x25EA: [662,157,910,45,865], // SQUARE WITH LOWER RIGHT DIAGONAL HALF BLACK + 0x25EB: [662,157,910,45,865], // WHITE SQUARE WITH VERTICAL BISECTING LINE + 0x25EC: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE WITH DOT + 0x25ED: [811,127,1145,35,1110], // UP-POINTING TRIANGLE WITH LEFT HALF BLACK + 0x25EE: [811,127,1145,35,1110], // UP-POINTING TRIANGLE WITH RIGHT HALF BLACK + 0x25F0: [662,158,910,45,865], // WHITE SQUARE WITH UPPER LEFT QUADRANT + 0x25F1: [662,158,910,45,865], // WHITE SQUARE WITH LOWER LEFT QUADRANT + 0x25F2: [662,158,910,45,865], // WHITE SQUARE WITH LOWER RIGHT QUADRANT + 0x25F3: [662,158,910,45,865], // WHITE SQUARE WITH UPPER RIGHT QUADRANT + 0x25F4: [623,119,842,50,792], // WHITE CIRCLE WITH UPPER LEFT QUADRANT + 0x25F5: [623,119,842,50,792], // WHITE CIRCLE WITH LOWER LEFT QUADRANT + 0x25F6: [623,119,842,50,792], // WHITE CIRCLE WITH LOWER RIGHT QUADRANT + 0x25F7: [623,119,842,50,792], // WHITE CIRCLE WITH UPPER RIGHT QUADRANT + 0x25F8: [662,158,911,45,865], // UPPER LEFT TRIANGLE + 0x25F9: [662,158,911,45,865], // UPPER RIGHT TRIANGLE + 0x25FA: [662,158,911,45,865], // LOWER LEFT TRIANGLE + 0x25FB: [580,76,746,45,701], // WHITE MEDIUM SQUARE + 0x25FC: [580,76,746,45,701], // BLACK MEDIUM SQUARE + 0x25FD: [513,12,601,38,563], // WHITE MEDIUM SMALL SQUARE + 0x25FE: [514,11,601,38,563], // BLACK MEDIUM SMALL SQUARE + 0x25FF: [662,158,911,45,865] // LOWER RIGHT TRIANGLE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GeometricShapes.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js new file mode 100644 index 0000000..13d9721 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekAndCoptic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x37E: [459,141,278,80,219], // GREEK QUESTION MARK + 0x384: [662,-507,277,113,240], // GREEK TONOS + 0x385: [662,-507,333,18,316], // GREEK DIALYTIKA TONOS + 0x386: [683,0,722,15,707], // GREEK CAPITAL LETTER ALPHA WITH TONOS + 0x387: [459,-348,278,81,192], // GREEK ANO TELEIA + 0x388: [683,0,750,8,737], // GREEK CAPITAL LETTER EPSILON WITH TONOS + 0x389: [683,0,850,8,836], // GREEK CAPITAL LETTER ETA WITH TONOS + 0x38A: [683,0,470,8,449], // GREEK CAPITAL LETTER IOTA WITH TONOS + 0x38C: [683,14,722,8,688], // GREEK CAPITAL LETTER OMICRON WITH TONOS + 0x38E: [683,0,840,8,818], // GREEK CAPITAL LETTER UPSILON WITH TONOS + 0x38F: [683,0,744,8,715], // GREEK CAPITAL LETTER OMEGA WITH TONOS + 0x390: [662,10,340,18,316], // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS + 0x391: [674,0,722,15,707], // GREEK CAPITAL LETTER ALPHA + 0x392: [662,0,667,17,593], // GREEK CAPITAL LETTER BETA + 0x395: [662,0,611,12,597], // GREEK CAPITAL LETTER EPSILON + 0x396: [662,0,612,10,598], // GREEK CAPITAL LETTER ZETA + 0x397: [662,0,722,18,703], // GREEK CAPITAL LETTER ETA + 0x399: [662,0,333,18,315], // GREEK CAPITAL LETTER IOTA + 0x39A: [662,0,731,33,723], // GREEK CAPITAL LETTER KAPPA + 0x39C: [662,0,889,12,864], // GREEK CAPITAL LETTER MU + 0x39D: [662,11,722,12,707], // GREEK CAPITAL LETTER NU + 0x39F: [676,14,722,34,688], // GREEK CAPITAL LETTER OMICRON + 0x3A1: [662,0,557,16,542], // GREEK CAPITAL LETTER RHO + 0x3A4: [662,0,611,17,593], // GREEK CAPITAL LETTER TAU + 0x3A7: [662,0,722,10,704], // GREEK CAPITAL LETTER CHI + 0x3AA: [873,0,333,18,316], // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA + 0x3AB: [873,0,722,29,703], // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA + 0x3AC: [662,10,543,29,529], // GREEK SMALL LETTER ALPHA WITH TONOS + 0x3AD: [662,10,439,25,407], // GREEK SMALL LETTER EPSILON WITH TONOS + 0x3AE: [662,217,512,10,452], // GREEK SMALL LETTER ETA WITH TONOS + 0x3AF: [662,10,275,20,267], // GREEK SMALL LETTER IOTA WITH TONOS + 0x3B0: [662,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS + 0x3B1: [460,10,543,29,529], // GREEK SMALL LETTER ALPHA + 0x3B2: [683,217,496,55,466], // GREEK SMALL LETTER BETA + 0x3B3: [457,218,474,10,444], // GREEK SMALL LETTER GAMMA + 0x3B4: [683,10,500,29,470], // GREEK SMALL LETTER DELTA + 0x3B5: [460,10,439,25,407], // GREEK SMALL LETTER EPSILON + 0x3B6: [683,218,441,35,407], // GREEK SMALL LETTER ZETA + 0x3B7: [460,217,512,10,452], // GREEK SMALL LETTER ETA + 0x3B8: [683,10,496,27,468], // GREEK SMALL LETTER THETA + 0x3B9: [460,10,275,20,267], // GREEK SMALL LETTER IOTA + 0x3BA: [460,0,500,7,503], // GREEK SMALL LETTER KAPPA + 0x3BB: [683,11,497,12,492], // GREEK SMALL LETTER LAMDA + 0x3BC: [450,217,528,55,516], // GREEK SMALL LETTER MU + 0x3BD: [460,14,455,20,443], // GREEK SMALL LETTER NU + 0x3BE: [683,218,441,35,407], // GREEK SMALL LETTER XI + 0x3BF: [460,10,505,35,473], // GREEK SMALL LETTER OMICRON + 0x3C0: [450,14,501,9,482], // GREEK SMALL LETTER PI + 0x3C1: [460,217,496,55,466], // GREEK SMALL LETTER RHO + 0x3C2: [460,218,441,35,432], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [450,10,548,29,518], // GREEK SMALL LETTER SIGMA + 0x3C4: [450,10,477,3,442], // GREEK SMALL LETTER TAU + 0x3C5: [460,10,524,16,494], // GREEK SMALL LETTER UPSILON + 0x3C6: [460,217,623,29,593], // GREEK SMALL LETTER PHI + 0x3C7: [460,220,500,11,486], // GREEK SMALL LETTER CHI + 0x3C8: [460,217,694,20,684], // GREEK SMALL LETTER PSI + 0x3C9: [460,10,625,29,595], // GREEK SMALL LETTER OMEGA + 0x3CA: [622,10,340,18,316], // GREEK SMALL LETTER IOTA WITH DIALYTIKA + 0x3CB: [622,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH DIALYTIKA + 0x3CC: [662,10,505,35,473], // GREEK SMALL LETTER OMICRON WITH TONOS + 0x3CD: [662,10,524,16,494], // GREEK SMALL LETTER UPSILON WITH TONOS + 0x3CE: [662,10,625,29,595], // GREEK SMALL LETTER OMEGA WITH TONOS + 0x3D0: [693,10,450,54,411], // GREEK BETA SYMBOL + 0x3D1: [683,10,554,0,544], // GREEK THETA SYMBOL + 0x3D2: [676,0,722,29,698], // GREEK UPSILON WITH HOOK SYMBOL + 0x3D5: [683,217,623,29,593], // GREEK PHI SYMBOL + 0x3D6: [450,10,762,6,726], // GREEK PI SYMBOL + 0x3D8: [676,217,722,34,688], // GREEK LETTER ARCHAIC KOPPA + 0x3D9: [460,217,500,29,470], // GREEK SMALL LETTER ARCHAIC KOPPA + 0x3DA: [676,218,667,28,622], // GREEK LETTER STIGMA + 0x3DB: [490,218,461,35,436], // GREEK SMALL LETTER STIGMA + 0x3DC: [662,0,556,11,546], // GREEK LETTER DIGAMMA + 0x3DD: [450,190,470,80,435], // GREEK SMALL LETTER DIGAMMA + 0x3DE: [797,14,703,13,678], // GREEK LETTER KOPPA + 0x3DF: [662,0,511,64,455], // GREEK SMALL LETTER KOPPA + 0x3E0: [676,218,801,11,767], // GREEK LETTER SAMPI + 0x3E1: [573,216,528,-6,487], // GREEK SMALL LETTER SAMPI + 0x3F0: [460,10,551,42,515], // GREEK KAPPA SYMBOL + 0x3F1: [460,215,500,29,470], // GREEK RHO SYMBOL + 0x3F4: [676,14,722,34,688], // GREEK CAPITAL THETA SYMBOL + 0x3F5: [460,10,439,25,407], // GREEK LUNATE EPSILON SYMBOL + 0x3F6: [460,10,444,32,414] // GREEK REVERSED LUNATE EPSILON SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekAndCoptic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js new file mode 100644 index 0000000..4601495 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D6A8: [690,0,735,9,689], // MATHEMATICAL BOLD CAPITAL ALPHA + 0x1D6A9: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL BETA + 0x1D6AA: [676,0,620,16,593], // MATHEMATICAL BOLD CAPITAL GAMMA + 0x1D6AB: [690,0,691,16,656], // MATHEMATICAL BOLD CAPITAL DELTA + 0x1D6AC: [676,0,679,16,641], // MATHEMATICAL BOLD CAPITAL EPSILON + 0x1D6AD: [676,0,693,28,634], // MATHEMATICAL BOLD CAPITAL ZETA + 0x1D6AE: [676,0,810,21,759], // MATHEMATICAL BOLD CAPITAL ETA + 0x1D6AF: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA + 0x1D6B0: [676,0,421,20,370], // MATHEMATICAL BOLD CAPITAL IOTA + 0x1D6B1: [676,0,820,30,769], // MATHEMATICAL BOLD CAPITAL KAPPA + 0x1D6B2: [690,0,707,9,674], // MATHEMATICAL BOLD CAPITAL LAMDA + 0x1D6B3: [676,0,972,14,921], // MATHEMATICAL BOLD CAPITAL MU + 0x1D6B4: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL NU + 0x1D6B5: [676,0,623,28,595], // MATHEMATICAL BOLD CAPITAL XI + 0x1D6B6: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL OMICRON + 0x1D6B7: [676,0,780,21,759], // MATHEMATICAL BOLD CAPITAL PI + 0x1D6B8: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL RHO + 0x1D6B9: [692,18,778,35,743], // MATHEMATICAL BOLD CAPITAL THETA SYMBOL + 0x1D6BA: [676,0,665,14,627], // MATHEMATICAL BOLD CAPITAL SIGMA + 0x1D6BB: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL TAU + 0x1D6BC: [692,0,722,3,699], // MATHEMATICAL BOLD CAPITAL UPSILON + 0x1D6BD: [676,0,836,18,818], // MATHEMATICAL BOLD CAPITAL PHI + 0x1D6BE: [676,0,747,16,699], // MATHEMATICAL BOLD CAPITAL CHI + 0x1D6BF: [692,0,800,3,785], // MATHEMATICAL BOLD CAPITAL PSI + 0x1D6C0: [692,0,778,35,723], // MATHEMATICAL BOLD CAPITAL OMEGA + 0x1D6C1: [676,14,691,16,656], // MATHEMATICAL BOLD NABLA + 0x1D6C2: [473,14,644,25,618], // MATHEMATICAL BOLD SMALL ALPHA + 0x1D6C3: [692,205,556,45,524], // MATHEMATICAL BOLD SMALL BETA + 0x1D6C4: [473,205,518,12,501], // MATHEMATICAL BOLD SMALL GAMMA + 0x1D6C5: [692,14,502,26,477], // MATHEMATICAL BOLD SMALL DELTA + 0x1D6C6: [473,14,444,28,429], // MATHEMATICAL BOLD SMALL EPSILON + 0x1D6C7: [692,205,459,23,437], // MATHEMATICAL BOLD SMALL ZETA + 0x1D6C8: [473,205,580,12,545], // MATHEMATICAL BOLD SMALL ETA + 0x1D6C9: [692,14,501,25,476], // MATHEMATICAL BOLD SMALL THETA + 0x1D6CA: [461,14,326,15,304], // MATHEMATICAL BOLD SMALL IOTA + 0x1D6CB: [473,0,581,21,559], // MATHEMATICAL BOLD SMALL KAPPA + 0x1D6CC: [692,18,546,19,527], // MATHEMATICAL BOLD SMALL LAMDA + 0x1D6CD: [461,205,610,45,588], // MATHEMATICAL BOLD SMALL MU + 0x1D6CE: [473,14,518,15,495], // MATHEMATICAL BOLD SMALL NU + 0x1D6CF: [692,205,465,23,439], // MATHEMATICAL BOLD SMALL XI + 0x1D6D0: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL OMICRON + 0x1D6D1: [461,18,631,20,609], // MATHEMATICAL BOLD SMALL PI + 0x1D6D2: [473,205,547,45,515], // MATHEMATICAL BOLD SMALL RHO + 0x1D6D3: [473,203,464,23,444], // MATHEMATICAL BOLD SMALL FINAL SIGMA + 0x1D6D4: [461,14,568,25,529], // MATHEMATICAL BOLD SMALL SIGMA + 0x1D6D5: [461,14,492,18,457], // MATHEMATICAL BOLD SMALL TAU + 0x1D6D6: [473,14,576,12,551], // MATHEMATICAL BOLD SMALL UPSILON + 0x1D6D7: [473,205,653,24,629], // MATHEMATICAL BOLD SMALL PHI + 0x1D6D8: [473,205,612,21,586], // MATHEMATICAL BOLD SMALL CHI + 0x1D6D9: [473,205,763,12,751], // MATHEMATICAL BOLD SMALL PSI + 0x1D6DA: [473,14,734,26,708], // MATHEMATICAL BOLD SMALL OMEGA + 0x1D6DB: [707,14,515,25,491], // MATHEMATICAL BOLD PARTIAL DIFFERENTIAL + 0x1D6DC: [473,14,444,25,430], // MATHEMATICAL BOLD EPSILON SYMBOL + 0x1D6DD: [692,14,647,12,620], // MATHEMATICAL BOLD THETA SYMBOL + 0x1D6DE: [473,19,563,12,546], // MATHEMATICAL BOLD KAPPA SYMBOL + 0x1D6DF: [676,205,653,24,629], // MATHEMATICAL BOLD PHI SYMBOL + 0x1D6E0: [473,205,511,25,486], // MATHEMATICAL BOLD RHO SYMBOL + 0x1D6E1: [461,14,864,9,851] // MATHEMATICAL BOLD PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js new file mode 100644 index 0000000..82b0e4c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D71C: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL ALPHA + 0x1D71D: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL BETA + 0x1D71E: [669,0,634,42,749], // MATHEMATICAL BOLD ITALIC CAPITAL GAMMA + 0x1D71F: [685,0,632,32,589], // MATHEMATICAL BOLD ITALIC CAPITAL DELTA + 0x1D720: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL EPSILON + 0x1D721: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL ZETA + 0x1D722: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL ETA + 0x1D723: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA + 0x1D724: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL IOTA + 0x1D725: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL KAPPA + 0x1D726: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL LAMDA + 0x1D727: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL MU + 0x1D728: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL NU + 0x1D729: [669,0,718,57,757], // MATHEMATICAL BOLD ITALIC CAPITAL XI + 0x1D72A: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL OMICRON + 0x1D72B: [669,0,887,39,942], // MATHEMATICAL BOLD ITALIC CAPITAL PI + 0x1D72C: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL RHO + 0x1D72D: [685,16,783,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL THETA SYMBOL + 0x1D72E: [669,0,759,64,787], // MATHEMATICAL BOLD ITALIC CAPITAL SIGMA + 0x1D72F: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL TAU + 0x1D730: [685,0,589,31,721], // MATHEMATICAL BOLD ITALIC CAPITAL UPSILON + 0x1D731: [669,0,827,28,799], // MATHEMATICAL BOLD ITALIC CAPITAL PHI + 0x1D732: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL CHI + 0x1D733: [685,0,694,30,781], // MATHEMATICAL BOLD ITALIC CAPITAL PSI + 0x1D734: [685,0,826,57,815], // MATHEMATICAL BOLD ITALIC CAPITAL OMEGA + 0x1D735: [669,16,632,43,600], // MATHEMATICAL BOLD ITALIC NABLA + 0x1D736: [461,12,624,44,630], // MATHEMATICAL BOLD ITALIC SMALL ALPHA + 0x1D737: [685,205,555,28,583], // MATHEMATICAL BOLD ITALIC SMALL BETA + 0x1D738: [462,202,490,44,503], // MATHEMATICAL BOLD ITALIC SMALL GAMMA + 0x1D739: [685,8,538,44,538], // MATHEMATICAL BOLD ITALIC SMALL DELTA + 0x1D73A: [462,10,495,28,451], // MATHEMATICAL BOLD ITALIC SMALL EPSILON + 0x1D73B: [685,203,472,44,522], // MATHEMATICAL BOLD ITALIC SMALL ZETA + 0x1D73C: [462,205,517,33,511], // MATHEMATICAL BOLD ITALIC SMALL ETA + 0x1D73D: [686,11,566,44,555], // MATHEMATICAL BOLD ITALIC SMALL THETA + 0x1D73E: [462,9,318,55,274], // MATHEMATICAL BOLD ITALIC SMALL IOTA + 0x1D73F: [462,0,560,55,577], // MATHEMATICAL BOLD ITALIC SMALL KAPPA + 0x1D740: [685,16,570,55,537], // MATHEMATICAL BOLD ITALIC SMALL LAMDA + 0x1D741: [450,205,636,33,603], // MATHEMATICAL BOLD ITALIC SMALL MU + 0x1D742: [459,10,523,55,534], // MATHEMATICAL BOLD ITALIC SMALL NU + 0x1D743: [685,203,476,28,487], // MATHEMATICAL BOLD ITALIC SMALL XI + 0x1D744: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL OMICRON + 0x1D745: [450,13,579,39,590], // MATHEMATICAL BOLD ITALIC SMALL PI + 0x1D746: [462,205,595,33,562], // MATHEMATICAL BOLD ITALIC SMALL RHO + 0x1D747: [462,203,480,39,508], // MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA + 0x1D748: [450,10,592,44,603], // MATHEMATICAL BOLD ITALIC SMALL SIGMA + 0x1D749: [450,7,469,33,502], // MATHEMATICAL BOLD ITALIC SMALL TAU + 0x1D74A: [462,10,552,33,535], // MATHEMATICAL BOLD ITALIC SMALL UPSILON + 0x1D74B: [462,205,706,55,667], // MATHEMATICAL BOLD ITALIC SMALL PHI + 0x1D74C: [462,204,621,33,676], // MATHEMATICAL BOLD ITALIC SMALL CHI + 0x1D74D: [462,205,701,33,756], // MATHEMATICAL BOLD ITALIC SMALL PSI + 0x1D74E: [462,10,687,22,665], // MATHEMATICAL BOLD ITALIC SMALL OMEGA + 0x1D74F: [686,10,559,44,559], // MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL + 0x1D750: [461,10,481,44,481], // MATHEMATICAL BOLD ITALIC EPSILON SYMBOL + 0x1D751: [698,13,607,33,584], // MATHEMATICAL BOLD ITALIC THETA SYMBOL + 0x1D752: [462,15,607,-12,630], // MATHEMATICAL BOLD ITALIC KAPPA SYMBOL + 0x1D753: [685,205,683,44,655], // MATHEMATICAL BOLD ITALIC PHI SYMBOL + 0x1D754: [462,205,585,44,563], // MATHEMATICAL BOLD ITALIC RHO SYMBOL + 0x1D755: [450,10,868,33,879] // MATHEMATICAL BOLD ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js new file mode 100644 index 0000000..68ae1a7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D6E2: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL ALPHA + 0x1D6E3: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL BETA + 0x1D6E4: [653,0,616,38,721], // MATHEMATICAL ITALIC CAPITAL GAMMA + 0x1D6E5: [667,0,596,30,556], // MATHEMATICAL ITALIC CAPITAL DELTA + 0x1D6E6: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL EPSILON + 0x1D6E7: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL ZETA + 0x1D6E8: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL ETA + 0x1D6E9: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA + 0x1D6EA: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL IOTA + 0x1D6EB: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL KAPPA + 0x1D6EC: [667,0,718,35,686], // MATHEMATICAL ITALIC CAPITAL LAMDA + 0x1D6ED: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL MU + 0x1D6EE: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL NU + 0x1D6EF: [653,0,706,52,741], // MATHEMATICAL ITALIC CAPITAL XI + 0x1D6F0: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL OMICRON + 0x1D6F1: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL PI + 0x1D6F2: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL RHO + 0x1D6F3: [669,11,737,50,712], // MATHEMATICAL ITALIC CAPITAL THETA SYMBOL + 0x1D6F4: [653,0,735,58,760], // MATHEMATICAL ITALIC CAPITAL SIGMA + 0x1D6F5: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL TAU + 0x1D6F6: [668,0,567,28,687], // MATHEMATICAL ITALIC CAPITAL UPSILON + 0x1D6F7: [653,0,772,25,747], // MATHEMATICAL ITALIC CAPITAL PHI + 0x1D6F8: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL CHI + 0x1D6F9: [667,0,670,28,743], // MATHEMATICAL ITALIC CAPITAL PSI + 0x1D6FA: [666,0,800,32,777], // MATHEMATICAL ITALIC CAPITAL OMEGA + 0x1D6FB: [653,15,627,42,600], // MATHEMATICAL ITALIC NABLA + 0x1D6FC: [441,10,524,40,529], // MATHEMATICAL ITALIC SMALL ALPHA + 0x1D6FD: [668,183,493,25,518], // MATHEMATICAL ITALIC SMALL BETA + 0x1D6FE: [441,187,428,35,458], // MATHEMATICAL ITALIC SMALL GAMMA + 0x1D6FF: [668,11,463,40,451], // MATHEMATICAL ITALIC SMALL DELTA + 0x1D700: [441,11,484,25,444], // MATHEMATICAL ITALIC SMALL EPSILON + 0x1D701: [668,183,435,40,480], // MATHEMATICAL ITALIC SMALL ZETA + 0x1D702: [441,183,460,30,455], // MATHEMATICAL ITALIC SMALL ETA + 0x1D703: [668,11,484,40,474], // MATHEMATICAL ITALIC SMALL THETA + 0x1D704: [441,11,267,50,227], // MATHEMATICAL ITALIC SMALL IOTA + 0x1D705: [441,0,534,50,549], // MATHEMATICAL ITALIC SMALL KAPPA + 0x1D706: [668,16,541,50,511], // MATHEMATICAL ITALIC SMALL LAMDA + 0x1D707: [428,183,579,30,549], // MATHEMATICAL ITALIC SMALL MU + 0x1D708: [446,9,452,50,462], // MATHEMATICAL ITALIC SMALL NU + 0x1D709: [668,183,433,25,443], // MATHEMATICAL ITALIC SMALL XI + 0x1D70A: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL OMICRON + 0x1D70B: [428,13,558,35,568], // MATHEMATICAL ITALIC SMALL PI + 0x1D70C: [441,183,502,30,472], // MATHEMATICAL ITALIC SMALL RHO + 0x1D70D: [490,183,439,35,464], // MATHEMATICAL ITALIC SMALL FINAL SIGMA + 0x1D70E: [428,11,537,40,547], // MATHEMATICAL ITALIC SMALL SIGMA + 0x1D70F: [428,5,442,30,472], // MATHEMATICAL ITALIC SMALL TAU + 0x1D710: [439,11,460,30,445], // MATHEMATICAL ITALIC SMALL UPSILON + 0x1D711: [441,183,666,50,631], // MATHEMATICAL ITALIC SMALL PHI + 0x1D712: [441,202,595,30,645], // MATHEMATICAL ITALIC SMALL CHI + 0x1D713: [441,183,661,30,711], // MATHEMATICAL ITALIC SMALL PSI + 0x1D714: [441,11,681,20,661], // MATHEMATICAL ITALIC SMALL OMEGA + 0x1D715: [668,11,471,40,471], // MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL + 0x1D716: [441,11,430,40,430], // MATHEMATICAL ITALIC EPSILON SYMBOL + 0x1D717: [678,10,554,20,507], // MATHEMATICAL ITALIC THETA SYMBOL + 0x1D718: [441,13,561,12,587], // MATHEMATICAL ITALIC KAPPA SYMBOL + 0x1D719: [668,183,645,40,620], // MATHEMATICAL ITALIC PHI SYMBOL + 0x1D71A: [441,187,509,40,489], // MATHEMATICAL ITALIC RHO SYMBOL + 0x1D71B: [428,11,856,30,866] // MATHEMATICAL ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js new file mode 100644 index 0000000..8307e1c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D756: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ALPHA + 0x1D757: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL BETA + 0x1D758: [676,0,591,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA + 0x1D759: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD CAPITAL DELTA + 0x1D75A: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL EPSILON + 0x1D75B: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ZETA + 0x1D75C: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL ETA + 0x1D75D: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA + 0x1D75E: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA + 0x1D75F: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL KAPPA + 0x1D760: [690,0,706,40,666], // MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA + 0x1D761: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL MU + 0x1D762: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL NU + 0x1D763: [676,0,640,35,605], // MATHEMATICAL SANS-SERIF BOLD CAPITAL XI + 0x1D764: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMICRON + 0x1D765: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PI + 0x1D766: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL RHO + 0x1D767: [691,19,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA SYMBOL + 0x1D768: [676,0,674,28,632], // MATHEMATICAL SANS-SERIF BOLD CAPITAL SIGMA + 0x1D769: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL TAU + 0x1D76A: [691,0,748,20,728], // MATHEMATICAL SANS-SERIF BOLD CAPITAL UPSILON + 0x1D76B: [676,0,800,25,775], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PHI + 0x1D76C: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL CHI + 0x1D76D: [691,0,806,15,791], // MATHEMATICAL SANS-SERIF BOLD CAPITAL PSI + 0x1D76E: [691,0,752,32,720], // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMEGA + 0x1D76F: [664,30,735,45,685], // MATHEMATICAL SANS-SERIF BOLD NABLA + 0x1D770: [473,14,662,40,629], // MATHEMATICAL SANS-SERIF BOLD SMALL ALPHA + 0x1D771: [692,205,512,39,487], // MATHEMATICAL SANS-SERIF BOLD SMALL BETA + 0x1D772: [473,205,502,10,477], // MATHEMATICAL SANS-SERIF BOLD SMALL GAMMA + 0x1D773: [692,14,502,25,477], // MATHEMATICAL SANS-SERIF BOLD SMALL DELTA + 0x1D774: [473,14,451,25,434], // MATHEMATICAL SANS-SERIF BOLD SMALL EPSILON + 0x1D775: [692,205,500,28,488], // MATHEMATICAL SANS-SERIF BOLD SMALL ZETA + 0x1D776: [473,205,510,35,474], // MATHEMATICAL SANS-SERIF BOLD SMALL ETA + 0x1D777: [692,14,500,23,477], // MATHEMATICAL SANS-SERIF BOLD SMALL THETA + 0x1D778: [461,14,319,53,296], // MATHEMATICAL SANS-SERIF BOLD SMALL IOTA + 0x1D779: [473,0,527,55,512], // MATHEMATICAL SANS-SERIF BOLD SMALL KAPPA + 0x1D77A: [692,14,554,18,520], // MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA + 0x1D77B: [461,205,550,39,517], // MATHEMATICAL SANS-SERIF BOLD SMALL MU + 0x1D77C: [473,14,492,55,472], // MATHEMATICAL SANS-SERIF BOLD SMALL NU + 0x1D77D: [692,205,501,28,489], // MATHEMATICAL SANS-SERIF BOLD SMALL XI + 0x1D77E: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL OMICRON + 0x1D77F: [461,14,594,10,572], // MATHEMATICAL SANS-SERIF BOLD SMALL PI + 0x1D780: [473,205,511,38,486], // MATHEMATICAL SANS-SERIF BOLD SMALL RHO + 0x1D781: [473,205,498,26,486], // MATHEMATICAL SANS-SERIF BOLD SMALL FINAL SIGMA + 0x1D782: [461,14,520,25,552], // MATHEMATICAL SANS-SERIF BOLD SMALL SIGMA + 0x1D783: [461,14,479,6,472], // MATHEMATICAL SANS-SERIF BOLD SMALL TAU + 0x1D784: [473,14,514,35,489], // MATHEMATICAL SANS-SERIF BOLD SMALL UPSILON + 0x1D785: [473,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD SMALL PHI + 0x1D786: [473,205,573,9,553], // MATHEMATICAL SANS-SERIF BOLD SMALL CHI + 0x1D787: [473,205,680,25,699], // MATHEMATICAL SANS-SERIF BOLD SMALL PSI + 0x1D788: [461,14,740,42,689], // MATHEMATICAL SANS-SERIF BOLD SMALL OMEGA + 0x1D789: [691,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL + 0x1D78A: [473,14,462,25,440], // MATHEMATICAL SANS-SERIF BOLD EPSILON SYMBOL + 0x1D78B: [692,14,536,35,522], // MATHEMATICAL SANS-SERIF BOLD THETA SYMBOL + 0x1D78C: [473,14,570,14,554], // MATHEMATICAL SANS-SERIF BOLD KAPPA SYMBOL + 0x1D78D: [692,205,634,25,609], // MATHEMATICAL SANS-SERIF BOLD PHI SYMBOL + 0x1D78E: [473,205,494,25,469], // MATHEMATICAL SANS-SERIF BOLD RHO SYMBOL + 0x1D78F: [461,14,848,6,839] // MATHEMATICAL SANS-SERIF BOLD PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekSSBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js new file mode 100644 index 0000000..495d393 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js @@ -0,0 +1,85 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/GreekSSBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D790: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ALPHA + 0x1D791: [676,0,706,60,671], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL BETA + 0x1D792: [676,0,602,60,705], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA + 0x1D793: [690,0,720,40,680], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL DELTA + 0x1D794: [676,0,683,60,708], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL EPSILON + 0x1D795: [676,0,707,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ZETA + 0x1D796: [676,0,748,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ETA + 0x1D797: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA + 0x1D798: [676,0,435,50,505], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA + 0x1D799: [676,0,712,60,796], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL KAPPA + 0x1D79A: [690,0,686,20,646], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA + 0x1D79B: [676,0,933,60,981], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL MU + 0x1D79C: [676,18,744,60,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL NU + 0x1D79D: [676,0,690,47,737], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL XI + 0x1D79E: [692,18,849,90,824], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMICRON + 0x1D79F: [676,0,745,60,783], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PI + 0x1D7A0: [676,0,581,60,675], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL RHO + 0x1D7A1: [691,19,847,90,822], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA SYMBOL + 0x1D7A2: [676,0,696,21,748], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL SIGMA + 0x1D7A3: [676,0,641,87,715], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL TAU + 0x1D7A4: [691,0,671,91,799], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL UPSILON + 0x1D7A5: [676,0,835,72,835], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PHI + 0x1D7A6: [676,0,740,20,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL CHI + 0x1D7A7: [691,0,791,125,901], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PSI + 0x1D7A8: [691,0,816,47,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMEGA + 0x1D7A9: [664,30,780,120,760], // MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA + 0x1D7AA: [473,14,678,47,703], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ALPHA + 0x1D7AB: [692,205,552,-12,581], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL BETA + 0x1D7AC: [473,204,525,84,571], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL GAMMA + 0x1D7AD: [692,14,507,30,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL DELTA + 0x1D7AE: [473,14,504,45,508], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL EPSILON + 0x1D7AF: [692,205,480,49,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ZETA + 0x1D7B0: [473,205,532,38,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ETA + 0x1D7B1: [692,14,560,65,553], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL THETA + 0x1D7B2: [462,14,325,56,302], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA + 0x1D7B3: [473,0,537,38,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL KAPPA + 0x1D7B4: [692,14,574,18,540], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA + 0x1D7B5: [462,205,594,-12,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL MU + 0x1D7B6: [473,14,525,41,565], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL NU + 0x1D7B7: [692,205,481,43,525], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL XI + 0x1D7B8: [473,14,543,45,515], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMICRON + 0x1D7B9: [462,14,632,45,656], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PI + 0x1D7BA: [473,205,560,-33,536], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL RHO + 0x1D7BB: [473,205,517,52,554], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL FINAL SIGMA + 0x1D7BC: [462,14,614,45,639], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL SIGMA + 0x1D7BD: [462,14,523,42,547], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL TAU + 0x1D7BE: [473,14,550,61,526], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL UPSILON + 0x1D7BF: [473,205,683,55,659], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PHI + 0x1D7C0: [473,205,575,-80,626], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL CHI + 0x1D7C1: [473,205,703,75,751], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PSI + 0x1D7C2: [461,14,756,64,732], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMEGA + 0x1D7C3: [691,14,548,45,539], // MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL + 0x1D7C4: [473,14,468,45,470], // MATHEMATICAL SANS-SERIF BOLD ITALIC EPSILON SYMBOL + 0x1D7C5: [692,14,579,54,579], // MATHEMATICAL SANS-SERIF BOLD ITALIC THETA SYMBOL + 0x1D7C6: [473,10,646,-10,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC KAPPA SYMBOL + 0x1D7C7: [692,205,678,48,654], // MATHEMATICAL SANS-SERIF BOLD ITALIC PHI SYMBOL + 0x1D7C8: [473,205,544,38,520], // MATHEMATICAL SANS-SERIF BOLD ITALIC RHO SYMBOL + 0x1D7C9: [462,14,889,40,912] // MATHEMATICAL SANS-SERIF BOLD ITALIC PI SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/GreekSSBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js new file mode 100644 index 0000000..1905b14 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Hiragana.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x306E: [661,41,901,37,840] // HIRAGANA LETTER NO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Hiragana.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js new file mode 100644 index 0000000..6e7da62 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js @@ -0,0 +1,118 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/IPAExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x250: [460,10,444,8,413], // ?? + 0x251: [460,10,500,27,491], // ?? + 0x252: [460,10,500,27,491], // ?? + 0x253: [683,10,500,69,468], // ?? + 0x254: [459,11,444,10,397], // ?? + 0x255: [460,160,444,25,417], // ?? + 0x256: [683,233,553,27,599], // ?? + 0x257: [683,10,587,27,602], // ?? + 0x258: [460,10,444,20,419], // ?? + 0x259: [460,10,444,14,413], // ?? + 0x25A: [460,13,657,36,651], // ?? + 0x25B: [475,14,438,20,389], // ?? + 0x25C: [475,14,438,20,389], // ?? + 0x25D: [475,14,623,20,603], // ?? + 0x25E: [475,14,479,20,430], // ?? + 0x25F: [460,218,315,-49,296], // ?? + 0x260: [683,212,594,32,634], // ?? + 0x261: [482,212,537,32,455], // ?? + 0x262: [450,11,570,30,539], // ?? + 0x263: [450,234,500,19,480], // ?? + 0x264: [450,10,500,13,486], // ?? + 0x265: [450,233,500,13,491], // ?? + 0x266: [683,0,500,9,487], // ?? + 0x267: [683,233,481,9,427], // ?? + 0x268: [683,0,278,16,253], // ?? + 0x269: [454,10,333,17,311], // ?? + 0x26A: [450,0,258,21,231], // ?? + 0x26B: [683,0,350,10,340], // ?? + 0x26C: [683,0,375,12,362], // ?? + 0x26D: [683,233,302,10,352], // ?? + 0x26E: [683,233,549,19,538], // ?? + 0x26F: [450,10,778,11,770], // ?? + 0x270: [450,233,803,11,785], // ?? + 0x271: [460,233,778,16,706], // ?? + 0x272: [460,233,529,-70,514], // ?? + 0x273: [460,233,533,16,603], // ?? + 0x274: [450,8,602,29,561], // ?? + 0x275: [460,10,500,29,470], // ?? + 0x276: [450,6,720,23,697], // ?? + 0x277: [475,4,667,37,629], // ?? + 0x278: [683,233,667,40,626], // ?? + 0x279: [450,10,370,30,360], // ?? + 0x27A: [683,10,370,30,364], // ?? + 0x27B: [450,233,418,30,468], // ?? + 0x27C: [460,233,333,5,335], // ?? + 0x27D: [460,233,370,7,339], // ?? + 0x27E: [470,0,315,10,337], // ?? + 0x27F: [470,0,350,5,332], // ?? + 0x280: [464,0,475,21,470], // ?? + 0x281: [464,0,475,21,470], // ?? + 0x282: [458,218,389,50,348], // ?? + 0x283: [683,233,322,-70,372], // ?? + 0x284: [683,218,304,-70,372], // ?? + 0x285: [470,233,400,15,457], // ?? + 0x286: [683,243,437,-23,422], // ?? + 0x287: [460,129,278,16,282], // ?? + 0x288: [579,233,270,13,283], // ?? + 0x289: [450,10,500,9,480], // ?? + 0x28A: [450,10,537,46,490], // ?? + 0x28B: [460,10,500,32,476], // ?? + 0x28C: [464,0,500,-4,454], // ?? + 0x28D: [464,0,722,21,694], // ?? + 0x28E: [668,0,444,-2,459], // ?? + 0x28F: [464,0,587,23,564], // ?? + 0x290: [450,218,528,27,569], // ?? + 0x291: [450,150,507,27,487], // ?? + 0x292: [450,233,413,12,392], // ?? + 0x293: [450,305,431,12,410], // ?? + 0x294: [683,0,450,47,400], // ?? + 0x295: [683,0,450,48,401], // ?? + 0x296: [662,14,450,47,400], // ?? + 0x297: [460,230,450,80,410], // ?? + 0x298: [679,17,723,33,690], // ?? + 0x299: [464,0,460,15,444], // ?? + 0x29A: [475,14,479,20,430], // ?? + 0x29B: [523,11,600,29,583], // ?? + 0x29C: [464,0,572,21,560], // ?? + 0x29D: [683,233,387,-23,412], // ?? + 0x29E: [450,233,519,1,499], // ?? + 0x29F: [464,0,470,21,441], // ?? + 0x2A0: [582,217,600,24,590], // ?? + 0x2A1: [683,0,450,48,401], // ?? + 0x2A2: [683,0,450,48,401], // ?? + 0x2A3: [683,10,802,27,775], // ?? + 0x2A4: [683,233,743,27,722], // ?? + 0x2A5: [683,160,864,27,844], // ?? + 0x2A6: [579,10,536,13,495], // ?? + 0x2A7: [683,233,483,13,540], // ?? + 0x2A8: [579,10,650,13,641], // ?? + 0x2AE: [469,232,619,15,612], // ?? + 0x2AF: [469,233,679,15,729] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/IPAExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js new file mode 100644 index 0000000..618716c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js @@ -0,0 +1,115 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0xA1: [468,218,330,96,202], // INVERTED EXCLAMATION MARK + 0xA2: [579,138,500,53,448], // CENT SIGN + 0xA3: [676,8,500,12,490], // POUND SIGN + 0xA4: [534,10,500,-22,522], // CURRENCY SIGN + 0xA5: [662,0,500,-53,512], // YEN SIGN + 0xA6: [676,14,200,67,133], // BROKEN BAR + 0xA7: [676,148,500,70,426], // SECTION SIGN + 0xA9: [676,14,760,38,722], // COPYRIGHT SIGN + 0xAA: [676,-394,276,4,270], // FEMININE ORDINAL INDICATOR + 0xAB: [416,-33,500,42,456], // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xAD: [257,-194,333,39,285], // SOFT HYPHEN + 0xAE: [676,14,760,38,722], // REGISTERED SIGN + 0xB0: [676,-390,400,57,343], // DEGREE SIGN + 0xB2: [676,-270,300,1,296], // SUPERSCRIPT TWO + 0xB3: [676,-262,300,13,291], // SUPERSCRIPT THREE + 0xB4: [678,-507,333,93,317], // ACUTE ACCENT + 0xB5: [450,218,500,36,512], // MICRO SIGN + 0xB6: [662,154,592,60,532], // PILCROW SIGN + 0xB8: [0,215,333,52,261], // CEDILLA + 0xB9: [676,-270,300,57,248], // SUPERSCRIPT ONE + 0xBA: [676,-394,310,6,304], // MASCULINE ORDINAL INDICATOR + 0xBB: [416,-33,500,43,458], // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK + 0xBC: [676,14,750,42,713], // VULGAR FRACTION ONE QUARTER + 0xBD: [676,14,750,36,741], // VULGAR FRACTION ONE HALF + 0xBE: [676,14,750,13,718], // VULGAR FRACTION THREE QUARTERS + 0xBF: [467,218,444,30,376], // INVERTED QUESTION MARK + 0xC0: [928,0,722,15,707], // LATIN CAPITAL LETTER A WITH GRAVE + 0xC1: [928,0,722,15,707], // LATIN CAPITAL LETTER A WITH ACUTE + 0xC2: [924,0,722,15,707], // LATIN CAPITAL LETTER A WITH CIRCUMFLEX + 0xC3: [888,0,722,15,707], // LATIN CAPITAL LETTER A WITH TILDE + 0xC4: [872,0,722,15,707], // LATIN CAPITAL LETTER A WITH DIAERESIS + 0xC5: [961,0,722,15,707], // LATIN CAPITAL LETTER A WITH RING ABOVE + 0xC6: [662,0,889,0,863], // LATIN CAPITAL LETTER AE + 0xC7: [676,215,667,28,633], // LATIN CAPITAL LETTER C WITH CEDILLA + 0xC8: [928,0,611,12,597], // LATIN CAPITAL LETTER E WITH GRAVE + 0xC9: [928,0,611,12,597], // LATIN CAPITAL LETTER E WITH ACUTE + 0xCA: [924,0,611,12,597], // LATIN CAPITAL LETTER E WITH CIRCUMFLEX + 0xCB: [872,0,611,12,597], // LATIN CAPITAL LETTER E WITH DIAERESIS + 0xCC: [928,0,333,18,315], // LATIN CAPITAL LETTER I WITH GRAVE + 0xCD: [928,0,333,18,315], // LATIN CAPITAL LETTER I WITH ACUTE + 0xCE: [924,0,333,10,321], // LATIN CAPITAL LETTER I WITH CIRCUMFLEX + 0xCF: [872,0,333,17,315], // LATIN CAPITAL LETTER I WITH DIAERESIS + 0xD0: [662,0,722,16,685], // LATIN CAPITAL LETTER ETH + 0xD1: [888,11,722,12,707], // LATIN CAPITAL LETTER N WITH TILDE + 0xD2: [928,14,722,34,688], // LATIN CAPITAL LETTER O WITH GRAVE + 0xD3: [928,14,722,34,688], // LATIN CAPITAL LETTER O WITH ACUTE + 0xD4: [924,14,722,34,688], // LATIN CAPITAL LETTER O WITH CIRCUMFLEX + 0xD5: [888,14,722,34,688], // LATIN CAPITAL LETTER O WITH TILDE + 0xD6: [872,14,722,34,688], // LATIN CAPITAL LETTER O WITH DIAERESIS + 0xD8: [734,80,722,34,688], // LATIN CAPITAL LETTER O WITH STROKE + 0xD9: [928,14,722,14,705], // LATIN CAPITAL LETTER U WITH GRAVE + 0xDA: [928,14,722,14,705], // LATIN CAPITAL LETTER U WITH ACUTE + 0xDB: [924,14,722,14,705], // LATIN CAPITAL LETTER U WITH CIRCUMFLEX + 0xDC: [872,14,722,14,705], // LATIN CAPITAL LETTER U WITH DIAERESIS + 0xDD: [928,0,722,22,703], // LATIN CAPITAL LETTER Y WITH ACUTE + 0xDE: [662,0,556,16,542], // LATIN CAPITAL LETTER THORN + 0xDF: [683,9,500,12,468], // LATIN SMALL LETTER SHARP S + 0xE0: [678,10,444,37,442], // LATIN SMALL LETTER A WITH GRAVE + 0xE1: [678,10,444,37,442], // LATIN SMALL LETTER A WITH ACUTE + 0xE2: [674,10,444,37,442], // LATIN SMALL LETTER A WITH CIRCUMFLEX + 0xE3: [638,10,444,37,442], // LATIN SMALL LETTER A WITH TILDE + 0xE4: [622,10,444,37,442], // LATIN SMALL LETTER A WITH DIAERESIS + 0xE5: [713,10,444,37,442], // LATIN SMALL LETTER A WITH RING ABOVE + 0xE6: [460,7,667,38,632], // LATIN SMALL LETTER AE + 0xE7: [460,215,444,25,412], // LATIN SMALL LETTER C WITH CEDILLA + 0xE8: [678,10,444,25,424], // LATIN SMALL LETTER E WITH GRAVE + 0xE9: [678,10,444,25,424], // LATIN SMALL LETTER E WITH ACUTE + 0xEA: [674,10,444,25,424], // LATIN SMALL LETTER E WITH CIRCUMFLEX + 0xEB: [622,10,444,25,424], // LATIN SMALL LETTER E WITH DIAERESIS + 0xEC: [678,0,278,6,243], // LATIN SMALL LETTER I WITH GRAVE + 0xED: [678,0,278,16,273], // LATIN SMALL LETTER I WITH ACUTE + 0xEE: [674,0,278,-17,294], // LATIN SMALL LETTER I WITH CIRCUMFLEX + 0xEF: [622,0,278,-10,288], // LATIN SMALL LETTER I WITH DIAERESIS + 0xF0: [686,10,500,29,471], // LATIN SMALL LETTER ETH + 0xF1: [638,0,500,16,485], // LATIN SMALL LETTER N WITH TILDE + 0xF2: [678,10,500,29,470], // LATIN SMALL LETTER O WITH GRAVE + 0xF3: [678,10,500,29,470], // LATIN SMALL LETTER O WITH ACUTE + 0xF4: [674,10,500,29,470], // LATIN SMALL LETTER O WITH CIRCUMFLEX + 0xF5: [638,10,500,29,470], // LATIN SMALL LETTER O WITH TILDE + 0xF6: [622,10,500,29,470], // LATIN SMALL LETTER O WITH DIAERESIS + 0xF8: [551,112,500,29,470], // LATIN SMALL LETTER O WITH STROKE + 0xF9: [678,10,500,9,480], // LATIN SMALL LETTER U WITH GRAVE + 0xFA: [678,10,500,9,480], // LATIN SMALL LETTER U WITH ACUTE + 0xFB: [674,10,500,9,480], // LATIN SMALL LETTER U WITH CIRCUMFLEX + 0xFC: [622,10,500,9,480], // LATIN SMALL LETTER U WITH DIAERESIS + 0xFD: [678,218,500,14,475], // LATIN SMALL LETTER Y WITH ACUTE + 0xFE: [683,217,500,5,470], // LATIN SMALL LETTER THORN + 0xFF: [622,218,500,14,475] // LATIN SMALL LETTER Y WITH DIAERESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js new file mode 100644 index 0000000..4b4b9a1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js @@ -0,0 +1,154 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x100: [773,0,722,15,707], // LATIN CAPITAL LETTER A WITH MACRON + 0x101: [561,10,444,37,442], // LATIN SMALL LETTER A WITH MACRON + 0x102: [876,0,722,15,707], // LATIN CAPITAL LETTER A WITH BREVE + 0x103: [664,10,444,37,442], // LATIN SMALL LETTER A WITH BREVE + 0x104: [674,165,722,15,707], // LATIN CAPITAL LETTER A WITH OGONEK + 0x105: [460,165,444,37,472], // LATIN SMALL LETTER A WITH OGONEK + 0x106: [890,14,667,28,633], // LATIN CAPITAL LETTER C WITH ACUTE + 0x107: [678,10,444,25,412], // LATIN SMALL LETTER C WITH ACUTE + 0x108: [886,14,667,28,633], // LATIN CAPITAL LETTER C WITH CIRCUMFLEX + 0x109: [674,10,444,25,412], // LATIN SMALL LETTER C WITH CIRCUMFLEX + 0x10A: [834,14,667,28,633], // LATIN CAPITAL LETTER C WITH DOT ABOVE + 0x10B: [622,10,444,25,412], // LATIN SMALL LETTER C WITH DOT ABOVE + 0x10C: [886,14,667,28,633], // LATIN CAPITAL LETTER C WITH CARON + 0x10D: [674,10,444,25,412], // LATIN SMALL LETTER C WITH CARON + 0x10E: [886,0,722,16,685], // LATIN CAPITAL LETTER D WITH CARON + 0x10F: [701,10,586,27,604], // LATIN SMALL LETTER D WITH CARON + 0x110: [662,0,722,16,685], // LATIN CAPITAL LETTER D WITH STROKE + 0x111: [683,10,500,27,507], // LATIN SMALL LETTER D WITH STROKE + 0x112: [773,0,611,12,597], // LATIN CAPITAL LETTER E WITH MACRON + 0x113: [561,10,444,25,424], // LATIN SMALL LETTER E WITH MACRON + 0x114: [876,0,611,12,597], // LATIN CAPITAL LETTER E WITH BREVE + 0x115: [664,10,444,25,424], // LATIN SMALL LETTER E WITH BREVE + 0x116: [834,0,611,12,597], // LATIN CAPITAL LETTER E WITH DOT ABOVE + 0x117: [622,10,444,25,424], // LATIN SMALL LETTER E WITH DOT ABOVE + 0x118: [662,165,611,12,597], // LATIN CAPITAL LETTER E WITH OGONEK + 0x119: [460,165,444,25,424], // LATIN SMALL LETTER E WITH OGONEK + 0x11A: [886,0,611,12,597], // LATIN CAPITAL LETTER E WITH CARON + 0x11B: [674,10,444,25,424], // LATIN SMALL LETTER E WITH CARON + 0x11C: [886,14,722,32,709], // LATIN CAPITAL LETTER G WITH CIRCUMFLEX + 0x11D: [674,218,500,28,470], // LATIN SMALL LETTER G WITH CIRCUMFLEX + 0x11E: [876,14,722,32,709], // LATIN CAPITAL LETTER G WITH BREVE + 0x11F: [664,218,500,28,470], // LATIN SMALL LETTER G WITH BREVE + 0x120: [834,14,722,32,709], // LATIN CAPITAL LETTER G WITH DOT ABOVE + 0x121: [622,218,500,28,470], // LATIN SMALL LETTER G WITH DOT ABOVE + 0x122: [676,280,722,32,709], // LATIN CAPITAL LETTER G WITH CEDILLA + 0x123: [766,218,500,28,470], // LATIN SMALL LETTER G WITH CEDILLA + 0x124: [886,0,722,18,703], // LATIN CAPITAL LETTER H WITH CIRCUMFLEX + 0x125: [886,0,500,9,487], // LATIN SMALL LETTER H WITH CIRCUMFLEX + 0x126: [662,0,723,17,702], // LATIN CAPITAL LETTER H WITH STROKE + 0x127: [683,0,500,8,487], // LATIN SMALL LETTER H WITH STROKE + 0x128: [850,0,333,1,331], // LATIN CAPITAL LETTER I WITH TILDE + 0x129: [638,0,278,-25,305], // LATIN SMALL LETTER I WITH TILDE + 0x12A: [773,0,333,11,322], // LATIN CAPITAL LETTER I WITH MACRON + 0x12B: [561,0,278,-21,290], // LATIN SMALL LETTER I WITH MACRON + 0x12C: [876,0,333,18,315], // LATIN CAPITAL LETTER I WITH BREVE + 0x12D: [664,0,278,-1,280], // LATIN SMALL LETTER I WITH BREVE + 0x12E: [662,165,333,18,315], // LATIN CAPITAL LETTER I WITH OGONEK + 0x12F: [683,165,278,16,277], // LATIN SMALL LETTER I WITH OGONEK + 0x130: [834,0,333,18,315], // LATIN CAPITAL LETTER I WITH DOT ABOVE + 0x132: [662,14,747,18,728], // LATIN CAPITAL LIGATURE IJ + 0x133: [683,218,538,16,454], // LATIN SMALL LIGATURE IJ + 0x134: [886,14,373,-6,367], // LATIN CAPITAL LETTER J WITH CIRCUMFLEX + 0x135: [674,218,278,-70,295], // LATIN SMALL LETTER J WITH CIRCUMFLEX + 0x136: [662,280,722,33,723], // LATIN CAPITAL LETTER K WITH CEDILLA + 0x137: [683,280,500,7,505], // LATIN SMALL LETTER K WITH CEDILLA + 0x138: [459,0,542,5,532], // LATIN SMALL LETTER KRA + 0x139: [890,0,611,12,598], // LATIN CAPITAL LETTER L WITH ACUTE + 0x13A: [890,0,278,19,257], // LATIN SMALL LETTER L WITH ACUTE + 0x13B: [662,280,611,12,598], // LATIN CAPITAL LETTER L WITH CEDILLA + 0x13C: [683,280,278,19,257], // LATIN SMALL LETTER L WITH CEDILLA + 0x13D: [683,0,611,12,598], // LATIN CAPITAL LETTER L WITH CARON + 0x13E: [702,0,381,19,362], // LATIN SMALL LETTER L WITH CARON + 0x13F: [662,0,620,29,615], // LATIN CAPITAL LETTER L WITH MIDDLE DOT + 0x140: [683,0,370,19,354], // LATIN SMALL LETTER L WITH MIDDLE DOT + 0x141: [662,0,611,10,597], // LATIN CAPITAL LETTER L WITH STROKE + 0x142: [683,0,278,19,259], // LATIN SMALL LETTER L WITH STROKE + 0x143: [890,11,722,12,707], // LATIN CAPITAL LETTER N WITH ACUTE + 0x144: [678,0,500,16,485], // LATIN SMALL LETTER N WITH ACUTE + 0x145: [662,280,722,12,707], // LATIN CAPITAL LETTER N WITH CEDILLA + 0x146: [460,280,500,16,485], // LATIN SMALL LETTER N WITH CEDILLA + 0x147: [886,11,722,12,707], // LATIN CAPITAL LETTER N WITH CARON + 0x148: [674,0,500,16,485], // LATIN SMALL LETTER N WITH CARON + 0x149: [702,0,590,20,566], // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE + 0x14A: [678,18,710,16,673], // LATIN CAPITAL LETTER ENG + 0x14B: [460,218,504,16,424], // LATIN SMALL LETTER ENG + 0x14C: [773,14,722,34,688], // LATIN CAPITAL LETTER O WITH MACRON + 0x14D: [561,10,500,29,470], // LATIN SMALL LETTER O WITH MACRON + 0x14E: [876,14,722,34,688], // LATIN CAPITAL LETTER O WITH BREVE + 0x14F: [664,10,500,29,470], // LATIN SMALL LETTER O WITH BREVE + 0x150: [890,14,722,34,688], // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE + 0x151: [678,10,500,29,470], // LATIN SMALL LETTER O WITH DOUBLE ACUTE + 0x152: [668,6,889,30,885], // LATIN CAPITAL LIGATURE OE + 0x153: [460,10,722,30,690], // LATIN SMALL LIGATURE OE + 0x154: [890,0,667,17,660], // LATIN CAPITAL LETTER R WITH ACUTE + 0x155: [678,0,333,5,335], // LATIN SMALL LETTER R WITH ACUTE + 0x156: [662,280,667,17,660], // LATIN CAPITAL LETTER R WITH CEDILLA + 0x157: [460,280,333,5,335], // LATIN SMALL LETTER R WITH CEDILLA + 0x158: [886,0,667,17,660], // LATIN CAPITAL LETTER R WITH CARON + 0x159: [674,0,333,5,335], // LATIN SMALL LETTER R WITH CARON + 0x15A: [890,14,556,43,491], // LATIN CAPITAL LETTER S WITH ACUTE + 0x15B: [678,10,389,51,348], // LATIN SMALL LETTER S WITH ACUTE + 0x15C: [886,14,556,43,491], // LATIN CAPITAL LETTER S WITH CIRCUMFLEX + 0x15D: [674,10,389,40,351], // LATIN SMALL LETTER S WITH CIRCUMFLEX + 0x15E: [676,215,556,43,491], // LATIN CAPITAL LETTER S WITH CEDILLA + 0x15F: [459,215,389,51,348], // LATIN SMALL LETTER S WITH CEDILLA + 0x160: [924,14,556,43,491], // LATIN CAPITAL LETTER S WITH CARON + 0x161: [674,10,389,38,349], // LATIN SMALL LETTER S WITH CARON + 0x162: [662,215,611,17,593], // LATIN CAPITAL LETTER T WITH CEDILLA + 0x163: [579,215,278,13,279], // LATIN SMALL LETTER T WITH CEDILLA + 0x164: [886,0,611,17,593], // LATIN CAPITAL LETTER T WITH CARON + 0x165: [701,10,315,13,333], // LATIN SMALL LETTER T WITH CARON + 0x166: [662,0,613,17,593], // LATIN CAPITAL LETTER T WITH STROKE + 0x167: [584,5,279,11,280], // LATIN SMALL LETTER T WITH STROKE + 0x168: [849,14,722,14,705], // LATIN CAPITAL LETTER U WITH TILDE + 0x169: [638,10,500,9,480], // LATIN SMALL LETTER U WITH TILDE + 0x16A: [773,14,722,14,705], // LATIN CAPITAL LETTER U WITH MACRON + 0x16B: [561,10,500,9,480], // LATIN SMALL LETTER U WITH MACRON + 0x16C: [876,14,722,14,705], // LATIN CAPITAL LETTER U WITH BREVE + 0x16D: [664,10,500,9,480], // LATIN SMALL LETTER U WITH BREVE + 0x16E: [898,14,722,14,705], // LATIN CAPITAL LETTER U WITH RING ABOVE + 0x16F: [711,10,500,9,480], // LATIN SMALL LETTER U WITH RING ABOVE + 0x170: [890,14,722,14,705], // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE + 0x171: [678,10,500,9,480], // LATIN SMALL LETTER U WITH DOUBLE ACUTE + 0x172: [662,165,722,14,705], // LATIN CAPITAL LETTER U WITH OGONEK + 0x173: [450,156,500,9,480], // LATIN SMALL LETTER U WITH OGONEK + 0x174: [886,11,944,5,932], // LATIN CAPITAL LETTER W WITH CIRCUMFLEX + 0x175: [674,14,722,21,694], // LATIN SMALL LETTER W WITH CIRCUMFLEX + 0x176: [886,0,722,22,703], // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX + 0x177: [674,218,500,14,475], // LATIN SMALL LETTER Y WITH CIRCUMFLEX + 0x178: [872,0,722,22,703], // LATIN CAPITAL LETTER Y WITH DIAERESIS + 0x179: [890,0,612,10,598], // LATIN CAPITAL LETTER Z WITH ACUTE + 0x17A: [678,0,444,27,418], // LATIN SMALL LETTER Z WITH ACUTE + 0x17B: [834,0,612,10,598], // LATIN CAPITAL LETTER Z WITH DOT ABOVE + 0x17C: [622,0,444,27,418], // LATIN SMALL LETTER Z WITH DOT ABOVE + 0x17D: [924,0,612,10,598], // LATIN CAPITAL LETTER Z WITH CARON + 0x17E: [674,0,444,27,418], // LATIN SMALL LETTER Z WITH CARON + 0x17F: [683,0,334,20,383] // LATIN SMALL LETTER LONG S + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js new file mode 100644 index 0000000..87aa959 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedAdditional.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1E80: [890,11,944,5,932], // LATIN CAPITAL LETTER W WITH GRAVE + 0x1E81: [678,14,722,21,694], // LATIN SMALL LETTER W WITH GRAVE + 0x1E82: [890,11,944,5,932], // LATIN CAPITAL LETTER W WITH ACUTE + 0x1E83: [678,14,722,21,694], // LATIN SMALL LETTER W WITH ACUTE + 0x1E84: [834,11,944,5,932], // LATIN CAPITAL LETTER W WITH DIAERESIS + 0x1E85: [622,14,722,21,694], // LATIN SMALL LETTER W WITH DIAERESIS + 0x1EF2: [890,0,722,22,703], // LATIN CAPITAL LETTER Y WITH GRAVE + 0x1EF3: [678,218,500,14,475] // LATIN SMALL LETTER Y WITH GRAVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedAdditional.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js new file mode 100644 index 0000000..3fb1169 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js @@ -0,0 +1,63 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x180: [683,10,500,-19,472], // LATIN SMALL LETTER B WITH STROKE + 0x188: [559,10,500,25,511], // LATIN SMALL LETTER C WITH HOOK + 0x190: [684,6,580,33,562], // LATIN CAPITAL LETTER OPEN E + 0x192: [706,159,434,6,426], // LATIN SMALL LETTER F WITH HOOK + 0x195: [683,10,735,9,710], // LATIN SMALL LETTER HV + 0x199: [683,0,500,7,505], // LATIN SMALL LETTER K WITH HOOK + 0x19A: [683,0,278,19,257], // LATIN SMALL LETTER L WITH BAR + 0x19B: [668,0,520,55,516], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x19E: [460,233,500,16,485], // LATIN SMALL LETTER N WITH LONG RIGHT LEG + 0x1A0: [754,14,722,34,688], // LATIN CAPITAL LETTER O WITH HORN + 0x1A1: [474,10,545,29,531], // LATIN SMALL LETTER O WITH HORN + 0x1A5: [669,217,500,5,470], // LATIN SMALL LETTER P WITH HOOK + 0x1AA: [684,233,432,20,412], // LATIN LETTER REVERSED ESH LOOP + 0x1AB: [579,218,290,13,279], // LATIN SMALL LETTER T WITH PALATAL HOOK + 0x1AD: [683,10,310,14,333], // LATIN SMALL LETTER T WITH HOOK + 0x1AF: [774,14,766,14,810], // LATIN CAPITAL LETTER U WITH HORN + 0x1B0: [561,10,500,9,539], // LATIN SMALL LETTER U WITH HORN + 0x1B5: [662,0,612,10,598], // LATIN CAPITAL LETTER Z WITH STROKE + 0x1BA: [450,234,381,4,360], // LATIN SMALL LETTER EZH WITH TAIL + 0x1BB: [676,0,500,22,482], // LATIN LETTER TWO WITH STROKE + 0x1BE: [539,12,500,73,427], // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE + 0x1C0: [736,0,160,54,105], // LATIN LETTER DENTAL CLICK + 0x1C1: [736,0,280,54,225], // LATIN LETTER LATERAL CLICK + 0x1C2: [736,0,435,34,400], // LATIN LETTER ALVEOLAR CLICK + 0x1C3: [676,9,333,130,236], // LATIN LETTER RETROFLEX CLICK + 0x1F0: [674,218,278,-70,294], // LATIN SMALL LETTER J WITH CARON + 0x1FA: [938,0,722,15,707], // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE + 0x1FB: [890,10,444,37,442], // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE + 0x1FC: [890,0,889,0,863], // LATIN CAPITAL LETTER AE WITH ACUTE + 0x1FD: [678,7,667,38,632], // LATIN SMALL LETTER AE WITH ACUTE + 0x1FE: [890,80,722,34,688], // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE + 0x1FF: [678,112,500,29,470], // LATIN SMALL LETTER O WITH STROKE AND ACUTE + 0x221: [683,150,671,27,652], // LATIN SMALL LETTER D WITH CURL + 0x234: [683,150,429,19,410], // LATIN SMALL LETTER L WITH CURL + 0x235: [460,150,672,16,653], // LATIN SMALL LETTER N WITH CURL + 0x236: [580,150,401,13,382] // LATIN SMALL LETTER T WITH CURL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js new file mode 100644 index 0000000..c7db763 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LatinExtendedD.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0xA727: [683,233,481,9,427] // stix-heng (phonetic symbol) + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LatinExtendedD.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js new file mode 100644 index 0000000..d84bcfe --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js @@ -0,0 +1,83 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2102: [676,14,705,45,663], // stix-mathematical bold oblique double-struck capital C + 0x2105: [676,14,837,48,795], // CARE OF + 0x2107: [676,14,598,28,561], // EULER CONSTANT + 0x210A: [441,219,738,30,678], // SCRIPT SMALL G + 0x210B: [687,15,997,53,991], // SCRIPT CAPITAL H + 0x210C: [695,204,824,43,773], // BLACK-LETTER CAPITAL H + 0x210D: [662,0,718,70,648], // stix-mathematical bold oblique double-struck capital H + 0x210E: [683,10,577,47,545], // PLANCK CONSTANT + 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi + 0x2110: [675,15,897,26,888], // SCRIPT CAPITAL I + 0x2112: [687,15,946,33,931], // SCRIPT CAPITAL L + 0x2113: [687,11,579,48,571], // SCRIPT SMALL L + 0x2115: [662,0,698,70,628], // stix-mathematical bold oblique double-struck capital N + 0x2116: [676,14,1012,7,966], // NUMERO SIGN + 0x2117: [676,14,760,38,722], // SOUND RECORDING COPYRIGHT + 0x2119: [662,0,678,70,628], // stix-mathematical bold oblique double-struck capital P + 0x211A: [676,65,765,45,715], // stix-mathematical bold oblique double-struck capital Q + 0x211B: [687,15,944,34,876], // SCRIPT CAPITAL R + 0x211D: [662,0,747,70,712], // stix-mathematical bold oblique double-struck capital R + 0x211E: [667,101,780,69,763], // PRESCRIPTION TAKE + 0x2122: [662,-256,980,30,957], // TRADE MARK SIGN + 0x2124: [662,0,727,50,677], // stix-mathematical bold oblique double-struck capital Z + 0x2125: [662,218,424,35,391], // OUNCE SIGN + 0x2126: [676,0,744,29,715], // OHM SIGN + 0x2127: [662,14,744,29,715], // INVERTED OHM SIGN + 0x2128: [695,204,726,50,676], // BLACK-LETTER CAPITAL Z + 0x2129: [463,0,360,32,276], // TURNED GREEK SMALL LETTER IOTA + 0x212B: [871,0,722,15,707], // ANGSTROM SIGN + 0x212C: [687,15,950,34,902], // SCRIPT CAPITAL B + 0x212D: [695,24,717,47,675], // BLACK-LETTER CAPITAL C + 0x212E: [676,17,843,35,808], // ESTIMATED SYMBOL + 0x212F: [441,11,627,30,554], // SCRIPT SMALL E + 0x2130: [687,15,750,100,734], // SCRIPT CAPITAL E + 0x2131: [680,0,919,43,907], // SCRIPT CAPITAL F + 0x2132: [662,0,535,13,462], // TURNED CAPITAL F + 0x2133: [674,15,1072,38,1056], // SCRIPT CAPITAL M + 0x2134: [441,11,697,30,680], // SCRIPT SMALL O + 0x2136: [677,19,639,57,572], // BET SYMBOL + 0x2137: [677,19,505,40,463], // GIMEL SYMBOL + 0x2138: [677,19,599,52,495], // DALET SYMBOL + 0x213C: [450,12,673,25,645], // DOUBLE-STRUCK SMALL PI + 0x213D: [460,218,540,0,526], // DOUBLE-STRUCK SMALL GAMMA + 0x213E: [662,0,469,70,567], // DOUBLE-STRUCK CAPITAL GAMMA + 0x213F: [662,0,718,70,648], // DOUBLE-STRUCK CAPITAL PI + 0x2140: [763,259,923,61,882], // DOUBLE-STRUCK N-ARY SUMMATION + 0x2141: [676,14,695,68,668], // TURNED SANS-SERIF CAPITAL G + 0x2142: [662,0,559,13,485], // TURNED SANS-SERIF CAPITAL L + 0x2143: [662,0,559,13,485], // REVERSED SANS-SERIF CAPITAL L + 0x2144: [662,0,630,21,609], // TURNED SANS-SERIF CAPITAL Y + 0x2145: [662,0,722,70,677], // stix-mathematical bold double-struck capital D + 0x2146: [683,10,574,45,519], // stix-mathematical bold double-struck small letter d + 0x2147: [460,10,523,45,478], // stix-mathematical bold double-struck small letter e + 0x2148: [683,0,258,55,203], // stix-mathematical bold double-struck small letter i + 0x2149: [683,217,305,-15,250], // stix-mathematical bold double-struck small letter j + 0x214A: [692,0,664,45,602], // PROPERTY LINE + 0x214B: [676,13,778,28,736] // TURNED AMPERSAND + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js new file mode 100644 index 0000000..93500af --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js @@ -0,0 +1,380 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'] = { + directory: 'General/Regular', + family: 'STIXGeneral', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1D00,0x1DBF,"PhoneticExtensions"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2070,0x209F,"SuperAndSubscripts"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2150,0x218F,"NumberForms"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0x2580,0x259F,"BlockElements"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x2700,0x27BF,"Dingbats"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x27F0,0x27FF,"SupplementalArrowsA"], + [0x2900,0x297F,"SupplementalArrowsB"], + [0x2980,0x29FF,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,"SuppMathOperators"], + [0x2B00,0x2BFF,"MiscSymbolsAndArrows"], + [0x3000,0x303F,"CJK"], + [0x3040,0x309F,"Hiragana"], + [0xA720,0xA7FF,"LatinExtendedD"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0xFFF0,0xFFFF,"Specials"], + [0x1D400,0x1D433,"MathBold"], + [0x1D434,0x1D467,"MathItalic"], + [0x1D468,0x1D49B,"MathBoldItalic"], + [0x1D49C,0x1D4CF,"MathScript"], + [0x1D4D0,0x1D503,"MathBoldScript"], + [0x1D504,0x1D537,"Fraktur"], + [0x1D538,0x1D56B,"BBBold"], + [0x1D56C,0x1D59F,"BoldFraktur"], + [0x1D5A0,0x1D5D3,"MathSS"], + [0x1D5D4,0x1D607,"MathSSBold"], + [0x1D608,0x1D63B,"MathSSItalic"], + [0x1D63C,0x1D66F,"MathSSItalicBold"], + [0x1D670,0x1D6A3,"MathTT"], + [0x1D6A4,0x1D6A5,"ij"], + [0x1D6A8,0x1D6E1,"GreekBold"], + [0x1D6E2,0x1D71B,"GreekItalic"], + [0x1D71C,0x1D755,"GreekBoldItalic"], + [0x1D756,0x1D78F,"GreekSSBold"], + [0x1D790,0x1D7C9,"GreekSSBoldItalic"], + [0x1D7CE,0x1D7D7,"MathBold"], + [0x1D7D8,0x1D7E1,"BBBold"], + [0x1D7E2,0x1D7EB,"MathSS"], + [0x1D7EC,0x1D7F6,"MathSSBold"], + [0x1D7F6,0x1D7FF,"MathTT"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [676,9,333,130,236], // EXCLAMATION MARK + 0x22: [676,-431,408,77,331], // QUOTATION MARK + 0x23: [662,0,500,6,495], // NUMBER SIGN + 0x24: [727,87,500,44,458], // DOLLAR SIGN + 0x25: [706,19,747,61,686], // PERCENT SIGN + 0x26: [676,13,778,42,750], // AMPERSAND + 0x27: [676,-431,180,48,133], // APOSTROPHE + 0x28: [676,177,333,48,304], // LEFT PARENTHESIS + 0x29: [676,177,333,29,285], // RIGHT PARENTHESIS + 0x2A: [676,-265,500,68,433], // ASTERISK + 0x2B: [547,41,685,48,636], // PLUS SIGN + 0x2C: [102,141,250,55,195], // COMMA + 0x2D: [257,-194,333,39,285], // HYPHEN-MINUS + 0x2E: [100,11,250,70,181], // FULL STOP + 0x2F: [676,14,278,-9,287], // SOLIDUS + 0x30: [676,14,500,24,476], // DIGIT ZERO + 0x31: [676,0,500,111,394], // DIGIT ONE + 0x32: [676,0,500,29,474], // DIGIT TWO + 0x33: [676,14,500,41,431], // DIGIT THREE + 0x34: [676,0,500,12,473], // DIGIT FOUR + 0x35: [688,14,500,31,438], // DIGIT FIVE + 0x36: [684,14,500,34,468], // DIGIT SIX + 0x37: [662,8,500,20,449], // DIGIT SEVEN + 0x38: [676,14,500,56,445], // DIGIT EIGHT + 0x39: [676,22,500,30,459], // DIGIT NINE + 0x3A: [459,11,278,81,192], // COLON + 0x3B: [459,141,278,80,219], // SEMICOLON + 0x3C: [534,24,685,56,621], // LESS-THAN SIGN + 0x3D: [386,-120,685,48,637], // EQUALS SIGN + 0x3E: [534,24,685,56,621], // GREATER-THAN SIGN + 0x3F: [676,8,444,68,414], // QUESTION MARK + 0x40: [676,14,921,116,809], // COMMERCIAL AT + 0x41: [674,0,722,15,707], // LATIN CAPITAL LETTER A + 0x42: [662,0,667,17,593], // LATIN CAPITAL LETTER B + 0x43: [676,14,667,28,633], // LATIN CAPITAL LETTER C + 0x44: [662,0,722,16,685], // LATIN CAPITAL LETTER D + 0x45: [662,0,611,12,597], // LATIN CAPITAL LETTER E + 0x46: [662,0,556,11,546], // LATIN CAPITAL LETTER F + 0x47: [676,14,722,32,709], // LATIN CAPITAL LETTER G + 0x48: [662,0,722,18,703], // LATIN CAPITAL LETTER H + 0x49: [662,0,333,18,315], // LATIN CAPITAL LETTER I + 0x4A: [662,14,373,-6,354], // LATIN CAPITAL LETTER J + 0x4B: [662,0,722,33,723], // LATIN CAPITAL LETTER K + 0x4C: [662,0,611,12,598], // LATIN CAPITAL LETTER L + 0x4D: [662,0,889,12,864], // LATIN CAPITAL LETTER M + 0x4E: [662,11,722,12,707], // LATIN CAPITAL LETTER N + 0x4F: [676,14,722,34,688], // LATIN CAPITAL LETTER O + 0x50: [662,0,557,16,542], // LATIN CAPITAL LETTER P + 0x51: [676,177,722,34,701], // LATIN CAPITAL LETTER Q + 0x52: [662,0,667,17,660], // LATIN CAPITAL LETTER R + 0x53: [676,14,556,43,491], // LATIN CAPITAL LETTER S + 0x54: [662,0,611,17,593], // LATIN CAPITAL LETTER T + 0x55: [662,14,722,14,705], // LATIN CAPITAL LETTER U + 0x56: [662,11,722,16,697], // LATIN CAPITAL LETTER V + 0x57: [662,11,944,5,932], // LATIN CAPITAL LETTER W + 0x58: [662,0,722,10,704], // LATIN CAPITAL LETTER X + 0x59: [662,0,722,22,703], // LATIN CAPITAL LETTER Y + 0x5A: [662,0,612,10,598], // LATIN CAPITAL LETTER Z + 0x5B: [662,156,333,88,299], // LEFT SQUARE BRACKET + 0x5C: [676,14,278,-9,287], // REVERSE SOLIDUS + 0x5D: [662,156,333,34,245], // RIGHT SQUARE BRACKET + 0x5E: [662,-297,469,24,446], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [678,-507,333,18,242], // GRAVE ACCENT + 0x61: [460,10,444,37,442], // LATIN SMALL LETTER A + 0x62: [683,10,500,3,468], // LATIN SMALL LETTER B + 0x63: [460,10,444,25,412], // LATIN SMALL LETTER C + 0x64: [683,10,500,27,491], // LATIN SMALL LETTER D + 0x65: [460,10,444,25,424], // LATIN SMALL LETTER E + 0x66: [683,0,333,20,383], // LATIN SMALL LETTER F + 0x67: [460,218,500,28,470], // LATIN SMALL LETTER G + 0x68: [683,0,500,9,487], // LATIN SMALL LETTER H + 0x69: [683,0,278,16,253], // LATIN SMALL LETTER I + 0x6A: [683,218,278,-70,194], // LATIN SMALL LETTER J + 0x6B: [683,0,500,7,505], // LATIN SMALL LETTER K + 0x6C: [683,0,278,19,257], // LATIN SMALL LETTER L + 0x6D: [460,0,778,16,775], // LATIN SMALL LETTER M + 0x6E: [460,0,500,16,485], // LATIN SMALL LETTER N + 0x6F: [460,10,500,29,470], // LATIN SMALL LETTER O + 0x70: [460,217,500,5,470], // LATIN SMALL LETTER P + 0x71: [460,217,500,24,488], // LATIN SMALL LETTER Q + 0x72: [460,0,333,5,335], // LATIN SMALL LETTER R + 0x73: [459,10,389,51,348], // LATIN SMALL LETTER S + 0x74: [579,10,278,13,279], // LATIN SMALL LETTER T + 0x75: [450,10,500,9,480], // LATIN SMALL LETTER U + 0x76: [450,14,500,19,477], // LATIN SMALL LETTER V + 0x77: [450,14,722,21,694], // LATIN SMALL LETTER W + 0x78: [450,0,500,17,479], // LATIN SMALL LETTER X + 0x79: [450,218,500,14,475], // LATIN SMALL LETTER Y + 0x7A: [450,0,444,27,418], // LATIN SMALL LETTER Z + 0x7B: [680,181,480,100,350], // LEFT CURLY BRACKET + 0x7C: [676,14,200,67,133], // VERTICAL LINE + 0x7D: [680,181,480,130,380], // RIGHT CURLY BRACKET + 0x7E: [325,-183,541,40,502], // TILDE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA8: [622,-523,333,18,316], // DIAERESIS + 0xAC: [393,-115,600,48,552], // NOT SIGN + 0xAF: [601,-547,333,11,322], // MACRON + 0xB1: [502,87,685,48,637], // PLUS-MINUS SIGN + 0xB7: [310,-199,250,70,181], // MIDDLE DOT + 0xD7: [529,25,640,43,597], // MULTIPLICATION SIGN + 0xF7: [516,10,564,30,534], // DIVISION SIGN + 0x131: [460,0,278,16,253], // LATIN SMALL LETTER DOTLESS I + 0x237: [460,218,278,-70,193], // LATIN SMALL LETTER DOTLESS J + 0x2C6: [674,-507,333,11,322], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [674,-507,333,11,322], // CARON + 0x2C9: [601,-547,334,11,322], // MODIFIER LETTER MACRON + 0x2CA: [679,-509,333,93,320], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [679,-509,333,22,249], // MODIFIER LETTER GRAVE ACCENT + 0x2D8: [664,-507,335,27,308], // BREVE + 0x2D9: [622,-523,333,118,217], // DOT ABOVE + 0x2DC: [638,-532,333,1,331], // SMALL TILDE + 0x300: [678,-507,0,-371,-147], // COMBINING GRAVE ACCENT + 0x301: [678,-507,0,-371,-147], // COMBINING ACUTE ACCENT + 0x302: [674,-507,0,-386,-75], // COMBINING CIRCUMFLEX ACCENT + 0x303: [638,-532,0,-395,-65], // COMBINING TILDE + 0x304: [601,-547,0,-385,-74], // COMBINING MACRON + 0x306: [664,-507,0,-373,-92], // COMBINING BREVE + 0x307: [622,-523,0,-280,-181], // COMBINING DOT ABOVE + 0x308: [622,-523,0,-379,-81], // COMBINING DIAERESIS + 0x30A: [711,-512,0,-329,-130], // COMBINING RING ABOVE + 0x30B: [678,-507,0,-401,-22], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [674,-507,0,-385,-74], // COMBINING CARON + 0x338: [662,156,0,-380,31], // COMBINING LONG SOLIDUS OVERLAY + 0x393: [662,0,587,11,577], // GREEK CAPITAL LETTER GAMMA + 0x394: [674,0,722,48,675], // GREEK CAPITAL LETTER DELTA + 0x398: [676,14,722,34,688], // GREEK CAPITAL LETTER THETA + 0x39B: [674,0,702,15,687], // GREEK CAPITAL LETTER LAMDA + 0x39E: [662,0,643,29,614], // GREEK CAPITAL LETTER XI + 0x3A0: [662,0,722,18,703], // GREEK CAPITAL LETTER PI + 0x3A3: [662,0,624,30,600], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [674,0,722,29,703], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [662,0,763,35,728], // GREEK CAPITAL LETTER PHI + 0x3A8: [690,0,746,22,724], // GREEK CAPITAL LETTER PSI + 0x3A9: [676,0,744,29,715], // GREEK CAPITAL LETTER OMEGA + 0x2020: [676,149,500,59,442], // DAGGER + 0x2021: [676,153,500,58,442], // DOUBLE DAGGER + 0x2026: [100,11,1000,111,888], // HORIZONTAL ELLIPSIS + 0x2032: [678,-402,289,75,214], // PRIME + 0x203E: [820,-770,500,0,500], // OVERLINE + 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE + 0x2111: [695,34,762,45,711], // BLACK-LETTER CAPITAL I + 0x2118: [547,217,826,52,799], // SCRIPT CAPITAL P + 0x211C: [704,22,874,50,829], // BLACK-LETTER CAPITAL R + 0x2135: [677,13,682,43,634], // ALEF SYMBOL + 0x2190: [449,-58,926,71,857], // LEFTWARDS ARROW + 0x2191: [662,156,511,60,451], // UPWARDS ARROW + 0x2192: [448,-57,926,70,856], // RIGHTWARDS ARROW + 0x2193: [662,156,511,60,451], // DOWNWARDS ARROW + 0x2194: [449,-57,926,38,888], // LEFT RIGHT ARROW + 0x2195: [730,224,511,60,451], // UP DOWN ARROW + 0x2196: [662,156,926,70,856], // NORTH WEST ARROW + 0x2197: [662,156,926,70,856], // NORTH EAST ARROW + 0x2198: [662,156,926,70,856], // SOUTH EAST ARROW + 0x2199: [662,156,926,70,856], // SOUTH WEST ARROW + 0x21A6: [450,-57,926,70,857], // RIGHTWARDS ARROW FROM BAR + 0x21A9: [553,-57,926,70,856], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [553,-57,926,70,856], // RIGHTWARDS ARROW WITH HOOK + 0x21BC: [494,-220,955,54,901], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [286,-12,955,54,901], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C0: [494,-220,955,54,901], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [286,-12,955,54,901], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21CC: [539,33,926,70,856], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21D0: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW + 0x21D1: [662,156,685,45,641], // UPWARDS DOUBLE ARROW + 0x21D2: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [662,156,685,45,641], // DOWNWARDS DOUBLE ARROW + 0x21D4: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [730,224,685,45,641], // UP DOWN DOUBLE ARROW + 0x2200: [662,0,560,2,558], // FOR ALL + 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL + 0x2203: [662,0,560,73,487], // THERE EXISTS + 0x2205: [583,79,762,50,712], // EMPTY SET + 0x2207: [662,12,731,63,667], // NABLA + 0x2208: [531,27,685,60,625], // ELEMENT OF + 0x2209: [662,157,685,60,625], // stix-negated (vert) set membership, variant + 0x220B: [531,27,685,60,625], // CONTAINS AS MEMBER + 0x220F: [763,259,1000,52,948], // N-ARY PRODUCT + 0x2210: [763,259,1000,52,948], // N-ARY COPRODUCT + 0x2211: [763,259,914,58,856], // N-ARY SUMMATION + 0x2212: [286,-220,685,64,621], // MINUS SIGN + 0x2213: [502,87,685,48,637], // MINUS-OR-PLUS SIGN + 0x2215: [710,222,523,46,478], // DIVISION SLASH + 0x2216: [411,-93,428,25,403], // SET MINUS + 0x2217: [471,-33,523,67,457], // ASTERISK OPERATOR + 0x2218: [387,-117,350,40,310], // RING OPERATOR + 0x2219: [387,-117,350,40,310], // BULLET OPERATOR + 0x221A: [973,259,928,112,963], // SQUARE ROOT + 0x221D: [430,0,685,41,643], // PROPORTIONAL TO + 0x221E: [430,0,926,70,854], // INFINITY + 0x2220: [547,0,685,23,643], // ANGLE + 0x2223: [690,189,266,100,166], // DIVIDES + 0x2225: [690,189,523,129,394], // PARALLEL TO + 0x2227: [536,29,620,31,589], // LOGICAL AND + 0x2228: [536,29,620,31,589], // LOGICAL OR + 0x2229: [536,31,620,48,572], // stix-intersection, serifs + 0x222A: [536,31,620,48,572], // stix-union, serifs + 0x222B: [824,320,459,32,639], // INTEGRAL + 0x223C: [362,-148,685,48,637], // TILDE OPERATOR + 0x2240: [547,42,286,35,249], // WREATH PRODUCT + 0x2243: [445,-55,685,48,637], // ASYMPTOTICALLY EQUAL TO + 0x2245: [532,27,685,48,637], // APPROXIMATELY EQUAL TO + 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO + 0x224D: [498,-8,685,48,637], // EQUIVALENT TO + 0x2250: [611,-120,685,48,637], // APPROACHES THE LIMIT + 0x2260: [662,156,685,48,637], // stix-not (vert) equals + 0x2261: [478,-28,685,48,637], // IDENTICAL TO + 0x2264: [609,103,685,64,629], // LESS-THAN OR EQUAL TO + 0x2265: [609,103,685,64,629], // GREATER-THAN OR EQUAL TO + 0x226A: [532,26,933,25,908], // MUCH LESS-THAN + 0x226B: [532,26,933,25,908], // MUCH GREATER-THAN + 0x227A: [532,26,685,64,621], // PRECEDES + 0x227B: [532,26,685,64,621], // SUCCEEDS + 0x227C: [628,120,685,64,621], // PRECEDES OR EQUAL TO + 0x227D: [629,119,685,64,621], // SUCCEEDS OR EQUAL TO + 0x2282: [531,25,685,64,621], // SUBSET OF + 0x2283: [531,25,685,64,621], // SUPERSET OF + 0x2286: [607,103,685,64,621], // SUBSET OF OR EQUAL TO + 0x2287: [607,103,685,64,621], // SUPERSET OF OR EQUAL TO + 0x228E: [536,31,620,48,572], // MULTISET UNION + 0x2291: [607,103,685,64,621], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [607,103,685,64,621], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [536,31,620,48,572], // stix-square intersection, serifs + 0x2294: [536,31,620,48,572], // stix-square union, serifs + 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) + 0x2296: [623,119,842,50,792], // CIRCLED MINUS + 0x2297: [623,119,842,50,792], // stix-circled times (with rim) + 0x2298: [623,119,842,50,792], // CIRCLED DIVISION SLASH + 0x2299: [583,79,762,50,712], // CIRCLED DOT OPERATOR + 0x22A2: [662,0,685,64,621], // RIGHT TACK + 0x22A3: [662,0,685,64,621], // LEFT TACK + 0x22A4: [662,0,685,48,637], // DOWN TACK + 0x22A5: [662,0,685,48,637], // UP TACK + 0x22A8: [662,0,685,64,621], // TRUE + 0x22C0: [763,259,924,54,870], // N-ARY LOGICAL AND + 0x22C1: [763,259,924,54,870], // N-ARY LOGICAL OR + 0x22C2: [778,254,924,94,830], // N-ARY INTERSECTION + 0x22C3: [768,264,924,94,830], // N-ARY UNION + 0x22C4: [488,-16,523,26,497], // DIAMOND OPERATOR + 0x22C5: [313,-193,286,83,203], // DOT OPERATOR + 0x22C6: [597,13,700,35,665], // STAR OPERATOR + 0x22C8: [582,80,810,54,756], // BOWTIE + 0x22EE: [606,104,511,192,319], // VERTICAL ELLIPSIS + 0x22EF: [316,-189,926,108,818], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F1: [520,18,926,194,732], // DOWN RIGHT DIAGONAL ELLIPSIS + 0x2308: [713,213,469,188,447], // LEFT CEILING + 0x2309: [713,213,469,27,286], // RIGHT CEILING + 0x230A: [713,213,469,188,447], // LEFT FLOOR + 0x230B: [713,213,469,27,286], // RIGHT FLOOR + 0x2322: [360,-147,1019,54,965], // stix-small down curve + 0x2323: [360,-147,1019,54,965], // stix-small up curve + 0x23AF: [286,-220,315,0,315], // HORIZONTAL LINE EXTENSION + 0x23D0: [405,-101,511,222,288], // VERTICAL LINE EXTENSION (used to extend arrows) + 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE + 0x25B9: [555,50,660,80,605], // WHITE RIGHT-POINTING SMALL TRIANGLE + 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE + 0x25C3: [554,51,660,55,580], // WHITE LEFT-POINTING SMALL TRIANGLE + 0x25EF: [785,282,1207,70,1137], // LARGE CIRCLE + 0x2660: [609,99,685,34,651], // BLACK SPADE SUIT + 0x2661: [603,105,685,34,651], // WHITE HEART SUIT + 0x2662: [609,105,685,41,643], // WHITE DIAMOND SUIT + 0x2663: [603,99,685,34,651], // BLACK CLUB SUIT + 0x266D: [768,10,426,57,346], // MUSIC FLAT SIGN + 0x266E: [768,181,426,75,350], // MUSIC NATURAL SIGN + 0x266F: [768,181,426,41,386], // MUSIC SHARP SIGN + 0x27E8: [713,213,400,77,335], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [713,213,400,65,323], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x27EE: [676,177,233,56,211], // MATHEMATICAL LEFT FLATTENED PARENTHESIS + 0x27EF: [676,177,233,22,177], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS + 0x27F5: [449,-58,1574,55,1519], // LONG LEFTWARDS ARROW + 0x27F6: [449,-57,1574,55,1519], // LONG RIGHTWARDS ARROW + 0x27F7: [449,-57,1574,55,1519], // LONG LEFT RIGHT ARROW + 0x27F8: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW + 0x27F9: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW + 0x27FA: [517,10,1574,55,1519], // LONG LEFT RIGHT DOUBLE ARROW + 0x27FB: [450,-57,1574,55,1519], // LONG LEFTWARDS ARROW FROM BAR + 0x27FC: [450,-57,1574,55,1519], // LONG RIGHTWARDS ARROW FROM BAR + 0x29F5: [710,222,523,46,478], // REVERSE SOLIDUS OPERATOR + 0x2A00: [763,259,1126,53,1073], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [763,259,1126,53,1073], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [763,259,1126,53,1073], // N-ARY CIRCLED TIMES OPERATOR + 0x2A03: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH DOT + 0x2A04: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH PLUS + 0x2A05: [763,259,924,94,830], // N-ARY SQUARE INTERSECTION OPERATOR + 0x2A06: [763,259,924,94,830], // N-ARY SQUARE UNION OPERATOR + 0x2A3F: [662,0,694,30,664], // AMALGAMATION OR COPRODUCT + 0x2AAF: [609,103,685,64,621], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [609,103,685,64,621] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXGeneral"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js new file mode 100644 index 0000000..96c6be8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D400: [690,0,722,9,689], // MATHEMATICAL BOLD CAPITAL A + 0x1D401: [676,0,667,16,619], // MATHEMATICAL BOLD CAPITAL B + 0x1D402: [691,19,722,49,687], // MATHEMATICAL BOLD CAPITAL C + 0x1D403: [676,0,722,14,690], // MATHEMATICAL BOLD CAPITAL D + 0x1D404: [676,0,667,16,641], // MATHEMATICAL BOLD CAPITAL E + 0x1D405: [676,0,611,16,583], // MATHEMATICAL BOLD CAPITAL F + 0x1D406: [691,19,778,37,755], // MATHEMATICAL BOLD CAPITAL G + 0x1D407: [676,0,778,21,759], // MATHEMATICAL BOLD CAPITAL H + 0x1D408: [676,0,389,20,370], // MATHEMATICAL BOLD CAPITAL I + 0x1D409: [676,96,500,3,478], // MATHEMATICAL BOLD CAPITAL J + 0x1D40A: [676,0,778,30,769], // MATHEMATICAL BOLD CAPITAL K + 0x1D40B: [676,0,667,19,638], // MATHEMATICAL BOLD CAPITAL L + 0x1D40C: [676,0,944,14,921], // MATHEMATICAL BOLD CAPITAL M + 0x1D40D: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL N + 0x1D40E: [691,19,778,35,743], // MATHEMATICAL BOLD CAPITAL O + 0x1D40F: [676,0,611,16,600], // MATHEMATICAL BOLD CAPITAL P + 0x1D410: [691,176,778,35,743], // MATHEMATICAL BOLD CAPITAL Q + 0x1D411: [676,0,722,26,716], // MATHEMATICAL BOLD CAPITAL R + 0x1D412: [692,19,556,35,513], // MATHEMATICAL BOLD CAPITAL S + 0x1D413: [676,0,667,31,636], // MATHEMATICAL BOLD CAPITAL T + 0x1D414: [676,19,722,16,701], // MATHEMATICAL BOLD CAPITAL U + 0x1D415: [676,18,722,16,701], // MATHEMATICAL BOLD CAPITAL V + 0x1D416: [676,15,1000,19,981], // MATHEMATICAL BOLD CAPITAL W + 0x1D417: [676,0,722,16,699], // MATHEMATICAL BOLD CAPITAL X + 0x1D418: [676,0,722,15,699], // MATHEMATICAL BOLD CAPITAL Y + 0x1D419: [676,0,667,28,634], // MATHEMATICAL BOLD CAPITAL Z + 0x1D41A: [473,14,500,25,488], // MATHEMATICAL BOLD SMALL A + 0x1D41B: [676,14,556,17,521], // MATHEMATICAL BOLD SMALL B + 0x1D41C: [473,14,444,25,430], // MATHEMATICAL BOLD SMALL C + 0x1D41D: [676,14,556,25,534], // MATHEMATICAL BOLD SMALL D + 0x1D41E: [473,14,444,25,427], // MATHEMATICAL BOLD SMALL E + 0x1D41F: [691,0,333,14,389], // MATHEMATICAL BOLD SMALL F + 0x1D420: [472,206,500,28,483], // MATHEMATICAL BOLD SMALL G + 0x1D421: [676,0,556,15,534], // MATHEMATICAL BOLD SMALL H + 0x1D422: [691,0,278,15,256], // MATHEMATICAL BOLD SMALL I + 0x1D423: [691,203,333,-57,263], // MATHEMATICAL BOLD SMALL J + 0x1D424: [676,0,556,22,543], // MATHEMATICAL BOLD SMALL K + 0x1D425: [676,0,278,15,256], // MATHEMATICAL BOLD SMALL L + 0x1D426: [473,0,833,15,814], // MATHEMATICAL BOLD SMALL M + 0x1D427: [473,0,556,21,539], // MATHEMATICAL BOLD SMALL N + 0x1D428: [473,14,500,25,476], // MATHEMATICAL BOLD SMALL O + 0x1D429: [473,205,556,19,524], // MATHEMATICAL BOLD SMALL P + 0x1D42A: [473,205,556,34,536], // MATHEMATICAL BOLD SMALL Q + 0x1D42B: [473,0,444,28,434], // MATHEMATICAL BOLD SMALL R + 0x1D42C: [473,14,389,25,361], // MATHEMATICAL BOLD SMALL S + 0x1D42D: [630,12,333,19,332], // MATHEMATICAL BOLD SMALL T + 0x1D42E: [461,14,556,16,538], // MATHEMATICAL BOLD SMALL U + 0x1D42F: [461,14,500,21,485], // MATHEMATICAL BOLD SMALL V + 0x1D430: [461,14,722,23,707], // MATHEMATICAL BOLD SMALL W + 0x1D431: [461,0,500,12,484], // MATHEMATICAL BOLD SMALL X + 0x1D432: [461,205,500,16,482], // MATHEMATICAL BOLD SMALL Y + 0x1D433: [461,0,444,21,420], // MATHEMATICAL BOLD SMALL Z + 0x1D7CE: [688,13,500,24,476], // MATHEMATICAL BOLD DIGIT ZERO + 0x1D7CF: [688,0,500,65,441], // MATHEMATICAL BOLD DIGIT ONE + 0x1D7D0: [688,0,500,17,478], // MATHEMATICAL BOLD DIGIT TWO + 0x1D7D1: [688,14,500,16,468], // MATHEMATICAL BOLD DIGIT THREE + 0x1D7D2: [688,0,500,19,476], // MATHEMATICAL BOLD DIGIT FOUR + 0x1D7D3: [676,8,500,22,470], // MATHEMATICAL BOLD DIGIT FIVE + 0x1D7D4: [688,13,500,28,475], // MATHEMATICAL BOLD DIGIT SIX + 0x1D7D5: [676,0,500,17,477], // MATHEMATICAL BOLD DIGIT SEVEN + 0x1D7D6: [688,13,500,28,472], // MATHEMATICAL BOLD DIGIT EIGHT + 0x1D7D7: [688,13,500,26,473] // MATHEMATICAL BOLD DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js new file mode 100644 index 0000000..2679710 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D468: [685,0,759,39,724], // MATHEMATICAL BOLD ITALIC CAPITAL A + 0x1D469: [669,0,726,42,715], // MATHEMATICAL BOLD ITALIC CAPITAL B + 0x1D46A: [685,12,701,55,745], // MATHEMATICAL BOLD ITALIC CAPITAL C + 0x1D46B: [669,0,818,42,790], // MATHEMATICAL BOLD ITALIC CAPITAL D + 0x1D46C: [669,0,732,42,754], // MATHEMATICAL BOLD ITALIC CAPITAL E + 0x1D46D: [669,0,635,44,750], // MATHEMATICAL BOLD ITALIC CAPITAL F + 0x1D46E: [685,12,768,55,768], // MATHEMATICAL BOLD ITALIC CAPITAL G + 0x1D46F: [669,0,891,42,946], // MATHEMATICAL BOLD ITALIC CAPITAL H + 0x1D470: [669,0,502,42,557], // MATHEMATICAL BOLD ITALIC CAPITAL I + 0x1D471: [669,12,558,66,646], // MATHEMATICAL BOLD ITALIC CAPITAL J + 0x1D472: [669,0,795,42,839], // MATHEMATICAL BOLD ITALIC CAPITAL K + 0x1D473: [669,0,744,42,700], // MATHEMATICAL BOLD ITALIC CAPITAL L + 0x1D474: [669,0,1016,42,1071], // MATHEMATICAL BOLD ITALIC CAPITAL M + 0x1D475: [669,0,869,42,924], // MATHEMATICAL BOLD ITALIC CAPITAL N + 0x1D476: [685,16,777,55,755], // MATHEMATICAL BOLD ITALIC CAPITAL O + 0x1D477: [669,0,612,42,733], // MATHEMATICAL BOLD ITALIC CAPITAL P + 0x1D478: [685,154,810,55,756], // MATHEMATICAL BOLD ITALIC CAPITAL Q + 0x1D479: [669,0,801,42,784], // MATHEMATICAL BOLD ITALIC CAPITAL R + 0x1D47A: [685,10,671,55,704], // MATHEMATICAL BOLD ITALIC CAPITAL S + 0x1D47B: [669,0,568,28,700], // MATHEMATICAL BOLD ITALIC CAPITAL T + 0x1D47C: [669,10,733,72,810], // MATHEMATICAL BOLD ITALIC CAPITAL U + 0x1D47D: [669,15,593,66,797], // MATHEMATICAL BOLD ITALIC CAPITAL V + 0x1D47E: [669,17,925,66,1129], // MATHEMATICAL BOLD ITALIC CAPITAL W + 0x1D47F: [669,0,808,28,830], // MATHEMATICAL BOLD ITALIC CAPITAL X + 0x1D480: [669,0,549,39,725], // MATHEMATICAL BOLD ITALIC CAPITAL Y + 0x1D481: [669,0,797,66,830], // MATHEMATICAL BOLD ITALIC CAPITAL Z + 0x1D482: [462,10,581,44,548], // MATHEMATICAL BOLD ITALIC SMALL A + 0x1D483: [685,8,509,50,487], // MATHEMATICAL BOLD ITALIC SMALL B + 0x1D484: [462,10,477,44,460], // MATHEMATICAL BOLD ITALIC SMALL C + 0x1D485: [685,14,595,44,589], // MATHEMATICAL BOLD ITALIC SMALL D + 0x1D486: [462,10,498,44,459], // MATHEMATICAL BOLD ITALIC SMALL E + 0x1D487: [685,206,572,44,632], // MATHEMATICAL BOLD ITALIC SMALL F + 0x1D488: [462,203,527,22,527], // MATHEMATICAL BOLD ITALIC SMALL G + 0x1D489: [685,10,576,50,543], // MATHEMATICAL BOLD ITALIC SMALL H + 0x1D48A: [620,9,357,55,300], // MATHEMATICAL BOLD ITALIC SMALL I + 0x1D48B: [620,207,431,-18,414], // MATHEMATICAL BOLD ITALIC SMALL J + 0x1D48C: [686,11,580,55,563], // MATHEMATICAL BOLD ITALIC SMALL K + 0x1D48D: [685,9,346,50,310], // MATHEMATICAL BOLD ITALIC SMALL L + 0x1D48E: [467,9,760,33,727], // MATHEMATICAL BOLD ITALIC SMALL M + 0x1D48F: [467,10,559,33,526], // MATHEMATICAL BOLD ITALIC SMALL N + 0x1D490: [462,10,561,44,539], // MATHEMATICAL BOLD ITALIC SMALL O + 0x1D491: [469,205,571,-33,554], // MATHEMATICAL BOLD ITALIC SMALL P + 0x1D492: [462,205,526,44,532], // MATHEMATICAL BOLD ITALIC SMALL Q + 0x1D493: [467,0,441,33,424], // MATHEMATICAL BOLD ITALIC SMALL R + 0x1D494: [462,11,474,55,419], // MATHEMATICAL BOLD ITALIC SMALL S + 0x1D495: [592,10,351,44,318], // MATHEMATICAL BOLD ITALIC SMALL T + 0x1D496: [463,10,535,33,502], // MATHEMATICAL BOLD ITALIC SMALL U + 0x1D497: [473,14,554,52,539], // MATHEMATICAL BOLD ITALIC SMALL V + 0x1D498: [473,14,814,52,799], // MATHEMATICAL BOLD ITALIC SMALL W + 0x1D499: [462,8,587,33,543], // MATHEMATICAL BOLD ITALIC SMALL X + 0x1D49A: [462,205,519,35,522], // MATHEMATICAL BOLD ITALIC SMALL Y + 0x1D49B: [461,19,531,35,499] // MATHEMATICAL BOLD ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBoldItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js new file mode 100644 index 0000000..f4067e6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathBoldScript.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D4D0: [699,21,984,50,955], // MATHEMATICAL BOLD SCRIPT CAPITAL A + 0x1D4D1: [699,21,1060,55,985], // MATHEMATICAL BOLD SCRIPT CAPITAL B + 0x1D4D2: [699,21,912,60,877], // MATHEMATICAL BOLD SCRIPT CAPITAL C + 0x1D4D3: [699,21,991,60,906], // MATHEMATICAL BOLD SCRIPT CAPITAL D + 0x1D4D4: [699,21,826,95,791], // MATHEMATICAL BOLD SCRIPT CAPITAL E + 0x1D4D5: [699,21,1042,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL F + 0x1D4D6: [699,21,834,82,799], // MATHEMATICAL BOLD SCRIPT CAPITAL G + 0x1D4D7: [699,21,1171,65,1154], // MATHEMATICAL BOLD SCRIPT CAPITAL H + 0x1D4D8: [699,21,997,47,977], // MATHEMATICAL BOLD SCRIPT CAPITAL I + 0x1D4D9: [699,224,906,19,886], // MATHEMATICAL BOLD SCRIPT CAPITAL J + 0x1D4DA: [699,21,1154,45,1130], // MATHEMATICAL BOLD SCRIPT CAPITAL K + 0x1D4DB: [699,21,1036,40,1015], // MATHEMATICAL BOLD SCRIPT CAPITAL L + 0x1D4DC: [699,21,1300,60,1245], // MATHEMATICAL BOLD SCRIPT CAPITAL M + 0x1D4DD: [699,21,1095,60,1078], // MATHEMATICAL BOLD SCRIPT CAPITAL N + 0x1D4DE: [699,21,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL O + 0x1D4DF: [699,21,1025,55,994], // MATHEMATICAL BOLD SCRIPT CAPITAL P + 0x1D4E0: [699,52,809,72,749], // MATHEMATICAL BOLD SCRIPT CAPITAL Q + 0x1D4E1: [699,21,1048,55,973], // MATHEMATICAL BOLD SCRIPT CAPITAL R + 0x1D4E2: [699,21,816,81,781], // MATHEMATICAL BOLD SCRIPT CAPITAL S + 0x1D4E3: [699,21,1030,65,1025], // MATHEMATICAL BOLD SCRIPT CAPITAL T + 0x1D4E4: [699,21,964,60,904], // MATHEMATICAL BOLD SCRIPT CAPITAL U + 0x1D4E5: [699,21,1040,60,1024], // MATHEMATICAL BOLD SCRIPT CAPITAL V + 0x1D4E6: [699,21,1320,60,1306], // MATHEMATICAL BOLD SCRIPT CAPITAL W + 0x1D4E7: [699,21,1033,64,1010], // MATHEMATICAL BOLD SCRIPT CAPITAL X + 0x1D4E8: [699,224,989,60,963], // MATHEMATICAL BOLD SCRIPT CAPITAL Y + 0x1D4E9: [699,21,996,50,976], // MATHEMATICAL BOLD SCRIPT CAPITAL Z + 0x1D4EA: [462,14,942,35,865], // MATHEMATICAL BOLD SCRIPT SMALL A + 0x1D4EB: [699,14,646,60,624], // MATHEMATICAL BOLD SCRIPT SMALL B + 0x1D4EC: [462,14,764,35,683], // MATHEMATICAL BOLD SCRIPT SMALL C + 0x1D4ED: [699,14,949,28,912], // MATHEMATICAL BOLD SCRIPT SMALL D + 0x1D4EE: [462,14,726,35,648], // MATHEMATICAL BOLD SCRIPT SMALL E + 0x1D4EF: [699,205,768,25,749], // MATHEMATICAL BOLD SCRIPT SMALL F + 0x1D4F0: [462,224,819,27,771], // MATHEMATICAL BOLD SCRIPT SMALL G + 0x1D4F1: [699,14,838,55,758], // MATHEMATICAL BOLD SCRIPT SMALL H + 0x1D4F2: [698,14,558,40,534], // MATHEMATICAL BOLD SCRIPT SMALL I + 0x1D4F3: [698,223,840,41,823], // MATHEMATICAL BOLD SCRIPT SMALL J + 0x1D4F4: [699,14,810,55,730], // MATHEMATICAL BOLD SCRIPT SMALL K + 0x1D4F5: [699,14,650,43,632], // MATHEMATICAL BOLD SCRIPT SMALL L + 0x1D4F6: [462,14,1137,45,1057], // MATHEMATICAL BOLD SCRIPT SMALL M + 0x1D4F7: [462,14,851,45,771], // MATHEMATICAL BOLD SCRIPT SMALL N + 0x1D4F8: [462,14,848,35,780], // MATHEMATICAL BOLD SCRIPT SMALL O + 0x1D4F9: [462,205,885,25,770], // MATHEMATICAL BOLD SCRIPT SMALL P + 0x1D4FA: [462,205,913,35,833], // MATHEMATICAL BOLD SCRIPT SMALL Q + 0x1D4FB: [462,0,677,40,648], // MATHEMATICAL BOLD SCRIPT SMALL R + 0x1D4FC: [557,14,562,51,449], // MATHEMATICAL BOLD SCRIPT SMALL S + 0x1D4FD: [669,14,618,47,612], // MATHEMATICAL BOLD SCRIPT SMALL T + 0x1D4FE: [450,14,842,31,762], // MATHEMATICAL BOLD SCRIPT SMALL U + 0x1D4FF: [458,14,732,40,670], // MATHEMATICAL BOLD SCRIPT SMALL V + 0x1D500: [458,14,1012,40,950], // MATHEMATICAL BOLD SCRIPT SMALL W + 0x1D501: [462,14,820,63,740], // MATHEMATICAL BOLD SCRIPT SMALL X + 0x1D502: [450,224,784,40,711], // MATHEMATICAL BOLD SCRIPT SMALL Y + 0x1D503: [493,14,782,61,702] // MATHEMATICAL BOLD SCRIPT SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathBoldScript.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js new file mode 100644 index 0000000..227c300 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js @@ -0,0 +1,78 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D434: [667,0,717,35,685], // MATHEMATICAL ITALIC CAPITAL A + 0x1D435: [653,0,696,38,686], // MATHEMATICAL ITALIC CAPITAL B + 0x1D436: [659,12,671,50,711], // MATHEMATICAL ITALIC CAPITAL C + 0x1D437: [653,0,790,38,765], // MATHEMATICAL ITALIC CAPITAL D + 0x1D438: [653,0,714,38,734], // MATHEMATICAL ITALIC CAPITAL E + 0x1D439: [653,0,618,38,723], // MATHEMATICAL ITALIC CAPITAL F + 0x1D43A: [668,12,734,50,734], // MATHEMATICAL ITALIC CAPITAL G + 0x1D43B: [653,0,873,38,923], // MATHEMATICAL ITALIC CAPITAL H + 0x1D43C: [653,0,480,38,530], // MATHEMATICAL ITALIC CAPITAL I + 0x1D43D: [653,12,540,60,620], // MATHEMATICAL ITALIC CAPITAL J + 0x1D43E: [653,0,762,38,802], // MATHEMATICAL ITALIC CAPITAL K + 0x1D43F: [653,0,708,38,668], // MATHEMATICAL ITALIC CAPITAL L + 0x1D440: [653,0,1005,38,1055], // MATHEMATICAL ITALIC CAPITAL M + 0x1D441: [653,0,851,38,901], // MATHEMATICAL ITALIC CAPITAL N + 0x1D442: [669,11,732,50,712], // MATHEMATICAL ITALIC CAPITAL O + 0x1D443: [653,0,594,38,704], // MATHEMATICAL ITALIC CAPITAL P + 0x1D444: [667,152,781,50,731], // MATHEMATICAL ITALIC CAPITAL Q + 0x1D445: [653,0,740,38,725], // MATHEMATICAL ITALIC CAPITAL R + 0x1D446: [668,10,650,50,680], // MATHEMATICAL ITALIC CAPITAL S + 0x1D447: [653,0,550,25,670], // MATHEMATICAL ITALIC CAPITAL T + 0x1D448: [653,13,705,65,775], // MATHEMATICAL ITALIC CAPITAL U + 0x1D449: [653,16,575,60,760], // MATHEMATICAL ITALIC CAPITAL V + 0x1D44A: [653,16,916,60,1101], // MATHEMATICAL ITALIC CAPITAL W + 0x1D44B: [653,0,790,25,810], // MATHEMATICAL ITALIC CAPITAL X + 0x1D44C: [653,0,535,35,695], // MATHEMATICAL ITALIC CAPITAL Y + 0x1D44D: [653,0,772,60,802], // MATHEMATICAL ITALIC CAPITAL Z + 0x1D44E: [441,10,502,40,472], // MATHEMATICAL ITALIC SMALL A + 0x1D44F: [668,11,470,45,450], // MATHEMATICAL ITALIC SMALL B + 0x1D450: [441,11,415,40,400], // MATHEMATICAL ITALIC SMALL C + 0x1D451: [668,12,532,40,527], // MATHEMATICAL ITALIC SMALL D + 0x1D452: [441,11,445,40,410], // MATHEMATICAL ITALIC SMALL E + 0x1D453: [668,187,555,40,615], // MATHEMATICAL ITALIC SMALL F + 0x1D454: [441,187,492,20,492], // MATHEMATICAL ITALIC SMALL G + 0x1D456: [616,11,311,50,257], // MATHEMATICAL ITALIC SMALL I + 0x1D457: [616,187,389,-16,372], // MATHEMATICAL ITALIC SMALL J + 0x1D458: [668,11,542,45,527], // MATHEMATICAL ITALIC SMALL K + 0x1D459: [668,10,318,45,278], // MATHEMATICAL ITALIC SMALL L + 0x1D45A: [441,8,710,30,680], // MATHEMATICAL ITALIC SMALL M + 0x1D45B: [441,8,497,30,467], // MATHEMATICAL ITALIC SMALL N + 0x1D45C: [441,11,458,40,438], // MATHEMATICAL ITALIC SMALL O + 0x1D45D: [441,183,489,-30,474], // MATHEMATICAL ITALIC SMALL P + 0x1D45E: [441,183,458,40,463], // MATHEMATICAL ITALIC SMALL Q + 0x1D45F: [441,0,408,30,393], // MATHEMATICAL ITALIC SMALL R + 0x1D460: [441,11,440,50,390], // MATHEMATICAL ITALIC SMALL S + 0x1D461: [567,9,313,40,283], // MATHEMATICAL ITALIC SMALL T + 0x1D462: [441,9,474,30,444], // MATHEMATICAL ITALIC SMALL U + 0x1D463: [458,9,506,72,479], // MATHEMATICAL ITALIC SMALL V + 0x1D464: [460,9,775,72,748], // MATHEMATICAL ITALIC SMALL W + 0x1D465: [441,9,550,30,510], // MATHEMATICAL ITALIC SMALL X + 0x1D466: [440,183,496,30,496], // MATHEMATICAL ITALIC SMALL Y + 0x1D467: [450,14,499,42,467] // MATHEMATICAL ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js new file mode 100644 index 0000000..6f60fc6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js @@ -0,0 +1,207 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2201: [760,15,463,59,404], // COMPLEMENT + 0x2204: [775,122,560,71,487], // THERE DOES NOT EXIST + 0x2206: [674,0,731,63,665], // INCREMENT + 0x220A: [459,-45,486,64,422], // SMALL ELEMENT OF + 0x220C: [662,157,685,60,625], // stix-negated (vert) contains + 0x220D: [459,-45,486,64,422], // SMALL CONTAINS AS MEMBER + 0x220E: [640,0,545,60,485], // END OF PROOF + 0x2214: [741,41,685,48,636], // DOT PLUS + 0x221B: [973,259,928,112,963], // CUBE ROOT + 0x221C: [973,259,928,112,963], // FOURTH ROOT + 0x221F: [584,0,685,50,634], // RIGHT ANGLE + 0x2221: [547,72,685,22,642], // MEASURED ANGLE + 0x2222: [519,11,685,56,653], // SPHERICAL ANGLE + 0x2224: [690,189,404,23,381], // DOES NOT DIVIDE + 0x2226: [690,189,609,23,586], // NOT PARALLEL TO + 0x222C: [824,320,701,32,881], // DOUBLE INTEGRAL + 0x222D: [824,320,943,32,1123], // TRIPLE INTEGRAL + 0x222E: [824,320,499,32,639], // CONTOUR INTEGRAL + 0x222F: [824,320,741,32,881], // SURFACE INTEGRAL + 0x2230: [824,320,982,32,1122], // VOLUME INTEGRAL + 0x2231: [824,320,499,32,639], // CLOCKWISE INTEGRAL + 0x2232: [824,320,499,32,639], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [824,320,499,32,639], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2234: [521,16,620,38,582], // THEREFORE + 0x2235: [521,16,620,38,582], // BECAUSE + 0x2236: [521,13,511,192,319], // RATIO + 0x2237: [521,13,685,82,602], // PROPORTION + 0x2238: [511,-220,685,48,637], // DOT MINUS + 0x2239: [511,5,685,48,637], // EXCESS + 0x223A: [511,5,685,48,637], // GEOMETRIC PROPORTION + 0x223B: [521,13,685,48,637], // HOMOTHETIC + 0x223D: [362,-148,685,48,637], // REVERSED TILDE + 0x223E: [413,-90,685,48,637], // stix-most positive + 0x223F: [467,-39,685,49,637], // stix-reverse sine wave + 0x2241: [424,-88,685,48,637], // stix-not, vert, similar + 0x2242: [445,-55,685,48,637], // MINUS TILDE + 0x2244: [519,35,685,48,637], // stix-not (vert) similar or equal + 0x2246: [604,107,685,47,637], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO + 0x2247: [647,202,685,48,637], // stix-not (vert) similar over two-line equals + 0x2249: [549,49,685,48,637], // stix-not, vert, approximate + 0x224A: [552,45,685,48,637], // ALMOST EQUAL OR EQUAL TO + 0x224B: [532,26,685,48,638], // TRIPLE TILDE + 0x224C: [532,27,685,48,637], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) + 0x224E: [471,-35,685,48,637], // GEOMETRICALLY EQUIVALENT TO + 0x224F: [471,-120,685,48,637], // DIFFERENCE BETWEEN + 0x2251: [611,106,685,48,637], // GEOMETRICALLY EQUAL TO + 0x2252: [611,105,685,48,637], // APPROXIMATELY EQUAL TO OR THE IMAGE OF + 0x2253: [611,106,685,48,637], // IMAGE OF OR APPROXIMATELY EQUAL TO + 0x2254: [417,-89,824,48,776], // COLON EQUALS + 0x2255: [417,-89,824,48,776], // EQUALS COLON + 0x2256: [416,-90,685,48,637], // RING IN EQUAL TO + 0x2257: [752,-120,685,48,637], // RING EQUAL TO + 0x2258: [729,-120,685,48,637], // CORRESPONDS TO + 0x2259: [853,-120,685,48,637], // ESTIMATES + 0x225A: [853,-120,685,48,637], // EQUIANGULAR TO + 0x225B: [756,-120,685,48,637], // STAR EQUALS + 0x225C: [853,-120,685,48,637], // DELTA EQUAL TO + 0x225D: [823,-120,685,7,678], // EQUAL TO BY DEFINITION + 0x225E: [703,-120,685,48,637], // MEASURED BY + 0x225F: [863,-120,685,48,637], // QUESTIONED EQUAL TO + 0x2262: [662,156,685,48,637], // stix-not (vert) three-line equals + 0x2263: [544,38,685,48,637], // STRICTLY EQUIVALENT TO + 0x2266: [718,211,685,57,622], // LESS-THAN OVER EQUAL TO + 0x2267: [718,211,685,57,622], // GREATER-THAN OVER EQUAL TO + 0x2268: [746,260,685,56,621], // stix-less, vert, not double equals + 0x2269: [746,260,685,56,621], // stix-gt, vert, not double equals + 0x226C: [730,224,466,85,381], // BETWEEN + 0x226D: [572,66,685,48,637], // stix-not (vert) asymptotically equal to + 0x226E: [662,156,685,56,621], // stix-not, vert, less-than + 0x226F: [662,156,685,56,621], // stix-not, vert, greater-than + 0x2270: [730,229,685,56,621], // stix-not, vert, less-than-or-equal + 0x2271: [730,229,685,56,622], // stix-not, vert, greater-than-or-equal + 0x2272: [664,164,685,48,637], // stix-less-than or (contour) similar + 0x2273: [664,164,685,48,637], // stix-greater-than or (contour) similar + 0x2274: [731,228,685,48,637], // stix-not, vert, less, similar + 0x2275: [730,229,685,48,637], // stix-not, vert, greater, similar + 0x2276: [705,204,685,56,621], // LESS-THAN OR GREATER-THAN + 0x2277: [705,204,685,56,621], // GREATER-THAN OR LESS-THAN + 0x2278: [750,250,685,48,637], // stix-not, vert, less, greater + 0x2279: [750,250,685,48,637], // stix-not, vert, greater, less + 0x227E: [664,164,685,48,637], // PRECEDES OR EQUIVALENT TO + 0x227F: [664,164,685,48,637], // SUCCEEDS OR EQUIVALENT TO + 0x2280: [662,156,685,64,621], // DOES NOT PRECEDE + 0x2281: [662,156,685,64,621], // stix-not (vert) succeeds + 0x2284: [662,156,685,65,623], // stix-not subset [vertical negation] + 0x2285: [662,156,685,65,623], // stix-not superset [vertical negation] + 0x2288: [730,229,685,64,621], // stix-/nsubseteq N: not (vert) subset, equals + 0x2289: [730,229,685,64,621], // stix-/nsupseteq N: not (vert) superset, equals + 0x228A: [627,216,685,64,621], // stix-subset, not equals, variant + 0x228B: [627,216,685,64,621], // stix-superset, not equals, variant + 0x228C: [536,31,620,48,572], // MULTISET + 0x228D: [536,31,620,48,572], // MULTISET MULTIPLICATION + 0x228F: [531,25,685,64,621], // SQUARE IMAGE OF + 0x2290: [531,25,685,64,621], // SQUARE ORIGINAL OF + 0x229A: [623,119,842,50,792], // CIRCLED RING OPERATOR + 0x229B: [623,119,842,50,792], // CIRCLED ASTERISK OPERATOR + 0x229C: [623,119,842,50,792], // stix-two horizontal bars in circle + 0x229D: [623,119,842,50,792], // CIRCLED DASH + 0x229E: [662,158,910,45,865], // SQUARED PLUS + 0x229F: [662,158,910,45,865], // SQUARED MINUS + 0x22A0: [662,158,910,45,865], // SQUARED TIMES + 0x22A1: [662,157,910,45,865], // SQUARED DOT OPERATOR + 0x22A6: [662,0,497,64,433], // ASSERTION + 0x22A7: [662,0,498,64,434], // MODELS + 0x22A9: [662,0,860,57,814], // FORCES + 0x22AA: [662,0,860,45,815], // TRIPLE VERTICAL BAR RIGHT TURNSTILE + 0x22AB: [662,0,860,57,814], // DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE + 0x22AC: [662,0,786,9,723], // DOES NOT PROVE + 0x22AD: [662,0,786,9,723], // NOT TRUE + 0x22AE: [662,0,968,9,922], // DOES NOT FORCE + 0x22AF: [662,0,968,9,922], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE + 0x22B0: [551,45,685,64,621], // PRECEDES UNDER RELATION + 0x22B1: [551,45,685,64,621], // SUCCEEDS UNDER RELATION + 0x22B2: [531,25,685,24,631], // NORMAL SUBGROUP OF + 0x22B3: [531,25,685,54,661], // CONTAINS AS NORMAL SUBGROUP + 0x22B4: [607,103,685,24,631], // NORMAL SUBGROUP OF OR EQUAL TO + 0x22B5: [607,103,685,54,661], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO + 0x22B6: [403,-103,1145,50,1095], // ORIGINAL OF + 0x22B7: [403,-103,1145,50,1095], // IMAGE OF + 0x22B8: [403,-103,849,50,799], // MULTIMAP + 0x22B9: [547,41,685,48,636], // HERMITIAN CONJUGATE MATRIX + 0x22BA: [450,212,480,74,406], // INTERCALATE + 0x22BB: [536,139,620,32,590], // XOR + 0x22BC: [646,29,620,32,590], // NAND + 0x22BD: [646,29,620,32,590], // NOR + 0x22BE: [584,0,685,50,634], // RIGHT ANGLE WITH ARC + 0x22BF: [662,158,911,45,865], // RIGHT TRIANGLE + 0x22C7: [545,38,685,51,634], // DIVISION TIMES + 0x22C9: [582,80,810,93,716], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CA: [582,80,810,93,716], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CB: [582,80,810,74,736], // LEFT SEMIDIRECT PRODUCT + 0x22CC: [582,80,810,74,736], // RIGHT SEMIDIRECT PRODUCT + 0x22CD: [445,-55,685,48,637], // REVERSED TILDE EQUALS + 0x22CE: [532,25,580,31,549], // CURLY LOGICAL OR + 0x22CF: [532,25,580,31,549], // CURLY LOGICAL AND + 0x22D0: [531,25,685,64,621], // DOUBLE SUBSET + 0x22D1: [531,25,685,64,621], // DOUBLE SUPERSET + 0x22D2: [536,31,620,48,572], // DOUBLE INTERSECTION + 0x22D3: [536,31,620,48,572], // DOUBLE UNION + 0x22D4: [631,31,620,48,572], // PITCHFORK + 0x22D5: [690,189,685,48,637], // EQUAL AND PARALLEL TO + 0x22D6: [534,24,685,56,621], // LESS-THAN WITH DOT + 0x22D7: [534,24,685,56,621], // GREATER-THAN WITH DOT + 0x22D8: [534,24,1274,45,1229], // VERY MUCH LESS-THAN + 0x22D9: [534,24,1274,45,1229], // VERY MUCH GREATER-THAN + 0x22DA: [830,324,685,56,621], // stix-less, equal, slanted, greater + 0x22DB: [830,324,685,56,621], // stix-greater, equal, slanted, less + 0x22DC: [607,103,685,64,621], // EQUAL TO OR LESS-THAN + 0x22DD: [607,103,685,64,621], // EQUAL TO OR GREATER-THAN + 0x22DE: [627,121,685,64,621], // EQUAL TO OR PRECEDES + 0x22DF: [627,121,685,64,621], // EQUAL TO OR SUCCEEDS + 0x22E0: [730,229,685,64,621], // stix-not (vert) precedes or contour equals + 0x22E1: [730,229,685,64,621], // stix-not (vert) succeeds or contour equals + 0x22E2: [730,229,685,65,622], // NOT SQUARE IMAGE OF OR EQUAL TO + 0x22E3: [730,229,685,65,622], // NOT SQUARE ORIGINAL OF OR EQUAL TO + 0x22E4: [627,216,685,64,621], // SQUARE IMAGE OF OR NOT EQUAL TO + 0x22E5: [627,216,685,64,621], // SQUARE ORIGINAL OF OR NOT EQUAL TO + 0x22E6: [669,279,685,48,637], // LESS-THAN BUT NOT EQUIVALENT TO + 0x22E7: [669,279,685,48,637], // GREATER-THAN BUT NOT EQUIVALENT TO + 0x22E8: [670,279,685,48,637], // PRECEDES BUT NOT EQUIVALENT TO + 0x22E9: [670,279,685,48,637], // SUCCEEDS BUT NOT EQUIVALENT TO + 0x22EA: [662,156,635,24,581], // NOT NORMAL SUBGROUP OF + 0x22EB: [662,156,635,54,611], // DOES NOT CONTAIN AS NORMAL SUBGROUP + 0x22EC: [730,229,635,24,581], // stix-not, vert, left triangle, equals + 0x22ED: [730,229,635,54,611], // stix-not, vert, right triangle, equals + 0x22F0: [520,18,926,194,732], // UP RIGHT DIAGONAL ELLIPSIS + 0x22F2: [531,27,823,55,763], // ELEMENT OF WITH LONG HORIZONTAL STROKE + 0x22F3: [531,27,685,60,625], // ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE + 0x22F4: [459,-45,486,62,420], // SMALL ELEMENT OF WITH VERTICAL BAR AT END OF HORIZONTAL STROKE + 0x22F5: [716,27,685,60,625], // ELEMENT OF WITH DOT ABOVE + 0x22F6: [685,27,685,60,625], // ELEMENT OF WITH OVERBAR + 0x22F7: [613,-45,486,62,420], // SMALL ELEMENT OF WITH OVERBAR + 0x22F8: [532,180,685,60,625], // ELEMENT OF WITH UNDERBAR + 0x22F9: [531,27,685,61,625], // ELEMENT OF WITH TWO HORIZONTAL STROKES + 0x22FA: [531,27,823,55,763], // CONTAINS WITH LONG HORIZONTAL STROKE + 0x22FB: [531,27,685,59,624], // CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE + 0x22FC: [459,-45,486,62,420], // SMALL CONTAINS WITH VERTICAL BAR AT END OF HORIZONTAL STROKE + 0x22FD: [685,27,685,61,626], // CONTAINS WITH OVERBAR + 0x22FE: [613,-45,486,67,425], // SMALL CONTAINS WITH OVERBAR + 0x22FF: [662,0,560,73,487] // Z NOTATION BAG MEMBERSHIP + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js new file mode 100644 index 0000000..bd85faf --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js @@ -0,0 +1,89 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSS.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D5A0: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF CAPITAL A + 0x1D5A1: [662,0,604,74,547], // MATHEMATICAL SANS-SERIF CAPITAL B + 0x1D5A2: [676,14,671,27,637], // MATHEMATICAL SANS-SERIF CAPITAL C + 0x1D5A3: [662,0,692,74,656], // MATHEMATICAL SANS-SERIF CAPITAL D + 0x1D5A4: [662,0,583,74,540], // MATHEMATICAL SANS-SERIF CAPITAL E + 0x1D5A5: [662,0,535,74,523], // MATHEMATICAL SANS-SERIF CAPITAL F + 0x1D5A6: [676,14,695,27,627], // MATHEMATICAL SANS-SERIF CAPITAL G + 0x1D5A7: [662,0,658,74,584], // MATHEMATICAL SANS-SERIF CAPITAL H + 0x1D5A8: [662,0,401,45,356], // MATHEMATICAL SANS-SERIF CAPITAL I + 0x1D5A9: [662,14,398,12,305], // MATHEMATICAL SANS-SERIF CAPITAL J + 0x1D5AA: [662,0,634,74,630], // MATHEMATICAL SANS-SERIF CAPITAL K + 0x1D5AB: [662,0,559,74,546], // MATHEMATICAL SANS-SERIF CAPITAL L + 0x1D5AC: [662,0,843,75,768], // MATHEMATICAL SANS-SERIF CAPITAL M + 0x1D5AD: [662,14,675,74,601], // MATHEMATICAL SANS-SERIF CAPITAL N + 0x1D5AE: [676,14,714,30,684], // MATHEMATICAL SANS-SERIF CAPITAL O + 0x1D5AF: [662,0,525,74,512], // MATHEMATICAL SANS-SERIF CAPITAL P + 0x1D5B0: [676,175,716,30,691], // MATHEMATICAL SANS-SERIF CAPITAL Q + 0x1D5B1: [662,0,589,74,581], // MATHEMATICAL SANS-SERIF CAPITAL R + 0x1D5B2: [676,14,541,32,481], // MATHEMATICAL SANS-SERIF CAPITAL S + 0x1D5B3: [662,0,608,15,593], // MATHEMATICAL SANS-SERIF CAPITAL T + 0x1D5B4: [662,14,661,69,592], // MATHEMATICAL SANS-SERIF CAPITAL U + 0x1D5B5: [662,11,654,31,623], // MATHEMATICAL SANS-SERIF CAPITAL V + 0x1D5B6: [662,11,921,29,892], // MATHEMATICAL SANS-SERIF CAPITAL W + 0x1D5B7: [662,0,700,31,669], // MATHEMATICAL SANS-SERIF CAPITAL X + 0x1D5B8: [662,0,630,21,609], // MATHEMATICAL SANS-SERIF CAPITAL Y + 0x1D5B9: [662,0,637,28,603], // MATHEMATICAL SANS-SERIF CAPITAL Z + 0x1D5BA: [463,10,448,35,391], // MATHEMATICAL SANS-SERIF SMALL A + 0x1D5BB: [684,10,496,63,466], // MATHEMATICAL SANS-SERIF SMALL B + 0x1D5BC: [463,10,456,23,432], // MATHEMATICAL SANS-SERIF SMALL C + 0x1D5BD: [684,11,494,28,437], // MATHEMATICAL SANS-SERIF SMALL D + 0x1D5BE: [463,10,444,23,428], // MATHEMATICAL SANS-SERIF SMALL E + 0x1D5BF: [683,0,336,20,369], // MATHEMATICAL SANS-SERIF SMALL F + 0x1D5C0: [463,216,496,21,467], // MATHEMATICAL SANS-SERIF SMALL G + 0x1D5C1: [684,0,487,63,424], // MATHEMATICAL SANS-SERIF SMALL H + 0x1D5C2: [679,0,220,64,156], // MATHEMATICAL SANS-SERIF SMALL I + 0x1D5C3: [679,216,254,-74,185], // MATHEMATICAL SANS-SERIF SMALL J + 0x1D5C4: [684,0,453,63,452], // MATHEMATICAL SANS-SERIF SMALL K + 0x1D5C5: [684,0,205,61,144], // MATHEMATICAL SANS-SERIF SMALL L + 0x1D5C6: [464,0,756,65,691], // MATHEMATICAL SANS-SERIF SMALL M + 0x1D5C7: [464,0,487,63,424], // MATHEMATICAL SANS-SERIF SMALL N + 0x1D5C8: [463,10,499,28,471], // MATHEMATICAL SANS-SERIF SMALL O + 0x1D5C9: [464,216,498,67,470], // MATHEMATICAL SANS-SERIF SMALL P + 0x1D5CA: [464,216,498,28,435], // MATHEMATICAL SANS-SERIF SMALL Q + 0x1D5CB: [464,0,336,63,328], // MATHEMATICAL SANS-SERIF SMALL R + 0x1D5CC: [463,10,389,49,350], // MATHEMATICAL SANS-SERIF SMALL S + 0x1D5CD: [580,10,291,1,287], // MATHEMATICAL SANS-SERIF SMALL T + 0x1D5CE: [453,11,491,63,430], // MATHEMATICAL SANS-SERIF SMALL U + 0x1D5CF: [453,14,474,31,443], // MATHEMATICAL SANS-SERIF SMALL V + 0x1D5D0: [453,14,702,28,675], // MATHEMATICAL SANS-SERIF SMALL W + 0x1D5D1: [453,0,482,30,452], // MATHEMATICAL SANS-SERIF SMALL X + 0x1D5D2: [453,216,484,28,453], // MATHEMATICAL SANS-SERIF SMALL Y + 0x1D5D3: [453,0,447,25,417], // MATHEMATICAL SANS-SERIF SMALL Z + 0x1D7E2: [676,14,500,23,477], // MATHEMATICAL SANS-SERIF DIGIT ZERO + 0x1D7E3: [677,0,500,108,302], // MATHEMATICAL SANS-SERIF DIGIT ONE + 0x1D7E4: [676,0,500,35,469], // MATHEMATICAL SANS-SERIF DIGIT TWO + 0x1D7E5: [676,14,500,31,441], // MATHEMATICAL SANS-SERIF DIGIT THREE + 0x1D7E6: [676,0,500,11,489], // MATHEMATICAL SANS-SERIF DIGIT FOUR + 0x1D7E7: [676,14,500,36,458], // MATHEMATICAL SANS-SERIF DIGIT FIVE + 0x1D7E8: [684,14,500,32,470], // MATHEMATICAL SANS-SERIF DIGIT SIX + 0x1D7E9: [662,8,500,38,451], // MATHEMATICAL SANS-SERIF DIGIT SEVEN + 0x1D7EA: [676,14,500,49,447], // MATHEMATICAL SANS-SERIF DIGIT EIGHT + 0x1D7EB: [676,21,500,28,466] // MATHEMATICAL SANS-SERIF DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSS.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js new file mode 100644 index 0000000..f125b8d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js @@ -0,0 +1,90 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D5D4: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL A + 0x1D5D5: [676,0,636,80,594], // MATHEMATICAL SANS-SERIF BOLD CAPITAL B + 0x1D5D6: [691,19,723,49,688], // MATHEMATICAL SANS-SERIF BOLD CAPITAL C + 0x1D5D7: [676,0,709,80,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL D + 0x1D5D8: [676,0,635,80,597], // MATHEMATICAL SANS-SERIF BOLD CAPITAL E + 0x1D5D9: [676,0,582,80,570], // MATHEMATICAL SANS-SERIF BOLD CAPITAL F + 0x1D5DA: [691,19,746,37,671], // MATHEMATICAL SANS-SERIF BOLD CAPITAL G + 0x1D5DB: [676,0,715,80,635], // MATHEMATICAL SANS-SERIF BOLD CAPITAL H + 0x1D5DC: [676,0,440,65,375], // MATHEMATICAL SANS-SERIF BOLD CAPITAL I + 0x1D5DD: [676,96,481,15,406], // MATHEMATICAL SANS-SERIF BOLD CAPITAL J + 0x1D5DE: [676,0,712,80,707], // MATHEMATICAL SANS-SERIF BOLD CAPITAL K + 0x1D5DF: [676,0,603,80,587], // MATHEMATICAL SANS-SERIF BOLD CAPITAL L + 0x1D5E0: [676,0,913,80,833], // MATHEMATICAL SANS-SERIF BOLD CAPITAL M + 0x1D5E1: [676,18,724,80,644], // MATHEMATICAL SANS-SERIF BOLD CAPITAL N + 0x1D5E2: [692,18,778,35,743], // MATHEMATICAL SANS-SERIF BOLD CAPITAL O + 0x1D5E3: [676,0,581,80,569], // MATHEMATICAL SANS-SERIF BOLD CAPITAL P + 0x1D5E4: [691,176,779,35,754], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Q + 0x1D5E5: [676,0,670,80,657], // MATHEMATICAL SANS-SERIF BOLD CAPITAL R + 0x1D5E6: [691,19,554,35,511], // MATHEMATICAL SANS-SERIF BOLD CAPITAL S + 0x1D5E7: [676,0,641,14,627], // MATHEMATICAL SANS-SERIF BOLD CAPITAL T + 0x1D5E8: [676,19,699,75,624], // MATHEMATICAL SANS-SERIF BOLD CAPITAL U + 0x1D5E9: [676,18,690,25,665], // MATHEMATICAL SANS-SERIF BOLD CAPITAL V + 0x1D5EA: [676,15,997,30,967], // MATHEMATICAL SANS-SERIF BOLD CAPITAL W + 0x1D5EB: [676,0,740,40,700], // MATHEMATICAL SANS-SERIF BOLD CAPITAL X + 0x1D5EC: [676,0,694,20,674], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Y + 0x1D5ED: [676,0,653,25,623], // MATHEMATICAL SANS-SERIF BOLD CAPITAL Z + 0x1D5EE: [473,14,489,23,428], // MATHEMATICAL SANS-SERIF BOLD SMALL A + 0x1D5EF: [676,13,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL B + 0x1D5F0: [473,14,462,25,442], // MATHEMATICAL SANS-SERIF BOLD SMALL C + 0x1D5F1: [676,14,518,25,463], // MATHEMATICAL SANS-SERIF BOLD SMALL D + 0x1D5F2: [473,13,452,25,433], // MATHEMATICAL SANS-SERIF BOLD SMALL E + 0x1D5F3: [691,0,340,14,374], // MATHEMATICAL SANS-SERIF BOLD SMALL F + 0x1D5F4: [472,206,504,28,490], // MATHEMATICAL SANS-SERIF BOLD SMALL G + 0x1D5F5: [676,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL H + 0x1D5F6: [688,0,245,50,195], // MATHEMATICAL SANS-SERIF BOLD SMALL I + 0x1D5F7: [688,203,324,-57,269], // MATHEMATICAL SANS-SERIF BOLD SMALL J + 0x1D5F8: [676,0,519,55,506], // MATHEMATICAL SANS-SERIF BOLD SMALL K + 0x1D5F9: [676,0,235,55,180], // MATHEMATICAL SANS-SERIF BOLD SMALL L + 0x1D5FA: [473,0,776,55,721], // MATHEMATICAL SANS-SERIF BOLD SMALL M + 0x1D5FB: [473,0,510,55,455], // MATHEMATICAL SANS-SERIF BOLD SMALL N + 0x1D5FC: [473,14,501,25,476], // MATHEMATICAL SANS-SERIF BOLD SMALL O + 0x1D5FD: [473,205,512,55,487], // MATHEMATICAL SANS-SERIF BOLD SMALL P + 0x1D5FE: [473,205,512,25,457], // MATHEMATICAL SANS-SERIF BOLD SMALL Q + 0x1D5FF: [473,0,411,55,406], // MATHEMATICAL SANS-SERIF BOLD SMALL R + 0x1D600: [473,13,385,25,357], // MATHEMATICAL SANS-SERIF BOLD SMALL S + 0x1D601: [630,12,386,7,371], // MATHEMATICAL SANS-SERIF BOLD SMALL T + 0x1D602: [461,15,518,55,463], // MATHEMATICAL SANS-SERIF BOLD SMALL U + 0x1D603: [461,14,462,15,447], // MATHEMATICAL SANS-SERIF BOLD SMALL V + 0x1D604: [461,14,701,17,684], // MATHEMATICAL SANS-SERIF BOLD SMALL W + 0x1D605: [461,0,506,20,486], // MATHEMATICAL SANS-SERIF BOLD SMALL X + 0x1D606: [461,205,472,18,455], // MATHEMATICAL SANS-SERIF BOLD SMALL Y + 0x1D607: [461,0,441,21,417], // MATHEMATICAL SANS-SERIF BOLD SMALL Z + 0x1D7EC: [688,13,500,24,476], // MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO + 0x1D7ED: [688,0,500,82,334], // MATHEMATICAL SANS-SERIF BOLD DIGIT ONE + 0x1D7EE: [688,0,500,20,474], // MATHEMATICAL SANS-SERIF BOLD DIGIT TWO + 0x1D7EF: [688,13,500,18,479], // MATHEMATICAL SANS-SERIF BOLD DIGIT THREE + 0x1D7F0: [688,0,500,19,484], // MATHEMATICAL SANS-SERIF BOLD DIGIT FOUR + 0x1D7F1: [676,13,500,13,483], // MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE + 0x1D7F2: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT SIX + 0x1D7F3: [676,0,500,35,471], // MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN + 0x1D7F4: [688,13,500,28,472], // MATHEMATICAL SANS-SERIF BOLD DIGIT EIGHT + 0x1D7F5: [688,13,500,26,475], // MATHEMATICAL SANS-SERIF BOLD DIGIT NINE + 0x1D7F6: [681,11,525,55,467] // MATHEMATICAL MONOSPACE DIGIT ZERO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js new file mode 100644 index 0000000..24d46dc --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D608: [674,0,666,31,635], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL A + 0x1D609: [662,0,604,74,641], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL B + 0x1D60A: [676,14,671,96,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL C + 0x1D60B: [662,0,692,74,751], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL D + 0x1D60C: [662,0,583,74,678], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL E + 0x1D60D: [662,0,535,74,679], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL F + 0x1D60E: [676,14,695,97,755], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL G + 0x1D60F: [662,0,658,74,749], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL H + 0x1D610: [662,0,401,59,512], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL I + 0x1D611: [662,14,398,22,470], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL J + 0x1D612: [662,0,634,74,729], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL K + 0x1D613: [662,0,559,74,564], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL L + 0x1D614: [662,0,843,75,933], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL M + 0x1D615: [662,14,675,74,766], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL N + 0x1D616: [676,14,714,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL O + 0x1D617: [662,0,525,74,638], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL P + 0x1D618: [676,175,716,99,779], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Q + 0x1D619: [662,0,589,74,639], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL R + 0x1D61A: [676,14,541,62,597], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL S + 0x1D61B: [662,0,608,161,748], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL T + 0x1D61C: [662,14,661,117,757], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL U + 0x1D61D: [662,11,654,196,788], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL V + 0x1D61E: [662,11,921,194,1057], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL W + 0x1D61F: [662,0,700,31,806], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL X + 0x1D620: [662,0,630,186,774], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Y + 0x1D621: [662,0,637,28,763], // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Z + 0x1D622: [463,10,448,55,467], // MATHEMATICAL SANS-SERIF ITALIC SMALL A + 0x1D623: [684,10,496,74,535], // MATHEMATICAL SANS-SERIF ITALIC SMALL B + 0x1D624: [463,10,456,67,503], // MATHEMATICAL SANS-SERIF ITALIC SMALL C + 0x1D625: [684,11,494,72,600], // MATHEMATICAL SANS-SERIF ITALIC SMALL D + 0x1D626: [463,10,444,69,487], // MATHEMATICAL SANS-SERIF ITALIC SMALL E + 0x1D627: [683,0,336,101,526], // MATHEMATICAL SANS-SERIF ITALIC SMALL F + 0x1D628: [463,216,496,-7,575], // MATHEMATICAL SANS-SERIF ITALIC SMALL G + 0x1D629: [684,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL H + 0x1D62A: [679,0,220,69,325], // MATHEMATICAL SANS-SERIF ITALIC SMALL I + 0x1D62B: [679,216,254,-118,354], // MATHEMATICAL SANS-SERIF ITALIC SMALL J + 0x1D62C: [684,0,453,63,556], // MATHEMATICAL SANS-SERIF ITALIC SMALL K + 0x1D62D: [684,0,205,61,313], // MATHEMATICAL SANS-SERIF ITALIC SMALL L + 0x1D62E: [464,0,756,65,775], // MATHEMATICAL SANS-SERIF ITALIC SMALL M + 0x1D62F: [464,0,487,63,510], // MATHEMATICAL SANS-SERIF ITALIC SMALL N + 0x1D630: [463,10,499,76,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL O + 0x1D631: [464,216,498,14,538], // MATHEMATICAL SANS-SERIF ITALIC SMALL P + 0x1D632: [464,216,498,72,549], // MATHEMATICAL SANS-SERIF ITALIC SMALL Q + 0x1D633: [464,0,336,63,439], // MATHEMATICAL SANS-SERIF ITALIC SMALL R + 0x1D634: [463,10,389,61,432], // MATHEMATICAL SANS-SERIF ITALIC SMALL S + 0x1D635: [580,10,291,96,376], // MATHEMATICAL SANS-SERIF ITALIC SMALL T + 0x1D636: [453,11,491,89,536], // MATHEMATICAL SANS-SERIF ITALIC SMALL U + 0x1D637: [453,14,474,143,555], // MATHEMATICAL SANS-SERIF ITALIC SMALL V + 0x1D638: [453,14,702,140,787], // MATHEMATICAL SANS-SERIF ITALIC SMALL W + 0x1D639: [453,0,482,30,544], // MATHEMATICAL SANS-SERIF ITALIC SMALL X + 0x1D63A: [453,216,484,-19,565], // MATHEMATICAL SANS-SERIF ITALIC SMALL Y + 0x1D63B: [453,0,447,25,517] // MATHEMATICAL SANS-SERIF ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSItalic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js new file mode 100644 index 0000000..8dfcf06 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathSSItalicBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D63C: [690,0,690,25,665], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL A + 0x1D63D: [676,0,636,80,691], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL B + 0x1D63E: [691,19,723,119,797], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL C + 0x1D63F: [676,0,709,80,772], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL D + 0x1D640: [676,0,635,80,728], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL E + 0x1D641: [676,0,582,80,725], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL F + 0x1D642: [691,19,746,107,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL G + 0x1D643: [676,0,715,80,803], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL H + 0x1D644: [676,0,440,79,534], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL I + 0x1D645: [676,96,481,15,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL J + 0x1D646: [676,0,712,80,816], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL K + 0x1D647: [676,0,603,80,612], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL L + 0x1D648: [676,0,913,80,1001], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL M + 0x1D649: [676,18,724,80,812], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL N + 0x1D64A: [692,18,778,106,840], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL O + 0x1D64B: [676,0,581,80,695], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL P + 0x1D64C: [691,176,779,105,839], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Q + 0x1D64D: [676,0,670,80,698], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL R + 0x1D64E: [691,19,554,66,637], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL S + 0x1D64F: [676,0,641,157,785], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL T + 0x1D650: [676,19,699,123,792], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL U + 0x1D651: [676,18,690,193,833], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL V + 0x1D652: [676,15,997,198,1135], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL W + 0x1D653: [676,0,740,40,853], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL X + 0x1D654: [676,0,694,188,842], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Y + 0x1D655: [676,0,653,25,769], // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Z + 0x1D656: [473,14,489,48,507], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL A + 0x1D657: [676,13,512,51,558], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL B + 0x1D658: [473,14,462,71,524], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL C + 0x1D659: [676,14,518,69,625], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D + 0x1D65A: [473,13,452,71,492], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL E + 0x1D65B: [692,0,340,72,533], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL F + 0x1D65C: [472,206,504,2,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL G + 0x1D65D: [676,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL H + 0x1D65E: [688,0,245,59,366], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL I + 0x1D65F: [688,202,324,-90,440], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL J + 0x1D660: [676,0,519,55,599], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL K + 0x1D661: [676,0,235,55,348], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL L + 0x1D662: [473,0,776,55,809], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL M + 0x1D663: [473,0,510,55,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL N + 0x1D664: [473,14,501,72,542], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL O + 0x1D665: [473,205,512,3,559], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL P + 0x1D666: [473,205,512,69,574], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Q + 0x1D667: [473,0,411,55,519], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL R + 0x1D668: [473,13,385,37,442], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL S + 0x1D669: [631,12,386,98,447], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL T + 0x1D66A: [462,15,518,81,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL U + 0x1D66B: [462,14,462,129,561], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL V + 0x1D66C: [462,14,701,131,798], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL W + 0x1D66D: [462,0,506,20,582], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL X + 0x1D66E: [462,204,472,-27,569], // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Y + 0x1D66F: [462,0,441,21,530] // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathSSItalicBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js new file mode 100644 index 0000000..16d3c3b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js @@ -0,0 +1,68 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathScript.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D49C: [674,15,855,31,846], // MATHEMATICAL SCRIPT CAPITAL A + 0x1D49E: [687,15,797,37,781], // MATHEMATICAL SCRIPT CAPITAL C + 0x1D49F: [687,15,885,36,818], // MATHEMATICAL SCRIPT CAPITAL D + 0x1D4A2: [687,15,773,83,740], // MATHEMATICAL SCRIPT CAPITAL G + 0x1D4A5: [674,177,802,9,792], // MATHEMATICAL SCRIPT CAPITAL J + 0x1D4A6: [687,15,1009,40,1004], // MATHEMATICAL SCRIPT CAPITAL K + 0x1D4A9: [687,15,970,38,956], // MATHEMATICAL SCRIPT CAPITAL N + 0x1D4AA: [680,15,692,82,663], // MATHEMATICAL SCRIPT CAPITAL O + 0x1D4AB: [687,15,910,38,886], // MATHEMATICAL SCRIPT CAPITAL P + 0x1D4AC: [680,38,692,82,663], // MATHEMATICAL SCRIPT CAPITAL Q + 0x1D4AE: [680,15,743,67,701], // MATHEMATICAL SCRIPT CAPITAL S + 0x1D4AF: [687,15,912,43,907], // MATHEMATICAL SCRIPT CAPITAL T + 0x1D4B0: [687,15,842,36,805], // MATHEMATICAL SCRIPT CAPITAL U + 0x1D4B1: [687,15,932,35,922], // MATHEMATICAL SCRIPT CAPITAL V + 0x1D4B2: [687,15,1078,35,1070], // MATHEMATICAL SCRIPT CAPITAL W + 0x1D4B3: [687,15,891,36,873], // MATHEMATICAL SCRIPT CAPITAL X + 0x1D4B4: [687,226,926,91,916], // MATHEMATICAL SCRIPT CAPITAL Y + 0x1D4B5: [687,15,932,59,912], // MATHEMATICAL SCRIPT CAPITAL Z + 0x1D4B6: [441,11,819,30,758], // MATHEMATICAL SCRIPT SMALL A + 0x1D4B7: [687,12,580,47,559], // MATHEMATICAL SCRIPT SMALL B + 0x1D4B8: [441,11,662,30,589], // MATHEMATICAL SCRIPT SMALL C + 0x1D4B9: [687,11,845,30,827], // MATHEMATICAL SCRIPT SMALL D + 0x1D4BB: [687,209,685,27,673], // MATHEMATICAL SCRIPT SMALL F + 0x1D4BD: [687,11,753,38,690], // MATHEMATICAL SCRIPT SMALL H + 0x1D4BE: [653,11,496,83,484], // MATHEMATICAL SCRIPT SMALL I + 0x1D4BF: [653,219,730,9,718], // MATHEMATICAL SCRIPT SMALL J + 0x1D4C0: [687,11,726,40,666], // MATHEMATICAL SCRIPT SMALL K + 0x1D4C1: [687,11,579,48,571], // MATHEMATICAL SCRIPT SMALL L + 0x1D4C2: [441,11,1038,49,978], // MATHEMATICAL SCRIPT SMALL M + 0x1D4C3: [441,11,761,49,701], // MATHEMATICAL SCRIPT SMALL N + 0x1D4C5: [441,209,773,23,694], // MATHEMATICAL SCRIPT SMALL P + 0x1D4C6: [441,209,780,30,743], // MATHEMATICAL SCRIPT SMALL Q + 0x1D4C7: [444,0,580,48,572], // MATHEMATICAL SCRIPT SMALL R + 0x1D4C8: [531,11,515,62,412], // MATHEMATICAL SCRIPT SMALL S + 0x1D4C9: [658,11,551,30,532], // MATHEMATICAL SCRIPT SMALL T + 0x1D4CA: [424,11,753,30,693], // MATHEMATICAL SCRIPT SMALL U + 0x1D4CB: [441,11,618,30,582], // MATHEMATICAL SCRIPT SMALL V + 0x1D4CC: [441,11,888,30,852], // MATHEMATICAL SCRIPT SMALL W + 0x1D4CD: [441,11,752,65,675], // MATHEMATICAL SCRIPT SMALL X + 0x1D4CE: [424,219,658,30,617], // MATHEMATICAL SCRIPT SMALL Y + 0x1D4CF: [478,11,691,52,617] // MATHEMATICAL SCRIPT SMALL Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathScript.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js new file mode 100644 index 0000000..84ac327 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js @@ -0,0 +1,88 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MathTT.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D670: [673,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL A + 0x1D671: [662,0,525,29,480], // MATHEMATICAL MONOSPACE CAPITAL B + 0x1D672: [672,11,525,40,482], // MATHEMATICAL MONOSPACE CAPITAL C + 0x1D673: [662,0,525,25,483], // MATHEMATICAL MONOSPACE CAPITAL D + 0x1D674: [662,0,525,31,500], // MATHEMATICAL MONOSPACE CAPITAL E + 0x1D675: [662,0,525,34,488], // MATHEMATICAL MONOSPACE CAPITAL F + 0x1D676: [672,11,525,37,495], // MATHEMATICAL MONOSPACE CAPITAL G + 0x1D677: [662,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL H + 0x1D678: [662,0,525,84,438], // MATHEMATICAL MONOSPACE CAPITAL I + 0x1D679: [662,11,525,85,476], // MATHEMATICAL MONOSPACE CAPITAL J + 0x1D67A: [662,0,525,30,494], // MATHEMATICAL MONOSPACE CAPITAL K + 0x1D67B: [662,0,525,37,487], // MATHEMATICAL MONOSPACE CAPITAL L + 0x1D67C: [662,0,525,21,501], // MATHEMATICAL MONOSPACE CAPITAL M + 0x1D67D: [662,0,525,31,491], // MATHEMATICAL MONOSPACE CAPITAL N + 0x1D67E: [672,11,525,56,466], // MATHEMATICAL MONOSPACE CAPITAL O + 0x1D67F: [662,0,525,31,479], // MATHEMATICAL MONOSPACE CAPITAL P + 0x1D680: [672,139,525,56,466], // MATHEMATICAL MONOSPACE CAPITAL Q + 0x1D681: [662,11,525,26,520], // MATHEMATICAL MONOSPACE CAPITAL R + 0x1D682: [672,11,525,52,470], // MATHEMATICAL MONOSPACE CAPITAL S + 0x1D683: [662,0,525,26,496], // MATHEMATICAL MONOSPACE CAPITAL T + 0x1D684: [662,11,525,9,514], // MATHEMATICAL MONOSPACE CAPITAL U + 0x1D685: [662,8,525,17,506], // MATHEMATICAL MONOSPACE CAPITAL V + 0x1D686: [662,8,525,11,512], // MATHEMATICAL MONOSPACE CAPITAL W + 0x1D687: [662,0,525,24,497], // MATHEMATICAL MONOSPACE CAPITAL X + 0x1D688: [662,0,525,15,507], // MATHEMATICAL MONOSPACE CAPITAL Y + 0x1D689: [662,0,525,47,479], // MATHEMATICAL MONOSPACE CAPITAL Z + 0x1D68A: [459,6,525,58,516], // MATHEMATICAL MONOSPACE SMALL A + 0x1D68B: [609,6,525,17,481], // MATHEMATICAL MONOSPACE SMALL B + 0x1D68C: [459,6,525,78,464], // MATHEMATICAL MONOSPACE SMALL C + 0x1D68D: [609,6,525,41,505], // MATHEMATICAL MONOSPACE SMALL D + 0x1D68E: [459,6,525,60,462], // MATHEMATICAL MONOSPACE SMALL E + 0x1D68F: [615,0,525,42,437], // MATHEMATICAL MONOSPACE SMALL F + 0x1D690: [461,228,525,29,508], // MATHEMATICAL MONOSPACE SMALL G + 0x1D691: [609,0,525,17,505], // MATHEMATICAL MONOSPACE SMALL H + 0x1D692: [610,0,525,84,448], // MATHEMATICAL MONOSPACE SMALL I + 0x1D693: [610,227,525,47,362], // MATHEMATICAL MONOSPACE SMALL J + 0x1D694: [609,0,525,24,505], // MATHEMATICAL MONOSPACE SMALL K + 0x1D695: [609,0,525,63,459], // MATHEMATICAL MONOSPACE SMALL L + 0x1D696: [456,0,525,2,520], // MATHEMATICAL MONOSPACE SMALL M + 0x1D697: [456,0,525,17,505], // MATHEMATICAL MONOSPACE SMALL N + 0x1D698: [459,6,525,62,460], // MATHEMATICAL MONOSPACE SMALL O + 0x1D699: [456,221,525,17,481], // MATHEMATICAL MONOSPACE SMALL P + 0x1D69A: [456,221,525,45,530], // MATHEMATICAL MONOSPACE SMALL Q + 0x1D69B: [456,0,525,37,485], // MATHEMATICAL MONOSPACE SMALL R + 0x1D69C: [459,6,525,72,457], // MATHEMATICAL MONOSPACE SMALL S + 0x1D69D: [580,6,525,25,448], // MATHEMATICAL MONOSPACE SMALL T + 0x1D69E: [450,6,525,17,505], // MATHEMATICAL MONOSPACE SMALL U + 0x1D69F: [450,4,525,22,500], // MATHEMATICAL MONOSPACE SMALL V + 0x1D6A0: [450,4,525,15,508], // MATHEMATICAL MONOSPACE SMALL W + 0x1D6A1: [450,0,525,23,498], // MATHEMATICAL MONOSPACE SMALL X + 0x1D6A2: [450,227,525,24,501], // MATHEMATICAL MONOSPACE SMALL Y + 0x1D6A3: [450,0,525,32,473], // MATHEMATICAL MONOSPACE SMALL Z + 0x1D7F7: [681,0,525,110,435], // MATHEMATICAL MONOSPACE DIGIT ONE + 0x1D7F8: [681,0,525,52,470], // MATHEMATICAL MONOSPACE DIGIT TWO + 0x1D7F9: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT THREE + 0x1D7FA: [682,0,525,29,493], // MATHEMATICAL MONOSPACE DIGIT FOUR + 0x1D7FB: [670,11,525,52,470], // MATHEMATICAL MONOSPACE DIGIT FIVE + 0x1D7FC: [681,11,525,58,464], // MATHEMATICAL MONOSPACE DIGIT SIX + 0x1D7FD: [686,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SEVEN + 0x1D7FE: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT EIGHT + 0x1D7FF: [681,11,525,58,464] // MATHEMATICAL MONOSPACE DIGIT NINE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MathTT.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js new file mode 100644 index 0000000..0ce360e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js @@ -0,0 +1,66 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x27C0: [584,0,685,50,634], // THREE DIMENSIONAL ANGLE + 0x27C1: [811,127,1145,35,1110], // WHITE TRIANGLE CONTAINING SMALL WHITE TRIANGLE + 0x27C2: [662,0,693,52,641], // PERPENDICULAR + 0x27C3: [529,27,685,60,625], // OPEN SUBSET + 0x27C4: [529,27,685,61,626], // OPEN SUPERSET + 0x27C5: [702,198,455,55,400], // LEFT S-SHAPED BAG DELIMITER + 0x27C6: [702,198,455,55,400], // RIGHT S-SHAPED BAG DELIMITER + 0x27C7: [536,29,620,31,589], // OR WITH DOT INSIDE + 0x27C8: [533,25,966,60,906], // REVERSE SOLIDUS PRECEDING SUBSET + 0x27C9: [533,25,966,60,906], // SUBSET PRECEDING SOLIDUS + 0x27CC: [806,213,325,20,325], // LONG DIVISION + 0x27D0: [744,242,1064,39,1025], // WHITE DIAMOND WITH CENTRED DOT + 0x27D1: [536,29,620,31,589], // AND WITH DOT + 0x27D2: [536,31,620,48,572], // ELEMENT OF OPENING UPWARDS + 0x27D3: [584,0,685,50,634], // LOWER RIGHT CORNER WITH DOT + 0x27D4: [584,0,685,50,634], // UPPER LEFT CORNER WITH DOT + 0x27D5: [582,80,1019,40,965], // LEFT OUTER JOIN + 0x27D6: [582,80,1019,54,979], // RIGHT OUTER JOIN + 0x27D7: [582,80,1228,40,1188], // FULL OUTER JOIN + 0x27D8: [718,213,866,50,816], // LARGE UP TACK + 0x27D9: [718,213,866,50,816], // LARGE DOWN TACK + 0x27DA: [662,0,1376,64,1312], // LEFT AND RIGHT DOUBLE TURNSTILE + 0x27DB: [662,0,1376,64,1312], // LEFT AND RIGHT TACK + 0x27DC: [403,-103,849,50,799], // LEFT MULTIMAP + 0x27DD: [450,-57,1574,55,1519], // LONG RIGHT TACK + 0x27DE: [450,-57,1574,55,1519], // LONG LEFT TACK + 0x27DF: [693,187,502,101,401], // UP TACK WITH CIRCLE ABOVE + 0x27E0: [795,289,790,45,745], // LOZENGE DIVIDED BY HORIZONTAL RULE + 0x27E1: [589,87,764,45,719], // WHITE CONCAVE-SIDED DIAMOND + 0x27E2: [589,87,803,45,758], // WHITE CONCAVE-SIDED DIAMOND WITH LEFTWARDS TICK + 0x27E3: [589,87,803,45,758], // WHITE CONCAVE-SIDED DIAMOND WITH RIGHTWARDS TICK + 0x27E4: [662,158,1182,45,1137], // WHITE SQUARE WITH LEFTWARDS TICK + 0x27E5: [662,158,1182,45,1137], // WHITE SQUARE WITH RIGHTWARDS TICK + 0x27E6: [717,213,504,188,482], // MATHEMATICAL LEFT WHITE SQUARE BRACKET + 0x27E7: [717,213,504,22,316], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET + 0x27EA: [719,213,610,73,545], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET + 0x27EB: [719,213,610,65,537], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET + 0x27EC: [719,213,488,178,466], // MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET + 0x27ED: [719,213,488,22,310] // MATHEMATICAL RIGHT WHITE TORTOISE SHELL BRACKET + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscMathSymbolsA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js new file mode 100644 index 0000000..af7980b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js @@ -0,0 +1,154 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscMathSymbolsB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2980: [695,189,594,85,509], // TRIPLE VERTICAL BAR DELIMITER + 0x2981: [487,-14,565,46,519], // Z NOTATION SPOT + 0x2982: [566,59,503,110,393], // Z NOTATION TYPE COLON + 0x2983: [719,213,596,108,477], // LEFT WHITE CURLY BRACKET + 0x2984: [719,213,596,119,488], // RIGHT WHITE CURLY BRACKET + 0x2985: [719,213,463,70,393], // LEFT WHITE PARENTHESIS + 0x2986: [719,213,463,70,393], // RIGHT WHITE PARENTHESIS + 0x2987: [719,214,511,115,367], // Z NOTATION LEFT IMAGE BRACKET + 0x2988: [719,214,511,144,396], // Z NOTATION RIGHT IMAGE BRACKET + 0x2989: [719,213,511,100,352], // Z NOTATION LEFT BINDING BRACKET + 0x298A: [719,213,511,159,411], // Z NOTATION RIGHT BINDING BRACKET + 0x298B: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH UNDERBAR + 0x298C: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH UNDERBAR + 0x298D: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH TICK IN TOP CORNER + 0x298E: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER + 0x298F: [719,213,469,188,447], // LEFT SQUARE BRACKET WITH TICK IN BOTTOM CORNER + 0x2990: [719,213,469,22,281], // RIGHT SQUARE BRACKET WITH TICK IN TOP CORNER + 0x2991: [719,213,400,73,357], // LEFT ANGLE BRACKET WITH DOT + 0x2992: [719,213,400,73,357], // RIGHT ANGLE BRACKET WITH DOT + 0x2993: [649,143,685,34,591], // LEFT ARC LESS-THAN BRACKET + 0x2994: [649,143,685,94,651], // RIGHT ARC GREATER-THAN BRACKET + 0x2995: [649,143,685,86,643], // DOUBLE LEFT ARC GREATER-THAN BRACKET + 0x2996: [649,143,685,42,599], // DOUBLE RIGHT ARC LESS-THAN BRACKET + 0x2997: [719,213,488,188,466], // LEFT BLACK TORTOISE SHELL BRACKET + 0x2998: [719,213,488,22,300], // RIGHT BLACK TORTOISE SHELL BRACKET + 0x2999: [661,155,211,50,161], // DOTTED FENCE + 0x299A: [662,156,511,177,334], // VERTICAL ZIGZAG LINE + 0x299B: [547,72,685,42,662], // MEASURED ANGLE OPENING LEFT + 0x299C: [584,0,685,50,634], // RIGHT ANGLE VARIANT WITH SQUARE + 0x299D: [584,0,685,50,634], // MEASURED RIGHT ANGLE WITH DOT + 0x299E: [547,0,685,11,675], // ANGLE WITH S INSIDE + 0x299F: [396,0,685,24,643], // ACUTE ANGLE + 0x29A0: [517,13,685,57,654], // SPHERICAL ANGLE OPENING LEFT + 0x29A1: [609,-12,685,77,607], // SPHERICAL ANGLE OPENING UP + 0x29A2: [547,0,685,42,662], // TURNED ANGLE + 0x29A3: [547,0,685,42,662], // REVERSED ANGLE + 0x29A4: [547,200,685,23,643], // ANGLE WITH UNDERBAR + 0x29A5: [547,200,685,42,662], // REVERSED ANGLE WITH UNDERBAR + 0x29A6: [547,0,900,40,860], // OBLIQUE ANGLE OPENING UP + 0x29A7: [547,0,900,40,860], // OBLIQUE ANGLE OPENING DOWN + 0x29A8: [574,72,685,29,649], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND RIGHT + 0x29A9: [574,72,685,36,656], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING UP AND LEFT + 0x29AA: [578,68,685,29,649], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND RIGHT + 0x29AB: [578,68,685,36,656], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING DOWN AND LEFT + 0x29AC: [562,58,706,34,680], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND UP + 0x29AD: [562,58,706,26,672], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND UP + 0x29AE: [562,58,706,34,680], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING RIGHT AND DOWN + 0x29AF: [562,58,708,26,672], // MEASURED ANGLE WITH OPEN ARM ENDING IN ARROW POINTING LEFT AND DOWN + 0x29B0: [583,79,762,50,712], // REVERSED EMPTY SET + 0x29B1: [717,79,762,50,712], // EMPTY SET WITH OVERBAR + 0x29B2: [819,79,762,50,712], // EMPTY SET WITH SMALL CIRCLE ABOVE + 0x29B3: [832,79,762,50,712], // EMPTY SET WITH RIGHT ARROW ABOVE + 0x29B4: [832,79,762,50,712], // EMPTY SET WITH LEFT ARROW ABOVE + 0x29B5: [623,119,910,24,886], // CIRCLE WITH HORIZONTAL BAR + 0x29B6: [623,119,842,50,792], // CIRCLED VERTICAL BAR + 0x29B7: [623,119,842,50,792], // CIRCLED PARALLEL + 0x29B8: [623,119,842,50,792], // CIRCLED REVERSE SOLIDUS + 0x29B9: [623,119,842,50,792], // CIRCLED PERPENDICULAR + 0x29BA: [623,119,842,50,792], // CIRCLE DIVIDED BY HORIZONTAL BAR AND TOP HALF DIVIDED BY VERTICAL BAR + 0x29BB: [623,119,842,50,792], // CIRCLE WITH SUPERIMPOSED X + 0x29BC: [623,119,842,50,792], // CIRCLED ANTICLOCKWISE-ROTATED DIVISION SIGN + 0x29BD: [882,179,842,50,792], // UP ARROW THROUGH CIRCLE + 0x29BE: [623,119,842,50,792], // CIRCLED WHITE BULLET + 0x29BF: [623,119,842,50,792], // CIRCLED BULLET + 0x29C0: [623,119,842,50,792], // CIRCLED LESS-THAN + 0x29C1: [623,119,842,50,792], // CIRCLED GREATER-THAN + 0x29C2: [623,119,1091,50,1056], // CIRCLE WITH SMALL CIRCLE TO THE RIGHT + 0x29C3: [623,119,1091,50,1056], // CIRCLE WITH TWO HORIZONTAL STROKES TO THE RIGHT + 0x29C4: [662,158,910,45,865], // SQUARED RISING DIAGONAL SLASH + 0x29C5: [662,158,910,45,865], // SQUARED FALLING DIAGONAL SLASH + 0x29C6: [662,158,910,45,865], // SQUARED ASTERISK + 0x29C7: [662,158,910,45,865], // SQUARED SMALL CIRCLE + 0x29C8: [662,158,910,45,865], // SQUARED SQUARE + 0x29C9: [712,207,1046,64,982], // TWO JOINED SQUARES + 0x29CA: [1003,127,1145,35,1110], // TRIANGLE WITH DOT ABOVE + 0x29CB: [811,259,1145,35,1110], // TRIANGLE WITH UNDERBAR + 0x29CC: [811,127,1145,35,1110], // S IN TRIANGLE + 0x29CD: [811,127,1165,15,1150], // TRIANGLE WITH SERIFS AT BOTTOM + 0x29CE: [698,193,780,70,710], // RIGHT TRIANGLE ABOVE LEFT TRIANGLE + 0x29CF: [531,25,857,48,777], // LEFT TRIANGLE BESIDE VERTICAL BAR + 0x29D0: [531,25,857,80,809], // VERTICAL BAR BESIDE RIGHT TRIANGLE + 0x29D1: [582,80,810,93,716], // BOWTIE WITH LEFT HALF BLACK + 0x29D2: [582,80,810,93,716], // BOWTIE WITH RIGHT HALF BLACK + 0x29D3: [582,80,810,93,716], // BLACK BOWTIE + 0x29D4: [582,80,810,94,717], // TIMES WITH LEFT HALF BLACK + 0x29D5: [582,80,810,93,716], // TIMES WITH RIGHT HALF BLACK + 0x29D6: [602,100,810,74,736], // WHITE HOURGLASS + 0x29D7: [602,100,810,74,736], // BLACK HOURGLASS + 0x29D8: [620,116,511,177,334], // LEFT WIGGLY FENCE + 0x29D9: [620,116,511,176,333], // RIGHT WIGGLY FENCE + 0x29DA: [620,116,688,177,511], // LEFT DOUBLE WIGGLY FENCE + 0x29DB: [620,116,688,177,511], // RIGHT DOUBLE WIGGLY FENCE + 0x29DC: [430,0,926,70,854], // INCOMPLETE INFINITY + 0x29DD: [653,0,926,70,854], // TIE OVER INFINITY + 0x29DE: [695,189,926,70,854], // INFINITY NEGATED WITH VERTICAL BAR + 0x29DF: [403,-103,1145,50,1095], // DOUBLE-ENDED MULTIMAP + 0x29E0: [662,157,910,45,865], // SQUARE WITH CONTOURED OUTLINE + 0x29E1: [512,8,667,24,613], // INCREASES AS + 0x29E2: [414,0,790,64,726], // SHUFFLE PRODUCT + 0x29E3: [662,156,685,47,637], // EQUALS SIGN AND SLANTED PARALLEL + 0x29E4: [842,156,685,47,637], // EQUALS SIGN AND SLANTED PARALLEL WITH TILDE ABOVE + 0x29E5: [662,156,685,48,637], // IDENTICAL TO AND SLANTED PARALLEL + 0x29E6: [584,78,798,60,738], // GLEICH STARK + 0x29E7: [695,189,628,48,580], // THERMODYNAMIC + 0x29E8: [811,127,1145,35,1110], // DOWN-POINTING TRIANGLE WITH LEFT HALF BLACK + 0x29E9: [811,127,1145,35,1110], // DOWN-POINTING TRIANGLE WITH RIGHT HALF BLACK + 0x29EA: [744,241,762,32,730], // BLACK DIAMOND WITH DOWN ARROW + 0x29EB: [795,289,790,45,745], // BLACK LOZENGE + 0x29EC: [743,241,762,50,712], // WHITE CIRCLE WITH DOWN ARROW + 0x29ED: [743,241,762,50,712], // BLACK CIRCLE WITH DOWN ARROW + 0x29EE: [747,243,762,97,665], // ERROR-BARRED WHITE SQUARE + 0x29EF: [747,243,762,97,665], // ERROR-BARRED BLACK SQUARE + 0x29F0: [747,243,762,32,730], // ERROR-BARRED WHITE DIAMOND + 0x29F1: [747,243,762,32,730], // ERROR-BARRED BLACK DIAMOND + 0x29F2: [747,243,762,65,697], // ERROR-BARRED WHITE CIRCLE + 0x29F3: [747,243,762,65,697], // ERROR-BARRED BLACK CIRCLE + 0x29F4: [521,13,926,55,871], // RULE-DELAYED + 0x29F6: [765,80,520,94,426], // SOLIDUS WITH OVERBAR + 0x29F7: [662,80,520,94,426], // REVERSE SOLIDUS WITH HORIZONTAL STROKE + 0x29F8: [695,325,602,85,517], // BIG SOLIDUS + 0x29F9: [695,325,602,85,517], // BIG REVERSE SOLIDUS + 0x29FA: [532,25,685,64,621], // DOUBLE PLUS + 0x29FB: [532,25,685,64,621], // TRIPLE PLUS + 0x29FC: [713,213,459,77,394], // LEFT-POINTING CURVED ANGLE BRACKET + 0x29FD: [713,213,459,65,382], // RIGHT-POINTING CURVED ANGLE BRACKET + 0x29FE: [540,36,762,93,669], // TINY + 0x29FF: [316,-190,762,93,669] // MINY + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscMathSymbolsB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js new file mode 100644 index 0000000..9df2581 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js @@ -0,0 +1,74 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2605: [655,66,870,60,810], // BLACK STAR + 0x2606: [655,66,870,60,810], // WHITE STAR + 0x2609: [583,79,762,50,712], // SUN + 0x260C: [634,131,581,54,553], // CONJUNCTION + 0x260E: [676,0,1000,32,967], // BLACK TELEPHONE + 0x2612: [662,158,910,45,865], // BALLOT BOX WITH X + 0x2621: [630,35,619,70,549], // CAUTION SIGN + 0x2639: [728,82,1150,170,980], // WHITE FROWNING FACE + 0x263A: [728,82,1150,170,980], // WHITE SMILING FACE + 0x263B: [728,82,1150,170,980], // BLACK SMILING FACE + 0x263C: [623,122,837,46,791], // WHITE SUN WITH RAYS + 0x263D: [728,82,641,40,601], // FIRST QUARTER MOON + 0x263E: [728,82,641,40,601], // LAST QUARTER MOON + 0x263F: [702,198,603,65,538], // MERCURY + 0x2640: [638,135,603,65,538], // FEMALE SIGN + 0x2641: [638,135,603,65,538], // EARTH + 0x2642: [634,131,660,54,620], // MALE SIGN + 0x2643: [732,176,970,66,904], // JUPITER + 0x2644: [793,140,970,63,866], // SATURN + 0x2646: [760,110,840,60,780], // NEPTUNE + 0x2647: [730,110,632,76,576], // PLUTO + 0x2648: [760,110,964,25,939], // ARIES + 0x2649: [644,139,781,43,738], // TAURUS + 0x2664: [609,99,685,34,651], // WHITE SPADE SUIT + 0x2665: [603,105,685,34,651], // BLACK HEART SUIT + 0x2666: [609,105,685,41,643], // BLACK DIAMOND SUIT + 0x2667: [603,99,685,34,651], // WHITE CLUB SUIT + 0x2669: [714,125,390,45,345], // QUARTER NOTE + 0x266A: [714,125,560,50,510], // EIGHTH NOTE + 0x266B: [842,125,840,40,721], // BEAMED EIGHTH NOTES + 0x267E: [775,271,1186,70,1116], // PERMANENT PAPER SIGN + 0x2680: [669,23,1032,170,862], // DIE FACE-1 + 0x2681: [669,23,1032,170,862], // DIE FACE-2 + 0x2682: [669,23,1032,170,862], // DIE FACE-3 + 0x2683: [669,23,1032,170,862], // DIE FACE-4 + 0x2684: [669,23,1032,170,862], // DIE FACE-5 + 0x2685: [669,23,1032,170,862], // DIE FACE-6 + 0x2686: [687,42,1032,152,881], // WHITE CIRCLE WITH DOT RIGHT + 0x2687: [687,42,1032,152,881], // WHITE CIRCLE WITH TWO DOTS + 0x2688: [687,42,1032,152,881], // BLACK CIRCLE WITH WHITE DOT RIGHT + 0x2689: [687,42,1032,152,881], // BLACK CIRCLE WITH TWO WHITE DOTS + 0x26A0: [1023,155,1510,25,1485], // WARNING SIGN + 0x26A5: [784,281,660,54,620], // MALE AND FEMALE SIGN + 0x26AA: [583,79,762,50,712], // MEDIUM WHITE CIRCLE + 0x26AB: [583,79,762,50,712], // MEDIUM BLACK CIRCLE + 0x26AC: [487,-14,565,46,519], // MEDIUM SMALL WHITE CIRCLE + 0x26B2: [638,135,603,65,538] // NEUTER + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js new file mode 100644 index 0000000..80560e5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js @@ -0,0 +1,91 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscSymbolsAndArrows.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2B12: [662,157,910,45,865], // SQUARE WITH TOP HALF BLACK + 0x2B13: [662,157,910,45,865], // SQUARE WITH BOTTOM HALF BLACK + 0x2B14: [662,157,910,45,865], // SQUARE WITH UPPER RIGHT DIAGONAL HALF BLOCK + 0x2B15: [662,157,910,45,865], // SQUARE WITH LOWER LEFT DIAGONAL HALF BLOCK + 0x2B16: [744,242,1064,39,1025], // DIAMOND WITH LEFT HALF BLACK + 0x2B17: [744,242,1064,39,1025], // DIAMOND WITH RIGHT HALF BLACK + 0x2B18: [744,242,1064,39,1025], // DIAMOND WITH TOP HALF BLACK + 0x2B19: [744,242,1064,39,1025], // DIAMOND WITH BOTTOM HALF BLACK + 0x2B1A: [662,157,910,45,865], // DOTTED SQUARE + 0x2B1B: [780,180,1040,40,1000], // BLACK LARGE SQUARE + 0x2B1C: [780,180,1040,40,1000], // WHITE LARGE SQUARE + 0x2B1D: [332,-172,240,50,190], // BLACK VERY SMALL SQUARE + 0x2B1E: [332,-172,240,50,190], // WHITE VERY SMALL SQUARE + 0x2B1F: [690,105,910,36,874], // BLACK PENTAGON + 0x2B20: [690,105,910,36,874], // WHITE PENTAGON + 0x2B21: [680,178,910,82,828], // WHITE HEXAGON + 0x2B22: [680,178,910,82,828], // BLACK HEXAGON + 0x2B23: [633,127,926,24,902], // HORIZONTAL BLACK HEXAGON + 0x2B24: [785,282,1207,70,1137], // BLACK LARGE CIRCLE + 0x2B25: [581,96,779,45,734], // BLACK MEDIUM DIAMOND + 0x2B26: [581,96,779,45,734], // WHITE MEDIUM DIAMOND + 0x2B27: [609,105,544,40,504], // BLACK MEDIUM LOZENGE + 0x2B28: [609,105,544,40,504], // WHITE MEDIUM LOZENGE + 0x2B29: [488,-16,523,26,497], // BLACK SMALL DIAMOND + 0x2B2A: [488,-16,357,26,331], // BLACK SMALL LOZENGE + 0x2B2B: [488,-16,357,26,331], // WHITE SMALL LOZENGE + 0x2B2C: [500,-4,842,50,792], // BLACK HORIZONTAL ELLIPSE + 0x2B2D: [500,-4,842,50,792], // WHITE HORIZONTAL ELLIPSE + 0x2B2E: [623,119,596,50,546], // BLACK VERTICAL ELLIPSE + 0x2B2F: [623,119,596,50,546], // WHITE VERTICAL ELLIPSE + 0x2B30: [448,-57,926,70,856], // LEFT ARROW WITH SMALL CIRCLE + 0x2B31: [739,232,926,60,866], // THREE LEFTWARDS ARROWS + 0x2B32: [569,61,1200,52,1147], // LEFT ARROW WITH CIRCLED PLUS + 0x2B33: [449,-58,1574,55,1519], // LONG LEFTWARDS SQUIGGLE ARROW + 0x2B34: [450,-57,926,56,871], // LEFTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE + 0x2B35: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE + 0x2B36: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW FROM BAR + 0x2B37: [449,-57,1412,55,1357], // LEFTWARDS TWO-HEADED TRIPLE-DASH ARROW + 0x2B38: [449,-57,926,55,873], // LEFTWARDS ARROW WITH DOTTED STEM + 0x2B39: [450,-57,926,55,871], // LEFTWARDS ARROW WITH TAIL WITH VERTICAL STROKE + 0x2B3A: [450,-57,926,55,871], // LEFTWARDS ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE + 0x2B3B: [449,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH TAIL + 0x2B3C: [450,-57,926,55,871], // LEFTWARDS TWO-HEADED ARROW WITH TAIL WITH VERTICAL STROKE + 0x2B3D: [450,-57,926,50,876], // LEFTWARDS TWO-HEADED ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE + 0x2B3E: [449,-57,926,55,871], // LEFTWARDS ARROW THROUGH X + 0x2B3F: [449,-57,926,55,871], // WAVE ARROW POINTING DIRECTLY LEFT + 0x2B40: [565,-57,926,55,871], // EQUALS SIGN ABOVE LEFTWARDS ARROW + 0x2B41: [508,-57,926,55,871], // REVERSE TILDE OPERATOR ABOVE LEFTWARDS ARROW + 0x2B42: [449,141,926,55,871], // LEFTWARDS ARROW ABOVE REVERSE ALMOST EQUAL TO + 0x2B43: [532,26,926,45,871], // RIGHTWARDS ARROW THROUGH LESS-THAN + 0x2B44: [532,26,926,45,871], // RIGHTWARDS ARROW THROUGH SUBSET + 0x2B45: [701,195,928,55,873], // LEFTWARDS QUADRUPLE ARROW + 0x2B46: [701,195,928,55,873], // RIGHTWARDS QUADRUPLE ARROW + 0x2B47: [508,-57,926,55,871], // REVERSE TILDE OPERATOR ABOVE RIGHTWARDS ARROW + 0x2B48: [449,141,926,55,871], // RIGHTWARDS ARROW ABOVE REVERSE ALMOST EQUAL TO + 0x2B49: [508,-57,926,55,871], // TILDE OPERATOR ABOVE LEFTWARDS ARROW + 0x2B4A: [449,141,926,55,871], // LEFTWARDS ARROW ABOVE ALMOST EQUAL TO + 0x2B4B: [449,2,926,55,871], // LEFTWARDS ARROW ABOVE REVERSE TILDE OPERATOR + 0x2B4C: [449,2,926,55,871], // RIGHTWARDS ARROW ABOVE REVERSE TILDE OPERATOR + 0x2B50: [619,30,794,60,734], // WHITE MEDIUM STAR + 0x2B51: [619,30,794,60,734], // BLACK MEDIUM STAR + 0x2B52: [597,13,700,35,665], // WHITE SMALL STAR + 0x2B53: [712,126,865,45,840], // BLACK RIGHT-POINTING PENTAGON + 0x2B54: [712,127,865,45,840] // WHITE RIGHT-POINTING PENTAGON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscSymbolsAndArrows.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js new file mode 100644 index 0000000..004db1d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js @@ -0,0 +1,80 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/MiscTechnical.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2300: [487,-14,606,25,581], // DIAMETER SIGN + 0x2302: [774,0,926,55,871], // HOUSE + 0x2305: [577,0,620,48,572], // PROJECTIVE + 0x2306: [728,0,620,48,572], // PERSPECTIVE + 0x230C: [166,215,463,52,412], // BOTTOM RIGHT CROP + 0x230D: [166,215,463,52,412], // BOTTOM LEFT CROP + 0x230E: [876,-495,463,52,412], // TOP RIGHT CROP + 0x230F: [876,-495,463,52,412], // TOP LEFT CROP + 0x2310: [393,-115,600,48,552], // REVERSED NOT SIGN + 0x2311: [439,-65,523,75,449], // SQUARE LOZENGE + 0x2312: [331,0,762,50,712], // ARC + 0x2313: [331,0,762,50,712], // SEGMENT + 0x2315: [582,189,847,26,796], // TELEPHONE RECORDER + 0x2316: [748,246,1100,53,1047], // POSITION INDICATOR + 0x2317: [749,245,1100,53,1047], // VIEWDATA SQUARE + 0x2318: [662,156,926,55,871], // PLACE OF INTEREST SIGN + 0x2319: [393,-115,600,48,552], // TURNED NOT SIGN + 0x231A: [671,69,685,64,622], // WATCH + 0x231C: [662,-281,463,51,411], // TOP LEFT CORNER + 0x231D: [662,-281,463,51,411], // TOP RIGHT CORNER + 0x231E: [164,217,463,51,411], // BOTTOM LEFT CORNER + 0x231F: [164,217,463,52,412], // BOTTOM RIGHT CORNER + 0x2329: [713,213,400,77,335], // LEFT-POINTING ANGLE BRACKET + 0x232A: [713,213,400,65,323], // RIGHT-POINTING ANGLE BRACKET + 0x232C: [692,186,926,83,843], // BENZENE RING + 0x232D: [592,88,986,55,931], // CYLINDRICITY + 0x232E: [450,140,624,-18,574], // ALL AROUND-PROFILE + 0x2332: [562,56,889,80,809], // CONICAL TAPER + 0x2336: [751,156,926,85,841], // APL FUNCTIONAL SYMBOL I-BEAM + 0x233D: [683,179,910,84,826], // APL FUNCTIONAL SYMBOL CIRCLE STILE + 0x233F: [703,176,683,60,623], // APL FUNCTIONAL SYMBOL SLASH BAR + 0x2340: [703,176,683,60,623], // APL FUNCTIONAL SYMBOL BACKSLASH BAR + 0x2353: [751,176,794,55,739], // APL FUNCTIONAL SYMBOL QUAD UP CARET + 0x2370: [751,176,794,55,739], // APL FUNCTIONAL SYMBOL QUAD QUESTION + 0x237C: [584,220,871,50,820], // RIGHT ANGLE WITH DOWNWARDS ZIGZAG ARROW + 0x2393: [386,-120,913,85,841], // DIRECT CURRENT SYMBOL FORM TWO + 0x2394: [633,127,926,24,902], // SOFTWARE-FUNCTION SYMBOL + 0x23B4: [766,-574,926,55,871], // TOP SQUARE BRACKET + 0x23B5: [109,83,926,55,871], // BOTTOM SQUARE BRACKET + 0x23B6: [495,-11,926,55,871], // BOTTOM SQUARE BRACKET OVER TOP SQUARE BRACKET + 0x23CE: [731,225,926,50,856], // RETURN SYMBOL + 0x23DC: [55,152,556,-10,566], // TOP PARENTHESIS (mathematical use) + 0x23DD: [771,-564,556,-10,566], // BOTTOM PARENTHESIS (mathematical use) + 0x23DE: [117,88,556,-10,566], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [769,-564,556,-10,566], // BOTTOM CURLY BRACKET (mathematical use) + 0x23E0: [66,212,926,-3,929], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,926,-3,929], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + 0x23E2: [558,53,1144,54,1090], // WHITE TRAPEZIUM + 0x23E3: [680,178,910,82,828], // BENZENE RING WITH CIRCLE + 0x23E4: [286,-220,1094,47,1047], // STRAIGHTNESS + 0x23E5: [527,20,1018,23,995], // FLATNESS + 0x23E6: [434,-72,926,55,871], // AC CURRENT + 0x23E7: [606,97,798,194,733] // ELECTRICAL INTERSECTION + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/MiscTechnical.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js new file mode 100644 index 0000000..5da99d7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/NumberForms.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2153: [676,14,750,36,725], // VULGAR FRACTION ONE THIRD + 0x2154: [676,14,750,14,731], // VULGAR FRACTION TWO THIRDS + 0x2155: [676,14,750,37,715], // VULGAR FRACTION ONE FIFTH + 0x2156: [676,14,750,14,720], // VULGAR FRACTION TWO FIFTHS + 0x2157: [676,14,750,13,720], // VULGAR FRACTION THREE FIFTHS + 0x2158: [676,14,750,14,720], // VULGAR FRACTION FOUR FIFTHS + 0x2159: [676,14,750,37,717], // VULGAR FRACTION ONE SIXTH + 0x215A: [676,15,750,29,722], // VULGAR FRACTION FIVE SIXTHS + 0x215B: [676,14,750,37,722], // VULGAR FRACTION ONE EIGHTH + 0x215C: [676,14,750,13,727], // VULGAR FRACTION THREE EIGHTHS + 0x215D: [676,14,750,29,727], // VULGAR FRACTION FIVE EIGHTHS + 0x215E: [676,14,750,28,727] // VULGAR FRACTION SEVEN EIGHTHS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/NumberForms.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js new file mode 100644 index 0000000..27f06b7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/PhoneticExtensions.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D00: [468,0,510,15,495], // LATIN LETTER SMALL CAPITAL A + 0x1D07: [464,0,504,21,481], // LATIN LETTER SMALL CAPITAL E + 0x1D1C: [464,14,583,21,560], // LATIN LETTER SMALL CAPITAL U + 0x1D81: [683,287,528,27,491], // LATIN SMALL LETTER D WITH PALATAL HOOK + 0x1D84: [683,287,542,7,505], // LATIN SMALL LETTER K WITH PALATAL HOOK + 0x1D85: [683,287,294,19,257], // LATIN SMALL LETTER L WITH PALATAL HOOK + 0x1D8A: [459,287,389,51,348], // LATIN SMALL LETTER S WITH PALATAL HOOK + 0x1D8D: [450,287,516,17,479], // LATIN SMALL LETTER X WITH PALATAL HOOK + 0x1D8E: [450,287,453,27,416] // LATIN SMALL LETTER Z WITH PALATAL HOOK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/PhoneticExtensions.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js new file mode 100644 index 0000000..7c51def --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js @@ -0,0 +1,79 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2B0: [848,-336,378,7,365], // MODIFIER LETTER SMALL H + 0x2B1: [848,-336,378,7,365], // MODIFIER LETTER SMALL H WITH HOOK + 0x2B2: [852,-169,300,44,244], // MODIFIER LETTER SMALL J + 0x2B3: [681,-336,252,5,252], // MODIFIER LETTER SMALL R + 0x2B4: [680,-335,277,10,257], // MODIFIER LETTER SMALL TURNED R + 0x2B5: [680,-168,325,10,338], // MODIFIER LETTER SMALL TURNED R WITH HOOK + 0x2B6: [680,-335,390,6,379], // MODIFIER LETTER SMALL CAPITAL INVERTED R + 0x2B7: [680,-331,520,6,512], // MODIFIER LETTER SMALL W + 0x2B8: [680,-176,370,14,361], // MODIFIER LETTER SMALL Y + 0x2B9: [684,-421,208,90,257], // MODIFIER LETTER PRIME + 0x2BA: [684,-421,305,19,324], // MODIFIER LETTER DOUBLE PRIME + 0x2BB: [686,-443,333,79,218], // MODIFIER LETTER TURNED COMMA + 0x2BC: [686,-443,333,79,218], // MODIFIER LETTER APOSTROPHE + 0x2BD: [686,-443,333,79,218], // MODIFIER LETTER REVERSED COMMA + 0x2BE: [680,-485,198,35,163], // MODIFIER LETTER RIGHT HALF RING + 0x2BF: [680,-485,198,35,163], // MODIFIER LETTER LEFT HALF RING + 0x2C0: [690,-295,326,23,303], // MODIFIER LETTER GLOTTAL STOP + 0x2C1: [690,-295,326,23,303], // MODIFIER LETTER REVERSED GLOTTAL STOP + 0x2C2: [755,-419,317,33,285], // MODIFIER LETTER LEFT ARROWHEAD + 0x2C3: [755,-419,317,33,285], // MODIFIER LETTER RIGHT ARROWHEAD + 0x2C4: [713,-461,317,-9,327], // MODIFIER LETTER UP ARROWHEAD + 0x2C5: [713,-461,317,-9,327], // MODIFIER LETTER DOWN ARROWHEAD + 0x2C8: [713,-448,278,119,159], // MODIFIER LETTER VERTICAL LINE + 0x2CC: [70,195,278,119,159], // MODIFIER LETTER LOW VERTICAL LINE + 0x2CD: [-104,159,334,11,323], // MODIFIER LETTER LOW MACRON + 0x2CE: [-21,192,333,25,249], // MODIFIER LETTER LOW GRAVE ACCENT + 0x2CF: [-21,192,333,84,308], // MODIFIER LETTER LOW ACUTE ACCENT + 0x2D0: [460,-19,333,89,244], // MODIFIER LETTER TRIANGULAR COLON + 0x2D1: [460,-299,333,89,244], // MODIFIER LETTER HALF TRIANGULAR COLON + 0x2D2: [365,-75,333,72,262], // MODIFIER LETTER CENTRED RIGHT HALF RING + 0x2D3: [365,-75,333,71,261], // MODIFIER LETTER CENTRED LEFT HALF RING + 0x2D4: [205,-18,333,51,281], // MODIFIER LETTER UP TACK + 0x2D5: [205,-18,333,51,281], // MODIFIER LETTER DOWN TACK + 0x2D6: [218,-26,333,71,263], // MODIFIER LETTER PLUS SIGN + 0x2D7: [144,-100,333,71,263], // MODIFIER LETTER MINUS SIGN + 0x2DA: [711,-512,333,67,266], // RING ABOVE + 0x2DB: [0,165,333,64,249], // OGONEK + 0x2DD: [678,-507,333,-3,376], // DOUBLE ACUTE ACCENT + 0x2DE: [443,-186,298,0,263], // MODIFIER LETTER RHOTIC HOOK + 0x2DF: [662,-425,333,48,284], // MODIFIER LETTER CROSS ACCENT + 0x2E0: [684,-219,378,24,335], // MODIFIER LETTER SMALL GAMMA + 0x2E1: [848,-336,215,19,197], // MODIFIER LETTER SMALL L + 0x2E2: [681,-331,291,36,261], // MODIFIER LETTER SMALL S + 0x2E3: [680,-336,380,5,372], // MODIFIER LETTER SMALL X + 0x2E4: [850,-336,341,45,319], // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP + 0x2E5: [662,0,413,48,373], // MODIFIER LETTER EXTRA-HIGH TONE BAR + 0x2E6: [662,0,405,40,365], // MODIFIER LETTER HIGH TONE BAR + 0x2E7: [662,0,405,40,365], // MODIFIER LETTER MID TONE BAR + 0x2E8: [662,0,405,40,365], // MODIFIER LETTER LOW TONE BAR + 0x2E9: [662,0,405,40,365], // MODIFIER LETTER EXTRA-LOW TONE BAR + 0x2EC: [70,147,333,21,311], // MODIFIER LETTER VOICING + 0x2ED: [665,-507,405,10,395] // MODIFIER LETTER UNASPIRATED + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js new file mode 100644 index 0000000..e7a0e75 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/Specials.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0xFFFD: [662,217,872,55,817] // REPLACEMENT CHARACTER + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/Specials.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js new file mode 100644 index 0000000..b496d50 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuperAndSubscripts.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x207F: [676,-270,541,57,484] // SUPERSCRIPT LATIN SMALL LETTER N + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SuperAndSubscripts.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js new file mode 100644 index 0000000..0310dac --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js @@ -0,0 +1,271 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SuppMathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2A07: [763,259,1180,83,1097], // TWO LOGICAL AND OPERATOR + 0x2A08: [763,259,1180,83,1097], // TWO LOGICAL OR OPERATOR + 0x2A09: [763,259,1021,50,971], // N-ARY TIMES OPERATOR + 0x2A0A: [763,259,914,58,856], // MODULO TWO SUM + 0x2A0B: [824,320,690,33,659], // SUMMATION WITH INTEGRAL + 0x2A0C: [824,320,1184,32,1364], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [824,320,499,32,639], // FINITE PART INTEGRAL + 0x2A0E: [824,320,499,32,639], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [824,320,499,32,639], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [824,320,499,32,639], // CIRCULATION FUNCTION + 0x2A11: [824,320,499,32,639], // ANTICLOCKWISE INTEGRATION + 0x2A12: [824,320,519,32,639], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [824,320,499,32,639], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [824,320,628,32,688], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [824,320,499,32,639], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [824,320,529,32,639], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [824,320,738,32,818], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [824,320,539,32,639], // INTEGRAL WITH TIMES SIGN + 0x2A19: [824,320,559,32,639], // INTEGRAL WITH INTERSECTION + 0x2A1A: [824,320,559,32,639], // INTEGRAL WITH UNION + 0x2A1B: [947,320,459,32,639], // INTEGRAL WITH OVERBAR + 0x2A1C: [824,443,459,32,639], // INTEGRAL WITH UNDERBAR + 0x2A1D: [770,252,1270,93,1177], // JOIN + 0x2A1E: [764,258,1018,45,924], // LARGE LEFT TRIANGLE OPERATOR + 0x2A1F: [566,291,503,110,410], // Z NOTATION SCHEMA COMPOSITION + 0x2A20: [633,127,1177,98,1079], // Z NOTATION SCHEMA PIPING + 0x2A21: [805,300,547,215,472], // Z NOTATION SCHEMA PROJECTION + 0x2A22: [819,41,685,48,636], // PLUS SIGN WITH SMALL CIRCLE ABOVE + 0x2A23: [707,41,685,48,636], // PLUS SIGN WITH CIRCUMFLEX ACCENT ABOVE + 0x2A24: [704,41,685,48,636], // PLUS SIGN WITH TILDE ABOVE + 0x2A25: [547,235,685,48,636], // PLUS SIGN WITH DOT BELOW + 0x2A26: [547,198,685,48,636], // PLUS SIGN WITH TILDE BELOW + 0x2A27: [547,210,685,41,673], // PLUS SIGN WITH SUBSCRIPT TWO + 0x2A28: [547,41,685,48,636], // PLUS SIGN WITH BLACK TRIANGLE + 0x2A29: [556,-220,685,48,637], // MINUS SIGN WITH COMMA ABOVE + 0x2A2A: [286,5,685,48,637], // MINUS SIGN WITH DOT BELOW + 0x2A2B: [511,5,685,48,637], // MINUS SIGN WITH FALLING DOTS + 0x2A2C: [511,5,685,48,637], // MINUS SIGN WITH RISING DOTS + 0x2A2D: [623,119,724,50,674], // PLUS SIGN IN LEFT HALF CIRCLE + 0x2A2E: [623,119,724,50,674], // PLUS SIGN IN RIGHT HALF CIRCLE + 0x2A2F: [447,-59,490,50,439], // VECTOR OR CROSS PRODUCT + 0x2A30: [686,25,640,43,597], // MULTIPLICATION SIGN WITH DOT ABOVE + 0x2A31: [529,130,640,43,597], // MULTIPLICATION SIGN WITH UNDERBAR + 0x2A32: [529,45,640,43,597], // SEMIDIRECT PRODUCT WITH BOTTOM CLOSED + 0x2A33: [538,32,685,57,627], // SMASH PRODUCT + 0x2A34: [623,119,674,50,624], // MULTIPLICATION SIGN IN LEFT HALF CIRCLE + 0x2A35: [623,119,674,50,624], // MULTIPLICATION SIGN IN RIGHT HALF CIRCLE + 0x2A36: [810,119,842,50,792], // CIRCLED MULTIPLICATION SIGN WITH CIRCUMFLEX ACCENT + 0x2A37: [752,248,1100,50,1050], // MULTIPLICATION SIGN IN DOUBLE CIRCLE + 0x2A38: [623,119,842,50,792], // CIRCLED DIVISION SIGN + 0x2A39: [811,127,1145,35,1110], // PLUS SIGN IN TRIANGLE + 0x2A3A: [811,127,1145,35,1110], // MINUS SIGN IN TRIANGLE + 0x2A3B: [811,127,1145,35,1110], // MULTIPLICATION SIGN IN TRIANGLE + 0x2A3C: [393,-115,600,48,552], // stix-vert, low bar to left from base + 0x2A3D: [393,-115,600,48,552], // stix-vert, low bar to right from base + 0x2A3E: [488,170,300,60,230], // Z NOTATION RELATIONAL COMPOSITION + 0x2A40: [536,31,620,48,572], // INTERSECTION WITH DOT + 0x2A41: [536,31,620,48,572], // UNION WITH MINUS SIGN + 0x2A42: [668,31,620,48,572], // UNION WITH OVERBAR + 0x2A43: [668,31,620,48,572], // INTERSECTION WITH OVERBAR + 0x2A44: [536,31,620,48,572], // INTERSECTION WITH LOGICAL AND + 0x2A45: [536,31,620,48,572], // UNION WITH LOGICAL OR + 0x2A46: [914,406,620,48,572], // UNION ABOVE INTERSECTION + 0x2A47: [914,406,620,48,572], // INTERSECTION ABOVE UNION + 0x2A48: [914,406,620,48,572], // UNION ABOVE BAR ABOVE INTERSECTION + 0x2A49: [914,406,620,48,572], // INTERSECTION ABOVE BAR ABOVE UNION + 0x2A4A: [528,39,1078,48,1030], // UNION BESIDE AND JOINED WITH UNION + 0x2A4B: [527,40,1078,48,1030], // INTERSECTION BESIDE AND JOINED WITH INTERSECTION + 0x2A4C: [602,31,620,10,610], // CLOSED UNION WITH SERIFS + 0x2A4D: [536,97,620,10,610], // CLOSED INTERSECTION WITH SERIFS + 0x2A4E: [536,31,620,48,572], // DOUBLE SQUARE INTERSECTION + 0x2A4F: [536,31,620,48,572], // DOUBLE SQUARE UNION + 0x2A50: [602,31,620,10,610], // CLOSED UNION WITH SERIFS AND SMASH PRODUCT + 0x2A51: [710,29,620,31,589], // LOGICAL AND WITH DOT ABOVE + 0x2A52: [710,29,620,31,589], // LOGICAL OR WITH DOT ABOVE + 0x2A53: [536,29,620,31,589], // DOUBLE LOGICAL AND + 0x2A54: [536,29,620,31,589], // DOUBLE LOGICAL OR + 0x2A55: [536,29,780,32,748], // TWO INTERSECTING LOGICAL AND + 0x2A56: [536,29,780,32,748], // TWO INTERSECTING LOGICAL OR + 0x2A57: [536,29,706,106,683], // SLOPING LARGE OR + 0x2A58: [536,29,706,23,600], // SLOPING LARGE AND + 0x2A59: [585,77,620,31,589], // LOGICAL OR OVERLAPPING LOGICAL AND + 0x2A5A: [536,29,620,31,589], // LOGICAL AND WITH MIDDLE STEM + 0x2A5B: [536,29,620,31,589], // LOGICAL OR WITH MIDDLE STEM + 0x2A5C: [536,29,620,31,589], // LOGICAL AND WITH HORIZONTAL DASH + 0x2A5D: [536,29,620,31,589], // LOGICAL OR WITH HORIZONTAL DASH + 0x2A5E: [796,29,620,31,589], // LOGICAL AND WITH DOUBLE OVERBAR + 0x2A5F: [536,139,620,30,590], // LOGICAL AND WITH UNDERBAR + 0x2A60: [536,289,620,30,590], // LOGICAL AND WITH DOUBLE UNDERBAR + 0x2A61: [479,0,620,45,575], // SMALL VEE WITH UNDERBAR + 0x2A62: [806,29,620,30,590], // LOGICAL OR WITH DOUBLE OVERBAR + 0x2A63: [536,289,620,30,590], // LOGICAL OR WITH DOUBLE UNDERBAR + 0x2A64: [791,284,1043,70,1008], // Z NOTATION DOMAIN ANTIRESTRICTION + 0x2A65: [791,284,1043,70,1008], // Z NOTATION RANGE ANTIRESTRICTION + 0x2A66: [386,105,685,48,637], // EQUALS SIGN WITH DOT BELOW + 0x2A67: [703,-28,685,48,637], // IDENTICAL WITH DOT ABOVE + 0x2A68: [695,189,685,48,637], // TRIPLE HORIZONTAL BAR WITH DOUBLE VERTICAL STROKE + 0x2A69: [662,156,685,48,637], // TRIPLE HORIZONTAL BAR WITH TRIPLE VERTICAL STROKE + 0x2A6A: [521,-148,685,48,637], // TILDE OPERATOR WITH DOT ABOVE + 0x2A6B: [521,13,685,48,637], // TILDE OPERATOR WITH RISING DOTS + 0x2A6C: [543,38,685,48,637], // SIMILAR MINUS SIMILAR + 0x2A6D: [703,27,685,48,637], // CONGRUENT WITH DOT ABOVE + 0x2A6E: [847,-120,685,48,637], // EQUALS WITH ASTERISK + 0x2A6F: [707,-25,685,48,637], // ALMOST EQUAL TO WITH CIRCUMFLEX ACCENT + 0x2A70: [650,146,685,48,637], // APPROXIMATELY EQUAL OR EQUAL TO + 0x2A71: [648,141,685,48,637], // EQUALS SIGN ABOVE PLUS SIGN + 0x2A72: [648,141,685,48,637], // PLUS SIGN ABOVE EQUALS SIGN + 0x2A73: [532,27,685,48,637], // EQUALS SIGN ABOVE TILDE OPERATOR + 0x2A74: [417,-89,1015,48,967], // DOUBLE COLON EQUAL + 0x2A75: [386,-120,997,48,949], // TWO CONSECUTIVE EQUALS SIGNS + 0x2A76: [386,-120,1436,48,1388], // THREE CONSECUTIVE EQUALS SIGNS + 0x2A77: [611,106,685,48,637], // EQUALS SIGN WITH TWO DOTS ABOVE AND TWO DOTS BELOW + 0x2A78: [703,-28,685,38,647], // EQUIVALENT WITH FOUR DOTS ABOVE + 0x2A79: [532,26,685,44,609], // LESS-THAN WITH CIRCLE INSIDE + 0x2A7A: [532,26,685,76,641], // GREATER-THAN WITH CIRCLE INSIDE + 0x2A7B: [806,26,685,44,609], // LESS-THAN WITH QUESTION MARK ABOVE + 0x2A7C: [806,26,685,76,641], // GREATER-THAN WITH QUESTION MARK ABOVE + 0x2A7D: [625,137,685,56,621], // LESS-THAN OR SLANTED EQUAL TO + 0x2A7E: [625,137,685,56,621], // GREATER-THAN OR SLANTED EQUAL TO + 0x2A7F: [625,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT INSIDE + 0x2A80: [625,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT INSIDE + 0x2A81: [625,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE + 0x2A82: [625,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE + 0x2A83: [777,137,685,60,625], // LESS-THAN OR SLANTED EQUAL TO WITH DOT ABOVE RIGHT + 0x2A84: [777,137,685,60,625], // GREATER-THAN OR SLANTED EQUAL TO WITH DOT ABOVE LEFT + 0x2A85: [746,275,685,48,637], // LESS-THAN OR APPROXIMATE + 0x2A86: [746,275,685,48,637], // GREATER-THAN OR APPROXIMATE + 0x2A87: [628,216,685,60,625], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A88: [628,216,687,56,621], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A89: [746,309,685,48,637], // LESS-THAN AND NOT APPROXIMATE + 0x2A8A: [746,309,685,48,637], // GREATER-THAN AND NOT APPROXIMATE + 0x2A8B: [930,424,685,56,621], // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN + 0x2A8C: [930,424,685,56,621], // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN + 0x2A8D: [746,176,685,48,637], // LESS-THAN ABOVE SIMILAR OR EQUAL + 0x2A8E: [746,176,685,48,637], // GREATER-THAN ABOVE SIMILAR OR EQUAL + 0x2A8F: [867,361,685,60,649], // LESS-THAN ABOVE SIMILAR ABOVE GREATER-THAN + 0x2A90: [867,361,685,60,649], // GREATER-THAN ABOVE SIMILAR ABOVE LESS-THAN + 0x2A91: [844,338,685,55,630], // LESS-THAN ABOVE GREATER-THAN ABOVE DOUBLE-LINE EQUAL + 0x2A92: [844,338,685,55,630], // GREATER-THAN ABOVE LESS-THAN ABOVE DOUBLE-LINE EQUAL + 0x2A93: [866,361,685,60,625], // LESS-THAN ABOVE SLANTED EQUAL ABOVE GREATER-THAN ABOVE SLANTED EQUAL + 0x2A94: [866,361,685,60,625], // GREATER-THAN ABOVE SLANTED EQUAL ABOVE LESS-THAN ABOVE SLANTED EQUAL + 0x2A95: [640,122,685,56,621], // SLANTED EQUAL TO OR LESS-THAN + 0x2A96: [640,122,685,56,621], // SLANTED EQUAL TO OR GREATER-THAN + 0x2A97: [640,122,685,56,621], // SLANTED EQUAL TO OR LESS-THAN WITH DOT INSIDE + 0x2A98: [640,122,685,56,621], // SLANTED EQUAL TO OR GREATER-THAN WITH DOT INSIDE + 0x2A99: [718,211,685,60,625], // DOUBLE-LINE EQUAL TO OR LESS-THAN + 0x2A9A: [718,211,685,60,625], // DOUBLE-LINE EQUAL TO OR GREATER-THAN + 0x2A9B: [726,220,685,60,625], // DOUBLE-LINE SLANTED EQUAL TO OR LESS-THAN + 0x2A9C: [726,220,685,60,625], // DOUBLE-LINE SLANTED EQUAL TO OR GREATER-THAN + 0x2A9D: [664,164,685,53,642], // stix-similar (conforming) or less-than + 0x2A9E: [664,164,685,43,632], // SIMILAR OR GREATER-THAN + 0x2A9F: [774,267,685,48,637], // SIMILAR ABOVE LESS-THAN ABOVE EQUALS SIGN + 0x2AA0: [774,267,685,48,637], // SIMILAR ABOVE GREATER-THAN ABOVE EQUALS SIGN + 0x2AA1: [532,26,685,44,609], // DOUBLE NESTED LESS-THAN + 0x2AA2: [532,26,685,76,641], // DOUBLE NESTED GREATER-THAN + 0x2AA3: [609,103,933,25,908], // DOUBLE NESTED LESS-THAN WITH UNDERBAR + 0x2AA4: [532,26,782,60,722], // GREATER-THAN OVERLAPPING LESS-THAN + 0x2AA5: [532,26,855,60,795], // GREATER-THAN BESIDE LESS-THAN + 0x2AA6: [532,26,685,35,625], // LESS-THAN CLOSED BY CURVE + 0x2AA7: [532,26,685,60,650], // GREATER-THAN CLOSED BY CURVE + 0x2AA8: [625,137,685,50,640], // LESS-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL + 0x2AA9: [626,137,685,45,635], // GREATER-THAN CLOSED BY CURVE ABOVE SLANTED EQUAL + 0x2AAA: [537,31,685,45,609], // SMALLER THAN + 0x2AAB: [537,31,685,76,640], // LARGER THAN + 0x2AAC: [613,103,685,60,625], // stix-smaller than or equal, slanted + 0x2AAD: [613,103,685,60,625], // stix-larger than or equal, slanted + 0x2AAE: [563,-28,685,48,637], // EQUALS SIGN WITH BUMPY ABOVE + 0x2AB1: [628,216,685,60,625], // PRECEDES ABOVE SINGLE-LINE NOT EQUAL TO + 0x2AB2: [628,216,685,60,625], // SUCCEEDS ABOVE SINGLE-LINE NOT EQUAL TO + 0x2AB3: [717,211,685,60,625], // PRECEDES ABOVE EQUALS SIGN + 0x2AB4: [717,211,685,60,625], // SUCCEEDS ABOVE EQUALS SIGN + 0x2AB5: [747,260,685,65,622], // PRECEDES ABOVE NOT EQUAL TO + 0x2AB6: [747,260,685,65,622], // SUCCEEDS ABOVE NOT EQUAL TO + 0x2AB7: [747,275,685,48,637], // PRECEDES ABOVE ALMOST EQUAL TO + 0x2AB8: [747,275,685,48,637], // SUCCEEDS ABOVE ALMOST EQUAL TO + 0x2AB9: [747,309,685,48,637], // PRECEDES ABOVE NOT ALMOST EQUAL TO + 0x2ABA: [747,309,685,48,637], // SUCCEEDS ABOVE NOT ALMOST EQUAL TO + 0x2ABB: [532,26,933,25,908], // DOUBLE PRECEDES + 0x2ABC: [532,26,933,25,908], // DOUBLE SUCCEEDS + 0x2ABD: [532,26,685,60,625], // SUBSET WITH DOT + 0x2ABE: [532,26,685,60,625], // SUPERSET WITH DOT + 0x2ABF: [607,103,685,60,625], // SUBSET WITH PLUS SIGN BELOW + 0x2AC0: [607,103,685,60,625], // SUPERSET WITH PLUS SIGN BELOW + 0x2AC1: [607,103,685,60,625], // SUBSET WITH MULTIPLICATION SIGN BELOW + 0x2AC2: [607,103,685,60,625], // SUPERSET WITH MULTIPLICATION SIGN BELOW + 0x2AC3: [709,103,685,60,625], // SUBSET OF OR EQUAL TO WITH DOT ABOVE + 0x2AC4: [709,103,685,60,625], // SUPERSET OF OR EQUAL TO WITH DOT ABOVE + 0x2AC5: [717,211,685,64,622], // SUBSET OF ABOVE EQUALS SIGN + 0x2AC6: [717,211,685,65,623], // SUPERSET OF ABOVE EQUALS SIGN + 0x2AC7: [665,164,685,60,625], // SUBSET OF ABOVE TILDE OPERATOR + 0x2AC8: [665,164,685,60,625], // SUPERSET OF ABOVE TILDE OPERATOR + 0x2AC9: [746,274,685,60,625], // SUBSET OF ABOVE ALMOST EQUAL TO + 0x2ACA: [746,274,685,60,625], // SUPERSET OF ABOVE ALMOST EQUAL TO + 0x2ACB: [717,319,685,61,619], // stix-subset not double equals, variant + 0x2ACC: [717,319,685,66,624], // SUPERSET OF ABOVE NOT EQUAL TO + 0x2ACD: [558,53,1352,64,1288], // SQUARE LEFT OPEN BOX OPERATOR + 0x2ACE: [558,53,1352,64,1288], // SQUARE RIGHT OPEN BOX OPERATOR + 0x2ACF: [532,26,685,50,615], // CLOSED SUBSET + 0x2AD0: [532,26,685,70,635], // CLOSED SUPERSET + 0x2AD1: [609,103,685,60,626], // CLOSED SUBSET OR EQUAL TO + 0x2AD2: [609,103,685,60,625], // CLOSED SUPERSET OR EQUAL TO + 0x2AD3: [715,209,685,60,625], // SUBSET ABOVE SUPERSET + 0x2AD4: [715,209,685,60,625], // SUPERSET ABOVE SUBSET + 0x2AD5: [715,209,685,60,625], // SUBSET ABOVE SUBSET + 0x2AD6: [715,209,685,60,625], // SUPERSET ABOVE SUPERSET + 0x2AD7: [532,26,1250,60,1190], // SUPERSET BESIDE SUBSET + 0x2AD8: [532,26,1250,60,1190], // SUPERSET BESIDE AND JOINED BY DASH WITH SUBSET + 0x2AD9: [536,31,620,48,572], // ELEMENT OF OPENING DOWNWARDS + 0x2ADA: [697,128,620,48,572], // PITCHFORK WITH TEE TOP + 0x2ADB: [695,97,620,48,572], // TRANSVERSAL INTERSECTION + 0x2ADC: [557,10,620,11,572], // FORKING + 0x2ADD: [557,10,620,48,572], // NONFORKING + 0x2ADE: [662,0,497,64,433], // SHORT LEFT TACK + 0x2ADF: [371,0,685,48,637], // SHORT DOWN TACK + 0x2AE0: [371,0,685,48,637], // SHORT UP TACK + 0x2AE1: [662,0,685,48,637], // PERPENDICULAR WITH S + 0x2AE2: [662,0,685,60,625], // VERTICAL BAR TRIPLE RIGHT TURNSTILE + 0x2AE3: [662,0,860,46,803], // DOUBLE VERTICAL BAR LEFT TURNSTILE + 0x2AE4: [662,0,685,60,625], // VERTICAL BAR DOUBLE LEFT TURNSTILE + 0x2AE5: [662,0,860,46,803], // DOUBLE VERTICAL BAR DOUBLE LEFT TURNSTILE + 0x2AE6: [662,0,685,57,626], // LONG DASH FROM LEFT MEMBER OF DOUBLE VERTICAL + 0x2AE7: [571,0,685,48,637], // SHORT DOWN TACK WITH OVERBAR + 0x2AE8: [571,0,685,48,637], // SHORT UP TACK WITH UNDERBAR + 0x2AE9: [691,185,685,48,637], // SHORT UP TACK ABOVE SHORT DOWN TACK + 0x2AEA: [662,0,685,48,637], // DOUBLE DOWN TACK + 0x2AEB: [662,0,685,48,637], // DOUBLE UP TACK + 0x2AEC: [489,-18,600,48,552], // DOUBLE STROKE NOT SIGN + 0x2AED: [489,-18,600,48,552], // REVERSED DOUBLE STROKE NOT SIGN + 0x2AEE: [690,189,404,23,381], // stix-short mid negated by backslash + 0x2AEF: [660,154,502,101,401], // VERTICAL LINE WITH CIRCLE ABOVE + 0x2AF0: [660,154,502,101,401], // VERTICAL LINE WITH CIRCLE BELOW + 0x2AF1: [693,187,502,101,401], // DOWN TACK WITH CIRCLE BELOW + 0x2AF2: [695,189,523,10,513], // PARALLEL WITH HORIZONTAL STROKE + 0x2AF3: [695,189,685,48,637], // PARALLEL WITH TILDE OPERATOR + 0x2AF4: [695,189,685,131,555], // TRIPLE VERTICAL BAR BINARY RELATION + 0x2AF5: [695,189,685,12,674], // TRIPLE VERTICAL BAR WITH HORIZONTAL STROKE + 0x2AF6: [608,102,685,279,406], // TRIPLE COLON OPERATOR + 0x2AF7: [661,155,1170,58,1080], // TRIPLE NESTED LESS-THAN + 0x2AF8: [661,155,1170,90,1112], // TRIPLE NESTED GREATER-THAN + 0x2AF9: [726,220,685,60,625], // DOUBLE-LINE SLANTED LESS-THAN OR EQUAL TO + 0x2AFA: [726,220,685,60,625], // DOUBLE-LINE SLANTED GREATER-THAN OR EQUAL TO + 0x2AFB: [710,222,894,46,848], // TRIPLE SOLIDUS BINARY RELATION + 0x2AFD: [710,222,709,46,663], // DOUBLE SOLIDUS OPERATOR + 0x2AFE: [690,189,410,100,310] // WHITE VERTICAL BAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SuppMathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js new file mode 100644 index 0000000..586349e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x27F0: [662,156,1033,69,965], // UPWARDS QUADRUPLE ARROW + 0x27F1: [662,156,1033,69,965], // DOWNWARDS QUADRUPLE ARROW + 0x27F2: [626,116,974,54,882], // ANTICLOCKWISE GAPPED CIRCLE ARROW + 0x27F3: [626,116,974,92,920], // CLOCKWISE GAPPED CIRCLE ARROW + 0x27F4: [569,61,1200,52,1147], // RIGHT ARROW WITH CIRCLED PLUS + 0x27FD: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW FROM BAR + 0x27FE: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW FROM BAR + 0x27FF: [449,-58,1574,55,1519] // LONG RIGHTWARDS SQUIGGLE ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SupplementalArrowsA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js new file mode 100644 index 0000000..f5e5cee --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js @@ -0,0 +1,155 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/SupplementalArrowsB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x2900: [450,-57,926,56,871], // RIGHTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE + 0x2901: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE + 0x2902: [551,45,926,55,871], // LEFTWARDS DOUBLE ARROW WITH VERTICAL STROKE + 0x2903: [551,45,926,55,871], // RIGHTWARDS DOUBLE ARROW WITH VERTICAL STROKE + 0x2904: [551,45,926,20,906], // LEFT RIGHT DOUBLE ARROW WITH VERTICAL STROKE + 0x2905: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW FROM BAR + 0x2906: [551,45,926,55,871], // LEFTWARDS DOUBLE ARROW FROM BAR + 0x2907: [551,45,926,55,871], // RIGHTWARDS DOUBLE ARROW FROM BAR + 0x2908: [662,156,511,59,452], // DOWNWARDS ARROW WITH HORIZONTAL STROKE + 0x2909: [662,156,511,59,452], // UPWARDS ARROW WITH HORIZONTAL STROKE + 0x290A: [662,156,926,71,854], // UPWARDS TRIPLE ARROW + 0x290B: [662,156,926,72,855], // DOWNWARDS TRIPLE ARROW + 0x290C: [449,-57,926,55,871], // LEFTWARDS DOUBLE DASH ARROW + 0x290D: [449,-57,926,55,871], // RIGHTWARDS DOUBLE DASH ARROW + 0x290E: [449,-57,926,55,871], // LEFTWARDS TRIPLE DASH ARROW + 0x290F: [449,-57,926,55,871], // RIGHTWARDS TRIPLE DASH ARROW + 0x2910: [449,-57,1412,55,1357], // RIGHTWARDS TWO-HEADED TRIPLE DASH ARROW + 0x2911: [449,-57,926,55,873], // RIGHTWARDS ARROW WITH DOTTED STEM + 0x2912: [662,156,511,59,452], // UPWARDS ARROW TO BAR + 0x2913: [662,156,511,59,452], // DOWNWARDS ARROW TO BAR + 0x2914: [450,-57,926,55,871], // RIGHTWARDS ARROW WITH TAIL WITH VERTICAL STROKE + 0x2915: [450,-57,926,55,871], // RIGHTWARDS ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE + 0x2916: [449,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL + 0x2917: [450,-57,926,55,871], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH VERTICAL STROKE + 0x2918: [450,-57,926,50,876], // RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE + 0x2919: [449,-57,926,55,871], // LEFTWARDS ARROW-TAIL + 0x291A: [449,-57,926,55,871], // RIGHTWARDS ARROW-TAIL + 0x291B: [449,-57,926,55,871], // LEFTWARDS DOUBLE ARROW-TAIL + 0x291C: [449,-57,926,55,871], // RIGHTWARDS DOUBLE ARROW-TAIL + 0x291D: [449,-57,926,55,871], // LEFTWARDS ARROW TO BLACK DIAMOND + 0x291E: [449,-57,926,55,871], // RIGHTWARDS ARROW TO BLACK DIAMOND + 0x291F: [450,-57,926,55,871], // LEFTWARDS ARROW FROM BAR TO BLACK DIAMOND + 0x2920: [450,-57,926,55,871], // RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND + 0x2921: [662,156,926,55,871], // NORTH WEST AND SOUTH EAST ARROW + 0x2922: [660,156,926,55,873], // NORTH EAST AND SOUTH WEST ARROW + 0x2923: [662,156,926,55,871], // NORTH WEST ARROW WITH HOOK + 0x2924: [662,156,926,55,871], // NORTH EAST ARROW WITH HOOK + 0x2925: [662,156,926,55,871], // SOUTH EAST ARROW WITH HOOK + 0x2926: [662,156,926,55,871], // SOUTH WEST ARROW WITH HOOK + 0x2927: [662,156,926,55,873], // NORTH WEST ARROW AND NORTH EAST ARROW + 0x2928: [662,156,926,53,871], // NORTH EAST ARROW AND SOUTH EAST ARROW + 0x2929: [662,156,926,53,871], // SOUTH EAST ARROW AND SOUTH WEST ARROW + 0x292A: [662,156,926,55,873], // SOUTH WEST ARROW AND NORTH WEST ARROW + 0x292B: [662,156,926,55,871], // RISING DIAGONAL CROSSING FALLING DIAGONAL + 0x292C: [662,156,926,55,871], // FALLING DIAGONAL CROSSING RISING DIAGONAL + 0x292D: [662,156,926,55,871], // SOUTH EAST ARROW CROSSING NORTH EAST ARROW + 0x292E: [662,156,926,55,871], // NORTH EAST ARROW CROSSING SOUTH EAST ARROW + 0x292F: [662,156,926,55,871], // FALLING DIAGONAL CROSSING NORTH EAST ARROW + 0x2930: [662,154,926,55,873], // RISING DIAGONAL CROSSING SOUTH EAST ARROW + 0x2931: [662,156,926,54,870], // NORTH EAST ARROW CROSSING NORTH WEST ARROW + 0x2932: [662,156,926,55,871], // NORTH WEST ARROW CROSSING NORTH EAST ARROW + 0x2933: [449,-57,926,55,871], // WAVE ARROW POINTING DIRECTLY RIGHT + 0x2934: [562,0,926,141,797], // ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS + 0x2935: [562,0,926,141,797], // ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS + 0x2936: [493,163,784,87,649], // ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS + 0x2937: [493,163,784,135,697], // ARROW POINTING DOWNWARDS THEN CURVING RIGHTWARDS + 0x2938: [657,153,511,70,415], // RIGHT-SIDE ARC CLOCKWISE ARROW + 0x2939: [657,153,511,96,441], // LEFT-SIDE ARC ANTICLOCKWISE ARROW + 0x293A: [423,-78,926,69,866], // TOP ARC ANTICLOCKWISE ARROW + 0x293B: [423,-78,926,60,857], // BOTTOM ARC ANTICLOCKWISE ARROW + 0x293C: [423,-64,926,59,856], // TOP ARC CLOCKWISE ARROW WITH MINUS + 0x293D: [423,29,926,69,866], // TOP ARC ANTICLOCKWISE ARROW WITH PLUS + 0x293E: [563,116,926,69,856], // LOWER RIGHT SEMICIRCULAR CLOCKWISE ARROW + 0x293F: [563,116,926,69,856], // LOWER LEFT SEMICIRCULAR ANTICLOCKWISE ARROW + 0x2940: [788,116,926,92,834], // ANTICLOCKWISE CLOSED CIRCLE ARROW + 0x2941: [788,116,926,92,834], // CLOCKWISE CLOSED CIRCLE ARROW + 0x2942: [598,92,926,55,871], // RIGHTWARDS ARROW ABOVE SHORT LEFTWARDS ARROW + 0x2943: [598,92,926,55,871], // LEFTWARDS ARROW ABOVE SHORT RIGHTWARDS ARROW + 0x2944: [598,92,926,55,871], // SHORT RIGHTWARDS ARROW ABOVE LEFTWARDS ARROW + 0x2945: [449,69,926,55,871], // RIGHTWARDS ARROW WITH PLUS BELOW + 0x2946: [449,69,926,55,871], // LEFTWARDS ARROW WITH PLUS BELOW + 0x2947: [449,-57,926,55,871], // RIGHTWARDS ARROW THROUGH X + 0x2948: [449,-57,926,38,888], // LEFT RIGHT ARROW THROUGH SMALL CIRCLE + 0x2949: [662,154,511,60,451], // UPWARDS TWO-HEADED ARROW FROM SMALL CIRCLE + 0x294A: [439,-67,926,38,888], // LEFT BARB UP RIGHT BARB DOWN HARPOON + 0x294B: [439,-67,926,38,888], // LEFT BARB DOWN RIGHT BARB UP HARPOON + 0x294C: [662,156,511,69,441], // UP BARB RIGHT DOWN BARB LEFT HARPOON + 0x294D: [662,156,511,69,441], // UP BARB LEFT DOWN BARB RIGHT HARPOON + 0x294E: [439,-220,926,38,888], // LEFT BARB UP RIGHT BARB UP HARPOON + 0x294F: [662,156,511,222,441], // UP BARB RIGHT DOWN BARB RIGHT HARPOON + 0x2950: [286,-67,926,38,888], // LEFT BARB DOWN RIGHT BARB DOWN HARPOON + 0x2951: [662,156,511,69,288], // UP BARB LEFT DOWN BARB LEFT HARPOON + 0x2952: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB UP TO BAR + 0x2953: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP TO BAR + 0x2954: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB RIGHT TO BAR + 0x2955: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB RIGHT TO BAR + 0x2956: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN TO BAR + 0x2957: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN TO BAR + 0x2958: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB LEFT TO BAR + 0x2959: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB LEFT TO BAR + 0x295A: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB UP FROM BAR + 0x295B: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP FROM BAR + 0x295C: [662,156,511,60,451], // UPWARDS HARPOON WITH BARB RIGHT FROM BAR + 0x295D: [662,156,511,60,451], // DOWNWARDS HARPOON WITH BARB RIGHT FROM BAR + 0x295E: [448,-58,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN FROM BAR + 0x295F: [448,-58,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN FROM BAR + 0x2960: [662,156,511,59,450], // UPWARDS HARPOON WITH BARB LEFT FROM BAR + 0x2961: [662,156,511,59,450], // DOWNWARDS HARPOON WITH BARB LEFT FROM BAR + 0x2962: [539,33,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB DOWN + 0x2963: [662,156,685,57,629], // UPWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT + 0x2964: [539,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB DOWN + 0x2965: [662,156,685,57,629], // DOWNWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT + 0x2966: [539,-120,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB UP + 0x2967: [386,33,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN ABOVE RIGHTWARDS HARPOON WITH BARB DOWN + 0x2968: [539,-120,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB UP + 0x2969: [386,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN ABOVE LEFTWARDS HARPOON WITH BARB DOWN + 0x296A: [539,-120,926,55,871], // LEFTWARDS HARPOON WITH BARB UP ABOVE LONG DASH + 0x296B: [386,33,926,55,871], // LEFTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH + 0x296C: [539,-120,926,55,871], // RIGHTWARDS HARPOON WITH BARB UP ABOVE LONG DASH + 0x296D: [386,33,926,55,871], // RIGHTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH + 0x296E: [662,156,685,57,629], // UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT + 0x296F: [662,156,685,57,629], // DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT + 0x2970: [386,-120,926,55,871], // RIGHT DOUBLE ARROW WITH ROUNDED HEAD + 0x2971: [565,-57,926,55,871], // EQUALS SIGN ABOVE RIGHTWARDS ARROW + 0x2972: [508,-57,926,55,871], // TILDE OPERATOR ABOVE RIGHTWARDS ARROW + 0x2973: [449,2,926,55,871], // LEFTWARDS ARROW ABOVE TILDE OPERATOR + 0x2974: [449,2,926,55,871], // RIGHTWARDS ARROW ABOVE TILDE OPERATOR + 0x2975: [449,141,926,55,871], // RIGHTWARDS ARROW ABOVE ALMOST EQUAL TO + 0x2976: [607,283,685,64,621], // LESS-THAN ABOVE LEFTWARDS ARROW + 0x2977: [532,26,926,45,871], // LEFTWARDS ARROW THROUGH LESS-THAN + 0x2978: [608,282,685,64,621], // GREATER-THAN ABOVE RIGHTWARDS ARROW + 0x2979: [627,262,685,64,621], // SUBSET ABOVE RIGHTWARDS ARROW + 0x297A: [532,26,926,45,871], // LEFTWARDS ARROW THROUGH SUBSET + 0x297B: [627,262,685,63,620], // SUPERSET ABOVE LEFTWARDS ARROW + 0x297C: [511,5,926,135,791], // LEFT FISH TAIL + 0x297D: [511,5,926,135,791], // RIGHT FISH TAIL + 0x297E: [581,75,685,84,600], // UP FISH TAIL + 0x297F: [581,75,685,84,600] // DOWN FISH TAIL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/SupplementalArrowsB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js new file mode 100644 index 0000000..a5b2440 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/General/Regular/ij.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXGeneral'], + { + 0x1D6A4: [441,11,278,47,235], // MATHEMATICAL ITALIC SMALL DOTLESS I + 0x1D6A5: [441,207,278,-124,246] // MATHEMATICAL ITALIC SMALL DOTLESS J + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/General/Regular/ij.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js new file mode 100644 index 0000000..2d5e888 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222B: [2000,269,686,56,1136], // INTEGRAL + 0x222C: [2000,269,1084,56,1534], // DOUBLE INTEGRAL + 0x222D: [2000,269,1482,56,1932], // TRIPLE INTEGRAL + 0x222E: [2000,269,736,56,1136], // CONTOUR INTEGRAL + 0x222F: [2000,269,1134,56,1534], // SURFACE INTEGRAL + 0x2230: [2000,269,1532,56,1932], // VOLUME INTEGRAL + 0x2231: [2000,269,736,56,1136], // CLOCKWISE INTEGRAL + 0x2232: [2000,269,736,56,1136], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [2000,269,736,56,1136], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0C: [2000,269,1880,56,2330], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [2000,269,736,56,1136], // FINITE PART INTEGRAL + 0x2A0E: [2000,269,736,56,1136], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [2000,269,736,56,1136], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [2000,269,736,56,1136], // CIRCULATION FUNCTION + 0x2A11: [2000,269,736,56,1136], // ANTICLOCKWISE INTEGRATION + 0x2A12: [2000,269,836,56,1136], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [2000,269,736,56,1136], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [2000,269,926,56,1136], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [2000,269,736,56,1136], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [2000,269,836,56,1136], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [2000,269,911,24,1131], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [2000,269,736,56,1136], // INTEGRAL WITH TIMES SIGN + 0x2A19: [2000,269,836,56,1136], // INTEGRAL WITH INTERSECTION + 0x2A1A: [2000,269,836,56,1136], // INTEGRAL WITH UNION + 0x2A1B: [2182,269,746,56,1146], // INTEGRAL WITH OVERBAR + 0x2A1C: [2000,451,696,56,1146] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js new file mode 100644 index 0000000..c09ab19 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222C: [2000,269,895,56,1345], // DOUBLE INTEGRAL + 0x222D: [2000,269,1205,56,1655], // TRIPLE INTEGRAL + 0x222F: [2000,269,945,56,1345], // SURFACE INTEGRAL + 0x2230: [2000,269,1255,56,1655], // VOLUME INTEGRAL + 0x2231: [2000,269,635,56,1035], // CLOCKWISE INTEGRAL + 0x2232: [2000,269,635,56,1035], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [2000,269,635,56,1035], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0B: [2000,269,914,56,1035], // SUMMATION WITH INTEGRAL + 0x2A0C: [2000,269,1515,56,1965], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [2000,269,635,56,1035], // FINITE PART INTEGRAL + 0x2A0E: [2000,269,635,56,1035], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [2000,269,635,56,1035], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [2000,269,635,56,1035], // CIRCULATION FUNCTION + 0x2A11: [2000,269,635,56,1035], // ANTICLOCKWISE INTEGRATION + 0x2A12: [2000,269,735,56,1035], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [2000,269,635,56,1035], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [2000,269,844,56,1054], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [2000,269,635,56,1035], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [2000,269,735,56,1035], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [2000,269,819,24,1039], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [2000,269,635,56,1035], // INTEGRAL WITH TIMES SIGN + 0x2A19: [2000,269,735,56,1035], // INTEGRAL WITH INTERSECTION + 0x2A1A: [2000,269,735,56,1035], // INTEGRAL WITH UNION + 0x2A1B: [2157,269,636,56,1036], // INTEGRAL WITH OVERBAR + 0x2A1C: [2000,426,585,56,1035] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js new file mode 100644 index 0000000..c4179ef --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsD/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsD'] = { + directory: 'IntegralsD/Regular', + family: 'STIXIntegralsD', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [2000,269,585,56,1035], // INTEGRAL + 0x222E: [2000,269,635,56,1035] // CONTOUR INTEGRAL +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsD"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsD/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js new file mode 100644 index 0000000..2c29c2e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222B: [732,193,562,41,618], // INTEGRAL + 0x222C: [732,193,870,41,926], // DOUBLE INTEGRAL + 0x222D: [732,193,1179,41,1235], // TRIPLE INTEGRAL + 0x222E: [732,193,626,41,618], // CONTOUR INTEGRAL + 0x222F: [732,193,934,41,926], // SURFACE INTEGRAL + 0x2230: [732,193,1243,41,1235], // VOLUME INTEGRAL + 0x2231: [732,193,626,41,618], // CLOCKWISE INTEGRAL + 0x2232: [732,193,626,41,618], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [732,193,626,41,618], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0C: [732,193,1488,41,1544], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [732,193,578,41,618], // FINITE PART INTEGRAL + 0x2A0E: [732,193,578,41,618], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [732,193,626,41,618], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [732,193,562,41,618], // CIRCULATION FUNCTION + 0x2A11: [732,193,626,41,618], // ANTICLOCKWISE INTEGRATION + 0x2A12: [732,193,579,41,618], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [732,193,581,41,618], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [732,193,688,41,652], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [732,193,626,41,618], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [732,193,579,41,618], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [732,193,646,8,646], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [732,193,578,41,618], // INTEGRAL WITH TIMES SIGN + 0x2A19: [732,193,559,41,618], // INTEGRAL WITH INTERSECTION + 0x2A1A: [732,193,559,41,618], // INTEGRAL WITH UNION + 0x2A1B: [802,193,555,41,611], // INTEGRAL WITH OVERBAR + 0x2A1C: [732,268,556,41,612] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js new file mode 100644 index 0000000..5d01384 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222C: [690,189,726,41,782], // DOUBLE INTEGRAL + 0x222D: [690,189,956,41,1012], // TRIPLE INTEGRAL + 0x222F: [690,189,790,41,782], // SURFACE INTEGRAL + 0x2230: [690,189,1020,41,1012], // VOLUME INTEGRAL + 0x2231: [690,189,560,41,552], // CLOCKWISE INTEGRAL + 0x2232: [690,189,560,41,552], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [690,189,560,41,552], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0B: [694,190,593,41,552], // SUMMATION WITH INTEGRAL + 0x2A0C: [695,189,1152,41,1242], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [694,190,512,41,552], // FINITE PART INTEGRAL + 0x2A0E: [693,190,512,41,552], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [694,190,560,41,552], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [694,190,496,41,552], // CIRCULATION FUNCTION + 0x2A11: [695,189,560,41,552], // ANTICLOCKWISE INTEGRATION + 0x2A12: [694,191,513,41,552], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [694,190,512,41,552], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [694,190,635,41,597], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [694,190,512,43,552], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [695,189,512,41,552], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [694,190,613,13,586], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [695,189,512,41,552], // INTEGRAL WITH TIMES SIGN + 0x2A19: [694,190,512,40,551], // INTEGRAL WITH INTERSECTION + 0x2A1A: [694,190,512,40,551], // INTEGRAL WITH UNION + 0x2A1B: [784,190,462,41,552], // INTEGRAL WITH OVERBAR + 0x2A1C: [694,284,496,41,552] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js new file mode 100644 index 0000000..57f67d2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsSm/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsSm'] = { + directory: 'IntegralsSm/Regular', + family: 'STIXIntegralsSm', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [690,189,496,41,552], // INTEGRAL + 0x222E: [690,189,560,41,552] // CONTOUR INTEGRAL +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsSm"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsSm/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js new file mode 100644 index 0000000..3a1feb0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222B: [824,320,425,59,467], // INTEGRAL + 0x222C: [824,320,715,59,757], // DOUBLE INTEGRAL + 0x222D: [824,320,1005,59,1047], // TRIPLE INTEGRAL + 0x222E: [834,310,394,35,483], // CONTOUR INTEGRAL + 0x222F: [824,320,650,35,739], // SURFACE INTEGRAL + 0x2230: [824,320,951,54,1047], // VOLUME INTEGRAL + 0x2231: [824,320,484,54,553], // CLOCKWISE INTEGRAL + 0x2232: [824,320,445,35,534], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [824,320,456,35,545], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0C: [824,320,1295,59,1337], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [824,320,511,59,553], // FINITE PART INTEGRAL + 0x2A0E: [824,320,511,59,553], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [824,320,592,59,634], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [824,320,385,35,474], // CIRCULATION FUNCTION + 0x2A11: [824,320,484,54,553], // ANTICLOCKWISE INTEGRATION + 0x2A12: [824,320,417,35,486], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [824,320,424,54,493], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [824,320,535,54,604], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [824,320,416,35,505], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [824,320,459,35,528], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [824,320,824,45,884], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [824,320,527,45,587], // INTEGRAL WITH TIMES SIGN + 0x2A19: [824,320,567,45,632], // INTEGRAL WITH INTERSECTION + 0x2A1A: [824,320,567,45,632], // INTEGRAL WITH UNION + 0x2A1B: [959,320,479,45,521], // INTEGRAL WITH OVERBAR + 0x2A1C: [824,455,411,35,511] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js new file mode 100644 index 0000000..d55e4f7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222C: [824,320,596,59,638], // DOUBLE INTEGRAL + 0x222D: [824,320,826,59,868], // TRIPLE INTEGRAL + 0x222F: [824,320,548,35,637], // SURFACE INTEGRAL + 0x2230: [824,320,876,54,972], // VOLUME INTEGRAL + 0x2231: [824,320,478,54,547], // CLOCKWISE INTEGRAL + 0x2232: [824,320,441,35,530], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [824,320,475,35,564], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0B: [812,332,706,43,661], // SUMMATION WITH INTEGRAL + 0x2A0C: [812,332,1093,59,1135], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [812,332,467,59,509], // FINITE PART INTEGRAL + 0x2A0E: [812,332,467,59,509], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [812,332,529,59,571], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [812,332,346,35,435], // CIRCULATION FUNCTION + 0x2A11: [812,332,478,54,547], // ANTICLOCKWISE INTEGRATION + 0x2A12: [812,332,365,35,434], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [812,332,384,54,453], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [812,332,509,54,578], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [812,332,396,35,485], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [812,332,412,31,481], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [812,332,771,45,831], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [812,332,455,45,515], // INTEGRAL WITH TIMES SIGN + 0x2A19: [812,332,504,45,569], // INTEGRAL WITH INTERSECTION + 0x2A1A: [812,332,504,45,569], // INTEGRAL WITH UNION + 0x2A1B: [935,332,453,45,495], // INTEGRAL WITH OVERBAR + 0x2A1C: [812,455,376,59,509] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js new file mode 100644 index 0000000..b4b13d4 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUp'] = { + directory: 'IntegralsUp/Regular', + family: 'STIXIntegralsUp', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [824,320,366,59,408], // INTEGRAL + 0x222E: [824,320,397,35,486] // CONTOUR INTEGRAL +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUp"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUp/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js new file mode 100644 index 0000000..5485e18 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222B: [2000,269,515,58,560], // INTEGRAL + 0x222C: [2000,269,875,58,920], // DOUBLE INTEGRAL + 0x222D: [2000,269,1239,59,1281], // TRIPLE INTEGRAL + 0x222E: [2000,269,626,56,695], // CONTOUR INTEGRAL + 0x222F: [2000,269,1039,39,1039], // SURFACE INTEGRAL + 0x2230: [2000,269,1384,36,1395], // VOLUME INTEGRAL + 0x2231: [2000,269,632,47,760], // CLOCKWISE INTEGRAL + 0x2232: [2000,269,639,56,769], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [2000,269,598,56,778], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0C: [2000,269,1595,58,1640], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [2000,269,552,-35,590], // FINITE PART INTEGRAL + 0x2A0E: [2000,269,642,35,680], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [2000,269,675,25,752], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [2000,269,640,56,646], // CIRCULATION FUNCTION + 0x2A11: [2000,269,632,47,760], // ANTICLOCKWISE INTEGRATION + 0x2A12: [2000,269,625,58,654], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [2000,269,557,58,626], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [2000,269,708,58,789], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [2000,269,626,56,695], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [2000,269,718,56,747], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [2000,269,963,24,1057], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [2000,269,681,62,692], // INTEGRAL WITH TIMES SIGN + 0x2A19: [2000,269,832,65,898], // INTEGRAL WITH INTERSECTION + 0x2A1A: [2000,269,832,65,898], // INTEGRAL WITH UNION + 0x2A1B: [2182,269,733,0,773], // INTEGRAL WITH OVERBAR + 0x2A1C: [2000,451,525,58,831] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js new file mode 100644 index 0000000..cb3ae0c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222C: [2000,269,787,58,832], // DOUBLE INTEGRAL + 0x222D: [2000,269,1107,58,1152], // TRIPLE INTEGRAL + 0x222F: [2000,269,849,39,849], // SURFACE INTEGRAL + 0x2230: [2000,269,1161,36,1172], // VOLUME INTEGRAL + 0x2231: [2000,269,608,47,736], // CLOCKWISE INTEGRAL + 0x2232: [2000,269,616,56,746], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [2000,269,605,56,785], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0B: [2000,269,914,58,856], // SUMMATION WITH INTEGRAL + 0x2A0C: [2000,269,1397,58,1442], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [2000,269,609,35,647], // FINITE PART INTEGRAL + 0x2A0E: [1999,270,609,35,647], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [1999,270,658,25,734], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [2000,269,629,56,635], // CIRCULATION FUNCTION + 0x2A11: [2000,269,608,47,736], // ANTICLOCKWISE INTEGRATION + 0x2A12: [2000,269,568,58,597], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [2000,269,530,58,599], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [2000,269,695,58,776], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [2000,269,615,56,684], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [2000,269,653,56,682], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [2000,269,945,24,1039], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [2000,269,597,62,608], // INTEGRAL WITH TIMES SIGN + 0x2A19: [2000,269,735,65,801], // INTEGRAL WITH INTERSECTION + 0x2A1A: [2000,269,735,65,801], // INTEGRAL WITH UNION + 0x2A1B: [2157,269,701,0,741], // INTEGRAL WITH OVERBAR + 0x2A1C: [2000,426,467,58,799] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js new file mode 100644 index 0000000..04741a8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpD/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpD'] = { + directory: 'IntegralsUpD/Regular', + family: 'STIXIntegralsUpD', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [2000,269,467,58,512], // INTEGRAL + 0x222E: [2000,269,616,56,685] // CONTOUR INTEGRAL +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUpD"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpD/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js new file mode 100644 index 0000000..91793ed --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222B: [732,193,396,52,414], // INTEGRAL + 0x222C: [732,193,666,52,684], // DOUBLE INTEGRAL + 0x222D: [732,193,936,52,954], // TRIPLE INTEGRAL + 0x222E: [732,193,466,52,426], // CONTOUR INTEGRAL + 0x222F: [732,193,736,52,696], // SURFACE INTEGRAL + 0x2230: [732,193,998,52,965], // VOLUME INTEGRAL + 0x2231: [732,193,501,52,468], // CLOCKWISE INTEGRAL + 0x2232: [732,193,501,52,469], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [732,193,496,52,486], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0C: [732,193,1206,52,1224], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [732,193,450,52,420], // FINITE PART INTEGRAL + 0x2A0E: [732,193,450,52,420], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [732,193,550,40,518], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [732,193,479,52,447], // CIRCULATION FUNCTION + 0x2A11: [732,193,511,52,478], // ANTICLOCKWISE INTEGRATION + 0x2A12: [732,193,489,52,449], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [732,193,487,52,447], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [732,193,572,52,534], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [732,193,520,52,480], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [732,193,523,52,483], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [732,193,600,8,646], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [733,192,505,31,467], // INTEGRAL WITH TIMES SIGN + 0x2A19: [732,193,516,52,476], // INTEGRAL WITH INTERSECTION + 0x2A1A: [732,193,516,52,476], // INTEGRAL WITH UNION + 0x2A1B: [802,193,403,40,428], // INTEGRAL WITH OVERBAR + 0x2A1C: [732,268,411,52,440] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js new file mode 100644 index 0000000..3cc25b1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x222C: [690,189,587,52,605], // DOUBLE INTEGRAL + 0x222D: [690,189,817,52,835], // TRIPLE INTEGRAL + 0x222F: [690,189,682,52,642], // SURFACE INTEGRAL + 0x2230: [690,189,909,52,869], // VOLUME INTEGRAL + 0x2231: [690,189,480,52,447], // CLOCKWISE INTEGRAL + 0x2232: [690,189,480,52,448], // CLOCKWISE CONTOUR INTEGRAL + 0x2233: [690,189,480,52,470], // ANTICLOCKWISE CONTOUR INTEGRAL + 0x2A0B: [694,190,556,41,515], // SUMMATION WITH INTEGRAL + 0x2A0C: [694,190,1044,68,1081], // QUADRUPLE INTEGRAL OPERATOR + 0x2A0D: [694,190,420,68,391], // FINITE PART INTEGRAL + 0x2A0E: [694,190,420,68,391], // INTEGRAL WITH DOUBLE STROKE + 0x2A0F: [694,190,520,39,482], // INTEGRAL AVERAGE WITH SLASH + 0x2A10: [694,190,324,41,380], // CIRCULATION FUNCTION + 0x2A11: [694,190,480,52,447], // ANTICLOCKWISE INTEGRATION + 0x2A12: [694,190,450,68,410], // LINE INTEGRATION WITH RECTANGULAR PATH AROUND POLE + 0x2A13: [690,189,450,68,412], // LINE INTEGRATION WITH SEMICIRCULAR PATH AROUND POLE + 0x2A14: [690,189,550,68,512], // LINE INTEGRATION NOT INCLUDING THE POLE + 0x2A15: [690,189,450,50,410], // INTEGRAL AROUND A POINT OPERATOR + 0x2A16: [694,191,450,50,410], // QUATERNION INTEGRAL OPERATOR + 0x2A17: [694,190,611,12,585], // INTEGRAL WITH LEFTWARDS ARROW WITH HOOK + 0x2A18: [694,190,450,48,412], // INTEGRAL WITH TIMES SIGN + 0x2A19: [694,190,450,59,403], // INTEGRAL WITH INTERSECTION + 0x2A1A: [694,190,450,59,403], // INTEGRAL WITH UNION + 0x2A1B: [784,189,379,68,416], // INTEGRAL WITH OVERBAR + 0x2A1C: [690,283,357,52,400] // INTEGRAL WITH UNDERBAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js new file mode 100644 index 0000000..44ff5e5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUpSm/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXIntegralsUpSm'] = { + directory: 'IntegralsUpSm/Regular', + family: 'STIXIntegralsUpSm', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [690,189,357,52,375], // INTEGRAL + 0x222E: [690,189,452,52,412] // CONTOUR INTEGRAL +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXIntegralsUpSm"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/IntegralsUpSm/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js new file mode 100644 index 0000000..5678d38 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js new file mode 100644 index 0000000..6fb7e2b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'] = { + directory: 'NonUnicode/Bold', + family: 'STIXNonUnicode', + weight: 'bold', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ] + +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js new file mode 100644 index 0000000..4d1cadd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js @@ -0,0 +1,182 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Bold/PrivateUse.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold'], + { + 0xE000: [610,25,1184,808,912], // stix-radical symbol vertical extender + 0xE001: [704,-75,1198,808,1224], // stix-radical symbol top corner piece + 0xE00E: [819,339,750,80,670], // stix-not greater, double equals + 0xE00F: [742,235,750,80,670], // stix-not greater-or-equal, slanted + 0xE010: [742,235,750,80,670], // stix-not less-or-equal, slanted + 0xE011: [819,339,750,80,670], // stix-not less, double equals + 0xE023: [742,235,750,68,683], // stix-not congruent, dot + 0xE025: [852,345,750,67,683], // stix-not approximately equal or equal to + 0xE028: [672,166,1000,38,961], // stix-not much less than + 0xE029: [672,166,1000,38,961], // stix-not much greater than + 0xE037: [672,166,750,67,682], // stix-reverse not equal + 0xE04D: [553,47,750,68,683], // stix-not, vert, equal or similar + 0xE050: [672,166,750,87,663], // stix-not, square subset + 0xE051: [672,166,750,87,663], // stix-not, square superset + 0xE052: [574,69,750,68,683], // stix-not bumpy equals + 0xE05B: [574,-16,750,68,683], // stix-not bumpy single equals + 0xE05C: [553,31,750,68,683], // stix-not equal or similar + 0xE05E: [762,-565,0,95,425], // stix-double macron + 0xE060: [-137,322,0,0,330], // stix-double underbar + 0xE061: [-137,437,0,0,330], // stix-triple underbar + 0xE062: [-137,552,0,0,330], // stix-quadruple underbar + 0xE064: [837,-565,333,-16,349], // stix-tilde over bar over + 0xE065: [-137,409,0,-16,349], // stix-straight over wavy underline + 0xE066: [801,-565,0,91,430], // stix-double dot over bar over + 0xE067: [-137,409,0,-16,349], // stix-wavy over straight underline + 0xE06D: [835,113,750,82,668], // stix-not equal to or member + 0xE06E: [835,113,750,82,668], // stix-not equal to or contains + 0xE06F: [835,113,750,82,668], // stix-Not (vert) equals or member + 0xE070: [835,113,750,82,668], // stix-not (vert) equals or contains + 0xE07E: [738,230,750,80,670], // stix-not (vert) less-than slanted equal + 0xE07F: [742,234,750,80,670], // stix-not (vert) greater-than slanted equal + 0xE080: [819,337,750,80,670], // stix-not (vert) less-than or two-line equal + 0xE081: [820,342,750,91,681], // stix-not (vert) greater-than or two-line equal + 0xE082: [742,235,750,80,670], // stix-not (slash) equal (slant) or less-than + 0xE083: [742,234,750,80,670], // stix-not (slash) equal (slant) or greater-than + 0xE084: [738,230,750,80,670], // stix-not (vert) equals (slant) or less-than + 0xE085: [742,234,750,80,670], // stix-not (vert) equals (slant) or greater-than + 0xE0A1: [691,19,769,27,734], // stix-capital C with stroke + 0xE0B0: [752,-531,0,100,417], // stix-left overangle (combining) + 0xE0B1: [-50,271,0,100,417], // stix-left underangle (combining) + 0xE0B2: [-50,271,0,99,416], // stix-right underangle (combining) + 0xE0B3: [691,203,556,14,487], // stix-small fj ligature + 0xE0B4: [555,-209,282,42,239], // stix-arrow hookleft + 0xE0B5: [555,-209,282,43,240], // stix-arrow hookright + 0xE0B6: [478,-56,0,15,142], // stix-maps-to relation tail + 0xE0D8: [688,13,400,57,343], // stix-arc-degrees (degree with dot below) + 0xE0D9: [663,0,314,54,260], // stix-arc-minutes (prime with dot below) + 0xE0DA: [663,0,425,54,371], // stix-arc-seconds (double prime with dot below) + 0xE0DD: [930,0,553,76,483], // stix-days (roman d with dot below) + 0xE0DE: [926,0,549,67,482], // stix-hours (roman h with dot below) + 0xE0DF: [765,0,773,67,706], // stix-minutes (roman m with dot below) + 0xE0E0: [920,0,552,42,510], // stix-period (roman p with dot below) + 0xE0E1: [765,0,378,55,323], // stix-seconds (roman s with dot below) + 0xE0E2: [754,0,481,63,435], // stix-years (roman y with dot below) + 0xE10B: [297,-209,315,0,315], // stix-stix-extender for horizontal solid (normal) arrow + 0xE10E: [405,-101,714,211,503], // stix-extender for vertical double arrow + 0xE10F: [399,-107,315,0,315], // stix-extender for horizontal double arrow + 0xE150: [175,302,735,-40,756], // stix-horizontal brace, down left piece + 0xE151: [175,302,735,-21,775], // stix-horizontal brace, down right piece + 0xE152: [477,0,735,-40,756], // stix-horizontal brace, upper left piece + 0xE153: [477,0,735,-21,775], // stix-horizontal brace, upper right piece + 0xE263: [422,10,523,26,496], // stix-old style digit 0 + 0xE267: [425,0,523,111,420], // stix-old style digit 1 + 0xE26B: [421,0,523,53,470], // stix-old style digit 2 + 0xE26F: [424,198,523,31,478], // stix-old style digit 3 + 0xE273: [420,198,523,42,496], // stix-old style digit 4 + 0xE277: [421,198,523,49,474], // stix-old style digit 5 + 0xE27B: [614,8,523,21,502], // stix-old style digit 6 + 0xE27F: [421,198,523,8,507], // stix-old style digit 7 + 0xE283: [606,12,523,31,493], // stix-old style digit 8 + 0xE287: [421,202,523,25,499], // stix-old style digit 9 + 0xE28D: [734,-484,0,92,498], // stix-double circumflex + 0xE28F: [175,0,325,-1,326], // stix-short horizontal extender at baseline + 0xE290: [175,0,633,-1,634], // stix-long horizontal extender at baseline + 0xE2FD: [775,235,722,9,689], // stix-MATHEMATICAL BOLD CAPITAL ALPHA SLASHED + 0xE2FF: [775,235,667,16,619], // stix-MATHEMATICAL BOLD CAPITAL BETA SLASHED + 0xE301: [775,207,620,16,593], // stix-MATHEMATICAL BOLD CAPITAL GAMMA SLASHED + 0xE303: [775,207,722,33,673], // stix-MATHEMATICAL BOLD CAPITAL DELTA SLASHED + 0xE305: [775,235,667,16,641], // stix-MATHEMATICAL BOLD CAPITAL EPSILON SLASHED + 0xE307: [775,235,667,28,634], // stix-MATHEMATICAL BOLD CAPITAL ZETA SLASHED + 0xE309: [775,235,778,21,759], // stix-MATHEMATICAL BOLD CAPITAL ETA SLASHED + 0xE30B: [775,207,778,35,743], // stix-MATHEMATICAL BOLD CAPITAL THETA SLASHED + 0xE30D: [775,235,389,-36,436], // stix-MATHEMATICAL BOLD CAPITAL IOTA SLASHED + 0xE30F: [775,235,778,30,769], // stix-MATHEMATICAL BOLD CAPITAL KAPPA SLASHED + 0xE311: [775,207,707,9,674], // stix-MATHEMATICAL BOLD CAPITAL LAMBDA SLASHED + 0xE313: [775,235,944,14,921], // stix-MATHEMATICAL BOLD CAPITAL MU SLASHED + 0xE315: [775,235,722,16,701], // stix-MATHEMATICAL BOLD CAPITAL NU SLASHED + 0xE317: [775,207,647,40,607], // stix-MATHEMATICAL BOLD CAPITAL XI SLASHED + 0xE319: [775,235,778,35,743], // stix-MATHEMATICAL BOLD CAPITAL OMICRON SLASHED + 0xE31B: [775,207,778,21,759], // stix-MATHEMATICAL BOLD CAPITAL PI SLASHED + 0xE31D: [775,235,611,16,600], // stix-MATHEMATICAL BOLD CAPITAL RHO SLASHED + 0xE31F: [775,207,671,28,641], // stix-MATHEMATICAL BOLD CAPITAL SIGMA SLASHED + 0xE321: [775,235,667,31,636], // stix-MATHEMATICAL BOLD CAPITAL TAU SLASHED + 0xE323: [775,207,723,14,700], // stix-MATHEMATICAL BOLD CAPITAL UPSILON SLASHED + 0xE325: [775,207,836,18,818], // stix-MATHEMATICAL BOLD CAPITAL PHI SLASHED + 0xE327: [775,235,722,16,699], // stix-MATHEMATICAL BOLD CAPITAL CHI SLASHED + 0xE329: [775,207,804,11,793], // stix-MATHEMATICAL BOLD CAPITAL PSI SLASHED + 0xE32B: [775,207,768,28,740], // stix-MATHEMATICAL BOLD CAPITAL OMEGA SLASHED + 0xE365: [775,235,669,32,665], // stix-capital stigma, Greek slashed + 0xE369: [775,235,667,-13,670], // stix-capital digamma, Greek slashed + 0xE36D: [793,235,757,-49,758], // stix-capital koppa, Greek slashed + 0xE371: [775,235,734,27,710], // stix-capital sampi, Greek slashed + 0xE37C: [775,235,667,16,641], // stix-capital E roman bold slashed + 0xE38A: [676,0,787,50,737], // stix-mathematical bold double-struck capital A + 0xE38B: [676,0,729,75,669], // stix-mathematical bold double-struck capital B + 0xE38D: [676,0,650,75,595], // stix-mathematical bold double-struck capital E + 0xE38E: [676,0,474,75,595], // stix-mathematical bold double-struck capital F + 0xE38F: [691,19,751,45,686], // stix-mathematical bold double-struck capital G + 0xE390: [676,0,380,80,300], // stix-mathematical bold double-struck capital I + 0xE391: [676,19,618,50,548], // stix-mathematical bold double-struck capital J + 0xE392: [676,0,792,75,767], // stix-mathematical bold double-struck capital K + 0xE393: [676,0,662,70,607], // stix-mathematical bold double-struck capital L + 0xE394: [676,0,914,75,839], // stix-mathematical bold double-struck capital M + 0xE395: [691,19,787,45,742], // stix-mathematical bold double-struck capital O + 0xE396: [692,19,702,45,657], // stix-mathematical bold double-struck capital S + 0xE397: [676,0,556,25,645], // stix-mathematical bold double-struck capital T + 0xE398: [676,19,738,70,668], // ?? + 0xE399: [676,0,627,17,704], // stix-mathematical bold double-struck capital V + 0xE39A: [676,0,996,17,1015], // stix-mathematical bold double-struck capital W + 0xE39B: [676,0,794,20,769], // stix-mathematical bold double-struck capital X + 0xE39C: [676,0,652,23,739], // stix-mathematical bold double-struck capital Y + 0xE39D: [473,14,623,50,563], // stix-mathematical bold double-struck small letter a + 0xE39E: [676,14,643,60,593], // stix-mathematical bold double-struck small letter b + 0xE39F: [473,14,574,50,524], // stix-mathematical bold double-struck small letter c + 0xE3A2: [676,0,474,25,536], // stix-mathematical bold double-struck small letter f + 0xE3A3: [473,205,643,50,583], // stix-mathematical bold double-struck small letter g + 0xE3A4: [676,0,624,60,564], // stix-mathematical bold double-struck small letter h + 0xE3A7: [676,0,646,60,621], // stix-mathematical bold double-struck small letter k + 0xE3A8: [676,0,325,60,265], // stix-mathematical bold double-struck small letter l + 0xE3A9: [473,0,908,60,848], // stix-mathematical bold double-struck small letter m + 0xE3AA: [473,0,624,60,564], // stix-mathematical bold double-struck small letter n + 0xE3AB: [473,14,598,45,553], // stix-mathematical bold double-struck small letter o + 0xE3AC: [473,205,643,60,593], // stix-mathematical bold double-struck small letter p + 0xE3AD: [473,205,643,50,583], // stix-mathematical bold double-struck small letter q + 0xE3AE: [473,0,339,60,445], // stix-mathematical bold double-struck small letter r + 0xE3AF: [473,14,549,52,497], // stix-mathematical bold double-struck small letter s + 0xE3B0: [676,14,446,25,411], // stix-mathematical bold double-struck small letter t + 0xE3B1: [461,16,619,55,559], // stix-mathematical bold double-struck small letter u + 0xE3B2: [461,0,494,6,544], // stix-mathematical bold double-struck small letter v + 0xE3B3: [461,0,786,22,789], // stix-mathematical bold double-struck small letter w + 0xE3B4: [461,0,660,25,635], // stix-mathematical bold double-struck small letter x + 0xE3B5: [461,205,471,-9,537], // stix-mathematical bold double-struck small letter y + 0xE3B6: [461,0,513,40,473], // stix-mathematical bold double-struck small letter z + 0xE3B7: [681,11,525,40,482], // MATHEMATICAL MONOSPACE DIGIT ZERO + 0xE3B8: [681,0,525,90,450], // MATHEMATICAL MONOSPACE DIGIT ONE + 0xE3B9: [681,0,525,52,470], // MATHEMATICAL MONOSPACE DIGIT TWO + 0xE3BA: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT THREE + 0xE3BB: [682,0,525,29,493], // MATHEMATICAL MONOSPACE DIGIT FOUR + 0xE3BC: [670,11,525,52,470], // MATHEMATICAL MONOSPACE DIGIT FIVE + 0xE3BD: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SIX + 0xE3BE: [686,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT SEVEN + 0xE3BF: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT EIGHT + 0xE3C0: [681,11,525,43,479], // MATHEMATICAL MONOSPACE DIGIT NINE + 0xE3C3: [747,243,750,68,683], // stix-not (vert) almost equal or equal to + 0xE3C4: [747,243,750,68,683] // stix-not almost equal or equal to + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Bold/PrivateUse.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js new file mode 100644 index 0000000..125e8f7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js new file mode 100644 index 0000000..75f109a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'] = { + directory: 'NonUnicode/BoldItalic', + family: 'STIXNonUnicode', + weight: 'bold', + style: 'italic', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ] + +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-bold-italic"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js new file mode 100644 index 0000000..6cf6e3a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js @@ -0,0 +1,215 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/BoldItalic/PrivateUse.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-bold-italic'], + { + 0xE09C: [775,235,776,40,765], // stix-capital A italic double-slashed + 0xE09D: [775,235,759,44,779], // stix-capital E italic double-slashed + 0xE09E: [775,235,658,44,771], // stix-capital F italic double-slashed + 0xE0B3: [703,205,556,-188,517], // stix-small fj ligature + 0xE1F6: [688,13,500,89,578], // stix-Mathematical sans-serif bold italic digit 0 + 0xE1F7: [688,0,500,204,505], // stix-Mathematical sans-serif bold italic digit 1 + 0xE1F8: [688,0,500,20,581], // stix-Mathematical sans-serif bold italic digit 2 + 0xE1F9: [688,13,500,32,586], // stix-Mathematical sans-serif bold italic digit 3 + 0xE1FA: [688,0,500,55,583], // stix-Mathematical sans-serif bold italic digit 4 + 0xE1FB: [676,13,500,27,651], // stix-Mathematical sans-serif bold italic digit 5 + 0xE1FC: [688,13,500,80,638], // stix-Mathematical sans-serif bold italic digit 6 + 0xE1FD: [676,0,500,120,639], // stix-Mathematical sans-serif bold italic digit 7 + 0xE1FE: [688,13,500,63,594], // stix-Mathematical sans-serif bold italic digit 8 + 0xE1FF: [688,13,500,28,588], // stix-Mathematical sans-serif bold italic digit 9 + 0xE200: [669,0,733,7,667], // stix-mathematical bold oblique double-struck capital A + 0xE201: [669,0,729,18,714], // stix-mathematical bold oblique double-struck capital B + 0xE203: [669,0,680,18,703], // stix-mathematical bold oblique double-struck capital E + 0xE204: [669,0,474,18,703], // stix-mathematical bold oblique double-struck capital F + 0xE205: [685,14,718,35,708], // stix-mathematical bold oblique double-struck capital G + 0xE206: [669,0,382,22,411], // stix-mathematical bold oblique double-struck capital I + 0xE207: [669,14,603,19,644], // stix-mathematical bold oblique double-struck capital J + 0xE208: [669,0,766,18,766], // stix-mathematical bold oblique double-struck capital K + 0xE209: [669,0,613,18,568], // stix-mathematical bold oblique double-struck capital L + 0xE20A: [669,0,912,26,943], // stix-mathematical bold oblique double-struck capital M + 0xE20B: [685,14,749,35,734], // stix-mathematical bold oblique double-struck capital O + 0xE20C: [685,14,686,30,711], // stix-mathematical bold oblique double-struck capital S + 0xE20D: [669,0,445,30,653], // stix-mathematical bold oblique double-struck capital T + 0xE20E: [669,14,709,35,755], // stix-mathematical bold oblique double-struck capital U + 0xE20F: [669,0,504,42,705], // stix-mathematical bold oblique double-struck capital V + 0xE210: [669,0,891,81,991], // stix-mathematical bold oblique double-struck capital W + 0xE211: [669,0,759,7,832], // stix-mathematical bold oblique double-struck capital X + 0xE212: [669,0,462,10,714], // stix-mathematical bold oblique double-struck capital Y + 0xE213: [462,13,634,45,589], // stix-mathematical bold oblique double-struck small letter a + 0xE214: [699,13,661,34,619], // stix-mathematical bold oblique double-struck small letter b + 0xE215: [462,13,571,45,545], // stix-mathematical bold oblique double-struck small letter c + 0xE217: [462,13,575,45,540], // ?? + 0xE218: [699,0,438,45,618], // stix-mathematical bold oblique double-struck small letter f + 0xE219: [462,205,666,28,642], // stix-mathematical bold oblique double-struck small letter g + 0xE21A: [699,0,661,34,616], // stix-mathematical bold oblique double-struck small letter h + 0xE21D: [699,0,641,34,616], // stix-mathematical bold oblique double-struck small letter k + 0xE21E: [699,0,372,34,413], // stix-mathematical bold oblique double-struck small letter l + 0xE21F: [462,0,942,35,897], // stix-mathematical bold oblique double-struck small letter m + 0xE220: [462,0,661,34,616], // stix-mathematical bold oblique double-struck small letter n + 0xE221: [462,13,586,45,551], // stix-mathematical bold oblique double-struck small letter o + 0xE222: [462,205,680,3,645], // stix-mathematical bold oblique double-struck small letter p + 0xE223: [462,205,662,45,630], // stix-mathematical bold oblique double-struck small letter q + 0xE224: [462,0,403,33,538], // stix-mathematical bold oblique double-struck small letter r + 0xE225: [462,13,533,33,519], // stix-mathematical bold oblique double-struck small letter s + 0xE226: [676,14,403,22,422], // stix-mathematical bold oblique double-struck small letter t + 0xE227: [449,13,661,45,627], // stix-mathematical bold oblique double-struck small letter u + 0xE228: [449,0,477,32,534], // stix-mathematical bold oblique double-struck small letter v + 0xE229: [449,0,733,55,763], // stix-mathematical bold oblique double-struck small letter w + 0xE22A: [449,0,562,-12,589], // stix-mathematical bold oblique double-struck small letter x + 0xE22B: [449,205,584,-9,643], // stix-mathematical bold oblique double-struck small letter y + 0xE22C: [449,0,619,35,594], // stix-mathematical bold oblique double-struck small letter z + 0xE247: [711,47,871,38,834], // stix-mathematical bold calligraphic capital A + 0xE248: [703,10,755,33,740], // stix-mathematical bold calligraphic capital B + 0xE249: [704,12,667,36,669], // stix-mathematical bold calligraphic capital C + 0xE24A: [696,0,802,30,808], // stix-mathematical bold calligraphic capital D + 0xE24B: [704,8,609,41,626], // stix-mathematical bold calligraphic capital E + 0xE24C: [696,0,645,34,738], // stix-mathematical bold calligraphic capital F + 0xE24D: [704,144,615,43,615], // stix-mathematical bold calligraphic capital G + 0xE24E: [696,24,849,22,858], // stix-mathematical bold calligraphic capital H + 0xE24F: [696,0,621,36,623], // stix-mathematical bold calligraphic capital I + 0xE250: [695,116,645,36,811], // stix-mathematical bold calligraphic capital J + 0xE251: [703,14,856,38,820], // stix-mathematical bold calligraphic capital K + 0xE252: [704,8,726,38,688], // stix-mathematical bold calligraphic capital L + 0xE253: [705,45,1186,38,1146], // stix-mathematical bold calligraphic capital M + 0xE254: [835,39,997,36,1098], // stix-mathematical bold calligraphic capital N + 0xE255: [707,10,772,43,782], // stix-mathematical bold calligraphic capital O + 0xE256: [696,0,645,36,731], // stix-mathematical bold calligraphic capital Q + 0xE257: [704,145,778,43,737], // stix-mathematical bold calligraphic capital P + 0xE258: [697,13,869,36,831], // stix-mathematical bold calligraphic capital R + 0xE259: [705,7,667,36,699], // stix-mathematical bold calligraphic capital S + 0xE25A: [783,0,547,33,747], // stix-mathematical bold calligraphic capital T + 0xE25B: [700,14,787,33,936], // stix-mathematical bold calligraphic capital U + 0xE25C: [711,31,652,36,706], // stix-mathematical bold calligraphic capital V + 0xE25D: [711,34,956,36,1010], // stix-mathematical bold calligraphic capital W + 0xE25E: [710,14,720,36,781], // stix-mathematical bold calligraphic capital X + 0xE25F: [711,144,720,36,773], // stix-mathematical bold calligraphic capital Y + 0xE260: [702,98,778,36,744], // stix-mathematical bold calligraphic capital Z + 0xE264: [473,10,600,47,554], // stix-old style digit 0 + 0xE268: [473,0,600,95,450], // stix-old style digit 1 + 0xE26C: [473,0,600,54,531], // stix-old style digit 2 + 0xE270: [463,217,600,31,547], // stix-old style digit 3 + 0xE274: [450,217,600,30,564], // stix-old style digit 4 + 0xE278: [450,218,600,25,561], // stix-old style digit 5 + 0xE27C: [670,10,600,55,545], // stix-old style digit 6 + 0xE280: [450,217,600,24,582], // stix-old style digit 7 + 0xE284: [670,10,600,41,560], // stix-old style digit 8 + 0xE288: [463,217,600,49,539], // stix-old style digit 9 + 0xE295: [775,235,776,40,739], // stix-capital A bold italic slashed + 0xE297: [775,235,762,44,747], // stix-capital B bold italic slashed + 0xE299: [775,235,711,57,753], // stix-capital C bold italic slashed + 0xE29B: [775,235,870,44,840], // stix-capital D bold italic slashed + 0xE29D: [775,235,759,44,779], // stix-capital E bold italic slashed + 0xE29F: [775,235,658,44,771], // stix-capital F bold italic slashed + 0xE2A1: [775,235,789,57,787], // stix-capital G bold italic slashed + 0xE2A3: [775,235,915,44,940], // stix-capital H bold italic slashed + 0xE2A5: [775,235,502,46,525], // stix-capital I bold italic slashed + 0xE2A7: [775,235,648,68,688], // stix-capital J bold italic slashed + 0xE2A9: [775,207,814,44,838], // stix-capital K bold italic slashed + 0xE2AB: [775,235,764,44,718], // stix-capital L bold italic slashed + 0xE2AD: [775,235,1044,44,1069], // stix-capital M bold italic slashed + 0xE2AF: [775,235,857,44,882], // stix-capital N bold italic slashed + 0xE2B1: [775,235,802,57,777], // stix-capital O bold italic slashed + 0xE2B3: [775,207,626,19,790], // stix-capital P bold italic slashed + 0xE2B5: [775,245,834,57,777], // stix-capital Q bold italic slashed + 0xE2B7: [775,235,783,44,757], // stix-capital R bold italic slashed + 0xE2B9: [775,235,589,57,621], // stix-capital S bold italic slashed + 0xE2BB: [775,235,562,30,696], // stix-capital T bold italic slashed + 0xE2BD: [775,235,745,74,813], // stix-capital U bold italic slashed + 0xE2BF: [775,235,597,66,774], // stix-capital V bold italic slashed + 0xE2C1: [775,235,980,66,1131], // stix-capital W bold italic slashed + 0xE2C3: [775,235,803,34,819], // stix-capital X bold italic slashed + 0xE2C5: [775,235,569,25,706], // stix-capital Y bold italic slashed + 0xE2C7: [775,235,720,42,701], // stix-capital Z bold italic slashed + 0xE2C9: [775,235,630,46,595], // stix-lowercase a bold italic slashed + 0xE2CB: [775,235,585,57,564], // stix-lowercase b bold italic slashed + 0xE2CD: [775,235,511,33,506], // stix-lowercase c bold italic slashed + 0xE2CF: [775,235,646,31,638], // stix-lowercase d bold italic slashed + 0xE2D1: [775,235,512,44,516], // stix-lowercase e bold italic slashed + 0xE2D3: [775,235,654,-29,762], // stix-lowercase f bold italic slashed + 0xE2D5: [775,235,601,24,599], // stix-lowercase g bold italic slashed + 0xE2D7: [775,235,611,35,577], // stix-lowercase h bold italic slashed + 0xE2D9: [775,207,373,34,488], // stix-lowercase i bold italic slashed + 0xE2DB: [775,235,600,-29,763], // stix-lowercase j bold italic slashed + 0xE2DD: [775,235,622,35,660], // stix-lowercase k bold italic slashed + 0xE2DF: [775,207,381,30,484], // stix-lowercase l bold italic slashed + 0xE2E1: [775,235,873,35,838], // stix-lowercase m bold italic slashed + 0xE2E3: [775,235,611,35,581], // stix-lowercase n bold italic slashed + 0xE2E5: [775,235,571,46,548], // stix-lowercase o bold italic slashed + 0xE2E7: [775,235,636,-25,649], // stix-lowercase p bold italic slashed + 0xE2E9: [775,207,580,46,568], // stix-lowercase q bold italic slashed + 0xE2EB: [775,235,437,35,567], // stix-lowercase r bold italic slashed + 0xE2ED: [775,235,512,42,515], // stix-lowercase s bold italic slashed + 0xE2EF: [775,207,411,32,486], // stix-lowercase t bold italic slashed + 0xE2F1: [775,235,632,60,597], // stix-lowercase u bold italic slashed + 0xE2F3: [775,207,554,52,558], // stix-lowercase v bold italic slashed + 0xE2F5: [775,207,814,17,799], // stix-lowercase w bold italic slashed + 0xE2F7: [775,235,647,35,622], // stix-lowercase x bold italic slashed + 0xE2F9: [775,207,599,20,640], // stix-lowercase y bold italic slashed + 0xE2FB: [775,235,531,35,555], // stix-lowercase z bold italic slashed + 0xE32D: [775,207,671,46,675], // stix-MATHEMATICAL BOLD ITALIC SMALL ALPHA SLASHED + 0xE32F: [775,207,664,-65,706], // stix-MATHEMATICAL BOLD ITALIC SMALL BETA SLASHED + 0xE331: [775,207,588,-100,671], // stix-MATHEMATICAL BOLD ITALIC SMALL GAMMA SLASHED + 0xE333: [775,207,571,46,547], // stix-MATHEMATICAL BOLD ITALIC SMALL DELTA SLASHED + 0xE335: [775,207,508,44,515], // stix-MATHEMATICAL BOLD ITALIC SMALL EPSILON SLASHED + 0xE337: [775,207,505,-54,629], // stix-MATHEMATICAL BOLD ITALIC SMALL ZETA SLASHED + 0xE339: [775,207,579,20,583], // stix-MATHEMATICAL BOLD ITALIC SMALL ETA SLASHED + 0xE33B: [775,207,615,46,602], // stix-MATHEMATICAL BOLD ITALIC SMALL THETA SLASHED + 0xE33D: [775,207,355,29,483], // stix-MATHEMATICAL BOLD ITALIC SMALL IOTA SLASHED + 0xE33F: [775,207,594,35,656], // stix-MATHEMATICAL BOLD ITALIC SMALL KAPPA SLASHED + 0xE341: [775,207,598,18,642], // stix-MATHEMATICAL BOLD ITALIC SMALL LAMBDA SLASHED + 0xE343: [775,207,697,-34,737], // stix-MATHEMATICAL BOLD ITALIC SMALL MU SLASHED + 0xE345: [775,207,571,35,584], // stix-MATHEMATICAL BOLD ITALIC SMALL NU SLASHED + 0xE347: [775,207,504,-54,629], // stix-MATHEMATICAL BOLD ITALIC SMALL XI SLASHED + 0xE349: [775,235,500,32,506], // stix-MATHEMATICAL BOLD ITALIC SMALL OMICRON SLASHED + 0xE34B: [775,207,652,1,772], // stix-MATHEMATICAL BOLD ITALIC SMALL PI SLASHED + 0xE34D: [775,207,636,27,652], // stix-MATHEMATICAL BOLD ITALIC SMALL RHO SLASHED + 0xE34F: [775,207,504,23,514], // stix-MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA SLASHED + 0xE351: [775,207,595,46,641], // stix-MATHEMATICAL BOLD ITALIC SMALL SIGMA SLASHED + 0xE353: [775,207,474,20,521], // stix-MATHEMATICAL BOLD ITALIC SMALL TAU SLASHED + 0xE355: [775,207,582,20,584], // stix-small upsilon, Greek slashed + 0xE357: [775,207,726,1,772], // stix-MATHEMATICAL BOLD ITALIC SMALL PHI SLASHED + 0xE359: [775,207,622,-41,730], // stix-MATHEMATICAL BOLD ITALIC SMALL CHI SLASHED + 0xE35B: [775,207,720,37,808], // stix-MATHEMATICAL BOLD ITALIC SMALL PSI SLASHED + 0xE35D: [775,207,782,24,795], // stix-MATHEMATICAL BOLD ITALIC SMALL OMEGA SLASHED + 0xE35F: [775,207,608,20,681], // stix-MATHEMATICAL BOLD ITALIC THETA SYMBOL SLASHED + 0xE361: [775,207,727,0,771], // stix-MATHEMATICAL BOLD ITALIC PHI SYMBOL SLASHED + 0xE363: [775,207,925,6,978], // stix-MATHEMATICAL BOLD ITALIC PI SYMBOL SLASHED + 0xE367: [775,235,475,-35,509], // stix-small stigma, Greek slashed + 0xE36B: [775,235,525,-68,651], // stix-small digamma, Greek slashed + 0xE36F: [775,235,485,16,466], // stix-small koppa, Greek slashed + 0xE373: [775,235,530,12,731], // stix-small sampi, Greek slashed + 0xE375: [775,235,569,-50,592], // stix-MATHEMATICAL BOLD ITALIC KAPPA SYMBOL SLASHED + 0xE377: [775,207,571,46,547], // stix-MATHEMATICAL BOLD ITALIC RHO SYMBOL SLASHED + 0xE379: [775,207,601,46,579], // stix-MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL SLASHED + 0xE37B: [775,207,525,46,543], // stix-MATHEMATICAL BOLD ITALIC EPSILON SYMBOL SLASHED + 0xE37E: [775,235,792,-40,777], // stix-capital C script slashed + 0xE380: [707,14,670,10,662], // stix-small d italic with straight bar through it + 0xE382: [707,14,622,14,598], // stix-small k italic with straight bar through it + 0xE384: [628,14,411,18,390], // stix-small t italic with straight bar through it + 0xE386: [473,14,355,15,338], // stix-small Greek iota with straight bar through it + 0xE388: [707,14,598,18,563], // stix-small Greek lambda with straight bar through it + 0xE389: [666,0,480,16,472], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0xE3C5: [462,207,514,47,475], // stix-mathematical bold italic small dotless j + 0xE3C6: [462,9,357,55,274] // stix-mathematical bold italic small dotless i + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/BoldItalic/PrivateUse.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js new file mode 100644 index 0000000..53a77ff --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js new file mode 100644 index 0000000..e990b3d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js @@ -0,0 +1,60 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'] = { + directory: 'NonUnicode/Italic', + family: 'STIXNonUnicode', + style: 'italic', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ], + 0xE22D: [677,45,852,43,812], // stix-mathematical calligraphic capital A + 0xE22E: [670,3,724,35,709], // stix-mathematical calligraphic capital B + 0xE22F: [671,11,569,43,586], // stix-mathematical calligraphic capital C + 0xE230: [662,0,801,34,788], // stix-mathematical calligraphic capital D + 0xE231: [670,4,553,40,599], // stix-mathematical calligraphic capital E + 0xE232: [662,0,652,43,710], // stix-mathematical calligraphic capital F + 0xE233: [671,131,580,40,580], // stix-mathematical calligraphic capital G + 0xE234: [664,21,831,41,845], // stix-mathematical calligraphic capital H + 0xE235: [662,0,575,38,591], // stix-mathematical calligraphic capital I + 0xE236: [662,120,632,31,785], // stix-mathematical calligraphic capital J + 0xE237: [670,13,809,30,783], // stix-mathematical calligraphic capital K + 0xE238: [670,7,693,30,653], // stix-mathematical calligraphic capital L + 0xE239: [671,45,1166,40,1128], // stix-mathematical calligraphic capital M + 0xE23A: [795,37,957,40,1064], // stix-mathematical calligraphic capital N + 0xE23B: [669,10,737,38,729], // stix-mathematical calligraphic capital O + 0xE23C: [662,0,667,38,709], // stix-mathematical calligraphic capital P + 0xE23D: [671,131,744,43,704], // stix-mathematical calligraphic capital Q + 0xE23E: [662,3,854,38,816], // stix-mathematical calligraphic capital R + 0xE23F: [671,0,634,38,671], // stix-mathematical calligraphic capital S + 0xE240: [721,0,509,41,730], // stix-mathematical calligraphic capital T + 0xE241: [672,13,817,37,950], // stix-mathematical calligraphic capital U + 0xE242: [677,33,638,33,680], // stix-mathematical calligraphic capital V + 0xE243: [685,32,956,33,998], // stix-mathematical calligraphic capital W + 0xE244: [672,13,692,38,739], // stix-mathematical calligraphic capital X + 0xE245: [675,131,719,34,763], // stix-mathematical calligraphic capital Y + 0xE246: [664,94,752,38,714] // stix-mathematical calligraphic capital Z +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode-italic"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js new file mode 100644 index 0000000..2d6c0a5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js @@ -0,0 +1,242 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Italic/PrivateUse.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode-italic'], + { + 0xE09C: [756,218,753,37,787], // stix-capital A italic double-slashed + 0xE09D: [756,218,706,42,732], // stix-capital E italic double-slashed + 0xE09E: [756,218,624,42,724], // stix-capital F italic double-slashed + 0xE0B3: [681,207,500,-141,504], // stix-small fj ligature + 0xE154: [653,0,671,3,606], // stix-oblique open face capital letter A + 0xE155: [653,0,686,17,676], // stix-oblique open face capital letter B + 0xE156: [653,0,639,17,664], // stix-oblique open face capital letter E + 0xE157: [653,0,469,18,664], // stix-oblique open face capital letter F + 0xE158: [666,18,702,35,702], // stix-oblique open face capital letter G + 0xE159: [653,0,320,21,350], // stix-oblique open face capital letter I + 0xE15A: [653,18,562,16,595], // stix-oblique open face capital letter J + 0xE15B: [653,0,700,17,730], // stix-oblique open face capital letter K + 0xE15C: [653,0,608,18,524], // stix-oblique open face capital letter L + 0xE15D: [653,0,858,25,892], // stix-oblique open face capital letter M + 0xE15E: [666,18,723,35,713], // stix-oblique open face capital letter O + 0xE15F: [666,18,624,24,669], // stix-oblique open face capital letter S + 0xE160: [653,0,463,30,682], // stix-oblique open face capital letter T + 0xE161: [653,14,648,33,716], // stix-oblique open face capital letter U + 0xE162: [653,0,492,75,678], // stix-oblique open face capital letter V + 0xE163: [653,0,810,100,963], // stix-oblique open face capital letter W + 0xE164: [653,0,650,-24,770], // stix-oblique open face capital letter X + 0xE165: [653,0,458,42,658], // stix-oblique open face capital letter Y + 0xE166: [441,11,566,40,521], // stix-oblique open face small letter a + 0xE167: [683,11,598,27,558], // stix-oblique open face small letter b + 0xE168: [441,11,504,40,480], // stix-oblique open face small letter c + 0xE169: [683,0,331,28,519], // stix-oblique open face small letter f + 0xE16A: [441,220,599,9,572], // stix-oblique open face small letter g + 0xE16B: [683,0,588,27,543], // stix-oblique open face small letter h + 0xE16C: [683,0,545,25,530], // stix-oblique open face small letter k + 0xE16D: [683,0,306,27,356], // stix-oblique open face small letter l + 0xE16E: [441,0,857,27,812], // stix-oblique open face small letter m + 0xE16F: [441,0,588,27,543], // stix-oblique open face small letter n + 0xE170: [441,11,534,40,494], // stix-oblique open face small letter o + 0xE171: [441,218,628,5,588], // stix-oblique open face small letter p + 0xE172: [441,218,604,40,574], // stix-oblique open face small letter q + 0xE173: [442,0,332,27,467], // stix-oblique open face small letter r + 0xE174: [441,11,502,34,468], // stix-oblique open face small letter s + 0xE175: [633,10,323,20,328], // stix-oblique open face small letter t + 0xE176: [428,13,588,40,556], // stix-oblique open face small letter u + 0xE177: [428,0,395,45,462], // stix-oblique open face small letter v + 0xE178: [428,0,639,56,690], // stix-oblique open face small letter w + 0xE179: [428,0,557,14,554], // stix-oblique open face small letter x + 0xE17A: [428,218,471,5,538], // stix-oblique open face small letter y + 0xE17B: [428,0,540,21,530], // stix-oblique open face small letter z + 0xE1B4: [676,14,500,86,578], // stix-Mathematical sans-serif italic digit 0 + 0xE1B5: [677,0,500,223,469], // stix-Mathematical sans-serif italic digit 1 + 0xE1B6: [676,0,500,35,574], // stix-Mathematical sans-serif italic digit 2 + 0xE1B7: [676,14,500,44,544], // stix-Mathematical sans-serif italic digit 3 + 0xE1B8: [676,0,500,52,547], // stix-Mathematical sans-serif italic digit 4 + 0xE1B9: [676,14,500,49,626], // stix-Mathematical sans-serif italic digit 5 + 0xE1BA: [684,14,500,83,617], // stix-Mathematical sans-serif italic digit 6 + 0xE1BB: [662,8,500,146,616], // stix-Mathematical sans-serif italic digit 7 + 0xE1BC: [676,14,500,81,560], // stix-Mathematical sans-serif italic digit 8 + 0xE1BD: [676,21,500,51,579], // stix-Mathematical sans-serif italic digit 9 + 0xE1BE: [683,10,536,45,527], // stix-Mathematical sans-serif italic partial differential + 0xE1BF: [674,0,660,28,632], // stix-Mathematical sans-serif italic capital alpha + 0xE1C0: [662,0,662,60,627], // stix-Mathematical sans-serif italic capital beta + 0xE1C1: [662,0,562,60,665], // stix-Mathematical sans-serif italic capital gamma + 0xE1C2: [674,0,660,28,632], // stix-Mathematical sans-serif italic capital delta + 0xE1C3: [662,0,639,60,664], // stix-Mathematical sans-serif italic capital epsilon + 0xE1C4: [662,0,698,25,760], // stix-Mathematical sans-serif italic capital zeta + 0xE1C5: [662,0,700,60,735], // stix-Mathematical sans-serif italic capital eta + 0xE1C6: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital theta + 0xE1C7: [662,0,433,50,503], // stix-Mathematical sans-serif italic capital iota + 0xE1C8: [662,0,631,60,715], // stix-Mathematical sans-serif italic capital kappa + 0xE1C9: [674,0,664,20,624], // stix-Mathematical sans-serif italic capital lambda + 0xE1CA: [662,0,890,60,918], // stix-Mathematical sans-serif italic capital mu + 0xE1CB: [662,14,724,60,752], // stix-Mathematical sans-serif italic capital nu + 0xE1CC: [662,0,722,47,754], // stix-Mathematical sans-serif italic capital xi + 0xE1CD: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital omicron + 0xE1CE: [662,0,700,60,735], // stix-Mathematical sans-serif italic capital pi + 0xE1CF: [662,0,538,60,624], // stix-Mathematical sans-serif italic capital rho + 0xE1D0: [676,14,780,75,755], // stix-Mathematical sans-serif italic capital THETA symbol + 0xE1D1: [662,0,654,21,706], // stix-Mathematical sans-serif italic capital sigma + 0xE1D2: [662,0,585,72,659], // stix-Mathematical sans-serif italic capital tau + 0xE1D3: [676,0,593,83,725], // stix-Mathematical sans-serif italic capital upsilon + 0xE1D4: [662,0,736,52,736], // stix-Mathematical sans-serif italic capital phi + 0xE1D5: [662,0,722,20,795], // stix-Mathematical sans-serif italic capital chi + 0xE1D6: [681,0,712,105,805], // stix-Mathematical sans-serif italic capital psi + 0xE1D7: [676,0,795,39,795], // stix-Mathematical sans-serif italic capital omega + 0xE1D8: [463,10,586,47,616], // stix-Mathematical sans-serif italic small alpha + 0xE1D9: [683,215,535,-12,559], // stix-Mathematical sans-serif italic small beta + 0xE1DA: [463,216,503,84,527], // stix-Mathematical sans-serif italic small gamma + 0xE1DB: [683,10,497,30,537], // stix-Mathematical sans-serif italic small delta + 0xE1DC: [463,10,494,35,484], // stix-Mathematical sans-serif italic small epsilon + 0xE1DD: [683,213,429,32,454], // stix-Mathematical sans-serif italic small zeta + 0xE1DE: [463,215,493,38,486], // stix-Mathematical sans-serif italic small eta + 0xE1DF: [683,10,518,65,511], // stix-Mathematical sans-serif italic small theta + 0xE1E0: [464,10,296,56,268], // stix-Mathematical sans-serif italic small iota + 0xE1E1: [464,0,472,38,517], // stix-Mathematical sans-serif italic small kappa + 0xE1E2: [683,11,536,18,502], // stix-Mathematical sans-serif italic small lambda + 0xE1E3: [453,215,561,-9,536], // stix-Mathematical sans-serif italic small mu + 0xE1E4: [464,14,376,41,416], // stix-Mathematical sans-serif italic small nu + 0xE1E5: [683,215,434,43,464], // stix-Mathematical sans-serif italic small xi + 0xE1E6: [463,10,533,45,505], // stix-Mathematical sans-serif italic small omicron + 0xE1E7: [453,10,565,45,589], // stix-Mathematical sans-serif italic small pi + 0xE1E8: [462,216,534,-33,510], // stix-Mathematical sans-serif italic small rho + 0xE1E9: [463,212,436,52,500], // stix-Mathematical sans-serif italic small FINAL sigma + 0xE1EA: [453,10,607,45,625], // stix-Mathematical sans-serif italic small sigma + 0xE1EB: [453,10,468,42,486], // stix-Mathematical sans-serif italic small tau + 0xE1EC: [463,10,514,61,490], // stix-Mathematical sans-serif italic small upsilon + 0xE1ED: [464,216,665,55,641], // stix-Mathematical sans-serif italic small phi + 0xE1EE: [463,215,514,-72,552], // stix-Mathematical sans-serif italic small chi + 0xE1EF: [461,216,654,75,705], // stix-Mathematical sans-serif italic small psi + 0xE1F0: [454,10,630,50,636], // stix-Mathematical sans-serif italic small omega + 0xE1F1: [463,10,462,45,467], // stix-Mathematical sans-serif italic epsilon symbol + 0xE1F2: [683,12,534,45,525], // stix-Mathematical sans-serif italic theta symbol + 0xE1F3: [684,216,648,48,630], // stix-Mathematical sans-serif italic phi symbol + 0xE1F4: [463,216,536,38,518], // stix-Mathematical sans-serif italic rho symbol + 0xE1F5: [453,10,795,40,811], // stix-Mathematical sans-serif italic pi symbol + 0xE262: [460,11,570,56,514], // stix-old style digit 0 + 0xE266: [460,0,570,100,415], // stix-old style digit 1 + 0xE26A: [460,0,570,59,487], // stix-old style digit 2 + 0xE26E: [461,217,570,40,513], // stix-old style digit 3 + 0xE272: [450,217,570,17,542], // stix-old style digit 4 + 0xE276: [450,218,570,23,536], // stix-old style digit 5 + 0xE27A: [668,10,570,28,553], // stix-old style digit 6 + 0xE27E: [450,217,570,40,543], // stix-old style digit 7 + 0xE282: [668,10,570,50,519], // stix-old style digit 8 + 0xE286: [460,217,570,23,526], // stix-old style digit 9 + 0xE294: [756,218,753,37,754], // stix-capital A italic slashed + 0xE296: [756,218,698,42,686], // stix-capital B italic slashed + 0xE298: [756,218,678,52,716], // stix-capital C italic slashed + 0xE29A: [756,218,830,42,793], // stix-capital D italic slashed + 0xE29C: [756,218,706,42,724], // stix-capital E italic slashed + 0xE29E: [756,217,624,42,724], // stix-capital F italic slashed + 0xE2A0: [756,217,768,52,766], // stix-capital G italic slashed + 0xE2A2: [756,218,825,42,863], // stix-capital H italic slashed + 0xE2A4: [756,218,429,-7,467], // stix-capital I italic slashed + 0xE2A6: [756,218,530,60,568], // stix-capital J italic slashed + 0xE2A8: [756,218,766,42,804], // stix-capital K italic slashed + 0xE2AA: [756,218,696,42,654], // stix-capital L italic slashed + 0xE2AC: [756,218,969,42,1007], // stix-capital M italic slashed + 0xE2AE: [756,218,799,42,837], // stix-capital N italic slashed + 0xE2B0: [756,218,764,52,739], // stix-capital O italic slashed + 0xE2B2: [756,217,581,14,710], // stix-capital P italic slashed + 0xE2B4: [756,217,764,52,739], // stix-capital Q italic slashed + 0xE2B6: [756,218,699,42,682], // stix-capital R italic slashed + 0xE2B8: [756,218,557,52,576], // stix-capital S italic slashed + 0xE2BA: [756,218,532,19,647], // stix-capital T italic slashed + 0xE2BC: [756,218,706,67,771], // stix-capital U italic slashed + 0xE2BE: [756,218,605,56,730], // stix-capital V italic slashed + 0xE2C0: [756,218,831,62,956], // stix-capital W italic slashed + 0xE2C2: [756,218,737,27,755], // stix-capital X italic slashed + 0xE2C4: [756,218,492,1,647], // stix-capital Y italic slashed + 0xE2C6: [756,218,686,62,714], // stix-capital Z italic slashed + 0xE2C8: [756,240,565,42,533], // stix-lowercase a italic slashed + 0xE2CA: [756,240,530,47,530], // stix-lowercase b italic slashed + 0xE2CC: [756,240,477,33,501], // stix-lowercase c italic slashed + 0xE2CE: [756,240,586,14,581], // stix-lowercase d italic slashed + 0xE2D0: [756,240,490,8,475], // stix-lowercase e italic slashed + 0xE2D2: [756,240,582,-4,704], // stix-lowercase f italic slashed + 0xE2D4: [756,240,515,22,513], // stix-lowercase g italic slashed + 0xE2D6: [756,240,577,47,545], // stix-lowercase h italic slashed + 0xE2D8: [756,217,326,-9,454], // stix-lowercase i italic slashed + 0xE2DA: [755,240,550,-54,653], // stix-lowercase j italic slashed + 0xE2DC: [756,240,554,57,591], // stix-lowercase k italic slashed + 0xE2DE: [756,217,335,-14,449], // stix-lowercase l italic slashed + 0xE2E0: [756,240,823,32,791], // stix-lowercase m italic slashed + 0xE2E2: [756,240,565,32,545], // stix-lowercase n italic slashed + 0xE2E4: [756,240,533,42,519], // stix-lowercase o italic slashed + 0xE2E6: [756,217,581,-24,613], // stix-lowercase p italic slashed + 0xE2E8: [756,240,521,40,523], // stix-lowercase q italic slashed + 0xE2EA: [756,240,436,32,507], // stix-lowercase r italic slashed + 0xE2EC: [756,240,466,26,494], // stix-lowercase s italic slashed + 0xE2EE: [756,217,353,-22,441], // stix-lowercase t italic slashed + 0xE2F0: [756,240,537,21,505], // stix-lowercase u italic slashed + 0xE2F2: [756,218,506,72,545], // stix-lowercase v italic slashed + 0xE2F4: [756,217,775,72,793], // stix-lowercase w italic slashed + 0xE2F6: [756,240,566,32,584], // stix-lowercase x italic slashed + 0xE2F8: [756,218,530,32,575], // stix-lowercase y italic slashed + 0xE2FA: [756,240,499,40,507], // stix-lowercase z italic slashed + 0xE32C: [756,218,613,42,612], // stix-small alpha, Greek slashed + 0xE32E: [756,218,595,-47,644], // stix-small beta, Greek slashed + 0xE330: [756,218,514,-58,634], // stix-small gamma, Greek slashed + 0xE332: [756,218,536,40,522], // stix-small delta, Greek slashed + 0xE334: [756,218,478,29,491], // stix-small epsilon, Greek slashed + 0xE336: [756,218,440,11,482], // stix-small zeta, Greek slashed + 0xE338: [756,218,512,32,536], // stix-small eta, Greek slashed + 0xE33A: [756,218,529,20,519], // stix-small theta, Greek slashed + 0xE33C: [756,217,326,-10,453], // stix-small iota, Greek slashed + 0xE33E: [756,218,546,57,558], // stix-small kappa, Greek slashed + 0xE340: [756,218,557,52,619], // stix-small lambda, Greek slashed + 0xE342: [756,217,630,0,696], // stix-small mu, Greek slashed + 0xE344: [756,218,466,32,495], // stix-small nu, Greek slashed + 0xE346: [756,218,454,9,468], // stix-small xi, Greek slashed + 0xE348: [756,240,533,27,498], // stix-small omicron, Greek slashed + 0xE34A: [756,217,591,14,710], // stix-small pi, Greek slashed + 0xE34C: [756,218,584,32,591], // stix-small rho, Greek slashed + 0xE34E: [756,218,468,1,460], // stix-terminal sigma, Greek slashed + 0xE350: [756,218,534,42,560], // stix-small sigma, Greek slashed + 0xE352: [756,218,448,32,537], // stix-small tau, Greek slashed + 0xE354: [756,218,514,32,545], // stix-small upsilon, Greek slashed + 0xE356: [756,218,663,-2,690], // stix-small phi, Greek slashed + 0xE358: [756,218,632,4,700], // stix-small chi, Greek slashed + 0xE35A: [756,218,668,32,736], // stix-small psi, Greek slashed + 0xE35C: [756,217,733,42,758], // stix-small omega, Greek slashed + 0xE35E: [756,218,602,32,590], // stix-curly or open theta, Greek slashed + 0xE360: [756,218,666,42,778], // stix-curly or open small phi, Greek slashed + 0xE362: [756,217,889,32,897], // stix-rounded small pi (pomega), Greek slashed + 0xE366: [756,240,444,7,482], // stix-small stigma, Greek slashed + 0xE36A: [756,240,528,-57,648], // stix-small digamma, Greek slashed + 0xE36E: [756,240,457,31,445], // stix-small koppa, Greek slashed + 0xE372: [756,240,528,8,715], // stix-small sampi, Greek slashed + 0xE374: [756,240,533,-16,559], // stix-rounded small kappa, Greek slashed + 0xE376: [756,218,533,42,525], // stix-rounded small rho, Greek slashed + 0xE378: [756,218,533,35,506], // stix-partial sign, slashed + 0xE37A: [756,218,477,42,539], // stix-rounded small epsilon, Greek, slashed + 0xE37D: [756,218,710,-50,694], // stix-capital C script slashed + 0xE37F: [683,10,606,10,601], // stix-small d italic with straight bar through it + 0xE381: [683,10,554,39,540], // stix-small k italic with straight bar through it + 0xE383: [579,10,353,6,323], // stix-small t italic with straight bar through it + 0xE385: [460,10,326,15,278], // stix-small Greek iota with straight bar through it + 0xE387: [683,10,557,52,526], // stix-small Greek lambda with straight bar through it + 0xE389: [668,0,490,30,478] // LATIN SMALL LETTER LAMBDA WITH STROKE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Italic/PrivateUse.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js new file mode 100644 index 0000000..b3df256 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'], + { + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js new file mode 100644 index 0000000..1318769 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js @@ -0,0 +1,57 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'] = { + directory: 'NonUnicode/Regular', + family: 'STIXNonUnicode', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ], + 0xE000: [610,25,1184,829,895], // stix-radical symbol vertical extender + 0xE001: [667,-41,1184,829,1211], // stix-radical symbol top corner piece + 0xE138: [634,-584,480,-10,490], // stix-horizontal extender for multiple character over accent arrows, harpoons, line + 0xE139: [-127,177,480,-10,490], // stix-horizontal extender for multiple character under accent arrows, harpoons, line + 0xE13B: [955,-512,897,-25,908], // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg) + 0xE13C: [955,-512,897,-11,922], // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg) + 0xE13D: [182,261,897,-25,908], // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg) + 0xE13E: [182,261,897,-11,922], // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg) + 0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg) + 0xE141: [-126,524,1844,-10,1854], // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg) + 0xE14A: [955,-820,633,-1,634], // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg) + 0xE14B: [-126,261,633,-1,634], // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg) + 0xE261: [422,10,523,41,481], // stix-old style digit 0 + 0xE265: [421,0,523,127,405], // stix-old style digit 1 + 0xE269: [421,0,523,68,455], // stix-old style digit 2 + 0xE26D: [424,198,523,47,463], // stix-old style digit 3 + 0xE271: [420,198,523,58,480], // stix-old style digit 4 + 0xE275: [421,198,523,66,457], // stix-old style digit 5 + 0xE279: [612,8,523,37,486], // stix-old style digit 6 + 0xE27D: [421,198,523,25,490], // stix-old style digit 7 + 0xE281: [606,12,523,47,477], // stix-old style digit 8 + 0xE285: [421,200,523,41,483], // stix-old style digit 9 + 0xE28F: [135,0,325,-1,326], // stix-short horizontal extender at baseline + 0xE290: [135,0,633,-1,634] // stix-long horizontal extender at baseline +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXNonUnicode"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js new file mode 100644 index 0000000..83d5718 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js @@ -0,0 +1,387 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/NonUnicode/Regular/PrivateUse.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXNonUnicode'], + { + 0xE002: [1022,0,1192,30,1162], // stix-"shaw": large operator with three parallel vertical lines topped by a horizontal + 0xE003: [1450,0,1311,55,1256], // stix-"shaw": large operator with three parallel vertical lines topped by a horizontal + 0xE004: [450,-59,926,55,871], // stix-not right arrow-wavy + 0xE005: [530,-57,926,55,871], // stix-not right arrow-curved + 0xE00A: [538,-55,685,48,637], // stix-reverse most positive, line below + 0xE00B: [543,37,685,48,637], // stix-most positive, two lines below + 0xE00E: [846,340,685,60,626], // stix-not greater, double equals + 0xE00F: [730,229,685,56,621], // stix-not greater-or-equal, slanted + 0xE010: [730,229,685,56,621], // stix-not less-or-equal, slanted + 0xE011: [846,340,685,61,626], // stix-not less, double equals + 0xE016: [818,311,685,53,618], // stix-not subset, double equals + 0xE018: [818,311,685,67,632], // stix-not superset, double equals + 0xE01E: [607,110,685,48,638], // stix-not approximately identical to + 0xE023: [695,189,685,48,637], // stix-not congruent, dot + 0xE025: [724,236,685,48,637], // stix-not approximately equal or equal to + 0xE026: [662,156,685,47,612], // stix-not, vert, double nested less than + 0xE027: [662,156,685,73,638], // stix-not, vert, double nested greater than + 0xE028: [663,155,933,25,908], // stix-not much less than + 0xE029: [662,156,933,25,908], // stix-not much greater than + 0xE02A: [662,156,1240,43,1184], // stix-not triple less than + 0xE02B: [662,156,1240,56,1197], // stix-not triple greater than + 0xE02F: [662,156,685,23,662], // stix-not, vert, angle + 0xE035: [602,98,486,64,422], // stix-negated contains + 0xE037: [662,156,685,48,637], // stix-reverse not equal + 0xE038: [690,189,732,50,682], // stix-not parallel, slanted + 0xE039: [662,156,685,47,636], // stix-not equal, dot + 0xE03A: [811,156,471,40,525], // stix-not partial differential + 0xE03B: [736,156,685,60,625], // stix-negated set membership, dot above + 0xE03C: [662,156,685,60,625], // stix-negated set membership, two horizontal strokes + 0xE03D: [602,98,486,64,422], // stix-negated (slash) set membership + 0xE040: [415,-92,685,48,637], // stix-congruence sign (lazy S) + 0xE041: [911,-433,480,64,398], // stix-modifier letter small h turned, superscript + 0xE042: [755,-425,441,57,387], // stix-modifier letter small a (one-story) turned, superscript + 0xE043: [818,311,685,60,625], // stix-two-line slanted equal to or less-than - with vertical stroke + 0xE044: [818,311,685,60,625], // stix-two-line slanted equal to or greater-than with vertical stroke + 0xE045: [818,311,685,60,625], // stix-two-line slanted equal to or less-than - with slash + 0xE046: [818,311,685,60,625], // stix-two-line slanted equal to or greater-than with slash + 0xE04B: [745,242,685,60,625], // stix-not precedes, single equals + 0xE04C: [845,341,685,60,625], // stix-not precedes, double equals + 0xE04D: [534,19,685,48,637], // stix-not, vert, equal or similar + 0xE04E: [845,341,685,60,625], // stix-not succeeds, double equals + 0xE04F: [745,242,685,60,625], // stix-not succeeds, single equals + 0xE050: [662,156,685,65,620], // stix-not, square subset + 0xE051: [662,156,685,65,620], // stix-not, square superset + 0xE052: [561,55,685,48,637], // stix-not bumpy equals + 0xE053: [450,0,632,26,604], // stix-Latin letter small-cap K, reversed + 0xE054: [516,10,688,37,679], // stix-Latin letter small a (one-story) with rhotic hook + 0xE055: [475,14,571,20,563], // stix-Latin letter small open e with rhotic hook + 0xE056: [459,11,632,10,624], // stix-Latin letter small open o with rhotic hook + 0xE057: [459,12,624,29,595], // stix-Latin letter small omega, inverted + 0xE059: [730,224,685,48,637], // stix-not precedes, similar + 0xE05A: [730,224,685,48,637], // stix-not succeeds, similar + 0xE05B: [561,-30,685,48,637], // stix-not bumpy single equals + 0xE05C: [534,19,685,48,637], // stix-not equal or similar + 0xE05D: [459,10,452,16,436], // stix-barred ess + 0xE05E: [698,-547,0,95,406], // stix-double macron + 0xE060: [-140,292,1,11,323], // stix-double underbar + 0xE061: [-141,390,0,11,322], // stix-triple underbar + 0xE062: [-141,486,0,11,322], // stix-quadruple underbar + 0xE063: [734,-508,0,94,485], // stix-accent caret over dot + 0xE064: [777,-547,0,95,425], // stix-tilde over bar over + 0xE065: [-141,371,0,1,331], // stix-straight over wavy underline + 0xE066: [770,-547,0,101,412], // stix-double dot over bar over + 0xE067: [-141,371,0,1,331], // stix-wavy over straight underline + 0xE068: [683,287,524,9,487], // stix-hooked h + 0xE06B: [602,98,486,64,422], // stix-small not (vert) member + 0xE06C: [602,98,486,64,422], // stix-small not (vert) contains + 0xE06D: [785,157,685,60,625], // stix-not equal to or member + 0xE06E: [785,157,685,60,625], // stix-not equal to or contains + 0xE06F: [785,129,685,60,625], // stix-Not (vert) equals or member + 0xE070: [785,129,685,60,625], // stix-not (vert) equals or contains + 0xE075: [626,119,685,48,637], // stix-not (slash) similar minus similar + 0xE076: [626,119,685,48,637], // stix-not (vert) similar minus similar + 0xE077: [725,236,685,48,637], // stix-not (vert) double similar over two-line equals + 0xE07C: [758,252,685,48,637], // stix-not (slash) four-line equals (not strictly equivalent to) + 0xE07D: [758,252,685,48,637], // stix-not (vert) four-line equals + 0xE07E: [732,227,685,56,621], // stix-not (vert) less-than slanted equal + 0xE07F: [732,227,685,56,621], // stix-not (vert) greater-than slanted equal + 0xE080: [818,311,685,57,622], // stix-not (vert) less-than or two-line equal + 0xE081: [818,311,685,57,622], // stix-not (vert) greater-than or two-line equal + 0xE082: [730,229,685,56,621], // stix-not (slash) equal (slant) or less-than + 0xE083: [730,229,685,56,621], // stix-not (slash) equal (slant) or greater-than + 0xE084: [709,201,685,56,621], // stix-not (vert) equals (slant) or less-than + 0xE085: [709,201,685,56,621], // stix-not (vert) equals (slant) or greater-than + 0xE086: [818,311,685,56,621], // stix-not (slash) two-line equal or less-than + 0xE087: [818,311,685,55,621], // stix-not (slash) two-line equal or greater-than + 0xE088: [818,311,685,56,621], // stix-not (vert) two-line equals or less-than + 0xE089: [818,311,685,55,620], // stix-not (vert) two-line equals or greater-than + 0xE092: [719,296,685,62,627], // stix-not (vert) equals (contour) or precedes + 0xE093: [719,296,685,61,626], // stix-not (vert) equals (contour) or succeeds + 0xE094: [719,240,685,62,627], // stix-not (slash) equals (contour) or precedes + 0xE095: [719,240,685,61,626], // stix-not (slash) equals (contour) or succeeds + 0xE096: [818,311,685,55,620], // stix-not (vert) subset or two-line equals + 0xE097: [818,311,685,65,630], // stix-not (vert) superset or two-line equals + 0xE098: [690,189,685,23,662], // stix-triple vertical, slash cancellation + 0xE099: [567,183,612,25,587], // stix-narrow sloped nabla + 0xE09A: [719,213,708,18,690], // stix-parentheses around thin space + 0xE09B: [719,213,708,18,690], // stix-center dot in parentheses + 0xE09F: [662,156,902,0,863], // stix-rising diagonal + 0xE0A0: [662,156,902,0,863], // stix-falling diagonal + 0xE0A1: [676,14,734,18,700], // stix-capital C with stroke + 0xE0A2: [460,218,561,24,539], // stix-barred open gee + 0xE0A4: [470,233,378,10,358], // stix-Latin letter small r-fishhook, reversed, with descender stem + 0xE0A5: [669,-426,397,75,338], // stix-hooktop (phonetic symbol) + 0xE0A6: [216,144,444,38,429], // stix-curly tail (phonetic symbol) + 0xE0A7: [702,-506,376,30,346], // stix-modifier letter level-rise contour tone bar + 0xE0A8: [662,156,496,114,371], // stix-modifier letter high-rise tone bar + 0xE0A9: [497,-167,647,49,619], // stix-retracted (in-line diacritic) + 0xE0AA: [702,-506,376,30,346], // stix-modifier letter fall-level contour tone bar + 0xE0AB: [662,156,496,114,371], // stix-modifier letter low-rise tone bar + 0xE0AC: [702,-506,470,30,440], // stix-modifier letter fall-rise-fall contour tone bar + 0xE0AD: [662,156,638,35,513], // stix-modifier letter rise-fall tone bar + 0xE0AE: [662,0,423,55,345], // stix-modifier letter rise tone bar + 0xE0AF: [662,0,423,55,345], // stix-modifier letter fall tone bar + 0xE0B0: [735,-531,0,100,400], // stix-left overangle (combining) + 0xE0B1: [-50,254,0,0,300], // stix-left underangle (combining) + 0xE0B2: [-50,254,0,0,300], // stix-right underangle (combining) + 0xE0B3: [683,218,541,32,457], // stix-small fj ligature + 0xE0B4: [556,-220,313,55,258], // stix-arrow hookleft + 0xE0B5: [556,-220,313,55,258], // stix-arrow hookright + 0xE0B6: [449,-57,0,30,124], // stix-maps-to relation tail + 0xE0B7: [324,-183,281,70,211], // stix-bold center dot (very small filled square) + 0xE0B8: [943,11,1344,67,1302], // stix-square root of 2 + 0xE0B9: [943,11,1344,67,1302], // stix-square root of 3 + 0xE0BB: [622,101,685,48,637], // stix-equal sign above tilde operator, vertical negation + 0xE0BC: [547,41,685,47,635], // stix-times sign with dash through it + 0xE0BD: [662,218,710,15,660], // stix-lowercase italic f with horizontal bar touching its upper edge + 0xE0BE: [757,218,1102,15,1073], // stix-lowercase italic f with horizontal bar touching its upper edge and superscr u/c italic T + 0xE0BF: [836,236,636,50,586], // stix-2 lines falling over 1 line rising + 0xE0C0: [836,236,636,50,586], // stix-1 line falling over 2 lines rising + 0xE0C1: [836,236,636,50,586], // stix-2 lines rising over 1 line falling + 0xE0C2: [836,236,636,50,586], // stix-1 line rising over 2 lines falling + 0xE0C3: [386,-120,750,50,700], // stix-dashed line over line + 0xE0C4: [478,-28,750,50,700], // stix-dashed line over two lines + 0xE0C5: [478,-28,750,50,700], // stix-two lines over dashed line + 0xE0C6: [286,-220,750,50,700], // stix-single line, medium length + 0xE0C7: [402,-120,750,50,700], // stix-dotted (3 dots) line over line + 0xE0C8: [386,-120,1000,50,950], // stix-two long horizontal lines + 0xE0C9: [478,-28,1000,50,950], // stix-three long horizontal lines + 0xE0CA: [544,38,1000,50,950], // stix-four long horizontal lines + 0xE0CB: [386,-120,750,50,700], // stix-two medium horizontal lines + 0xE0CC: [478,-28,750,50,700], // stix-three medium horizontal lines + 0xE0CD: [544,38,750,50,700], // stix-four medium horizontal lines + 0xE0CE: [836,236,636,50,586], // stix-rising line, horizontal line, falling line + 0xE0CF: [836,236,636,50,586], // stix-falling line, horizontal line, rising line + 0xE0D0: [836,236,636,50,586], // stix-rising line, falling line + 0xE0D1: [836,236,636,50,586], // stix-falling line, rising line + 0xE0D2: [692,186,926,83,843], // stix-six carbon ring, corner down, double bonds lower left etc + 0xE0D3: [633,127,926,24,902], // stix-six carbon ring, edge down, double bonds bottom edge etc + 0xE0D4: [633,127,926,24,902], // stix-six carbon ring, edge down, double bonds top edge etc + 0xE0D5: [286,-220,1000,50,950], // stix-single long chemical bond + 0xE0D6: [386,-120,750,50,700], // stix chemical bond, line over dashed line + 0xE0D7: [583,79,762,50,712], // stix-donut + 0xE0D8: [584,0,400,57,343], // stix-arc-degrees (degree with dot below) + 0xE0D9: [665,0,255,56,199], // stix-arc-minutes (prime with dot below) + 0xE0DA: [665,0,388,56,332], // stix-arc-seconds (double prime with dot below) + 0xE0DB: [610,104,1472,86,1402], // stix-boxed communication link + 0xE0DC: [354,-152,1134,65,1069], // stix-communication link + 0xE0DD: [933,0,516,73,445], // stix-days (roman d with dot below) + 0xE0DE: [933,0,500,57,439], // stix-hours (roman h with dot below) + 0xE0DF: [754,0,778,92,699], // stix-minutes (roman m with dot below) + 0xE0E0: [920,0,500,40,444], // stix-period (roman p with dot below) + 0xE0E1: [757,0,389,81,318], // stix-seconds (roman s with dot below) + 0xE0E2: [754,0,500,60,429], // stix-years (roman y with dot below) + 0xE0E3: [638,134,842,35,807], // stix-eclipse + 0xE0E4: [773,80,700,94,606], // stix-Uranus + 0xE0E5: [690,189,523,72,450], // stix-dashed solidus + 0xE0E6: [690,189,523,72,450], // stix-dashed backslash + 0xE0E7: [811,127,772,35,737], // stix-narrow down-triangle + 0xE0E8: [532,26,1077,55,1022], // stix-precedes sign followed by plus sign + 0xE0E9: [547,41,685,48,636], // stix-outline plus sign + 0xE0EA: [661,158,910,45,865], // stix-diamond with lines from corners + 0xE0EB: [567,58,716,45,671], // stix-square with lines from corners + 0xE0EC: [862,-120,685,48,637], // stix-equal with exclamation over + 0xE0ED: [819,312,511,192,319], // stix-five vertical dots + 0xE0EE: [751,156,926,85,841], // stix-I-beam shape with bullet overprinted in middle + 0xE0EF: [547,41,686,49,637], // stix-plus with bullet overprinted in middle + 0xE0F1: [66,0,390,48,342], // stix-short horizontal line + 0xE0F2: [936,157,1059,38,1033], // stix-freaked smiley + 0xE0F3: [662,156,1059,196,862], // stix-neutral smiley + 0xE0F4: [694,168,773,55,718], // stix-light bulb + 0xE0F5: [672,146,926,55,872], // stix-gray-filled circle + 0xE0F6: [747,114,909,23,886], // stix-KernelIcon + 0xE0F7: [727,102,956,22,934], // stix-MathematicaIcon + 0xE0F8: [474,89,500,163,336], // stix-AliasDelimiter + 0xE0F9: [680,0,767,88,679], // stix-ErrorIndicator + 0xE0FA: [474,89,297,62,235], // stix-AliasIndicator + 0xE0FB: [680,0,1750,88,1662], // stix-ControlKey + 0xE0FC: [680,0,1625,88,1537], // stix-ReturnKey + 0xE0FD: [680,0,1625,88,1537], // stix-EscapeKey + 0xE0FE: [680,0,1625,88,1537], // stix-CommandKey + 0xE0FF: [680,0,1625,88,1537], // stix-TabKey + 0xE100: [680,0,2032,88,1944], // stix-SpaceKey + 0xE101: [680,0,1625,88,1537], // stix-DeleteKey + 0xE102: [680,0,1608,88,1520], // stix-AltKey + 0xE103: [680,0,2296,88,2208], // stix-OptionKey + 0xE104: [409,-253,100,-64,164], // stix-KeyBar + 0xE105: [680,0,2032,88,1944], // stix-EnterKey + 0xE106: [680,0,2032,88,1944], // stix-ShiftKey + 0xE107: [680,0,1625,88,1537], // stix-Mod1Key + 0xE108: [680,0,1625,88,1537], // stix-Mod2Key + 0xE109: [781,279,327,10,286], // stix-LeftModified + 0xE10A: [781,279,250,41,178], // stix-RightModified + 0xE10C: [384,-122,400,69,330], // stix-extender for se/nw solid (normal) arrow + 0xE10D: [384,-122,400,69,330], // stix-extender for sw/ne solid (normal) arrow + 0xE10E: [405,-101,652,193,459], // stix-extender for vertical double arrow + 0xE10F: [386,-120,315,0,315], // stix-extender for horizontal double arrow + 0xE110: [432,-28,652,124,528], // stix-extender for se/nw double arrow + 0xE111: [432,-28,652,124,528], // stix-extender for sw/ne double arrow + 0xE112: [662,156,926,55,872], // stix-northeast arrow with dashed stem + 0xE113: [662,156,926,55,872], // stix-southeast arrow with dashed stem + 0xE114: [662,156,926,54,871], // stix-northwest arrow with dashed stem + 0xE115: [662,156,926,54,871], // stix-southwest arrow with dashed stem + 0xE116: [214,-107,511,223,289], // stix-extender for vertical dashed arrow + 0xE117: [286,-220,229,61,168], // stix-extender for horizontal dashed arrow + 0xE118: [271,-134,277,70,207], // stix-extender for se/nw dashed arrow + 0xE119: [271,-134,277,70,207], // stix-extender for sw/ne dashed arrow + 0xE11A: [662,156,511,59,451], // stix-up arrow with dotted stem + 0xE11B: [662,156,511,59,451], // stix-down arrow with dotted stem + 0xE11C: [662,156,926,54,872], // stix-northeast arrow with dotted stem + 0xE11D: [662,156,926,54,872], // stix-southeast arrow with dotted stem + 0xE11E: [662,156,926,54,872], // stix-northwest arrow with dotted stem + 0xE11F: [662,156,926,54,872], // stix-southwest arrow with dotted stem + 0xE120: [411,-94,511,220,293], // stix-extender for vertical dotted arrow + 0xE121: [290,-217,311,-3,314], // stix-extender for horizontal dotted arrow + 0xE122: [382,-123,367,54,313], // stix-extender for se/nw dotted arrow + 0xE123: [383,-124,367,54,313], // stix-extender for sw/ne dotted arrow + 0xE124: [662,156,511,59,451], // stix-up arrow with dot-dash stem + 0xE125: [662,156,511,59,451], // stix-down arrow with dot-dash stem + 0xE126: [449,-57,926,54,872], // stix-left arrow with dot-dash stem + 0xE127: [449,-57,926,54,872], // stix-right arrow with dot-dash stem (E238) + 0xE128: [662,155,926,54,872], // stix-northeast arrow with dot-dash stem + 0xE129: [662,156,926,55,872], // stix-southeast arrow with dot-dash stem + 0xE12A: [662,156,926,54,871], // stix-northwest arrow with dot-dash stem + 0xE12B: [661,156,926,54,872], // stix-southwest arrow with dot-dash stem + 0xE12C: [404,-101,511,220,293], // stix-extender for dot-dash up arrow + 0xE12D: [403,-100,511,220,293], // stix-extender for dot-dash down arrow + 0xE12E: [290,-217,371,14,317], // stix-extender for dot-dash left arrow + 0xE12F: [290,-217,371,54,357], // stix-extender for dot-dash right arrow + 0xE130: [373,-134,379,70,309], // stix-extender for nw dot-dash arrow + 0xE131: [373,-134,379,70,309], // stix-extender for se dot-dash arrow + 0xE132: [373,-134,379,70,309], // stix-extender for ne dot-dash arrow + 0xE133: [373,-134,379,70,309], // stix-extender for sw dot-dash arrow + 0xE134: [486,-20,315,0,315], // stix-extender for triple horizontal arrow + 0xE135: [405,-101,926,230,696], // stix-extender for triple vertical arrow + 0xE136: [541,35,315,0,315], // stix-extender for quadruple horizontal arrow + 0xE137: [405,-101,1033,229,805], // stix-extender for quadruple vertical arrow + 0xE13A: [943,11,735,67,1302], // stix-radical with horizontal (for single character under the radical) + 0xE13F: [-126,261,325,-1,326], // stix-extensible horizontal for curly over and under braces (CMEX10 x3E rotated 90deg) + 0xE142: [955,-342,1820,-25,1830], // stix-left end of extensible overparen (CMEX10 x40 rotated 90deg) + 0xE143: [955,-342,1820,-10,1845], // stix-right end of extensible overparen (CMEX10 x30 rotated 90deg) + 0xE144: [352,261,1820,-25,1830], // stix-left end of extensible underparen (CMEX10 x41 rotated 90deg) + 0xE145: [352,261,1820,-10,1845], // stix-right end of extensible underparen (CMEX10 x31 rotated 90deg) + 0xE146: [955,-554,1820,-25,1830], // stix-left end of extensible over square bracket (CMEX10 x34 rotated 90deg) + 0xE147: [955,-554,1820,-10,1845], // stix-right end of extensible over square bracket (CMEX10 x32 rotated 90deg) + 0xE148: [140,261,1820,-25,1830], // stix-left end of extensible under square bracket (CMEX10 x35 rotated 90deg) + 0xE149: [140,261,1820,-10,1845], // stix-right end of extensible under square bracket (CMEX10 x33 rotated 90deg) + 0xE14C: [660,158,857,48,777], // stix-not left triangle, vertical bar + 0xE14D: [660,158,857,80,809], // stix-not vertical bar, right triangle + 0xE14E: [661,157,685,44,609], // stix-not double less-than sign + 0xE14F: [661,157,685,76,641], // stix-not double greater-than sign + 0xE150: [135,308,735,-25,746], // stix-horizontal brace, down left piece + 0xE151: [135,308,735,-11,760], // stix-horizontal brace, down right piece + 0xE152: [444,0,735,-25,746], // stix-horizontal brace, upper left piece + 0xE153: [444,0,735,-11,760], // stix-horizontal brace, upper right piece + 0xE17C: [683,10,499,28,471], // stix-Mathematical sans-serif partial differential + 0xE17D: [674,0,666,31,635], // stix-Mathematical sans-serif capital alpha + 0xE17E: [662,0,604,74,547], // stix-Mathematical sans-serif capital beta + 0xE17F: [662,0,535,74,523], // stix-Mathematical sans-serif capital gamma + 0xE180: [674,0,666,31,635], // stix-Mathematical sans-serif capital delta + 0xE181: [662,0,583,74,540], // stix-Mathematical sans-serif capital epsilon + 0xE182: [662,0,637,28,603], // stix-Mathematical sans-serif capital zeta + 0xE183: [662,0,658,74,584], // stix-Mathematical sans-serif capital eta + 0xE184: [676,14,714,30,684], // stix-Mathematical sans-serif capital theta + 0xE185: [662,0,401,45,356], // stix-Mathematical sans-serif capital iota + 0xE186: [662,0,634,74,630], // stix-Mathematical sans-serif capital kappa + 0xE187: [674,0,666,31,635], // stix-Mathematical sans-serif capital lambda + 0xE188: [662,0,843,75,768], // stix-Mathematical sans-serif capital mu + 0xE189: [662,14,675,74,601], // stix-Mathematical sans-serif capital nu + 0xE18A: [662,0,643,28,615], // stix-Mathematical sans-serif capital xi + 0xE18B: [676,14,714,30,684], // stix-Mathematical sans-serif capital omicron + 0xE18C: [662,0,658,74,584], // stix-Mathematical sans-serif capital pi + 0xE18D: [662,0,525,74,512], // stix-Mathematical sans-serif capital rho + 0xE18E: [676,14,714,30,684], // stix-Mathematical sans-serif capital THETA symbol + 0xE18F: [662,0,624,26,594], // stix-Mathematical sans-serif capital sigma + 0xE190: [662,0,608,15,593], // stix-Mathematical sans-serif capital tau + 0xE191: [676,0,690,24,666], // stix-Mathematical sans-serif capital upsilon + 0xE192: [662,0,716,23,693], // stix-Mathematical sans-serif capital phi + 0xE193: [662,0,700,31,669], // stix-Mathematical sans-serif capital chi + 0xE194: [681,0,724,12,712], // stix-Mathematical sans-serif capital psi + 0xE195: [676,0,744,29,715], // stix-Mathematical sans-serif capital omega + 0xE196: [463,10,537,28,532], // stix-Mathematical sans-serif small alpha + 0xE197: [683,215,498,41,471], // stix-Mathematical sans-serif small beta + 0xE198: [463,216,474,27,455], // stix-Mathematical sans-serif small gamma + 0xE199: [683,10,499,28,471], // stix-Mathematical sans-serif small delta + 0xE19A: [463,10,438,22,419], // stix-Mathematical sans-serif small epsilon + 0xE19B: [683,213,416,33,408], // stix-Mathematical sans-serif small zeta + 0xE19C: [463,215,494,41,443], // stix-Mathematical sans-serif small eta + 0xE19D: [683,10,446,21,425], // stix-Mathematical sans-serif small theta + 0xE19E: [464,10,270,57,269], // stix-Mathematical sans-serif small iota + 0xE19F: [464,0,472,82,472], // stix-Mathematical sans-serif small kappa + 0xE1A0: [683,11,489,8,478], // stix-Mathematical sans-serif small lambda + 0xE1A1: [453,215,487,44,482], // stix-Mathematical sans-serif small mu + 0xE1A2: [464,14,460,30,427], // stix-Mathematical sans-serif small nu + 0xE1A3: [683,215,418,33,410], // stix-Mathematical sans-serif small xi + 0xE1A4: [463,10,499,28,471], // stix-Mathematical sans-serif small omicron + 0xE1A5: [453,10,507,7,487], // stix-Mathematical sans-serif small pi + 0xE1A6: [462,216,498,48,470], // stix-Mathematical sans-serif small rho + 0xE1A7: [463,212,416,33,414], // stix-Mathematical sans-serif small FINAL sigma + 0xE1A8: [453,10,526,28,542], // stix-Mathematical sans-serif small sigma + 0xE1A9: [453,10,426,2,410], // stix-Mathematical sans-serif small tau + 0xE1AA: [463,10,503,41,463], // stix-Mathematical sans-serif small upsilon + 0xE1AB: [464,216,632,34,600], // stix-Mathematical sans-serif small phi + 0xE1AC: [463,215,399,-20,440], // stix-Mathematical sans-serif small chi + 0xE1AD: [461,216,654,12,642], // stix-Mathematical sans-serif small psi + 0xE1AE: [454,10,624,29,595], // stix-Mathematical sans-serif small omega + 0xE1AF: [463,10,456,23,432], // stix-Mathematical sans-serif epsilon symbol + 0xE1B0: [683,12,489,42,491], // stix-Mathematical sans-serif theta symbol + 0xE1B1: [684,216,622,28,594], // stix-Mathematical sans-serif phi symbol + 0xE1B2: [463,216,491,28,463], // stix-Mathematical sans-serif rho symbol + 0xE1B3: [453,10,762,7,739], // stix-Mathematical sans-serif pi symbol + 0xE28C: [474,-227,0,53,397], // stix-slash for Polish L + 0xE28D: [734,-484,0,94,460], // stix-double circumflex + 0xE28E: [622,101,685,48,637], // stix-equals sign above tilde operator, slash negation + 0xE291: [955,-820,325,-1,326], // stix-short horizontal extender, high + 0xE292: [662,0,1388,38,1350], // stix-two summation signs next to each other + 0xE293: [763,260,1797,58,1739], // stix-two summation signs next to each other + 0xE2FC: [756,218,722,15,707], // stix-capital Alpha, Greek slashed + 0xE2FE: [756,217,667,17,593], // stix-capital Beta, Greek slashed + 0xE300: [756,217,587,11,577], // stix-capital Gamma, Greek slashed + 0xE302: [756,218,722,48,675], // stix-capital Delta, Greek slashed + 0xE304: [756,217,611,12,597], // stix-capital Epsilon, Greek slashed + 0xE306: [756,217,612,10,598], // stix-capital Zeta, Greek slashed + 0xE308: [756,217,722,18,703], // stix-capital Eta, Greek slashed + 0xE30A: [756,218,722,34,688], // stix-capital Theta, Greek slashed + 0xE30C: [756,218,333,-24,438], // stix-capital Iota, Greek slashed + 0xE30E: [756,217,731,33,723], // stix-capital Kappa, Greek slashed + 0xE310: [756,218,702,15,687], // stix-capital Lambda, Greek slashed + 0xE312: [756,217,889,12,864], // stix-capital Mu, Greek slashed + 0xE314: [756,218,722,12,707], // stix-capital Nu, Greek slashed + 0xE316: [756,217,643,29,614], // stix-capital Xi, Greek slashed + 0xE318: [756,218,722,34,688], // stix-capital Omicron, Greek slashed + 0xE31A: [756,217,722,18,703], // stix-capital Pi, Greek slashed + 0xE31C: [756,218,557,16,565], // stix-capital Rho, Greek slashed + 0xE31E: [756,217,624,30,600], // stix-capital Sigma, Greek slashed + 0xE320: [756,218,611,17,593], // stix-capital Tau, Greek slashed + 0xE322: [756,218,722,29,703], // stix-capital Upsilon, Greek slashed + 0xE324: [756,217,763,35,728], // stix-capital Phi, Greek slashed + 0xE326: [756,217,722,10,704], // stix-capital Chi, Greek slashed + 0xE328: [756,217,743,22,724], // stix-capital Psi, Greek slashed + 0xE32A: [756,217,744,29,715], // stix-capital Omega, Greek slashed + 0xE364: [756,240,673,55,665], // stix-capital stigma, Greek slashed + 0xE368: [756,218,557,8,645], // stix-capital digamma, Greek slashed + 0xE36C: [773,218,645,-72,675], // stix-capital koppa, Greek slashed + 0xE370: [756,218,708,7,668], // stix-capital sampi, Greek slashed + 0xE3C2: [662,156,685,48,637], // ?? + 0xE3C3: [627,135,685,48,637], // stix-not (vert) almost equal or equal to + 0xE3C4: [627,135,685,48,637], // stix-not almost equal or equal to + 0xE3C7: [662,156,902,0,863], // ?? + 0xE3C8: [662,156,902,0,863] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/NonUnicode/Regular/PrivateUse.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js new file mode 100644 index 0000000..2444616 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js @@ -0,0 +1,51 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFiveSym'], + { + 0x2C6: [816,-572,2328,0,2328], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [816,-572,2328,0,2328], // CARON + 0x2DC: [780,-617,2328,0,2328], // SMALL TILDE + 0x2F7: [-117,280,2328,0,2328], // ?? + 0x305: [820,-770,0,-3000,0], // COMBINING OVERLINE + 0x30C: [816,-572,0,-2485,-157], // COMBINING CARON + 0x330: [-117,280,0,-2485,-157], // COMBINING TILDE BELOW + 0x332: [-127,177,0,-3000,0], // COMBINING LOW LINE + 0x338: [960,454,0,-561,-123], // COMBINING LONG SOLIDUS OVERLAY + 0x203E: [820,-770,3000,0,3000], // OVERLINE + 0x20D0: [749,-584,0,-3000,0], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,-3000,0], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,-3000,0], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,-3000,0], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,-3000,0], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,-3000,0], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,-3000,0], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,-3000,0], // COMBINING RIGHT ARROW BELOW + 0x23B4: [766,-544,3237,90,3147], // TOP SQUARE BRACKET + 0x23B5: [139,83,3237,90,3147], // BOTTOM SQUARE BRACKET + 0x23DC: [80,189,3237,0,3237], // TOP PARENTHESIS (mathematical use) + 0x23DD: [842,-573,3237,0,3237], // BOTTOM PARENTHESIS (mathematical use) + 0x23E0: [66,212,3164,0,3164], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,3164,0,3164] // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFiveSym/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js new file mode 100644 index 0000000..4dbbf59 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js @@ -0,0 +1,43 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFiveSym'] = { + directory: 'SizeFiveSym/Regular', + family: 'STIXSizeFiveSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x5F: [-127,177,3000,0,3000], // LOW LINE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [816,-572,0,-2485,-157], // COMBINING CIRCUMFLEX ACCENT + 0x303: [780,-617,0,-2485,-157], // COMBINING TILDE + 0x23DE: [181,90,3238,0,3238], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [844,-573,3238,0,3238] // BOTTOM CURLY BRACKET (mathematical use) +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFiveSym"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFiveSym/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js new file mode 100644 index 0000000..a2f7a99 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js @@ -0,0 +1,46 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym-bold'] = { + directory: 'SizeFourSym/Bold', + family: 'STIXSizeFourSym', + weight: 'bold', + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2604,471,818,115,761], // LEFT PARENTHESIS + 0x29: [2604,471,818,57,703], // RIGHT PARENTHESIS + 0x2F: [2604,471,1321,3,1318], // SOLIDUS + 0x5B: [2604,471,699,314,691], // LEFT SQUARE BRACKET + 0x5C: [2604,471,1321,3,1318], // REVERSE SOLIDUS + 0x5D: [2604,471,699,8,385], // RIGHT SQUARE BRACKET + 0x7B: [2604,471,1119,197,944], // LEFT CURLY BRACKET + 0x7D: [2604,471,1119,175,922], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x221A: [1510,345,1184,101,915], // SQUARE ROOT + 0x2308: [2604,471,720,314,712], // LEFT CEILING + 0x2309: [2604,471,720,8,406], // RIGHT CEILING + 0x230A: [2604,471,720,314,712], // LEFT FLOOR + 0x230B: [2604,471,720,8,406], // RIGHT FLOOR + 0x27E8: [2604,471,908,120,841], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2604,471,908,67,788] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFourSym-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js new file mode 100644 index 0000000..38cb289 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js @@ -0,0 +1,63 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym'], + { + 0x2C6: [796,-573,1886,0,1886], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [796,-573,1886,0,1886], // CARON + 0x2DC: [771,-608,1886,0,1886], // SMALL TILDE + 0x2F7: [-117,280,1886,0,1886], // ?? + 0x305: [820,-770,0,-2500,0], // COMBINING OVERLINE + 0x30C: [796,-573,0,-2040,-154], // COMBINING CARON + 0x330: [-117,280,0,-2040,-154], // COMBINING TILDE BELOW + 0x332: [-127,177,0,-2500,0], // COMBINING LOW LINE + 0x338: [731,228,0,-490,-169], // COMBINING LONG SOLIDUS OVERLAY + 0x203E: [820,-770,2500,0,2500], // OVERLINE + 0x20D0: [749,-584,0,-2193,-13], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,-2193,-13], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,-2193,-13], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,-2193,-13], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,-2193,-13], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,-2193,-13], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,-2193,-13], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,-2193,-13], // COMBINING RIGHT ARROW BELOW + 0x221B: [1795,345,1184,112,895], // CUBE ROOT + 0x221C: [1790,345,1184,112,895], // FOURTH ROOT + 0x23B4: [766,-544,2692,84,2608], // TOP SQUARE BRACKET + 0x23B5: [139,83,2692,84,2608], // BOTTOM SQUARE BRACKET + 0x23DC: [76,168,2328,0,2328], // TOP PARENTHESIS (mathematical use) + 0x23DD: [817,-573,2328,0,2328], // BOTTOM PARENTHESIS (mathematical use) + 0x23E0: [66,212,2738,0,2738], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,2738,0,2738], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + 0x2772: [2566,509,1031,320,959], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT + 0x2773: [2566,509,1031,72,711], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT + 0x27E6: [2566,509,778,295,708], // MATHEMATICAL LEFT WHITE SQUARE BRACKET + 0x27E7: [2566,509,778,70,483], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET + 0x27EA: [2566,509,1273,126,1133], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET + 0x27EB: [2566,509,1273,140,1147], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET + 0x2983: [2566,509,1225,182,1052], // LEFT WHITE CURLY BRACKET + 0x2984: [2566,509,1225,173,1043], // RIGHT WHITE CURLY BRACKET + 0x2985: [2566,509,1175,195,1050], // LEFT WHITE PARENTHESIS + 0x2986: [2566,509,1175,194,1049] // RIGHT WHITE PARENTHESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js new file mode 100644 index 0000000..f59157c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js @@ -0,0 +1,62 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeFourSym'] = { + directory: 'SizeFourSym/Regular', + family: 'STIXSizeFourSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2566,509,808,124,732], // LEFT PARENTHESIS + 0x29: [2566,509,808,76,684], // RIGHT PARENTHESIS + 0x2F: [2566,509,1309,16,1293], // SOLIDUS + 0x5B: [2566,509,661,295,634], // LEFT SQUARE BRACKET + 0x5C: [2566,509,1309,16,1293], // REVERSE SOLIDUS + 0x5D: [2566,509,661,27,366], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,2500,0,2500], // LOW LINE + 0x7B: [2566,509,1076,173,882], // LEFT CURLY BRACKET + 0x7D: [2566,509,1076,194,903], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [796,-573,0,-2040,-154], // COMBINING CIRCUMFLEX ACCENT + 0x303: [771,-608,0,-2040,-154], // COMBINING TILDE + 0x221A: [1510,345,1184,112,895], // SQUARE ROOT + 0x2308: [2566,509,682,295,655], // LEFT CEILING + 0x2309: [2566,509,682,27,387], // RIGHT CEILING + 0x230A: [2566,509,682,295,655], // LEFT FLOOR + 0x230B: [2566,509,682,27,387], // RIGHT FLOOR + 0x23DE: [175,90,2328,0,2328], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [837,-572,2328,0,2328], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [2566,509,908,113,796], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2566,509,908,112,795] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeFourSym"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeFourSym/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js new file mode 100644 index 0000000..81f0147 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym-bold'], + { + 0x2140: [1500,-22,1341,60,1281] // DOUBLE-STRUCK N-ARY SUMMATION + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js new file mode 100644 index 0000000..44fd453 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js @@ -0,0 +1,52 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym-bold'] = { + directory: 'SizeOneSym/Bold', + family: 'STIXSizeOneSym', + weight: 'bold', + Ranges: [ + [0x2140,0x2140,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1104,126,468,158,439], // LEFT PARENTHESIS + 0x29: [1104,126,468,29,310], // RIGHT PARENTHESIS + 0x2F: [1104,126,579,14,564], // SOLIDUS + 0x5B: [1104,126,408,186,407], // LEFT SQUARE BRACKET + 0x5C: [1104,126,579,14,564], // REVERSE SOLIDUS + 0x5D: [1104,126,408,1,222], // RIGHT SQUARE BRACKET + 0x7B: [1104,126,595,115,503], // LEFT CURLY BRACKET + 0x7D: [1104,126,595,92,480], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x220F: [1500,-49,1355,35,1321], // N-ARY PRODUCT + 0x2210: [1500,-49,1355,34,1320], // N-ARY COPRODUCT + 0x2211: [1500,-49,1292,60,1215], // N-ARY SUMMATION + 0x221A: [1588,241,1061,109,1119], // SQUARE ROOT + 0x2308: [1104,126,476,186,470], // LEFT CEILING + 0x2309: [1104,126,476,6,292], // RIGHT CEILING + 0x230A: [1104,126,476,184,470], // LEFT FLOOR + 0x230B: [1104,126,476,6,290], // RIGHT FLOOR + 0x27E8: [1104,126,579,99,481], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1104,126,579,98,480] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeOneSym-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js new file mode 100644 index 0000000..a79a969 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js @@ -0,0 +1,77 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym'], + { + 0x2C6: [767,-554,560,0,560], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [767,-554,560,0,560], // CARON + 0x2DC: [750,-598,558,-2,558], // SMALL TILDE + 0x2F7: [-117,269,558,-2,558], // ?? + 0x305: [820,-770,0,-1000,0], // COMBINING OVERLINE + 0x30C: [767,-554,0,-720,-160], // COMBINING CARON + 0x330: [-117,269,0,-722,-162], // COMBINING TILDE BELOW + 0x332: [-127,177,0,-1000,0], // COMBINING LOW LINE + 0x338: [532,21,0,-720,-157], // COMBINING LONG SOLIDUS OVERLAY + 0x203E: [820,-770,1000,0,1000], // OVERLINE + 0x20D0: [749,-584,0,-892,-21], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,-893,-22], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,-893,-21], // COMBINING LEFT ARROW ABOVE + 0x20D7: [736,-482,0,-893,-21], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,-893,-22], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,-892,-21], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,-893,-21], // COMBINING LEFT ARROW BELOW + 0x20EF: [-25,279,0,-893,-21], // COMBINING RIGHT ARROW BELOW + 0x2140: [1500,-50,1259,55,1204], // DOUBLE-STRUCK N-ARY SUMMATION + 0x221B: [1552,295,1057,112,1089], // CUBE ROOT + 0x221C: [1552,295,1057,112,1089], // FOURTH ROOT + 0x2320: [1066,79,688,294,574], // TOP HALF INTEGRAL + 0x2321: [1086,59,688,115,394], // BOTTOM HALF INTEGRAL + 0x23B2: [1500,5,1482,92,1292], // SUMMATION TOP + 0x23B3: [1500,5,1482,92,1366], // SUMMATION BOTTOM + 0x23B4: [766,-544,1063,69,994], // TOP SQUARE BRACKET + 0x23B5: [139,83,1063,68,993], // BOTTOM SQUARE BRACKET + 0x23DC: [60,153,926,0,926], // TOP PARENTHESIS (mathematical use) + 0x23DD: [777,-564,926,0,926], // BOTTOM PARENTHESIS (mathematical use) + 0x23E0: [66,212,1460,0,1460], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,1460,0,1460], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + 0x2772: [1066,164,566,205,539], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT + 0x2773: [1066,164,566,27,361], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT + 0x27E6: [1066,164,515,180,486], // MATHEMATICAL LEFT WHITE SQUARE BRACKET + 0x27E7: [1066,164,515,29,335], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET + 0x27EA: [1066,164,798,116,670], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET + 0x27EB: [1066,164,798,128,682], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET + 0x2983: [1066,164,712,114,587], // LEFT WHITE CURLY BRACKET + 0x2984: [1066,164,712,114,587], // RIGHT WHITE CURLY BRACKET + 0x2985: [1066,164,632,135,546], // LEFT WHITE PARENTHESIS + 0x2986: [1066,164,632,86,497], // RIGHT WHITE PARENTHESIS + 0x29F8: [1566,279,806,25,781], // BIG SOLIDUS + 0x29F9: [1566,279,806,25,781], // BIG REVERSE SOLIDUS + 0x2A03: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH DOT + 0x2A07: [1500,-49,1530,60,1470], // TWO LOGICAL AND OPERATOR + 0x2A08: [1500,-49,1530,60,1470], // TWO LOGICAL OR OPERATOR + 0x2A09: [1500,-49,1482,60,1422], // N-ARY TIMES OPERATOR + 0x2A0A: [1500,-50,1292,90,1202], // MODULO TWO SUM + 0x2AFC: [867,363,690,133,557], // LARGE TRIPLE VERTICAL BAR OPERATOR + 0x2AFF: [867,363,410,100,310] // N-ARY WHITE VERTICAL BAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js new file mode 100644 index 0000000..a60b67f --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js @@ -0,0 +1,105 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeOneSym/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeOneSym'] = { + directory: 'SizeOneSym/Regular', + family: 'STIXSizeOneSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x2140,0x2140,"All"], + [0x221A,0x221C,"All"], + [0x2320,0x2321,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"], + [0x29F8,0x29F9,"All"], + [0x2A00,0x2A0A,"All"], + [0x2AFC,0x2AFF,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1066,164,468,139,382], // LEFT PARENTHESIS + 0x29: [1066,164,468,86,329], // RIGHT PARENTHESIS + 0x2F: [1066,164,579,25,552], // SOLIDUS + 0x5B: [1066,164,383,180,363], // LEFT SQUARE BRACKET + 0x5C: [1066,164,579,27,552], // REVERSE SOLIDUS + 0x5D: [1066,164,383,20,203], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,1000,0,1000], // LOW LINE + 0x7B: [1066,164,575,114,466], // LEFT CURLY BRACKET + 0x7D: [1066,164,575,109,461], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [767,-554,0,-720,-160], // COMBINING CIRCUMFLEX ACCENT + 0x303: [750,-598,0,-722,-162], // COMBINING TILDE + 0x220F: [1500,-49,1355,50,1305], // N-ARY PRODUCT + 0x2210: [1500,-49,1355,50,1305], // N-ARY COPRODUCT + 0x2211: [1499,-49,1292,90,1202], // N-ARY SUMMATION + 0x221A: [1552,295,1057,112,1089], // SQUARE ROOT + 0x22C0: [1500,-49,1265,60,1205], // N-ARY LOGICAL AND + 0x22C1: [1500,-49,1265,60,1205], // N-ARY LOGICAL OR + 0x22C2: [1510,-49,1265,118,1147], // N-ARY INTERSECTION + 0x22C3: [1500,-39,1265,118,1147], // N-ARY UNION + 0x2308: [1066,164,453,180,426], // LEFT CEILING + 0x2309: [1066,164,453,25,273], // RIGHT CEILING + 0x230A: [1066,164,453,180,428], // LEFT FLOOR + 0x230B: [1066,164,453,27,273], // RIGHT FLOOR + 0x239B: [700,305,450,50,400], // LEFT PARENTHESIS UPPER HOOK + 0x239C: [705,305,450,50,174], // LEFT PARENTHESIS EXTENSION + 0x239D: [705,300,450,50,400], // LEFT PARENTHESIS LOWER HOOK + 0x239E: [700,305,450,50,400], // RIGHT PARENTHESIS UPPER HOOK + 0x239F: [705,305,450,276,400], // RIGHT PARENTHESIS EXTENSION + 0x23A0: [705,300,450,50,400], // RIGHT PARENTHESIS LOWER HOOK + 0x23A1: [682,323,450,50,415], // LEFT SQUARE BRACKET UPPER CORNER + 0x23A2: [687,323,450,50,150], // LEFT SQUARE BRACKET EXTENSION + 0x23A3: [687,318,450,50,415], // LEFT SQUARE BRACKET LOWER CORNER + 0x23A4: [682,323,450,35,400], // RIGHT SQUARE BRACKET UPPER CORNER + 0x23A5: [687,323,450,300,400], // RIGHT SQUARE BRACKET EXTENSION + 0x23A6: [687,318,450,35,400], // RIGHT SQUARE BRACKET LOWER CORNER + 0x23A7: [700,305,640,260,600], // LEFT CURLY BRACKET UPPER HOOK + 0x23A8: [705,305,640,40,380], // LEFT CURLY BRACKET MIDDLE PIECE + 0x23A9: [705,300,640,260,600], // LEFT CURLY BRACKET LOWER HOOK + 0x23AA: [705,305,640,260,380], // CURLY BRACKET EXTENSION + 0x23AB: [700,305,640,40,380], // RIGHT CURLY BRACKET UPPER HOOK + 0x23AC: [705,305,640,260,600], // RIGHT CURLY BRACKET MIDDLE PIECE + 0x23AD: [705,300,640,40,380], // RIGHT CURLY BRACKET LOWER HOOK + 0x23AE: [610,25,688,294,394], // INTEGRAL EXTENSION + 0x23B0: [700,301,600,35,566], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION + 0x23B1: [700,301,600,35,566], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION + 0x23B7: [1510,345,1184,112,895], // RADICAL SYMBOL BOTTOM + 0x23B8: [1566,289,721,0,66], // LEFT VERTICAL BOX LINE + 0x23B9: [1566,289,721,655,721], // RIGHT VERTICAL BOX LINE + 0x23DE: [136,89,926,0,925], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [789,-564,926,0,925], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [1066,164,578,116,462], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1066,164,578,116,462], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [1500,-49,1555,52,1503], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [1500,-49,1555,52,1503], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [1500,-49,1555,52,1503], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH PLUS + 0x2A05: [1500,-49,1153,82,1071], // N-ARY SQUARE INTERSECTION OPERATOR + 0x2A06: [1500,-49,1153,82,1071] // N-ARY SQUARE UNION OPERATOR +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeOneSym"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeOneSym/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js new file mode 100644 index 0000000..e4fc058 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js @@ -0,0 +1,46 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym-bold'] = { + directory: 'SizeThreeSym/Bold', + family: 'STIXSizeThreeSym', + weight: 'bold', + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2104,355,750,163,686], // LEFT PARENTHESIS + 0x29: [2104,355,750,64,587], // RIGHT PARENTHESIS + 0x2F: [2104,355,1102,11,1091], // SOLIDUS + 0x5B: [2104,355,538,236,540], // LEFT SQUARE BRACKET + 0x5C: [2104,355,1102,11,1091], // REVERSE SOLIDUS + 0x5D: [2104,355,538,-2,302], // RIGHT SQUARE BRACKET + 0x7B: [2104,355,906,124,736], // LEFT CURLY BRACKET + 0x7D: [2104,355,906,170,782], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x221A: [2604,471,1076,104,1139], // SQUARE ROOT + 0x2308: [2104,355,595,236,599], // LEFT CEILING + 0x2309: [2104,355,595,-4,359], // RIGHT CEILING + 0x230A: [2104,355,595,236,599], // LEFT FLOOR + 0x230B: [2104,355,595,-4,359], // RIGHT FLOOR + 0x27E8: [2104,355,765,108,720], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2104,355,765,45,657] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeThreeSym-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js new file mode 100644 index 0000000..c5235c2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js @@ -0,0 +1,63 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym'], + { + 0x2C6: [777,-564,1460,0,1460], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [777,-564,1460,0,1460], // CARON + 0x2DC: [774,-608,1458,-2,1458], // SMALL TILDE + 0x2F7: [-117,283,1458,-2,1458], // ?? + 0x305: [820,-770,0,-2000,0], // COMBINING OVERLINE + 0x30C: [777,-564,0,-1610,-150], // COMBINING CARON + 0x330: [-117,283,0,-1612,-152], // COMBINING TILDE BELOW + 0x332: [-127,177,0,-2000,0], // COMBINING LOW LINE + 0x338: [662,156,0,-543,-132], // COMBINING LONG SOLIDUS OVERLAY + 0x203E: [820,-770,2000,0,2000], // OVERLINE + 0x20D0: [749,-584,0,-1773,-29], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,-1773,-29], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,-1773,-29], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,-1773,-29], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,-1773,-29], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,-1773,-29], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,-1773,-29], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,-1773,-29], // COMBINING RIGHT ARROW BELOW + 0x221B: [2565,510,1076,112,1110], // CUBE ROOT + 0x221C: [2565,510,1076,112,1110], // FOURTH ROOT + 0x23B4: [766,-544,2147,78,2069], // TOP SQUARE BRACKET + 0x23B5: [139,83,2147,78,2069], // BOTTOM SQUARE BRACKET + 0x23DC: [70,161,1886,0,1886], // TOP PARENTHESIS (mathematical use) + 0x23DD: [803,-572,1886,0,1886], // BOTTOM PARENTHESIS (mathematical use) + 0x23E0: [66,212,2312,0,2312], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,2312,0,2312], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + 0x2772: [2066,393,842,265,790], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT + 0x2773: [2066,393,842,52,577], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT + 0x27E6: [2066,394,647,225,597], // MATHEMATICAL LEFT WHITE SQUARE BRACKET + 0x27E7: [2066,394,647,50,422], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET + 0x27EA: [2067,394,1091,104,955], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET + 0x27EB: [2067,394,1091,136,987], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET + 0x2983: [2066,394,1031,143,867], // LEFT WHITE CURLY BRACKET + 0x2984: [2066,394,1031,164,888], // RIGHT WHITE CURLY BRACKET + 0x2985: [2066,393,1029,180,914], // LEFT WHITE PARENTHESIS + 0x2986: [2066,393,1029,115,849] // RIGHT WHITE PARENTHESIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js new file mode 100644 index 0000000..2e03e70 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js @@ -0,0 +1,62 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeThreeSym/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeThreeSym'] = { + directory: 'SizeThreeSym/Regular', + family: 'STIXSizeThreeSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2066,394,750,182,667], // LEFT PARENTHESIS + 0x29: [2066,394,750,83,568], // RIGHT PARENTHESIS + 0x2F: [2066,394,1101,30,1071], // SOLIDUS + 0x5B: [2066,394,508,225,491], // LEFT SQUARE BRACKET + 0x5C: [2066,394,1101,30,1071], // REVERSE SOLIDUS + 0x5D: [2066,394,508,17,283], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,2000,0,2000], // LOW LINE + 0x7B: [2066,394,906,143,717], // LEFT CURLY BRACKET + 0x7D: [2066,394,906,189,763], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [777,-564,0,-1610,-150], // COMBINING CIRCUMFLEX ACCENT + 0x303: [774,-608,0,-1612,-152], // COMBINING TILDE + 0x221A: [2565,510,1076,112,1110], // SQUARE ROOT + 0x2308: [2066,394,565,225,550], // LEFT CEILING + 0x2309: [2066,394,565,15,340], // RIGHT CEILING + 0x230A: [2066,394,565,225,550], // LEFT FLOOR + 0x230B: [2066,394,565,15,340], // RIGHT FLOOR + 0x23DE: [157,86,1886,0,1886], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [815,-572,1886,0,1886], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [2066,394,765,96,670], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2066,394,765,95,669] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeThreeSym"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeThreeSym/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js new file mode 100644 index 0000000..fd73302 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js @@ -0,0 +1,46 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym-bold'] = { + directory: 'SizeTwoSym/Bold', + family: 'STIXSizeTwoSym', + weight: 'bold', + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1604,241,608,110,512], // LEFT PARENTHESIS + 0x29: [1604,241,608,96,498], // RIGHT PARENTHESIS + 0x2F: [1604,241,802,4,798], // SOLIDUS + 0x5B: [1604,241,485,197,467], // LEFT SQUARE BRACKET + 0x5C: [1604,241,802,4,798], // REVERSE SOLIDUS + 0x5D: [1604,241,485,18,288], // RIGHT SQUARE BRACKET + 0x7B: [1604,241,681,69,514], // LEFT CURLY BRACKET + 0x7D: [1604,241,681,167,612], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x221A: [2095,355,1130,106,1185], // SQUARE ROOT + 0x2308: [1604,241,538,185,510], // LEFT CEILING + 0x2309: [1604,241,538,28,355], // RIGHT CEILING + 0x230A: [1604,241,538,185,512], // LEFT FLOOR + 0x230B: [1604,241,538,28,353], // RIGHT FLOOR + 0x27E8: [1604,241,622,98,572], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1604,241,622,50,524] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeTwoSym-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js new file mode 100644 index 0000000..e905b3e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js @@ -0,0 +1,64 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym'], + { + 0x2C6: [777,-564,979,0,979], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [777,-564,979,0,979], // CARON + 0x2DC: [760,-608,977,-2,977], // SMALL TILDE + 0x2F7: [-117,269,977,-2,977], // ?? + 0x305: [820,-770,0,-1500,0], // COMBINING OVERLINE + 0x30C: [777,-564,0,-1150,-171], // COMBINING CARON + 0x330: [-117,269,0,-1152,-173], // COMBINING TILDE BELOW + 0x332: [-127,177,0,-1500,0], // COMBINING LOW LINE + 0x338: [662,0,0,-720,-6], // COMBINING LONG SOLIDUS OVERLAY + 0x203E: [820,-770,1500,0,1500], // OVERLINE + 0x20D0: [749,-584,0,-1323,-15], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,-1323,-15], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,-1323,-15], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,-1323,-15], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,-1323,-15], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,-1323,-15], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,-1323,-15], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,-1323,-15], // COMBINING RIGHT ARROW BELOW + 0x221B: [2056,404,1124,110,1157], // CUBE ROOT + 0x221C: [2056,404,1124,110,1157], // FOURTH ROOT + 0x23B4: [766,-544,1606,74,1532], // TOP SQUARE BRACKET + 0x23B5: [139,83,1606,74,1532], // BOTTOM SQUARE BRACKET + 0x23DC: [66,147,1460,0,1460], // TOP PARENTHESIS (mathematical use) + 0x23DD: [785,-572,1460,0,1460], // BOTTOM PARENTHESIS (mathematical use) + 0x23E0: [66,212,1886,0,1886], // TOP TORTOISE SHELL BRACKET (mathematical use) + 0x23E1: [842,-564,1886,0,1886], // BOTTOM TORTOISE SHELL BRACKET (mathematical use) + 0x2772: [1566,279,688,230,651], // LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT + 0x2773: [1566,279,688,37,458], // LIGHT RIGHT TORTOISE SHELL BRACKET ORNAMENT + 0x27E6: [1566,279,555,190,517], // MATHEMATICAL LEFT WHITE SQUARE BRACKET + 0x27E7: [1566,279,555,38,365], // MATHEMATICAL RIGHT WHITE SQUARE BRACKET + 0x27EA: [1566,279,901,93,793], // MATHEMATICAL LEFT DOUBLE ANGLE BRACKET + 0x27EB: [1566,279,901,108,808], // MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET + 0x2983: [1566,279,827,122,692], // LEFT WHITE CURLY BRACKET + 0x2984: [1565,280,827,135,705], // RIGHT WHITE CURLY BRACKET + 0x2985: [1566,282,793,155,693], // LEFT WHITE PARENTHESIS + 0x2986: [1566,282,793,100,638], // RIGHT WHITE PARENTHESIS + 0x2AFC: [1586,289,906,133,773] // LARGE TRIPLE VERTICAL BAR OPERATOR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js new file mode 100644 index 0000000..1963440 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js @@ -0,0 +1,63 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/SizeTwoSym/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXSizeTwoSym'] = { + directory: 'SizeTwoSym/Regular', + family: 'STIXSizeTwoSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"], + [0x2AFC,0x2AFF,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1566,279,589,139,503], // LEFT PARENTHESIS + 0x29: [1566,279,608,114,478], // RIGHT PARENTHESIS + 0x2F: [1566,279,806,25,781], // SOLIDUS + 0x5B: [1566,279,459,190,422], // LEFT SQUARE BRACKET + 0x5C: [1566,279,806,25,781], // REVERSE SOLIDUS + 0x5D: [1566,279,459,37,269], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,1500,0,1500], // LOW LINE + 0x7B: [1566,279,717,124,531], // LEFT CURLY BRACKET + 0x7D: [1566,279,717,186,593], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [777,-564,0,-1150,-171], // COMBINING CIRCUMFLEX ACCENT + 0x303: [760,-608,0,-1152,-173], // COMBINING TILDE + 0x221A: [2056,404,1124,110,1157], // SQUARE ROOT + 0x2308: [1566,279,524,190,479], // LEFT CEILING + 0x2309: [1566,279,526,47,336], // RIGHT CEILING + 0x230A: [1566,279,524,190,479], // LEFT FLOOR + 0x230B: [1566,279,526,47,336], // RIGHT FLOOR + 0x23DE: [143,81,1460,0,1460], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [797,-573,1460,0,1460], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [1566,279,622,95,531], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1566,279,622,91,527] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXSizeTwoSym"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SizeTwoSym/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js new file mode 100644 index 0000000..46c9048 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js @@ -0,0 +1,60 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x7C: [691,189,340,126,214], // VERTICAL LINE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x19B: [666,0,536,60,526], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x2033: [586,-12,713,44,669], // DOUBLE PRIME + 0x2034: [586,-12,1032,44,988], // TRIPLE PRIME + 0x2035: [586,-12,394,44,350], // REVERSED PRIME + 0x2036: [586,-12,713,44,669], // REVERSED DOUBLE PRIME + 0x2037: [586,-12,1032,44,988], // REVERSED TRIPLE PRIME + 0x2057: [586,-12,1351,43,1306], // QUADRUPLE PRIME + 0x2140: [691,0,780,55,725], // DOUBLE-STRUCK N-ARY SUMMATION + 0x2190: [451,-55,428,68,428], // LEFTWARDS ARROW + 0x2191: [680,15,556,80,476], // UPWARDS ARROW + 0x2192: [451,-55,428,0,360], // RIGHTWARDS ARROW + 0x2193: [680,15,556,80,476], // DOWNWARDS ARROW + 0x21D1: [600,15,714,40,674], // UPWARDS DOUBLE ARROW + 0x21D3: [600,15,714,40,674], // DOWNWARDS DOUBLE ARROW + 0x220F: [676,0,734,27,707], // N-ARY PRODUCT + 0x2210: [676,0,734,27,707], // N-ARY COPRODUCT + 0x2211: [676,0,690,39,649], // N-ARY SUMMATION + 0x221D: [431,0,750,56,687], // PROPORTIONAL TO + 0x2223: [451,19,290,89,201], // DIVIDES + 0x2244: [543,45,750,68,683], // stix-not (vert) similar or equal + 0x2247: [648,144,750,68,683], // stix-not (vert) similar over two-line equals + 0x2249: [598,64,750,68,683], // stix-not, vert, approximate + 0x2260: [687,183,750,68,682], // stix-not (vert) equals + 0x2262: [747,243,750,68,682], // stix-not (vert) three-line equals + 0x2268: [728,293,750,80,670], // stix-less, vert, not double equals + 0x2269: [728,293,750,80,670], // stix-gt, vert, not double equals + 0x226E: [672,166,750,80,670], // stix-not, vert, less-than + 0x226F: [672,166,750,80,670], // stix-not, vert, greater-than + 0x2270: [742,236,750,80,670], // stix-not, vert, less-than-or-equal + 0x2271: [742,236,750,80,670] // stix-not, vert, greater-than-or-equal + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Bold/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js new file mode 100644 index 0000000..55314d2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js @@ -0,0 +1,44 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants-bold'] = { + directory: 'Variants/Bold', + family: 'STIXVariants', + weight: 'bold', + Ranges: [ + [0x20,0x20,"All"], + [0x77,0x7C,"All"], + [0xA0,0xA0,"All"], + [0x19B,0x19B,"All"], + [0x2032,0x2057,"All"], + [0x2140,0x2140,"All"], + [0x2190,0x2193,"All"], + [0x21D1,0x21E2,"All"], + [0x2205,0x22ED,"All"] + ], + 0x2032: [586,-12,394,44,350], // PRIME + 0x2205: [729,74,584,36,548], // EMPTY SET + 0x2216: [732,193,518,45,473], // SET MINUS + 0x221A: [943,-28,800,112,844] // SQUARE ROOT +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXVariants-bold"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Bold/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js new file mode 100644 index 0000000..042f3a6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js @@ -0,0 +1,120 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/All.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x77: [80,244,515,22,493], // LATIN SMALL LETTER W + 0x7C: [690,189,320,127,193], // VERTICAL LINE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x19B: [668,0,520,55,516], // LATIN SMALL LETTER LAMBDA WITH STROKE + 0x264: [450,10,460,18,441], // ?? + 0x2033: [565,-28,605,43,561], // DOUBLE PRIME + 0x2034: [565,-28,873,43,829], // TRIPLE PRIME + 0x2035: [565,-28,340,45,296], // REVERSED PRIME + 0x2036: [565,-28,605,44,561], // REVERSED DOUBLE PRIME + 0x2037: [565,-28,873,43,829], // REVERSED TRIPLE PRIME + 0x2057: [565,-28,1139,43,1096], // QUADRUPLE PRIME + 0x2140: [662,0,718,50,668], // DOUBLE-STRUCK N-ARY SUMMATION + 0x2190: [449,-57,415,55,415], // LEFTWARDS ARROW + 0x2191: [600,15,598,82,518], // UPWARDS ARROW + 0x2192: [449,-57,415,0,360], // RIGHTWARDS ARROW + 0x2193: [600,15,598,80,516], // DOWNWARDS ARROW + 0x21D1: [600,15,794,63,729], // UPWARDS DOUBLE ARROW + 0x21D3: [600,15,794,65,731], // DOWNWARDS DOUBLE ARROW + 0x21E0: [449,-58,463,70,393], // LEFTWARDS DASHED ARROW + 0x21E2: [449,-58,463,70,393], // RIGHTWARDS DASHED ARROW + 0x2208: [516,13,402,64,338], // ELEMENT OF + 0x2209: [662,156,685,60,625], // stix-negated (vert) set membership, variant + 0x220B: [516,13,402,64,338], // CONTAINS AS MEMBER + 0x220C: [662,156,685,60,625], // stix-negated (vert) contains + 0x220F: [662,0,694,30,664], // N-ARY PRODUCT + 0x2210: [662,0,694,30,664], // N-ARY COPRODUCT + 0x2211: [662,0,694,38,656], // N-ARY SUMMATION + 0x221B: [946,-55,737,72,767], // CUBE ROOT + 0x221C: [943,-55,737,72,767], // FOURTH ROOT + 0x221D: [428,0,685,41,646], // PROPORTIONAL TO + 0x2223: [451,19,266,100,166], // DIVIDES + 0x2224: [451,19,404,23,381], // DOES NOT DIVIDE + 0x2225: [451,11,446,90,356], // PARALLEL TO + 0x2226: [451,19,609,23,586], // NOT PARALLEL TO + 0x2229: [602,31,620,10,610], // stix-intersection, serifs + 0x222A: [602,31,620,10,610], // stix-union, serifs + 0x223C: [362,-148,685,48,637], // TILDE OPERATOR + 0x223E: [344,-130,1086,55,1031], // stix-most positive + 0x223F: [461,-43,520,0,586], // stix-reverse sine wave + 0x2241: [462,-48,685,48,637], // stix-not, vert, similar + 0x2244: [529,35,685,48,637], // stix-not (vert) similar or equal + 0x2247: [606,117,685,48,637], // stix-not (vert) similar over two-line equals + 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO + 0x2249: [549,49,685,48,637], // stix-not, vert, approximate + 0x224C: [586,82,685,48,637], // stix-all equal to (lazy S over equals) (formerly 224C; that shape changed) + 0x2260: [662,156,685,48,637], // stix-not (vert) equals + 0x2262: [662,156,685,48,637], // stix-not (vert) three-line equals + 0x2268: [718,275,685,56,621], // stix-less, vert, not double equals + 0x2269: [718,275,685,56,621], // stix-gt, vert, not double equals + 0x226D: [572,66,685,48,637], // stix-not (vert) asymptotically equal to + 0x226E: [662,156,685,47,612], // stix-not, vert, less-than + 0x226F: [662,156,685,73,638], // stix-not, vert, greater-than + 0x2270: [695,189,685,56,621], // stix-not, vert, less-than-or-equal + 0x2271: [695,189,685,64,629], // stix-not, vert, greater-than-or-equal + 0x2272: [673,103,685,10,632], // stix-less-than or (contour) similar + 0x2273: [673,144,685,58,624], // stix-greater-than or (contour) similar + 0x2274: [730,227,685,48,637], // stix-not, vert, less, similar + 0x2275: [730,227,685,48,650], // stix-not, vert, greater, similar + 0x2278: [818,311,685,56,621], // stix-not, vert, less, greater + 0x2279: [818,311,685,55,620], // stix-not, vert, greater, less + 0x2280: [662,156,685,64,621], // DOES NOT PRECEDE + 0x2281: [662,156,685,64,621], // stix-not (vert) succeeds + 0x2284: [662,156,685,55,620], // stix-not subset [vertical negation] + 0x2285: [662,156,685,65,630], // stix-not superset [vertical negation] + 0x2288: [707,203,695,65,630], // stix-/nsubseteq N: not (vert) subset, equals + 0x2289: [707,203,695,65,630], // stix-/nsupseteq N: not (vert) superset, equals + 0x228A: [607,229,685,51,616], // stix-subset, not equals, variant + 0x228B: [607,229,685,69,634], // stix-superset, not equals, variant + 0x2293: [536,31,620,10,610], // stix-square intersection, serifs + 0x2294: [536,31,620,10,610], // stix-square union, serifs + 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) + 0x2297: [623,119,842,50,792], // stix-circled times (with rim) + 0x229C: [623,119,842,50,792], // stix-two horizontal bars in circle + 0x22DA: [768,262,685,60,625], // stix-less, equal, slanted, greater + 0x22DB: [768,262,685,60,625], // stix-greater, equal, slanted, less + 0x22E0: [803,212,685,60,625], // stix-not (vert) precedes or contour equals + 0x22E1: [803,212,685,60,625], // stix-not (vert) succeeds or contour equals + 0x22EC: [695,189,685,54,611], // stix-not, vert, left triangle, equals + 0x22ED: [695,189,685,74,631], // stix-not, vert, right triangle, equals + 0x2322: [386,-120,685,48,637], // stix-small down curve + 0x2323: [386,-120,685,48,637], // stix-small up curve + 0x2423: [22,119,500,48,453], // stix-round space indicator + 0x25A9: [662,158,910,45,865], // SQUARE WITH DIAGONAL CROSSHATCH FILL + 0x2A3C: [633,129,463,51,411], // stix-vert, low bar to left from base + 0x2A3D: [633,129,463,51,411], // stix-vert, low bar to right from base + 0x2A9D: [647,166,685,49,627], // stix-similar (conforming) or less-than + 0x2A9E: [615,166,685,54,676], // SIMILAR OR GREATER-THAN + 0x2AAC: [625,137,685,60,625], // stix-smaller than or equal, slanted + 0x2AAD: [625,137,685,60,625], // stix-larger than or equal, slanted + 0x2ACB: [718,321,685,64,629], // stix-subset not double equals, variant + 0x2ACC: [718,321,685,74,639], // SUPERSET OF ABOVE NOT EQUAL TO + 0x2AEE: [451,19,404,23,381] // stix-short mid negated by backslash + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Regular/All.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js new file mode 100644 index 0000000..73c630a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js @@ -0,0 +1,49 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/STIX/Variants/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['STIXVariants'] = { + directory: 'Variants/Regular', + family: 'STIXVariants', + Ranges: [ + [0x20,0x20,"All"], + [0x77,0x7C,"All"], + [0xA0,0xA0,"All"], + [0x19B,0x19B,"All"], + [0x264,0x264,"All"], + [0x2032,0x2057,"All"], + [0x2140,0x2140,"All"], + [0x2190,0x2193,"All"], + [0x21D1,0x21E2,"All"], + [0x2205,0x22ED,"All"], + [0x2322,0x2323,"All"], + [0x2423,0x2423,"All"], + [0x25A9,0x25A9,"All"], + [0x2A3C,0x2AEE,"All"] + ], + 0x2032: [565,-28,340,44,295], // PRIME + 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi + 0x2205: [729,74,523,28,502], // EMPTY SET + 0x2216: [710,222,523,46,478], // SET MINUS + 0x221A: [943,11,737,67,767] // SQUARE ROOT +}; + +MathJax.OutputJax["HTML-CSS"].initFont("STIXVariants"); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Variants/Regular/Main.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js new file mode 100644 index 0000000..6b2fa74 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata-beta.js @@ -0,0 +1,373 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/font/STIX/fontdata-beta.js + * + * Patches the STIX font data to work with the beta version of + * the STIX fonts (as opposed to the release version, assuming + * there ever is one). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010 Design Science, Inc. + * + * 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. + */ + +(function (HTMLCSS,TEX) { + + var GENERAL = "STIXGeneral", + BOLD = "STIXGeneral-bold", + ITALIC = "STIXGeneral-italic", + NONUNI = "STIXNonUnicode", + SIZE1 = "STIXSizeOneSym", + SIZE2 = "STIXSizeTwoSym", + SIZE3 = "STIXSizeThreeSym", + SIZE4 = "STIXSizeFourSym", + SIZE5 = "STIXSizeFiveSym"; + + var REPLACE = function (name,data) { + var FONT = HTMLCSS.FONTDATA.FONTS[name]; + for (var id in data) {if (data.hasOwnProperty(id)) {FONT[id] = data[id]}} + }; + + REPLACE(GENERAL,{ + 0x300: [678,-507,0,109,333], // COMBINING GRAVE ACCENT + 0x301: [678,-507,0,109,333], // COMBINING ACUTE ACCENT + 0x302: [674,-507,0,94,405], // COMBINING CIRCUMFLEX ACCENT + 0x303: [638,-532,0,85,415], // COMBINING TILDE + 0x304: [601,-547,0,95,406], // COMBINING MACRON + 0x305: [820,-770,0,0,500], // COMBINING OVERLINE + 0x306: [664,-507,0,107,388], // COMBINING BREVE + 0x307: [622,-523,0,200,299], // COMBINING DOT ABOVE + 0x308: [622,-523,0,101,399], // COMBINING DIAERESIS + 0x309: [751,-492,0,173,362], // COMBINING HOOK ABOVE + 0x30A: [711,-512,0,151,350], // COMBINING RING ABOVE + 0x30B: [678,-507,0,79,458], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [674,-507,0,95,406], // COMBINING CARON + 0x30D: [700,-500,0,230,285], // COMBINING VERTICAL LINE ABOVE + 0x30E: [700,-500,0,154,347], // COMBINING DOUBLE VERTICAL LINE ABOVE + 0x30F: [678,-507,0,79,458], // COMBINING DOUBLE GRAVE ACCENT + 0x310: [767,-507,0,107,388], // COMBINING CANDRABINDU + 0x311: [664,-507,0,107,388], // COMBINING INVERTED BREVE + 0x312: [745,-502,0,181,320], // COMBINING TURNED COMMA ABOVE + 0x313: [745,-502,0,181,320], // COMBINING COMMA ABOVE + 0x314: [745,-502,0,181,320], // COMBINING REVERSED COMMA ABOVE + 0x315: [745,-502,0,395,534], // COMBINING COMMA ABOVE RIGHT + 0x316: [-53,224,0,109,333], // COMBINING GRAVE ACCENT BELOW + 0x317: [-53,224,0,109,333], // COMBINING ACUTE ACCENT BELOW + 0x318: [-53,283,0,83,270], // COMBINING LEFT TACK BELOW + 0x319: [-53,283,0,83,270], // COMBINING RIGHT TACK BELOW + 0x31A: [735,-531,0,100,400], // COMBINING LEFT ANGLE ABOVE + 0x31B: [474,-345,0,436,531], // COMBINING HORN + 0x31C: [-71,266,0,120,248], // COMBINING LEFT HALF RING BELOW + 0x31D: [-53,240,0,135,365], // COMBINING UP TACK BELOW + 0x31E: [-53,240,0,135,365], // COMBINING DOWN TACK BELOW + 0x31F: [-53,250,0,154,346], // COMBINING PLUS SIGN BELOW + 0x320: [-124,168,0,154,346], // COMBINING MINUS SIGN BELOW + 0x321: [75,287,0,245,481], // COMBINING PALATALIZED HOOK BELOW + 0x322: [75,287,0,426,662], // COMBINING RETROFLEX HOOK BELOW + 0x323: [-118,217,0,200,299], // COMBINING DOT BELOW + 0x324: [-119,218,0,101,399], // COMBINING DIAERESIS BELOW + 0x325: [-69,268,0,151,350], // COMBINING RING BELOW + 0x326: [-110,353,0,181,320], // COMBINING COMMA BELOW + 0x327: [0,215,0,146,355], // COMBINING CEDILLA + 0x328: [0,165,0,158,343], // COMBINING OGONEK + 0x329: [-102,234,0,230,270], // COMBINING VERTICAL LINE BELOW + 0x32A: [-98,235,0,95,407], // COMBINING BRIDGE BELOW + 0x32B: [-110,227,0,100,405], // COMBINING INVERTED DOUBLE ARCH BELOW + 0x32C: [-73,240,0,95,406], // COMBINING CARON BELOW + 0x32D: [-73,240,0,95,406], // COMBINING CIRCUMFLEX ACCENT BELOW + 0x32E: [-68,225,0,110,391], // COMBINING BREVE BELOW + 0x32F: [-59,216,0,110,391], // COMBINING INVERTED BREVE BELOW + 0x330: [-113,219,0,85,415], // COMBINING TILDE BELOW + 0x331: [-141,195,0,95,406], // COMBINING MACRON BELOW + 0x332: [-141,191,0,0,500], // COMBINING LOW LINE + 0x333: [-141,300,0,0,500], // COMBINING DOUBLE LOW LINE + 0x334: [320,-214,0,79,409], // COMBINING TILDE OVERLAY + 0x335: [274,-230,0,96,402], // COMBINING SHORT STROKE OVERLAY + 0x336: [274,-230,0,0,500], // COMBINING LONG STROKE OVERLAY + 0x337: [580,74,0,100,439], // COMBINING SHORT SOLIDUS OVERLAY + 0x338: [662,156,0,100,511], // COMBINING LONG SOLIDUS OVERLAY + 0x339: [-71,266,0,120,248], // COMBINING RIGHT HALF RING BELOW + 0x33A: [-53,190,0,95,407], // COMBINING INVERTED BRIDGE BELOW + 0x33B: [-53,227,0,167,333], // COMBINING SQUARE BELOW + 0x33C: [-65,189,0,100,401], // COMBINING SEAGULL BELOW + 0x33D: [715,-525,0,154,345], // COMBINING X ABOVE + 0x33E: [829,-499,0,197,303], // COMBINING VERTICAL TILDE + 0x33F: [928,-770,0,0,500], // COMBINING DOUBLE OVERLINE + 0x346: [681,-538,0,0,282], // COMBINING BRIDGE ABOVE + 0x34C: [777,-532,0,94,424], // COMBINING ALMOST EQUAL TO ABOVE + 0x359: [-65,367,0,123,393], // COMBINING ASTERISK BELOW + 0x35C: [-76,233,0,107,775], // COMBINING DOUBLE BREVE BELOW + 0x360: [633,-517,0,85,845], // COMBINING DOUBLE TILDE + 0x361: [664,-507,0,107,775], // COMBINING DOUBLE INVERTED BREVE + 0x362: [-65,270,0,85,835], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW + + 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [760,-627,0,27,463], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,0,238,288], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE + 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE + 0x20DB: [622,-523,0,18,515], // COMBINING THREE DOTS ABOVE + 0x20DC: [622,-523,0,0,696], // COMBINING FOUR DOTS ABOVE + 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE + 0x20DE: [780,180,0,0,960], // COMBINING ENCLOSING SQUARE + 0x20DF: [843,341,0,0,1184], // COMBINING ENCLOSING DIAMOND + 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,156,0,50,440], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,0,145,378], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [725,178,0,0,816], // COMBINING ANNUITY SYMBOL + 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT + 0x20E9: [681,-538,0,0,533], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [419,-87,0,-178,598], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EB: [756,217,0,32,673], // COMBINING LONG DOUBLE SOLIDUS OVERLAY + 0x20EC: [-119,252,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-119,252,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-40,252,0,27,463], // COMBINING LEFT ARROW BELOW + 0x20EF: [-40,252,0,27,463], // COMBINING RIGHT ARROW BELOW + 0x20F0: [819,-517,0,123,393] // COMBINING ASTERISK ABOVE + }); + + REPLACE(BOLD,{ + 0x300: [713,-528,0,141,379], // COMBINING GRAVE ACCENT + 0x301: [713,-528,0,141,379], // COMBINING ACUTE ACCENT + 0x302: [704,-528,0,92,429], // COMBINING CIRCUMFLEX ACCENT + 0x303: [674,-547,0,78,443], // COMBINING TILDE + 0x304: [637,-565,0,95,425], // COMBINING MACRON + 0x305: [838,-788,0,10,510], // COMBINING OVERLINE + 0x306: [691,-528,0,109,412], // COMBINING BREVE + 0x307: [666,-537,0,196,325], // COMBINING DOT ABOVE + 0x308: [666,-537,0,91,430], // COMBINING DIAERESIS + 0x309: [751,-491,0,174,379], // COMBINING HOOK ABOVE + 0x30A: [750,-537,0,154,367], // COMBINING RING ABOVE + 0x30B: [713,-528,0,41,479], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [704,-528,0,92,429], // COMBINING CARON + 0x30D: [730,-530,0,233,299], // COMBINING VERTICAL LINE ABOVE + 0x30E: [730,-530,0,152,368], // COMBINING DOUBLE VERTICAL LINE ABOVE + 0x30F: [713,-528,0,41,479], // COMBINING DOUBLE GRAVE ACCENT + 0x310: [828,-528,0,109,412], // COMBINING CANDRABINDU + 0x311: [691,-528,0,109,412], // COMBINING INVERTED BREVE + 0x312: [867,-532,0,168,352], // COMBINING TURNED COMMA ABOVE + 0x313: [867,-532,0,168,352], // COMBINING COMMA ABOVE + 0x314: [867,-532,0,168,352], // COMBINING REVERSED COMMA ABOVE + 0x315: [867,-532,0,394,578], // COMBINING COMMA ABOVE RIGHT + 0x316: [-70,255,0,141,379], // COMBINING GRAVE ACCENT BELOW + 0x317: [-70,255,0,141,379], // COMBINING ACUTE ACCENT BELOW + 0x318: [-58,288,0,85,287], // COMBINING LEFT TACK BELOW + 0x319: [-58,288,0,232,434], // COMBINING RIGHT TACK BELOW + 0x31A: [752,-531,0,100,417], // COMBINING LEFT ANGLE ABOVE + 0x31B: [505,-352,0,448,576], // COMBINING HORN + 0x31C: [-33,313,0,135,320], // COMBINING LEFT HALF RING BELOW + 0x31D: [-70,272,0,145,375], // COMBINING UP TACK BELOW + 0x31E: [-70,272,0,145,375], // COMBINING DOWN TACK BELOW + 0x31F: [-70,287,0,154,366], // COMBINING PLUS SIGN BELOW + 0x320: [-140,206,0,154,366], // COMBINING MINUS SIGN BELOW + 0x321: [75,287,0,269,488], // COMBINING PALATALIZED HOOK BELOW + 0x322: [75,287,0,416,635], // COMBINING RETROFLEX HOOK BELOW + 0x323: [-109,238,0,196,325], // COMBINING DOT BELOW + 0x324: [-109,238,0,91,430], // COMBINING DIAERESIS BELOW + 0x325: [-66,279,0,154,367], // COMBINING RING BELOW + 0x326: [-88,423,0,168,352], // COMBINING COMMA BELOW + 0x327: [0,218,0,147,373], // COMBINING CEDILLA + 0x328: [44,173,0,146,375], // COMBINING OGONEK + 0x329: [-107,239,0,233,288], // COMBINING VERTICAL LINE BELOW + 0x32A: [-86,260,0,85,417], // COMBINING BRIDGE BELOW + 0x32B: [-104,242,0,90,415], // COMBINING INVERTED DOUBLE ARCH BELOW + 0x32C: [-83,259,0,92,429], // COMBINING CARON BELOW + 0x32D: [-85,261,0,92,429], // COMBINING CIRCUMFLEX ACCENT BELOW + 0x32E: [-78,241,0,109,412], // COMBINING BREVE BELOW + 0x32F: [-78,241,0,109,412], // COMBINING INVERTED BREVE BELOW + 0x330: [-108,235,0,78,443], // COMBINING TILDE BELOW + 0x331: [-137,209,0,95,425], // COMBINING MACRON BELOW + 0x332: [-137,187,0,10,510], // COMBINING LOW LINE + 0x333: [-137,287,0,10,510], // COMBINING DOUBLE LOW LINE + 0x334: [316,-189,0,78,443], // COMBINING TILDE OVERLAY + 0x335: [282,-224,0,96,402], // COMBINING SHORT STROKE OVERLAY + 0x336: [282,-224,0,0,500], // COMBINING LONG STROKE OVERLAY + 0x337: [580,74,0,100,467], // COMBINING SHORT SOLIDUS OVERLAY + 0x338: [662,156,0,100,541], // COMBINING LONG SOLIDUS OVERLAY + 0x339: [-33,313,0,135,320], // COMBINING RIGHT HALF RING BELOW + 0x33A: [-71,245,0,85,417], // COMBINING INVERTED BRIDGE BELOW + 0x33B: [-70,264,0,157,343], // COMBINING SQUARE BELOW + 0x33C: [-89,234,0,100,401], // COMBINING SEAGULL BELOW + 0x33D: [719,-520,0,160,360], // COMBINING X ABOVE + 0x33E: [881,-516,0,196,323], // COMBINING VERTICAL TILDE + 0x33F: [938,-788,0,10,510], // COMBINING DOUBLE OVERLINE + 0x346: [717,-544,0,0,303], // COMBINING BRIDGE ABOVE + 0x34C: [837,-547,333,-16,349], // COMBINING ALMOST EQUAL TO ABOVE + 0x359: [-66,368,0,151,421], // COMBINING ASTERISK BELOW + 0x35C: [-79,242,0,109,810], // COMBINING DOUBLE BREVE BELOW + 0x360: [674,-529,0,78,908], // COMBINING DOUBLE TILDE + 0x361: [691,-534,0,107,775], // COMBINING DOUBLE INVERTED BREVE + 0x362: [-54,293,0,78,887], // COMBINING DOUBLE RIGHTWARDS ARROW BELOW + + 0x20D0: [846,-637,0,40,524], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [846,-637,0,40,524], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,0,232,307], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [846,-508,0,40,524], // COMBINING LEFT ARROW ABOVE + 0x20D7: [846,-508,0,40,524], // COMBINING RIGHT ARROW ABOVE + 0x20DB: [666,-537,0,-2,547], // COMBINING THREE DOTS ABOVE + 0x20DC: [666,-537,0,-2,757], // COMBINING FOUR DOTS ABOVE + 0x20DD: [760,254,1073,32,1041], // COMBINING ENCLOSING CIRCLE + 0x20E1: [846,-508,0,35,629], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1055,169,1581,32,1549], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,155,0,40,522], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,0,130,409], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [760,172,0,67,910], // COMBINING ANNUITY SYMBOL + 0x20E8: [-109,238,0,-2,547], // COMBINING TRIPLE UNDERDOT + 0x20E9: [717,-544,0,0,564], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [441,-65,1073,-178,658], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EB: [775,235,0,25,738], // COMBINING LONG DOUBLE SOLIDUS OVERLAY + 0x20EC: [-166,375,0,40,524], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-166,375,0,40,524], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-35,373,0,40,524], // COMBINING LEFT ARROW BELOW + 0x20EF: [-35,373,0,40,524], // COMBINING RIGHT ARROW BELOW + 0x20F0: [845,-543,0,125,395] // COMBINING ASTERISK ABOVE + }); + + REPLACE(ITALIC,{ + 0x20D0: [760,-627,0,27,463], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [760,-627,0,54,490], // COMBINING RIGHT HARPOON ABOVE + 0x20D2: [662,156,266,100,166], // COMBINING LONG VERTICAL LINE OVERLAY + 0x20D6: [760,-548,0,27,463], // COMBINING LEFT ARROW ABOVE + 0x20D7: [760,-548,0,27,463], // COMBINING RIGHT ARROW ABOVE + 0x20DB: [622,-523,0,27,524], // COMBINING THREE DOTS ABOVE + 0x20DC: [622,-523,0,18,714], // COMBINING FOUR DOTS ABOVE + 0x20DD: [725,221,1000,27,973], // COMBINING ENCLOSING CIRCLE + 0x20E1: [760,-548,0,27,505], // COMBINING LEFT RIGHT ARROW ABOVE + 0x20E4: [1023,155,1510,25,1485], // COMBINING ENCLOSING UPWARD POINTING TRIANGLE + 0x20E5: [662,156,506,50,456], // COMBINING REVERSE SOLIDUS OVERLAY + 0x20E6: [662,156,523,129,394], // COMBINING DOUBLE VERTICAL STROKE OVERLAY + 0x20E7: [725,178,926,55,871], // COMBINING ANNUITY SYMBOL + 0x20E8: [-119,218,0,18,515], // COMBINING TRIPLE UNDERDOT + 0x20E9: [681,-538,0,2,535], // COMBINING WIDE BRIDGE ABOVE + 0x20EA: [419,-87,1000,27,973], // COMBINING LEFTWARDS ARROW OVERLAY + 0x20EC: [681,-548,0,27,463], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [681,-548,0,27,463], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-40,252,490,27,463], // COMBINING LEFT ARROW BELOW + 0x20EF: [-40,252,490,27,463] // COMBINING RIGHT ARROW BELOW + }); + + REPLACE(SIZE1,{ + 0x302: [767,-554,0,0,560], // COMBINING CIRCUMFLEX ACCENT + 0x303: [750,-598,0,-2,558], // COMBINING TILDE + 0x305: [820,-770,0,0,1000], // COMBINING OVERLINE + 0x30C: [767,-554,0,0,560], // COMBINING CARON + 0x330: [-117,269,0,-2,558], // COMBINING TILDE BELOW + 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE + 0x338: [532,21,0,0,563], // COMBINING LONG SOLIDUS OVERLAY + 0x20D0: [749,-584,0,28,899], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,27,898], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,27,899], // COMBINING LEFT ARROW ABOVE + 0x20D7: [736,-482,0,27,899], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,27,898], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,28,899], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,27,899], // COMBINING LEFT ARROW BELOW + 0x20EF: [-25,279,0,27,899] // COMBINING RIGHT ARROW BELOW + }); + + REPLACE(SIZE2,{ + 0x302: [777,-564,0,0,979], // COMBINING CIRCUMFLEX ACCENT + 0x303: [760,-608,0,-2,977], // COMBINING TILDE + 0x305: [820,-770,0,0,1500], // COMBINING OVERLINE + 0x30C: [777,-564,0,0,979], // COMBINING CARON + 0x330: [-117,269,0,-2,977], // COMBINING TILDE BELOW + 0x332: [-127,177,0,0,1000], // COMBINING LOW LINE + 0x338: [662,0,0,0,714], // COMBINING LONG SOLIDUS OVERLAY + 0x20D0: [749,-584,0,27,1335], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,27,1335], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,27,1335], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,27,1335], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,27,1335], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,27,1335], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,27,1335], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,27,1335] // COMBINING RIGHT ARROW BELOW + }); + + REPLACE(SIZE3,{ + 0x302: [777,-564,0,0,1460], // COMBINING CIRCUMFLEX ACCENT + 0x303: [774,-608,0,-2,1458], // COMBINING TILDE + 0x305: [820,-770,0,0,2000], // COMBINING OVERLINE + 0x30C: [777,-564,0,0,1460], // COMBINING CARON + 0x330: [-117,283,0,-2,1458], // COMBINING TILDE BELOW + 0x332: [-127,177,0,0,2000], // COMBINING LOW LINE + 0x338: [662,156,0,137,548], // COMBINING LONG SOLIDUS OVERLAY + 0x20D0: [749,-584,0,27,1771], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,27,1771], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,27,1771], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,27,1771], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,27,1771], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,27,1771], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,27,1771], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,27,1771] // COMBINING RIGHT ARROW BELOW + }); + + REPLACE(SIZE4,{ + 0x302: [796,-573,0,0,1886], // COMBINING CIRCUMFLEX ACCENT + 0x303: [771,-608,0,0,1886], // COMBINING TILDE + 0x305: [820,-770,0,0,2500], // COMBINING OVERLINE + 0x30C: [796,-573,0,0,1886], // COMBINING CARON + 0x330: [-117,280,0,0,1886], // COMBINING TILDE BELOW + 0x332: [-127,177,0,0,2500], // COMBINING LOW LINE + 0x338: [731,228,0,170,491], // COMBINING LONG SOLIDUS OVERLAY + 0x20D0: [749,-584,0,27,2207], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,27,2207], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,27,2207], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,27,2207], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,27,2207], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,27,2207], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,27,2207], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,27,2207] // COMBINING RIGHT ARROW BELOW + }); + + REPLACE(SIZE5,{ + 0x302: [816,-572,0,0,2328], // COMBINING CIRCUMFLEX ACCENT + 0x303: [780,-617,0,0,2328], // COMBINING TILDE + 0x305: [820,-770,0,0,3000], // COMBINING OVERLINE + 0x30C: [816,-572,0,0,2328], // COMBINING CARON + 0x330: [-117,280,0,0,2328], // COMBINING TILDE BELOW + 0x332: [-127,177,0,0,3000], // COMBINING LOW LINE + 0x338: [960,454,0,119,557], // COMBINING LONG SOLIDUS OVERLAY + 0x20D0: [749,-584,0,0,3000], // COMBINING LEFT HARPOON ABOVE + 0x20D1: [749,-584,0,0,3000], // COMBINING RIGHT HARPOON ABOVE + 0x20D6: [735,-482,0,0,3000], // COMBINING LEFT ARROW ABOVE + 0x20D7: [735,-482,0,0,3000], // COMBINING RIGHT ARROW ABOVE + 0x20EC: [-123,288,0,0,3000], // COMBINING RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x20ED: [-123,288,0,0,3000], // COMBINING LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x20EE: [-26,279,0,0,3000], // COMBINING LEFT ARROW BELOW + 0x20EF: [-26,279,0,0,3000] // COMBINING RIGHT ARROW BELOW + }); + + MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/General/BoldItalic/CombDiactForSymbols.js", + function () { + REPLACE("STIXGeneral-bold-italic",{ + 0x20DD: [760,254,1073,32,1041] // COMBINING ENCLOSING CIRCLE + }); + } + ); + + var SIZES = [SIZE1,SIZE2,SIZE3,SIZE4]; + var CHARS = [0x2C6,0x2C7,0x2DC,0x2E7]; + + for (var i = 0; i < SIZES.length; i++) { + for (var j = 0; j < CHARS.length; j++) { + delete HTMLCSS.FONTDATA.FONTS[SIZES[i]][j]; + } + } + + + MathJax.Ajax.loadComplete(HTMLCSS.fontDir+"/fontdata-beta.js"); + +})(MathJax.OutputJax["HTML-CSS"],MathJax.InputJax.TeX); + diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js new file mode 100644 index 0000000..c6203a5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/STIX/fontdata.js @@ -0,0 +1,1427 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/font/STIX/fontdata.js + * + * Initializes the HTML-CSS OutputJax to use the STIX fonts + * for displaying mathematics. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + +(function (HTMLCSS) { + var VERSION = "1.1"; + + HTMLCSS.allowWebFonts = false; + + var GENERAL = "STIXGeneral", + BOLD = "STIXGeneral-bold", + ITALIC = "STIXGeneral-italic", + NONUNI = "STIXNonUnicode", + SIZE1 = "STIXSizeOneSym", + SIZE2 = "STIXSizeTwoSym", + SIZE3 = "STIXSizeThreeSym", + SIZE4 = "STIXSizeFourSym", + SIZE5 = "STIXSizeFiveSym"; + var H = "H", V = "V"; + + HTMLCSS.Augment({ + FONTDATA: { + version: VERSION, + + TeX_factor: 1.125, // TeX em's to STIX em's seem to need this + baselineskip: 1.2, + lineH: .8, lineD: .2, + + FONTS: { + "STIXGeneral": "General/Regular/Main.js", + "STIXGeneral-italic": "General/Italic/Main.js", + "STIXGeneral-bold": "General/Bold/Main.js", + "STIXGeneral-bold-italic": "General/BoldItalic/Main.js", + "STIXNonUnicode": "NonUnicode/Regular/Main.js", + "STIXNonUnicode-italic": "NonUnicode/Italic/Main.js", + "STIXNonUnicode-bold": "NonUnicode/Bold/Main.js", + "STIXNonUnicode-bold-italic": "NonUnicode/BoldItalic/Main.js", + "STIXVariants": "Variants/Regular/All.js", + "STIXSizeOneSym": "SizeOneSym/Regular/All.js", + "STIXSizeTwoSym": "SizeTwoSym/Regular/All.js", + "STIXSizeThreeSym": "SizeThreeSym/Regular/All.js", + "STIXSizeFourSym": "SizeFourSym/Regular/All.js", + "STIXSizeFiveSym": "SizeFiveSym/Regular/All.js", + "STIXIntegralsD": "IntegralsD/Regular/All.js" + }, + + VARIANT: { + "normal": {fonts: [GENERAL,NONUNI,SIZE1]}, + "bold": {fonts: [BOLD,"STIXNonUnicode-bold","STIXSizeOneSym-bold"], bold:true}, + "italic": {fonts: [ITALIC,"STIXNonUnicode-italic",GENERAL,NONUNI,SIZE1], italic:true}, + "bold-italic": {fonts: ["STIXGeneral-bold-italic","STIXNonUnicode-bold-italic"], bold:true, italic:true}, + "double-struck": {offsetA: 0x1D538, offsetN: 0x1D7D8, + remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119, + 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}}, + "fraktur": {offsetA: 0x1D504, + remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}}, + "bold-fraktur": {fonts: [BOLD], offsetA: 0x1D56C, bold:true}, + "script": {fonts: [ITALIC], offsetA: 0x1D49C, + remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B, + 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B, + 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}}, + "bold-script": {fonts: [ITALIC], offsetA: 0x1D4D0, bold:true}, + "sans-serif": {offsetA: 0x1D5A0, offsetN: 0x1D7E2, offsetG: 0xE17D}, + "bold-sans-serif": {offsetA: 0x1D5D4, offsetG: 0x1D756, offsetN: 0x1D7EC, bold:true}, + "sans-serif-italic": {fonts: [ITALIC], offsetA: 0x1D608, offsetN: 0xE1B4, offsetG: 0xE1BF, italic:true}, + "sans-serif-bold-italic": {fonts: ["STIXGeneral-bold-italic"], offsetA: 0x1D63C, offsetN: 0xE1F6, offsetG: 0x1D790, bold:true, italic:true}, + "monospace": {offsetA: 0x1D670, offsetN: 0x1D7F6}, + "-STIX-variant": {fonts:["STIXVariants",NONUNI,GENERAL]}, + "-tex-caligraphic": {fonts: [ITALIC,"STIXNonUnicode-italic",NONUNI,SIZE1], offsetA: 0xE22D, noLowerCase: 1}, + "-tex-oldstyle": {offsetN: 0xE261, + remap: {0xE262: 0xE265, 0xE263: 0xE269, 0xE264: 0xE26D, 0xE265: 0xE271, + 0xE266: 0xE275, 0xE267: 0xE279, 0xE268: 0xE27D, 0xE269: 0xE281, + 0xE26A: 0xE285}}, + "-largeOp": {fonts:[SIZE1,"STIXIntegralsD",NONUNI,GENERAL]}, + "-smallOp": {} + }, + + RANGES: [ + {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26}, + {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"}, + {name: "number", low: 0x30, high: 0x39, offset: "N"}, + {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 25}, + {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G", + remap: {0x03F5: 53, 0x03D1: 54, 0x03F0: 55, 0x03D5: 56, 0x03F1: 57, 0x03D6: 58, 0x03F4: 17}} + ], + + RULECHAR: 0x203E, + + REMAP: { + 0x2F3: 0x2DA, 0x2F4: 0x2CA, // ring below, middle grave + 0xFE37: 0x23DE, 0xFE38: 0x23DF, // OverBrace, UnderBrace + 0x3008: 0x27E8, 0x3009: 0x27E9, // langle, rangle + 0x2758: 0x2223 // VerticalSeparator + }, + + DELIMITERS: { + 0x0028: // ( + { + dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x239B,SIZE1], ext:[0x239C,SIZE1], bot:[0x239D,SIZE1]} + }, + 0x0029: // ) + { + dir: V, HW: [[.844,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x239E,SIZE1], ext:[0x239F,SIZE1], bot:[0x23A0,SIZE1]} + }, + 0x002F: // / + { + dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] + }, + 0x005B: // [ + { + dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]} + }, + 0x005C: // \ + { + dir: V, HW: [[.690,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] + }, + 0x005D: // ] + { + dir: V, HW: [[.818,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]} + }, + 0x007B: // { + { + dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x23A7,SIZE1], mid:[0x23A8,SIZE1], bot:[0x23A9,SIZE1], ext:[0x23AA,SIZE1]} + }, + 0x007C: // | + { + dir: V, HW: [[.69,GENERAL]], stretch: {ext:[0x2223,GENERAL]} + }, + 0x007D: // } + { + dir: V, HW: [[.861,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x23AB,SIZE1], mid:[0x23AC,SIZE1], bot:[0x23AD,SIZE1], ext:[0x23AA,SIZE1]} + }, + 0x02C6: // wide hat + { + dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] + }, + 0x02C7: // wide caron + { + dir: H, HW: [[.333,GENERAL],[.560,SIZE1],[.979,SIZE2],[1.46,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] + }, + 0x02DC: // wide tilde + { + dir: H, HW: [[.333,GENERAL],[.558,SIZE1],[.978,SIZE2],[1.458,SIZE3],[1.886,SIZE4],[2.328,SIZE5]] + }, + 0x2016: // double vertical line + { + dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2016,GENERAL]} + }, + 0x203E: // horizontal line + { + dir: H, HW: [[.5,GENERAL]], stretch: {rep:[0x203E,GENERAL]} + }, + 0x2190: // left arrow + { + dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL]} + }, + 0x2191: // \uparrow + { + dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL]} + }, + 0x2192: // right arrow + { + dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x2212,GENERAL], right:[0x2192,GENERAL]} + }, + 0x2193: // \downarrow + { + dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]} + }, + 0x2194: // left-right arrow + { + dir: H, HW: [[.926,GENERAL]], + stretch: {left:[0x2190,GENERAL], rep:[0x2212,GENERAL], right:[0x2192,GENERAL]} + }, + 0x2195: // \updownarrow + { + dir: V, HW: [[.818,GENERAL]], + stretch: {top:[0x2191,GENERAL], ext:[0x23D0,GENERAL], bot:[0x2193,GENERAL]} + }, + 0x21D0: // left double arrow + { + dir: H, HW: [[.926,GENERAL]], stretch: {left:[0x21D0,GENERAL], rep:[0x3D,GENERAL]} + }, + 0x21D1: // \Uparrow + { + dir: V, HW: [[.818,GENERAL]], stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1]} + }, + 0x21D2: // right double arrow + { + dir: H, HW: [[.926,GENERAL]], stretch: {rep:[0x3D,GENERAL], right:[0x21D2,GENERAL]} + }, + 0x21D3: // \Downarrow + { + dir: V, HW: [[.818,GENERAL]], stretch: {ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]} + }, + 0x21D4: // left-right double arrow + { + dir: H, HW: [[.926,GENERAL]], + stretch: {left:[0x21D0,GENERAL], rep:[0x3D,GENERAL], right:[0x21D2,GENERAL]} + }, + 0x21D5: // \Updownarrow + { + dir: V, HW: [[.818,GENERAL]], + stretch: {top:[0x21D1,GENERAL], ext:[0x2225,GENERAL,.1], bot:[0x21D3,GENERAL]} + }, + 0x221A: // \surd + { + dir: V, HW: [[.954,"STIXVariants"],[1.232,GENERAL],[1.847,SIZE1],[2.460,SIZE2],[3.075,SIZE3]], + stretch: {top: [0xE001,NONUNI], ext: [0xE000,NONUNI], bot: [0x23B7,SIZE1], fullExtenders:true} + }, + 0x2223: // \vert + { + dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2223,GENERAL]} + }, + 0x2225: // \Vert + { + dir: V, HW: [[.879,GENERAL]], stretch: {ext:[0x2225,GENERAL]} + }, + 0x2308: // \lceil + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {top:[0x23A1,SIZE1], ext:[0x23A2,SIZE1]} + }, + 0x2309: // \rceil + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + streth: {top:[0x23A4,SIZE1], ext:[0x23A5,SIZE1]} + }, + 0x230A: // \lfloor + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {ext:[0x23A2,SIZE1], bot:[0x23A3,SIZE1]} + }, + 0x230B: // \rfloor + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]], + stretch: {ext:[0x23A5,SIZE1], bot:[0x23A6,SIZE1]} + }, + 0x23AA: // \bracevert + { + dir: V, HW: [[1.01,SIZE1]], + stretch: {top:[0x23AA,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AA,SIZE1]} + }, + 0x23AF: // horizontal line + { + dir: H, HW: [[.315,GENERAL]], stretch: {rep:[0x23AF,GENERAL]} + }, + 0x23B0: // \lmoustache + { + dir: V, HW: [[1.0,SIZE1]], + stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]} + }, + 0x23B1: // \rmoustache + { + dir: V, HW: [[1.0,SIZE1]], + stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]} + }, + 0x23D0: // vertical line extension + { + dir: V, HW: [[.304,GENERAL],[.690,GENERAL,null,0x7C],[.879,GENERAL,null,0x2223]], + stretch: {ext:[0x2223,GENERAL]} + }, + 0x23DE: // horizontal brace down + { + dir: H, HW: [[.556,GENERAL],[.926,SIZE1],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]], + stretch: {left:[0xE13B,NONUNI], mid:[0xE140,NONUNI], right:[0xE13C,NONUNI], rep:[0xE14A,NONUNI]} + }, + 0x23DF: // horizontal brace up + { + dir: H, HW: [[.556,GENERAL],[.926,SIZE1],[1.46,SIZE2],[1.886,SIZE3],[2.328,SIZE4],[3.238,SIZE5]], + stretch: {left:[0xE13D,NONUNI], mid:[0xE141,NONUNI], right:[0xE13E,NONUNI], rep:[0xE14B,NONUNI]} + }, + 0x27E8: // \langle + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] + }, + 0x27E9: // \rangle + { + dir: V, HW: [[.926,GENERAL],[1.230,SIZE1],[1.353,SIZE1,1.1],[1.845,SIZE2], + [2.048,SIZE2,1.11],[2.460,SIZE3],[2.472,SIZE3,1.005],[3.075,SIZE4]] + }, + 0x27EE: // \lgroup + { + dir: V, HW: [[.853,GENERAL]], + stretch: {top:[0x23A7,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23A9,SIZE1]} + }, + 0x27EF: // \rgroup + { + dir: V, HW: [[.853,GENERAL]], + stretch: {top:[0x23AB,SIZE1], ext:[0x23AA,SIZE1], bot:[0x23AD,SIZE1]} + }, + 0x002D: {alias: 0x23AF, dir:H}, // minus + 0x005E: {alias: 0x02D6, dir:H}, // wide hat + 0x005F: {alias: 0x23AF, dir:H}, // low line + 0x007E: {alias: 0x02DC, dir:H}, // wide tilde + 0x00AF: {alias: 0x23AF, dir:H}, // over line + 0x0302: {alias: 0x02C6, dir:H}, // wide hat + 0x0303: {alias: 0x02DC, dir:H}, // wide tilde + 0x030C: {alias: 0x02C7, dir:H}, // wide caron + 0x0332: {alias: 0x23AF, dir:H}, // combining low line + 0x2015: {alias: 0x23AF, dir:H}, // horizontal line + 0x2017: {alias: 0x23AF, dir:H}, // horizontal line + 0x2212: {alias: 0x23AF, dir:H}, // minus + 0x2329: {alias: 0x27E8, dir:V}, // langle + 0x232A: {alias: 0x27E9, dir:V}, // rangle + 0x2500: {alias: 0x2212, dir:H}, // horizontal line + 0x2758: {alias: 0x2223, dir:V}, // vertical separator + 0x3008: {alias: 0x27E8, dir:V}, // langle + 0x3009: {alias: 0x27E9, dir:V}, // rangle + 0xFE37: {alias: 0x23DE, dir:H}, // horizontal brace down + 0xFE38: {alias: 0x23DF, dir:H} // horizontal brace up + } + } + }); + + MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () { + var TEX = MathJax.InputJax.TeX; + + TEX.isSTIX = true; + TEX.Definitions.mathchar0mi.hbar = ['210F',{variantForm: true}]; + TEX.Definitions.mathchar0mi.prime[1].variantForm = true; + TEX.Definitions.mathchar0mi.emptyset[1].variantForm = true; + TEX.Definitions.mathchar0mi.backslash[1].variantForm = true; + TEX.Definitions.mathchar0mi.triangle[1].mathsize = "71%"; + + TEX.Definitions.mathchar0mo.setminus = ['2216',{variantForm: true}]; + }); + + HTMLCSS.FONTDATA.FONTS['STIXGeneral'] = { + directory: 'General/Regular', + family: 'STIXGeneral', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1D00,0x1DBF,"PhoneticExtensions"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2070,0x209F,"SuperAndSubscripts"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2150,0x218F,"NumberForms"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0x2580,0x259F,"BlockElements"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x2700,0x27BF,"Dingbats"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x27F0,0x27FF,"SupplementalArrowsA"], + [0x2900,0x297F,"SupplementalArrowsB"], + [0x2980,0x29FF,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,"SuppMathOperators"], + [0x2B00,0x2BFF,"MiscSymbolsAndArrows"], + [0x3000,0x303F,"CJK"], + [0x3040,0x309F,"Hiragana"], + [0xA720,0xA7FF,"LatinExtendedD"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0xFFF0,0xFFFF,"Specials"], + [0x1D400,0x1D433,"MathBold"], + [0x1D434,0x1D467,"MathItalic"], + [0x1D468,0x1D49B,"MathBoldItalic"], + [0x1D49C,0x1D4CF,"MathScript"], + [0x1D4D0,0x1D503,"MathBoldScript"], + [0x1D504,0x1D537,"Fraktur"], + [0x1D538,0x1D56B,"BBBold"], + [0x1D56C,0x1D59F,"BoldFraktur"], + [0x1D5A0,0x1D5D3,"MathSS"], + [0x1D5D4,0x1D607,"MathSSBold"], + [0x1D608,0x1D63B,"MathSSItalic"], + [0x1D63C,0x1D66F,"MathSSItalicBold"], + [0x1D670,0x1D6A3,"MathTT"], + [0x1D6A4,0x1D6A5,"ij"], + [0x1D6A8,0x1D6E1,"GreekBold"], + [0x1D6E2,0x1D71B,"GreekItalic"], + [0x1D71C,0x1D755,"GreekBoldItalic"], + [0x1D756,0x1D78F,"GreekSSBold"], + [0x1D790,0x1D7C9,"GreekSSBoldItalic"], + [0x1D7CE,0x1D7D7,"MathBold"], + [0x1D7D8,0x1D7E1,"BBBold"], + [0x1D7E2,0x1D7EB,"MathSS"], + [0x1D7EC,0x1D7F6,"MathSSBold"], + [0x1D7F6,0x1D7FF,"MathTT"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [676,9,333,130,236], // EXCLAMATION MARK + 0x22: [676,-431,408,77,331], // QUOTATION MARK + 0x23: [662,0,500,6,495], // NUMBER SIGN + 0x24: [727,87,500,44,458], // DOLLAR SIGN + 0x25: [706,19,747,61,686], // PERCENT SIGN + 0x26: [676,13,778,42,750], // AMPERSAND + 0x27: [676,-431,180,48,133], // APOSTROPHE + 0x28: [676,177,333,48,304], // LEFT PARENTHESIS + 0x29: [676,177,333,29,285], // RIGHT PARENTHESIS + 0x2A: [676,-265,500,68,433], // ASTERISK + 0x2B: [547,41,685,48,636], // PLUS SIGN + 0x2C: [102,141,250,55,195], // COMMA + 0x2D: [257,-194,333,39,285], // HYPHEN-MINUS + 0x2E: [100,11,250,70,181], // FULL STOP + 0x2F: [676,14,278,-9,287], // SOLIDUS + 0x30: [676,14,500,24,476], // DIGIT ZERO + 0x31: [676,0,500,111,394], // DIGIT ONE + 0x32: [676,0,500,29,474], // DIGIT TWO + 0x33: [676,14,500,41,431], // DIGIT THREE + 0x34: [676,0,500,12,473], // DIGIT FOUR + 0x35: [688,14,500,31,438], // DIGIT FIVE + 0x36: [684,14,500,34,468], // DIGIT SIX + 0x37: [662,8,500,20,449], // DIGIT SEVEN + 0x38: [676,14,500,56,445], // DIGIT EIGHT + 0x39: [676,22,500,30,459], // DIGIT NINE + 0x3A: [459,11,278,81,192], // COLON + 0x3B: [459,141,278,80,219], // SEMICOLON + 0x3C: [534,24,685,56,621], // LESS-THAN SIGN + 0x3D: [386,-120,685,48,637], // EQUALS SIGN + 0x3E: [534,24,685,56,621], // GREATER-THAN SIGN + 0x3F: [676,8,444,68,414], // QUESTION MARK + 0x40: [676,14,921,116,809], // COMMERCIAL AT + 0x41: [674,0,722,15,707], // LATIN CAPITAL LETTER A + 0x42: [662,0,667,17,593], // LATIN CAPITAL LETTER B + 0x43: [676,14,667,28,633], // LATIN CAPITAL LETTER C + 0x44: [662,0,722,16,685], // LATIN CAPITAL LETTER D + 0x45: [662,0,611,12,597], // LATIN CAPITAL LETTER E + 0x46: [662,0,556,11,546], // LATIN CAPITAL LETTER F + 0x47: [676,14,722,32,709], // LATIN CAPITAL LETTER G + 0x48: [662,0,722,18,703], // LATIN CAPITAL LETTER H + 0x49: [662,0,333,18,315], // LATIN CAPITAL LETTER I + 0x4A: [662,14,373,-6,354], // LATIN CAPITAL LETTER J + 0x4B: [662,0,722,33,723], // LATIN CAPITAL LETTER K + 0x4C: [662,0,611,12,598], // LATIN CAPITAL LETTER L + 0x4D: [662,0,889,12,864], // LATIN CAPITAL LETTER M + 0x4E: [662,11,722,12,707], // LATIN CAPITAL LETTER N + 0x4F: [676,14,722,34,688], // LATIN CAPITAL LETTER O + 0x50: [662,0,557,16,542], // LATIN CAPITAL LETTER P + 0x51: [676,177,722,34,701], // LATIN CAPITAL LETTER Q + 0x52: [662,0,667,17,660], // LATIN CAPITAL LETTER R + 0x53: [676,14,556,43,491], // LATIN CAPITAL LETTER S + 0x54: [662,0,611,17,593], // LATIN CAPITAL LETTER T + 0x55: [662,14,722,14,705], // LATIN CAPITAL LETTER U + 0x56: [662,11,722,16,697], // LATIN CAPITAL LETTER V + 0x57: [662,11,944,5,932], // LATIN CAPITAL LETTER W + 0x58: [662,0,722,10,704], // LATIN CAPITAL LETTER X + 0x59: [662,0,722,22,703], // LATIN CAPITAL LETTER Y + 0x5A: [662,0,612,10,598], // LATIN CAPITAL LETTER Z + 0x5B: [662,156,333,88,299], // LEFT SQUARE BRACKET + 0x5C: [676,14,278,-9,287], // REVERSE SOLIDUS + 0x5D: [662,156,333,34,245], // RIGHT SQUARE BRACKET + 0x5E: [662,-297,469,24,446], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [678,-507,333,18,242], // GRAVE ACCENT + 0x61: [460,10,444,37,442], // LATIN SMALL LETTER A + 0x62: [683,10,500,3,468], // LATIN SMALL LETTER B + 0x63: [460,10,444,25,412], // LATIN SMALL LETTER C + 0x64: [683,10,500,27,491], // LATIN SMALL LETTER D + 0x65: [460,10,444,25,424], // LATIN SMALL LETTER E + 0x66: [683,0,333,20,383], // LATIN SMALL LETTER F + 0x67: [460,218,500,28,470], // LATIN SMALL LETTER G + 0x68: [683,0,500,9,487], // LATIN SMALL LETTER H + 0x69: [683,0,278,16,253], // LATIN SMALL LETTER I + 0x6A: [683,218,278,-70,194], // LATIN SMALL LETTER J + 0x6B: [683,0,500,7,505], // LATIN SMALL LETTER K + 0x6C: [683,0,278,19,257], // LATIN SMALL LETTER L + 0x6D: [460,0,778,16,775], // LATIN SMALL LETTER M + 0x6E: [460,0,500,16,485], // LATIN SMALL LETTER N + 0x6F: [460,10,500,29,470], // LATIN SMALL LETTER O + 0x70: [460,217,500,5,470], // LATIN SMALL LETTER P + 0x71: [460,217,500,24,488], // LATIN SMALL LETTER Q + 0x72: [460,0,333,5,335], // LATIN SMALL LETTER R + 0x73: [459,10,389,51,348], // LATIN SMALL LETTER S + 0x74: [579,10,278,13,279], // LATIN SMALL LETTER T + 0x75: [450,10,500,9,480], // LATIN SMALL LETTER U + 0x76: [450,14,500,19,477], // LATIN SMALL LETTER V + 0x77: [450,14,722,21,694], // LATIN SMALL LETTER W + 0x78: [450,0,500,17,479], // LATIN SMALL LETTER X + 0x79: [450,218,500,14,475], // LATIN SMALL LETTER Y + 0x7A: [450,0,444,27,418], // LATIN SMALL LETTER Z + 0x7B: [680,181,480,100,350], // LEFT CURLY BRACKET + 0x7C: [676,14,200,67,133], // VERTICAL LINE + 0x7D: [680,181,480,130,380], // RIGHT CURLY BRACKET + 0x7E: [325,-183,541,40,502], // TILDE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA8: [622,-523,333,18,316], // DIAERESIS + 0xAC: [393,-115,600,48,552], // NOT SIGN + 0xAF: [601,-547,333,11,322], // MACRON + 0xB1: [502,87,685,48,637], // PLUS-MINUS SIGN + 0xB7: [310,-199,250,70,181], // MIDDLE DOT + 0xD7: [529,25,640,43,597], // MULTIPLICATION SIGN + 0xF7: [516,10,564,30,534], // DIVISION SIGN + 0x131: [460,0,278,16,253], // LATIN SMALL LETTER DOTLESS I + 0x237: [460,218,278,-70,193], // LATIN SMALL LETTER DOTLESS J + 0x2C6: [674,-507,333,11,322], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [674,-507,333,11,322], // CARON + 0x2C9: [601,-547,334,11,322], // MODIFIER LETTER MACRON + 0x2CA: [679,-509,333,93,320], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [679,-509,333,22,249], // MODIFIER LETTER GRAVE ACCENT + 0x2D8: [664,-507,335,27,308], // BREVE + 0x2D9: [622,-523,333,118,217], // DOT ABOVE + 0x2DC: [638,-532,333,1,331], // SMALL TILDE + 0x300: [678,-507,0,-371,-147], // COMBINING GRAVE ACCENT + 0x301: [678,-507,0,-371,-147], // COMBINING ACUTE ACCENT + 0x302: [674,-507,0,-386,-75], // COMBINING CIRCUMFLEX ACCENT + 0x303: [638,-532,0,-395,-65], // COMBINING TILDE + 0x304: [601,-547,0,-385,-74], // COMBINING MACRON + 0x306: [664,-507,0,-373,-92], // COMBINING BREVE + 0x307: [622,-523,0,-280,-181], // COMBINING DOT ABOVE + 0x308: [622,-523,0,-379,-81], // COMBINING DIAERESIS + 0x30A: [711,-512,0,-329,-130], // COMBINING RING ABOVE + 0x30B: [678,-507,0,-401,-22], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [674,-507,0,-385,-74], // COMBINING CARON + 0x338: [662,156,0,-380,31], // COMBINING LONG SOLIDUS OVERLAY + 0x393: [662,0,587,11,577], // GREEK CAPITAL LETTER GAMMA + 0x394: [674,0,722,48,675], // GREEK CAPITAL LETTER DELTA + 0x398: [676,14,722,34,688], // GREEK CAPITAL LETTER THETA + 0x39B: [674,0,702,15,687], // GREEK CAPITAL LETTER LAMDA + 0x39E: [662,0,643,29,614], // GREEK CAPITAL LETTER XI + 0x3A0: [662,0,722,18,703], // GREEK CAPITAL LETTER PI + 0x3A3: [662,0,624,30,600], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [674,0,722,29,703], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [662,0,763,35,728], // GREEK CAPITAL LETTER PHI + 0x3A8: [690,0,746,22,724], // GREEK CAPITAL LETTER PSI + 0x3A9: [676,0,744,29,715], // GREEK CAPITAL LETTER OMEGA + 0x2020: [676,149,500,59,442], // DAGGER + 0x2021: [676,153,500,58,442], // DOUBLE DAGGER + 0x2026: [100,11,1000,111,888], // HORIZONTAL ELLIPSIS + 0x2032: [678,-402,289,75,214], // PRIME + 0x203E: [820,-770,500,0,500], // OVERLINE + 0x20D7: [760,-548,0,-453,-17], // COMBINING RIGHT ARROW ABOVE + 0x2111: [695,34,762,45,711], // BLACK-LETTER CAPITAL I + 0x2118: [547,217,826,52,799], // SCRIPT CAPITAL P + 0x211C: [704,22,874,50,829], // BLACK-LETTER CAPITAL R + 0x2135: [677,13,682,43,634], // ALEF SYMBOL + 0x2190: [449,-58,926,71,857], // LEFTWARDS ARROW + 0x2191: [662,156,511,60,451], // UPWARDS ARROW + 0x2192: [448,-57,926,70,856], // RIGHTWARDS ARROW + 0x2193: [662,156,511,60,451], // DOWNWARDS ARROW + 0x2194: [449,-57,926,38,888], // LEFT RIGHT ARROW + 0x2195: [730,224,511,60,451], // UP DOWN ARROW + 0x2196: [662,156,926,70,856], // NORTH WEST ARROW + 0x2197: [662,156,926,70,856], // NORTH EAST ARROW + 0x2198: [662,156,926,70,856], // SOUTH EAST ARROW + 0x2199: [662,156,926,70,856], // SOUTH WEST ARROW + 0x21A6: [450,-57,926,70,857], // RIGHTWARDS ARROW FROM BAR + 0x21A9: [553,-57,926,70,856], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [553,-57,926,70,856], // RIGHTWARDS ARROW WITH HOOK + 0x21BC: [494,-220,955,54,901], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [286,-12,955,54,901], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C0: [494,-220,955,54,901], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [286,-12,955,54,901], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21CC: [539,33,926,70,856], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21D0: [551,45,926,60,866], // LEFTWARDS DOUBLE ARROW + 0x21D1: [662,156,685,45,641], // UPWARDS DOUBLE ARROW + 0x21D2: [551,45,926,60,866], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [662,156,685,45,641], // DOWNWARDS DOUBLE ARROW + 0x21D4: [517,10,926,20,906], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [730,224,685,45,641], // UP DOWN DOUBLE ARROW + 0x2200: [662,0,560,2,558], // FOR ALL + 0x2202: [668,11,471,40,471], // PARTIAL DIFFERENTIAL + 0x2203: [662,0,560,73,487], // THERE EXISTS + 0x2205: [583,79,762,50,712], // EMPTY SET + 0x2207: [662,12,731,63,667], // NABLA + 0x2208: [531,27,685,60,625], // ELEMENT OF + 0x2209: [662,157,685,60,625], // stix-negated (vert) set membership, variant + 0x220B: [531,27,685,60,625], // CONTAINS AS MEMBER + 0x220F: [763,259,1000,52,948], // N-ARY PRODUCT + 0x2210: [763,259,1000,52,948], // N-ARY COPRODUCT + 0x2211: [763,259,914,58,856], // N-ARY SUMMATION + 0x2212: [286,-220,685,64,621], // MINUS SIGN + 0x2213: [502,87,685,48,637], // MINUS-OR-PLUS SIGN + 0x2215: [710,222,523,46,478], // DIVISION SLASH + 0x2216: [411,-93,428,25,403], // SET MINUS + 0x2217: [471,-33,523,67,457], // ASTERISK OPERATOR + 0x2218: [387,-117,350,40,310], // RING OPERATOR + 0x2219: [387,-117,350,40,310], // BULLET OPERATOR + 0x221A: [973,259,928,112,963], // SQUARE ROOT + 0x221D: [430,0,685,41,643], // PROPORTIONAL TO + 0x221E: [430,0,926,70,854], // INFINITY + 0x2220: [547,0,685,23,643], // ANGLE + 0x2223: [690,189,266,100,166], // DIVIDES + 0x2225: [690,189,523,129,394], // PARALLEL TO + 0x2227: [536,29,620,31,589], // LOGICAL AND + 0x2228: [536,29,620,31,589], // LOGICAL OR + 0x2229: [536,31,620,48,572], // stix-intersection, serifs + 0x222A: [536,31,620,48,572], // stix-union, serifs + 0x222B: [824,320,459,32,639], // INTEGRAL + 0x223C: [362,-148,685,48,637], // TILDE OPERATOR + 0x2240: [547,42,286,35,249], // WREATH PRODUCT + 0x2243: [445,-55,685,48,637], // ASYMPTOTICALLY EQUAL TO + 0x2245: [532,27,685,48,637], // APPROXIMATELY EQUAL TO + 0x2248: [475,-25,685,48,637], // ALMOST EQUAL TO + 0x224D: [498,-8,685,48,637], // EQUIVALENT TO + 0x2250: [611,-120,685,48,637], // APPROACHES THE LIMIT + 0x2260: [662,156,685,48,637], // stix-not (vert) equals + 0x2261: [478,-28,685,48,637], // IDENTICAL TO + 0x2264: [609,103,685,64,629], // LESS-THAN OR EQUAL TO + 0x2265: [609,103,685,64,629], // GREATER-THAN OR EQUAL TO + 0x226A: [532,26,933,25,908], // MUCH LESS-THAN + 0x226B: [532,26,933,25,908], // MUCH GREATER-THAN + 0x227A: [532,26,685,64,621], // PRECEDES + 0x227B: [532,26,685,64,621], // SUCCEEDS + 0x227C: [628,120,685,64,621], // PRECEDES OR EQUAL TO + 0x227D: [629,119,685,64,621], // SUCCEEDS OR EQUAL TO + 0x2282: [531,25,685,64,621], // SUBSET OF + 0x2283: [531,25,685,64,621], // SUPERSET OF + 0x2286: [607,103,685,64,621], // SUBSET OF OR EQUAL TO + 0x2287: [607,103,685,64,621], // SUPERSET OF OR EQUAL TO + 0x228E: [536,31,620,48,572], // MULTISET UNION + 0x2291: [607,103,685,64,621], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [607,103,685,64,621], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [536,31,620,48,572], // stix-square intersection, serifs + 0x2294: [536,31,620,48,572], // stix-square union, serifs + 0x2295: [623,119,842,50,792], // stix-circled plus (with rim) + 0x2296: [623,119,842,50,792], // CIRCLED MINUS + 0x2297: [623,119,842,50,792], // stix-circled times (with rim) + 0x2298: [623,119,842,50,792], // CIRCLED DIVISION SLASH + 0x2299: [583,79,762,50,712], // CIRCLED DOT OPERATOR + 0x22A2: [662,0,685,64,621], // RIGHT TACK + 0x22A3: [662,0,685,64,621], // LEFT TACK + 0x22A4: [662,0,685,48,637], // DOWN TACK + 0x22A5: [662,0,685,48,637], // UP TACK + 0x22A8: [662,0,685,64,621], // TRUE + 0x22C0: [763,259,924,54,870], // N-ARY LOGICAL AND + 0x22C1: [763,259,924,54,870], // N-ARY LOGICAL OR + 0x22C2: [778,254,924,94,830], // N-ARY INTERSECTION + 0x22C3: [768,264,924,94,830], // N-ARY UNION + 0x22C4: [488,-16,523,26,497], // DIAMOND OPERATOR + 0x22C5: [313,-193,286,83,203], // DOT OPERATOR + 0x22C6: [597,13,700,35,665], // STAR OPERATOR + 0x22C8: [582,80,810,54,756], // BOWTIE + 0x22EE: [606,104,511,192,319], // VERTICAL ELLIPSIS + 0x22EF: [316,-189,926,108,818], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F1: [520,18,926,194,732], // DOWN RIGHT DIAGONAL ELLIPSIS + 0x2308: [713,213,469,188,447], // LEFT CEILING + 0x2309: [713,213,469,27,286], // RIGHT CEILING + 0x230A: [713,213,469,188,447], // LEFT FLOOR + 0x230B: [713,213,469,27,286], // RIGHT FLOOR + 0x2322: [360,-147,1019,54,965], // stix-small down curve + 0x2323: [360,-147,1019,54,965], // stix-small up curve + 0x23AF: [286,-220,315,0,315], // HORIZONTAL LINE EXTENSION + 0x23D0: [405,-101,511,222,288], // VERTICAL LINE EXTENSION (used to extend arrows) + 0x25B3: [811,127,1145,35,1110], // WHITE UP-POINTING TRIANGLE + 0x25B9: [555,50,660,80,605], // WHITE RIGHT-POINTING SMALL TRIANGLE + 0x25BD: [811,127,1145,35,1110], // WHITE DOWN-POINTING TRIANGLE + 0x25C3: [554,51,660,55,580], // WHITE LEFT-POINTING SMALL TRIANGLE + 0x25EF: [785,282,1207,70,1137], // LARGE CIRCLE + 0x2660: [609,99,685,34,651], // BLACK SPADE SUIT + 0x2661: [603,105,685,34,651], // WHITE HEART SUIT + 0x2662: [609,105,685,41,643], // WHITE DIAMOND SUIT + 0x2663: [603,99,685,34,651], // BLACK CLUB SUIT + 0x266D: [768,10,426,57,346], // MUSIC FLAT SIGN + 0x266E: [768,181,426,75,350], // MUSIC NATURAL SIGN + 0x266F: [768,181,426,41,386], // MUSIC SHARP SIGN + 0x27E8: [713,213,400,77,335], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [713,213,400,65,323], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x27EE: [676,177,233,56,211], // MATHEMATICAL LEFT FLATTENED PARENTHESIS + 0x27EF: [676,177,233,22,177], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS + 0x27F5: [449,-58,1574,55,1519], // LONG LEFTWARDS ARROW + 0x27F6: [449,-57,1574,55,1519], // LONG RIGHTWARDS ARROW + 0x27F7: [449,-57,1574,55,1519], // LONG LEFT RIGHT ARROW + 0x27F8: [551,45,1574,55,1519], // LONG LEFTWARDS DOUBLE ARROW + 0x27F9: [551,45,1574,55,1519], // LONG RIGHTWARDS DOUBLE ARROW + 0x27FA: [517,10,1574,55,1519], // LONG LEFT RIGHT DOUBLE ARROW + 0x27FB: [450,-57,1574,55,1519], // LONG LEFTWARDS ARROW FROM BAR + 0x27FC: [450,-57,1574,55,1519], // LONG RIGHTWARDS ARROW FROM BAR + 0x29F5: [710,222,523,46,478], // REVERSE SOLIDUS OPERATOR + 0x2A00: [763,259,1126,53,1073], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [763,259,1126,53,1073], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [763,259,1126,53,1073], // N-ARY CIRCLED TIMES OPERATOR + 0x2A03: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH DOT + 0x2A04: [768,264,924,94,830], // N-ARY UNION OPERATOR WITH PLUS + 0x2A05: [763,259,924,94,830], // N-ARY SQUARE INTERSECTION OPERATOR + 0x2A06: [763,259,924,94,830], // N-ARY SQUARE UNION OPERATOR + 0x2A3F: [662,0,694,30,664], // AMALGAMATION OR COPRODUCT + 0x2AAF: [609,103,685,64,621], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [609,103,685,64,621] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN + }; + + HTMLCSS.FONTDATA.FONTS['STIXGeneral-bold'] = { + directory: 'General/Bold', + family: 'STIXGeneral', + weight: 'bold', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1D00,0x1DBF,"PhoneticExtensions"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2070,0x209F,"SuperAndSubscripts"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2150,0x218F,"NumberForms"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x2980,0x29FF,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,"SuppMathOperators"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0x1D400,0x1D433,"MathBold"], + [0x1D56C,0x1D59F,"BoldFraktur"], + [0x1D5D4,0x1D607,"MathSSBold"], + [0x1D6A8,0x1D6E1,"GreekBold"], + [0x1D756,0x1D78F,"GreekSSBold"], + [0x1D7CE,0x1D7D7,"MathBold"], + [0x1D7EC,0x1D7F6,"MathSSBold"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [691,13,333,81,251], // EXCLAMATION MARK + 0x22: [691,-404,555,83,472], // QUOTATION MARK + 0x23: [700,0,500,5,495], // NUMBER SIGN + 0x24: [750,99,500,29,472], // DOLLAR SIGN + 0x25: [706,29,749,61,688], // PERCENT SIGN + 0x26: [691,16,833,62,789], // AMPERSAND + 0x27: [691,-404,278,75,204], // APOSTROPHE + 0x28: [694,168,333,46,306], // LEFT PARENTHESIS + 0x29: [694,168,333,27,287], // RIGHT PARENTHESIS + 0x2A: [691,-255,500,56,448], // ASTERISK + 0x2B: [563,57,750,65,685], // PLUS SIGN + 0x2C: [155,180,250,39,223], // COMMA + 0x2D: [287,-171,333,44,287], // HYPHEN-MINUS + 0x2E: [156,13,250,41,210], // FULL STOP + 0x2F: [691,19,278,-24,302], // SOLIDUS + 0x30: [688,13,500,24,476], // DIGIT ZERO + 0x31: [688,0,500,65,441], // DIGIT ONE + 0x32: [688,0,500,17,478], // DIGIT TWO + 0x33: [688,14,500,16,468], // DIGIT THREE + 0x34: [688,0,500,19,476], // DIGIT FOUR + 0x35: [676,8,500,22,470], // DIGIT FIVE + 0x36: [688,13,500,28,475], // DIGIT SIX + 0x37: [676,0,500,17,477], // DIGIT SEVEN + 0x38: [688,13,500,28,472], // DIGIT EIGHT + 0x39: [688,13,500,26,473], // DIGIT NINE + 0x3A: [472,13,333,82,251], // COLON + 0x3B: [472,180,333,82,266], // SEMICOLON + 0x3C: [534,24,750,80,670], // LESS-THAN SIGN + 0x3D: [399,-107,750,68,682], // EQUALS SIGN + 0x3E: [534,24,750,80,670], // GREATER-THAN SIGN + 0x3F: [689,13,500,57,445], // QUESTION MARK + 0x40: [691,19,930,108,822], // COMMERCIAL AT + 0x41: [690,0,722,9,689], // LATIN CAPITAL LETTER A + 0x42: [676,0,667,16,619], // LATIN CAPITAL LETTER B + 0x43: [691,19,722,49,687], // LATIN CAPITAL LETTER C + 0x44: [676,0,722,14,690], // LATIN CAPITAL LETTER D + 0x45: [676,0,667,16,641], // LATIN CAPITAL LETTER E + 0x46: [676,0,611,16,583], // LATIN CAPITAL LETTER F + 0x47: [691,19,778,37,755], // LATIN CAPITAL LETTER G + 0x48: [676,0,778,21,759], // LATIN CAPITAL LETTER H + 0x49: [676,0,389,20,370], // LATIN CAPITAL LETTER I + 0x4A: [676,96,500,3,478], // LATIN CAPITAL LETTER J + 0x4B: [676,0,778,30,769], // LATIN CAPITAL LETTER K + 0x4C: [677,0,667,19,638], // LATIN CAPITAL LETTER L + 0x4D: [676,0,944,14,921], // LATIN CAPITAL LETTER M + 0x4E: [676,18,722,16,701], // LATIN CAPITAL LETTER N + 0x4F: [691,19,778,35,743], // LATIN CAPITAL LETTER O + 0x50: [676,0,611,16,600], // LATIN CAPITAL LETTER P + 0x51: [691,176,778,35,743], // LATIN CAPITAL LETTER Q + 0x52: [676,0,722,26,716], // LATIN CAPITAL LETTER R + 0x53: [692,19,556,35,513], // LATIN CAPITAL LETTER S + 0x54: [676,0,667,31,636], // LATIN CAPITAL LETTER T + 0x55: [676,19,722,16,701], // LATIN CAPITAL LETTER U + 0x56: [676,18,722,16,701], // LATIN CAPITAL LETTER V + 0x57: [676,15,1000,19,981], // LATIN CAPITAL LETTER W + 0x58: [676,0,722,16,699], // LATIN CAPITAL LETTER X + 0x59: [676,0,722,15,699], // LATIN CAPITAL LETTER Y + 0x5A: [676,0,667,28,634], // LATIN CAPITAL LETTER Z + 0x5B: [678,149,333,67,301], // LEFT SQUARE BRACKET + 0x5C: [691,19,278,-25,303], // REVERSE SOLIDUS + 0x5D: [678,149,333,32,266], // RIGHT SQUARE BRACKET + 0x5E: [676,-311,581,73,509], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [713,-528,333,8,246], // GRAVE ACCENT + 0x61: [473,14,500,25,488], // LATIN SMALL LETTER A + 0x62: [676,14,556,17,521], // LATIN SMALL LETTER B + 0x63: [473,14,444,25,430], // LATIN SMALL LETTER C + 0x64: [676,14,556,25,534], // LATIN SMALL LETTER D + 0x65: [473,14,444,25,427], // LATIN SMALL LETTER E + 0x66: [691,0,333,14,389], // LATIN SMALL LETTER F + 0x67: [473,206,500,28,483], // LATIN SMALL LETTER G + 0x68: [676,0,556,15,534], // LATIN SMALL LETTER H + 0x69: [691,0,278,15,256], // LATIN SMALL LETTER I + 0x6A: [691,203,333,-57,263], // LATIN SMALL LETTER J + 0x6B: [676,0,556,22,543], // LATIN SMALL LETTER K + 0x6C: [676,0,278,15,256], // LATIN SMALL LETTER L + 0x6D: [473,0,833,15,814], // LATIN SMALL LETTER M + 0x6E: [473,0,556,21,539], // LATIN SMALL LETTER N + 0x6F: [473,14,500,25,476], // LATIN SMALL LETTER O + 0x70: [473,205,556,19,524], // LATIN SMALL LETTER P + 0x71: [473,205,556,34,536], // LATIN SMALL LETTER Q + 0x72: [473,0,444,28,434], // LATIN SMALL LETTER R + 0x73: [473,14,389,25,361], // LATIN SMALL LETTER S + 0x74: [630,12,333,19,332], // LATIN SMALL LETTER T + 0x75: [461,14,556,16,538], // LATIN SMALL LETTER U + 0x76: [461,14,500,21,485], // LATIN SMALL LETTER V + 0x77: [461,14,722,23,707], // LATIN SMALL LETTER W + 0x78: [461,0,500,12,484], // LATIN SMALL LETTER X + 0x79: [461,205,500,16,482], // LATIN SMALL LETTER Y + 0x7A: [461,0,444,21,420], // LATIN SMALL LETTER Z + 0x7B: [698,175,394,22,340], // LEFT CURLY BRACKET + 0x7C: [691,19,220,66,154], // VERTICAL LINE + 0x7D: [698,175,394,54,372], // RIGHT CURLY BRACKET + 0x7E: [333,-173,520,29,491], // TILDE + 0x393: [676,0,620,16,593], // GREEK CAPITAL LETTER GAMMA + 0x394: [690,0,722,33,673], // GREEK CAPITAL LETTER DELTA + 0x398: [692,18,778,35,743], // GREEK CAPITAL LETTER THETA + 0x39B: [690,0,707,9,674], // GREEK CAPITAL LETTER LAMDA + 0x39E: [676,0,647,40,607], // GREEK CAPITAL LETTER XI + 0x3A0: [676,0,778,21,759], // GREEK CAPITAL LETTER PI + 0x3A3: [676,0,671,28,641], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [692,0,703,7,693], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [676,0,836,18,818], // GREEK CAPITAL LETTER PHI + 0x3A8: [692,0,808,15,797], // GREEK CAPITAL LETTER PSI + 0x3A9: [692,0,768,28,740] // GREEK CAPITAL LETTER OMEGA + }; + + HTMLCSS.FONTDATA.FONTS['STIXGeneral-italic'] = { + directory: 'General/Italic', + family: 'STIXGeneral', + style: 'italic', + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x250,0x2AF,"IPAExtensions"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x400,0x4FF,"Cyrillic"], + [0x1E00,0x1EFF,"LatinExtendedAdditional"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x20A0,0x20CF,"CurrencySymbols"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2200,0x22FF,"MathOperators"], + [0x2400,0x243F,"ControlPictures"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0xFB00,0xFB4F,"AlphaPresentForms"], + [0x1D434,0x1D467,"MathItalic"], + [0x1D49C,0x1D4CF,"MathScript"], + [0x1D608,0x1D63B,"MathSSItalic"], + [0x1D6A4,0x1D6A5,"ij"], + [0x1D6E2,0x1D71B,"GreekItalic"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [667,11,333,39,304], // EXCLAMATION MARK + 0x22: [666,-421,420,144,432], // QUOTATION MARK + 0x23: [676,0,501,2,540], // NUMBER SIGN + 0x24: [731,89,500,32,497], // DOLLAR SIGN + 0x25: [706,19,755,80,705], // PERCENT SIGN + 0x26: [666,18,778,76,723], // AMPERSAND + 0x27: [666,-421,214,132,241], // APOSTROPHE + 0x28: [669,181,333,42,315], // LEFT PARENTHESIS + 0x29: [669,180,333,16,289], // RIGHT PARENTHESIS + 0x2A: [666,-255,500,128,492], // ASTERISK + 0x2B: [506,0,675,86,590], // PLUS SIGN + 0x2C: [101,129,250,-5,135], // COMMA + 0x2D: [255,-192,333,49,282], // HYPHEN-MINUS + 0x2E: [100,11,250,27,138], // FULL STOP + 0x2F: [666,18,278,-65,386], // SOLIDUS + 0x30: [676,7,500,32,497], // DIGIT ZERO + 0x31: [676,0,500,50,409], // DIGIT ONE + 0x32: [676,0,500,12,452], // DIGIT TWO + 0x33: [676,7,500,16,465], // DIGIT THREE + 0x34: [676,0,500,1,479], // DIGIT FOUR + 0x35: [666,7,500,15,491], // DIGIT FIVE + 0x36: [686,7,500,30,521], // DIGIT SIX + 0x37: [666,8,500,75,537], // DIGIT SEVEN + 0x38: [676,7,500,30,493], // DIGIT EIGHT + 0x39: [676,17,500,23,492], // DIGIT NINE + 0x3A: [441,11,333,50,261], // COLON + 0x3B: [441,129,333,26,261], // SEMICOLON + 0x3C: [516,10,675,84,592], // LESS-THAN SIGN + 0x3D: [386,-120,675,86,590], // EQUALS SIGN + 0x3E: [516,10,675,84,592], // GREATER-THAN SIGN + 0x3F: [664,12,500,132,472], // QUESTION MARK + 0x40: [666,18,920,118,806], // COMMERCIAL AT + 0x41: [668,0,611,-51,564], // LATIN CAPITAL LETTER A + 0x42: [653,0,611,-8,588], // LATIN CAPITAL LETTER B + 0x43: [666,18,667,66,689], // LATIN CAPITAL LETTER C + 0x44: [653,0,722,-8,700], // LATIN CAPITAL LETTER D + 0x45: [653,0,611,-1,634], // LATIN CAPITAL LETTER E + 0x46: [653,0,611,8,645], // LATIN CAPITAL LETTER F + 0x47: [666,18,722,52,722], // LATIN CAPITAL LETTER G + 0x48: [653,0,722,-8,769], // LATIN CAPITAL LETTER H + 0x49: [653,0,333,-8,384], // LATIN CAPITAL LETTER I + 0x4A: [653,18,444,-6,491], // LATIN CAPITAL LETTER J + 0x4B: [653,0,667,7,722], // LATIN CAPITAL LETTER K + 0x4C: [653,0,556,-8,559], // LATIN CAPITAL LETTER L + 0x4D: [653,0,833,-18,872], // LATIN CAPITAL LETTER M + 0x4E: [653,15,667,-20,727], // LATIN CAPITAL LETTER N + 0x4F: [667,18,722,60,699], // LATIN CAPITAL LETTER O + 0x50: [653,0,611,0,605], // LATIN CAPITAL LETTER P + 0x51: [666,182,722,59,699], // LATIN CAPITAL LETTER Q + 0x52: [653,0,611,-13,588], // LATIN CAPITAL LETTER R + 0x53: [667,18,500,17,508], // LATIN CAPITAL LETTER S + 0x54: [653,0,556,59,633], // LATIN CAPITAL LETTER T + 0x55: [653,18,722,102,765], // LATIN CAPITAL LETTER U + 0x56: [653,18,611,76,688], // LATIN CAPITAL LETTER V + 0x57: [653,18,833,71,906], // LATIN CAPITAL LETTER W + 0x58: [653,0,611,-29,655], // LATIN CAPITAL LETTER X + 0x59: [653,0,556,78,633], // LATIN CAPITAL LETTER Y + 0x5A: [653,0,556,-6,606], // LATIN CAPITAL LETTER Z + 0x5B: [663,153,389,21,391], // LEFT SQUARE BRACKET + 0x5C: [666,18,278,-41,319], // REVERSE SOLIDUS + 0x5D: [663,153,389,12,382], // RIGHT SQUARE BRACKET + 0x5E: [666,-301,422,0,422], // CIRCUMFLEX ACCENT + 0x5F: [-75,125,500,0,500], // LOW LINE + 0x60: [664,-492,333,120,311], // GRAVE ACCENT + 0x61: [441,11,501,17,476], // LATIN SMALL LETTER A + 0x62: [683,11,500,23,473], // LATIN SMALL LETTER B + 0x63: [441,11,444,30,425], // LATIN SMALL LETTER C + 0x64: [683,13,500,15,527], // LATIN SMALL LETTER D + 0x65: [441,11,444,31,412], // LATIN SMALL LETTER E + 0x66: [678,207,278,-147,424], // LATIN SMALL LETTER F + 0x67: [441,206,500,8,471], // LATIN SMALL LETTER G + 0x68: [683,9,500,19,478], // LATIN SMALL LETTER H + 0x69: [654,11,278,49,264], // LATIN SMALL LETTER I + 0x6A: [652,207,278,-124,279], // LATIN SMALL LETTER J + 0x6B: [683,11,444,14,461], // LATIN SMALL LETTER K + 0x6C: [683,11,278,41,279], // LATIN SMALL LETTER L + 0x6D: [441,9,722,12,704], // LATIN SMALL LETTER M + 0x6E: [441,9,500,14,474], // LATIN SMALL LETTER N + 0x6F: [441,11,500,27,468], // LATIN SMALL LETTER O + 0x70: [441,205,504,-75,472], // LATIN SMALL LETTER P + 0x71: [441,209,500,25,484], // LATIN SMALL LETTER Q + 0x72: [441,0,389,45,412], // LATIN SMALL LETTER R + 0x73: [442,13,389,16,366], // LATIN SMALL LETTER S + 0x74: [546,11,278,38,296], // LATIN SMALL LETTER T + 0x75: [441,11,500,42,475], // LATIN SMALL LETTER U + 0x76: [441,18,444,20,426], // LATIN SMALL LETTER V + 0x77: [441,18,667,15,648], // LATIN SMALL LETTER W + 0x78: [441,11,444,-27,447], // LATIN SMALL LETTER X + 0x79: [441,206,444,-24,426], // LATIN SMALL LETTER Y + 0x7A: [428,81,389,-2,380], // LATIN SMALL LETTER Z + 0x7B: [687,177,400,51,407], // LEFT CURLY BRACKET + 0x7C: [666,18,275,105,171], // VERTICAL LINE + 0x7D: [687,177,400,-7,349], // RIGHT CURLY BRACKET + 0x7E: [323,-183,541,40,502], // TILDE + 0x131: [441,11,278,47,235], // LATIN SMALL LETTER DOTLESS I + 0x237: [441,207,278,-124,246], // LATIN SMALL LETTER DOTLESS J + 0x393: [653,0,611,8,645], // GREEK CAPITAL LETTER GAMMA + 0x394: [668,0,611,-32,526], // GREEK CAPITAL LETTER DELTA + 0x398: [667,18,722,60,699], // GREEK CAPITAL LETTER THETA + 0x39B: [668,0,611,-51,564], // GREEK CAPITAL LETTER LAMDA + 0x39E: [653,0,651,-6,680], // GREEK CAPITAL LETTER XI + 0x3A0: [653,0,722,-8,769], // GREEK CAPITAL LETTER PI + 0x3A3: [653,0,620,-6,659], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [668,0,556,78,648], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [653,0,741,50,731], // GREEK CAPITAL LETTER PHI + 0x3A8: [667,0,675,77,778], // GREEK CAPITAL LETTER PSI + 0x3A9: [666,0,762,-6,739], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [441,11,552,27,549], // GREEK SMALL LETTER ALPHA + 0x3B2: [678,205,506,-40,514], // GREEK SMALL LETTER BETA + 0x3B3: [435,206,410,19,438], // GREEK SMALL LETTER GAMMA + 0x3B4: [668,11,460,24,460], // GREEK SMALL LETTER DELTA + 0x3B5: [441,11,444,30,425], // GREEK SMALL LETTER EPSILON + 0x3B6: [683,185,454,30,475], // GREEK SMALL LETTER ZETA + 0x3B7: [441,205,474,14,442], // GREEK SMALL LETTER ETA + 0x3B8: [678,11,480,27,494], // GREEK SMALL LETTER THETA + 0x3B9: [441,11,278,49,235], // GREEK SMALL LETTER IOTA + 0x3BA: [441,13,444,14,465], // GREEK SMALL LETTER KAPPA + 0x3BB: [678,16,458,-12,431], // GREEK SMALL LETTER LAMDA + 0x3BC: [428,205,526,-33,483], // GREEK SMALL LETTER MU + 0x3BD: [441,18,470,20,459], // GREEK SMALL LETTER NU + 0x3BE: [683,185,454,30,446], // GREEK SMALL LETTER XI + 0x3BF: [441,11,500,27,468], // GREEK SMALL LETTER OMICRON + 0x3C0: [428,18,504,19,536], // GREEK SMALL LETTER PI + 0x3C1: [441,205,504,-40,471], // GREEK SMALL LETTER RHO + 0x3C2: [441,185,454,30,453], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [428,11,498,27,531], // GREEK SMALL LETTER SIGMA + 0x3C4: [428,11,410,12,426], // GREEK SMALL LETTER TAU + 0x3C5: [441,10,478,19,446], // GREEK SMALL LETTER UPSILON + 0x3C6: [441,205,622,27,590], // GREEK SMALL LETTER PHI + 0x3C7: [441,207,457,-108,498], // GREEK SMALL LETTER CHI + 0x3C8: [441,205,584,15,668], // GREEK SMALL LETTER PSI + 0x3C9: [439,11,686,27,654], // GREEK SMALL LETTER OMEGA + 0x3D1: [678,10,556,19,526], // GREEK THETA SYMBOL + 0x3D5: [683,205,627,27,595], // GREEK PHI SYMBOL + 0x3D6: [428,11,792,17,832], // GREEK PI SYMBOL + 0x3F1: [441,205,516,27,484], // GREEK RHO SYMBOL + 0x3F5: [441,11,444,30,420], // GREEK LUNATE EPSILON SYMBOL + 0x2113: [687,11,579,48,571] // SCRIPT SMALL L + }; + + HTMLCSS.FONTDATA.FONTS['STIXIntegralsD'] = { + directory: 'IntegralsD/Regular', + family: 'STIXIntegralsD', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0x222B,0x2233,"All"], + [0x2A0B,0x2A1C,"All"] + ], + 0x222B: [2000,269,585,56,1035], // INTEGRAL + 0x222E: [2000,269,635,56,1035] // CONTOUR INTEGRAL + }; + + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'] = { + directory: 'NonUnicode/Regular', + family: 'STIXNonUnicode', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ], + 0xE000: [610,25,1184,829,895], // stix-radical symbol vertical extender + 0xE001: [667,-41,1184,829,1211], // stix-radical symbol top corner piece + 0xE138: [634,-584,480,-10,490], // stix-horizontal extender for multiple character over accent arrows, harpoons, line + 0xE139: [-127,177,480,-10,490], // stix-horizontal extender for multiple character under accent arrows, harpoons, line + 0xE13B: [955,-512,897,-25,908], // stix-left end of extensible overbrace (CMEX10 x3A rotated 90deg) + 0xE13C: [955,-512,897,-11,922], // stix-right end of extensible overbrace (CMEX10 x38 rotated 90deg) + 0xE13D: [182,261,897,-25,908], // stix-left end of extensible underbrace (CMEX10 x3B rotated 90deg) + 0xE13E: [182,261,897,-11,922], // stix-right end of extensible underbrace (CMEX10 x39 rotated 90deg) + 0xE140: [1218,-820,1844,-10,1854], // stix-center of extensible overbrace (CMEX10 x3C rotated 90deg) + 0xE141: [-126,524,1844,-10,1854], // stix-center of extensible underbrace (CMEX10 x3D rotated 90deg) + 0xE14A: [955,-820,633,-1,634], // stix-extensible horizontal for over paren or square bracket (CMEX10 x42 rotated 90deg) + 0xE14B: [-126,261,633,-1,634], // stix-extensible horizontal for under paren or square bracket (CMEX10 x43 rotated 90deg) + 0xE261: [422,10,523,41,481], // stix-old style digit 0 + 0xE265: [421,0,523,127,405], // stix-old style digit 1 + 0xE269: [421,0,523,68,455], // stix-old style digit 2 + 0xE26D: [424,198,523,47,463], // stix-old style digit 3 + 0xE271: [420,198,523,58,480], // stix-old style digit 4 + 0xE275: [421,198,523,66,457], // stix-old style digit 5 + 0xE279: [612,8,523,37,486], // stix-old style digit 6 + 0xE27D: [421,198,523,25,490], // stix-old style digit 7 + 0xE281: [606,12,523,47,477], // stix-old style digit 8 + 0xE285: [421,200,523,41,483], // stix-old style digit 9 + 0xE28F: [135,0,325,-1,326], // stix-short horizontal extender at baseline + 0xE290: [135,0,633,-1,634] // stix-long horizontal extender at baseline + }; + + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-bold'] = { + directory: 'NonUnicode/Bold', + family: 'STIXNonUnicode', + weight: 'bold', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ] + + }; + + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode-italic'] = { + directory: 'NonUnicode/Italic', + family: 'STIXNonUnicode', + style: 'italic', + Ranges: [ + [0x20,0x20,"All"], + [0xA0,0xA0,"All"], + [0xE000,0xF8FF,"PrivateUse"] + ], + 0xE22D: [677,45,852,43,812], // stix-mathematical calligraphic capital A + 0xE22E: [670,3,724,35,709], // stix-mathematical calligraphic capital B + 0xE22F: [671,11,569,43,586], // stix-mathematical calligraphic capital C + 0xE230: [662,0,801,34,788], // stix-mathematical calligraphic capital D + 0xE231: [670,4,553,40,599], // stix-mathematical calligraphic capital E + 0xE232: [662,0,652,43,710], // stix-mathematical calligraphic capital F + 0xE233: [671,131,580,40,580], // stix-mathematical calligraphic capital G + 0xE234: [664,21,831,41,845], // stix-mathematical calligraphic capital H + 0xE235: [662,0,575,38,591], // stix-mathematical calligraphic capital I + 0xE236: [662,120,632,31,785], // stix-mathematical calligraphic capital J + 0xE237: [670,13,809,30,783], // stix-mathematical calligraphic capital K + 0xE238: [670,7,693,30,653], // stix-mathematical calligraphic capital L + 0xE239: [671,45,1166,40,1128], // stix-mathematical calligraphic capital M + 0xE23A: [795,37,957,40,1064], // stix-mathematical calligraphic capital N + 0xE23B: [669,10,737,38,729], // stix-mathematical calligraphic capital O + 0xE23C: [662,0,667,38,709], // stix-mathematical calligraphic capital P + 0xE23D: [671,131,744,43,704], // stix-mathematical calligraphic capital Q + 0xE23E: [662,3,854,38,816], // stix-mathematical calligraphic capital R + 0xE23F: [671,0,634,38,671], // stix-mathematical calligraphic capital S + 0xE240: [721,0,509,41,730], // stix-mathematical calligraphic capital T + 0xE241: [672,13,817,37,950], // stix-mathematical calligraphic capital U + 0xE242: [677,33,638,33,680], // stix-mathematical calligraphic capital V + 0xE243: [685,32,956,33,998], // stix-mathematical calligraphic capital W + 0xE244: [672,13,692,38,739], // stix-mathematical calligraphic capital X + 0xE245: [675,131,719,34,763], // stix-mathematical calligraphic capital Y + 0xE246: [664,94,752,38,714] // stix-mathematical calligraphic capital Z + }; + + HTMLCSS.FONTDATA.FONTS['STIXSizeOneSym'] = { + directory: 'SizeOneSym/Regular', + family: 'STIXSizeOneSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x2140,0x2140,"All"], + [0x221A,0x221C,"All"], + [0x2320,0x2321,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"], + [0x29F8,0x29F9,"All"], + [0x2A00,0x2A0A,"All"], + [0x2AFC,0x2AFF,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1066,164,468,139,382], // LEFT PARENTHESIS + 0x29: [1066,164,468,86,329], // RIGHT PARENTHESIS + 0x2F: [1066,164,579,25,552], // SOLIDUS + 0x5B: [1066,164,383,180,363], // LEFT SQUARE BRACKET + 0x5C: [1066,164,579,27,552], // REVERSE SOLIDUS + 0x5D: [1066,164,383,20,203], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,1000,0,1000], // LOW LINE + 0x7B: [1066,164,575,114,466], // LEFT CURLY BRACKET + 0x7D: [1066,164,575,109,461], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [767,-554,0,-720,-160], // COMBINING CIRCUMFLEX ACCENT + 0x303: [750,-598,0,-722,-162], // COMBINING TILDE + 0x220F: [1500,-49,1355,50,1305], // N-ARY PRODUCT + 0x2210: [1500,-49,1355,50,1305], // N-ARY COPRODUCT + 0x2211: [1499,-49,1292,90,1202], // N-ARY SUMMATION + 0x221A: [1552,295,1057,112,1089], // SQUARE ROOT + 0x22C0: [1500,-49,1265,60,1205], // N-ARY LOGICAL AND + 0x22C1: [1500,-49,1265,60,1205], // N-ARY LOGICAL OR + 0x22C2: [1510,-49,1265,118,1147], // N-ARY INTERSECTION + 0x22C3: [1500,-39,1265,118,1147], // N-ARY UNION + 0x2308: [1066,164,453,180,426], // LEFT CEILING + 0x2309: [1066,164,453,25,273], // RIGHT CEILING + 0x230A: [1066,164,453,180,428], // LEFT FLOOR + 0x230B: [1066,164,453,27,273], // RIGHT FLOOR + 0x239B: [700,305,450,50,400], // LEFT PARENTHESIS UPPER HOOK + 0x239C: [705,305,450,50,174], // LEFT PARENTHESIS EXTENSION + 0x239D: [705,300,450,50,400], // LEFT PARENTHESIS LOWER HOOK + 0x239E: [700,305,450,50,400], // RIGHT PARENTHESIS UPPER HOOK + 0x239F: [705,305,450,276,400], // RIGHT PARENTHESIS EXTENSION + 0x23A0: [705,300,450,50,400], // RIGHT PARENTHESIS LOWER HOOK + 0x23A1: [682,323,450,50,415], // LEFT SQUARE BRACKET UPPER CORNER + 0x23A2: [687,323,450,50,150], // LEFT SQUARE BRACKET EXTENSION + 0x23A3: [687,318,450,50,415], // LEFT SQUARE BRACKET LOWER CORNER + 0x23A4: [682,323,450,35,400], // RIGHT SQUARE BRACKET UPPER CORNER + 0x23A5: [687,323,450,300,400], // RIGHT SQUARE BRACKET EXTENSION + 0x23A6: [687,318,450,35,400], // RIGHT SQUARE BRACKET LOWER CORNER + 0x23A7: [700,305,640,260,600], // LEFT CURLY BRACKET UPPER HOOK + 0x23A8: [705,305,640,40,380], // LEFT CURLY BRACKET MIDDLE PIECE + 0x23A9: [705,300,640,260,600], // LEFT CURLY BRACKET LOWER HOOK + 0x23AA: [705,305,640,260,380], // CURLY BRACKET EXTENSION + 0x23AB: [700,305,640,40,380], // RIGHT CURLY BRACKET UPPER HOOK + 0x23AC: [705,305,640,260,600], // RIGHT CURLY BRACKET MIDDLE PIECE + 0x23AD: [705,300,640,40,380], // RIGHT CURLY BRACKET LOWER HOOK + 0x23AE: [610,25,688,294,394], // INTEGRAL EXTENSION + 0x23B0: [700,301,600,35,566], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION + 0x23B1: [700,301,600,35,566], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION + 0x23B7: [1510,345,1184,112,895], // RADICAL SYMBOL BOTTOM + 0x23B8: [1566,289,721,0,66], // LEFT VERTICAL BOX LINE + 0x23B9: [1566,289,721,655,721], // RIGHT VERTICAL BOX LINE + 0x23DE: [136,89,926,0,925], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [789,-564,926,0,925], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [1066,164,578,116,462], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1066,164,578,116,462], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [1500,-49,1555,52,1503], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [1500,-49,1555,52,1503], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [1500,-49,1555,52,1503], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [1500,-39,1265,118,1147], // N-ARY UNION OPERATOR WITH PLUS + 0x2A05: [1500,-49,1153,82,1071], // N-ARY SQUARE INTERSECTION OPERATOR + 0x2A06: [1500,-49,1153,82,1071] // N-ARY SQUARE UNION OPERATOR + }; + + HTMLCSS.FONTDATA.FONTS['STIXSizeTwoSym'] = { + directory: 'SizeTwoSym/Regular', + family: 'STIXSizeTwoSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"], + [0x2AFC,0x2AFF,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1566,279,589,139,503], // LEFT PARENTHESIS + 0x29: [1566,279,608,114,478], // RIGHT PARENTHESIS + 0x2F: [1566,279,806,25,781], // SOLIDUS + 0x5B: [1566,279,459,190,422], // LEFT SQUARE BRACKET + 0x5C: [1566,279,806,25,781], // REVERSE SOLIDUS + 0x5D: [1566,279,459,37,269], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,1500,0,1500], // LOW LINE + 0x7B: [1566,279,717,124,531], // LEFT CURLY BRACKET + 0x7D: [1566,279,717,186,593], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [777,-564,0,-1150,-171], // COMBINING CIRCUMFLEX ACCENT + 0x303: [760,-608,0,-1152,-173], // COMBINING TILDE + 0x221A: [2056,404,1124,110,1157], // SQUARE ROOT + 0x2308: [1566,279,524,190,479], // LEFT CEILING + 0x2309: [1566,279,526,47,336], // RIGHT CEILING + 0x230A: [1566,279,524,190,479], // LEFT FLOOR + 0x230B: [1566,279,526,47,336], // RIGHT FLOOR + 0x23DE: [143,81,1460,0,1460], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [797,-573,1460,0,1460], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [1566,279,622,95,531], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1566,279,622,91,527] // MATHEMATICAL RIGHT ANGLE BRACKET + }; + + HTMLCSS.FONTDATA.FONTS['STIXSizeThreeSym'] = { + directory: 'SizeThreeSym/Regular', + family: 'STIXSizeThreeSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2066,394,750,182,667], // LEFT PARENTHESIS + 0x29: [2066,394,750,83,568], // RIGHT PARENTHESIS + 0x2F: [2066,394,1101,30,1071], // SOLIDUS + 0x5B: [2066,394,508,225,491], // LEFT SQUARE BRACKET + 0x5C: [2066,394,1101,30,1071], // REVERSE SOLIDUS + 0x5D: [2066,394,508,17,283], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,2000,0,2000], // LOW LINE + 0x7B: [2066,394,906,143,717], // LEFT CURLY BRACKET + 0x7D: [2066,394,906,189,763], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [777,-564,0,-1610,-150], // COMBINING CIRCUMFLEX ACCENT + 0x303: [774,-608,0,-1612,-152], // COMBINING TILDE + 0x221A: [2565,510,1076,112,1110], // SQUARE ROOT + 0x2308: [2066,394,565,225,550], // LEFT CEILING + 0x2309: [2066,394,565,15,340], // RIGHT CEILING + 0x230A: [2066,394,565,225,550], // LEFT FLOOR + 0x230B: [2066,394,565,15,340], // RIGHT FLOOR + 0x23DE: [157,86,1886,0,1886], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [815,-572,1886,0,1886], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [2066,394,765,96,670], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2066,394,765,95,669] // MATHEMATICAL RIGHT ANGLE BRACKET + }; + + HTMLCSS.FONTDATA.FONTS['STIXSizeFourSym'] = { + directory: 'SizeFourSym/Regular', + family: 'STIXSizeFourSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x221A,0x221C,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"], + [0x2772,0x2773,"All"], + [0x27E6,0x27EB,"All"], + [0x2983,0x2986,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x28: [2566,509,808,124,732], // LEFT PARENTHESIS + 0x29: [2566,509,808,76,684], // RIGHT PARENTHESIS + 0x2F: [2566,509,1309,16,1293], // SOLIDUS + 0x5B: [2566,509,661,295,634], // LEFT SQUARE BRACKET + 0x5C: [2566,509,1309,16,1293], // REVERSE SOLIDUS + 0x5D: [2566,509,661,27,366], // RIGHT SQUARE BRACKET + 0x5F: [-127,177,2500,0,2500], // LOW LINE + 0x7B: [2566,509,1076,173,882], // LEFT CURLY BRACKET + 0x7D: [2566,509,1076,194,903], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [796,-573,0,-2040,-154], // COMBINING CIRCUMFLEX ACCENT + 0x303: [771,-608,0,-2040,-154], // COMBINING TILDE + 0x221A: [1510,345,1184,112,895], // SQUARE ROOT + 0x2308: [2566,509,682,295,655], // LEFT CEILING + 0x2309: [2566,509,682,27,387], // RIGHT CEILING + 0x230A: [2566,509,682,295,655], // LEFT FLOOR + 0x230B: [2566,509,682,27,387], // RIGHT FLOOR + 0x23DE: [175,90,2328,0,2328], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [837,-572,2328,0,2328], // BOTTOM CURLY BRACKET (mathematical use) + 0x27E8: [2566,509,908,113,796], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [2566,509,908,112,795] // MATHEMATICAL RIGHT ANGLE BRACKET + }; + + HTMLCSS.FONTDATA.FONTS['STIXSizeFiveSym'] = { + directory: 'SizeFiveSym/Regular', + family: 'STIXSizeFiveSym', + Ranges: [ + [0x2B0,0x2FF,"All"], + [0x300,0x338,"All"], + [0x203E,0x203E,"All"], + [0x20D0,0x20EF,"All"], + [0x239B,0x23B9,"All"], + [0x23DC,0x23E1,"All"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x5F: [-127,177,3000,0,3000], // LOW LINE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x302: [816,-572,0,-2485,-157], // COMBINING CIRCUMFLEX ACCENT + 0x303: [780,-617,0,-2485,-157], // COMBINING TILDE + 0x23DE: [181,90,3238,0,3238], // TOP CURLY BRACKET (mathematical use) + 0x23DF: [844,-573,3238,0,3238] // BOTTOM CURLY BRACKET (mathematical use) + }; + + HTMLCSS.FONTDATA.FONTS['STIXVariants'] = { + directory: 'Variants/Regular', + family: 'STIXVariants', + Ranges: [ + [0x20,0x20,"All"], + [0x77,0x7C,"All"], + [0xA0,0xA0,"All"], + [0x19B,0x19B,"All"], + [0x264,0x264,"All"], + [0x2032,0x2057,"All"], + [0x2140,0x2140,"All"], + [0x2190,0x2193,"All"], + [0x21D1,0x21E2,"All"], + [0x2205,0x22ED,"All"], + [0x2322,0x2323,"All"], + [0x2423,0x2423,"All"], + [0x25A9,0x25A9,"All"], + [0x2A3C,0x2AEE,"All"] + ], + 0x2032: [565,-28,340,44,295], // PRIME + 0x210F: [683,10,579,47,547], // stix-/hbar - Planck's over 2pi + 0x2205: [729,74,523,28,502], // EMPTY SET + 0x2216: [710,222,523,46,478], // SET MINUS + 0x221A: [943,11,737,67,767] // SQUARE ROOT + }; + + HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22EE][0] += 400; // adjust height for \vdots + HTMLCSS.FONTDATA.FONTS['STIXGeneral'][0x22F1][0] += 500; // adjust height for \ddots + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][0] += 200; // adjust height for brace extender + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14A][1] += 200; // adjust depth for brace extender + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][0] += 200; // adjust height for brace extender + HTMLCSS.FONTDATA.FONTS['STIXNonUnicode'][0xE14B][1] += 200; // adjust depth for brace extender + + MathJax.Hub.Browser.Select({ + MSIE: function (browser) { + if (!browser.versionAtLeast("8.0") || document.documentMode < 8) { + var FONTDATA = HTMLCSS.FONTDATA; + // MSIE Can't access the Spacing Modifier positions + FONTDATA.REMAP[0x2C9] = 0xAF; // macron + FONTDATA.REMAP[0x2CA] = 0xB4; // acute + FONTDATA.REMAP[0x2CB] = 0x60; // grave + FONTDATA.REMAP[0x2DA] = 0xB0; // ring above + // MSIE can't access Greek block + FONTDATA.RANGES[5] = FONTDATA.RANGES[4]; FONTDATA.RANGES[4] = FONTDATA.RANGES[3] + FONTDATA.RANGES[3] = {name: "greek", low: 0x03B1, high: 0x03F6, offset: "GG", + remap: {0x03F5: 26, 0x03D1: 27, 0x03F0: 28, 0x03D5: 29, 0x03F1: 30, 0x03D6: 31}}; + FONTDATA.VARIANT["bold"].offsetGG = 0x1D6C2; FONTDATA.VARIANT["bold"].offsetG = 0x1D6A8; + FONTDATA.VARIANT["italic"].offsetGG = 0x1D6FC; FONTDATA.VARIANT["italic"].offsetG = 0x1D6E2; + FONTDATA.VARIANT["bold-italic"].offsetGG = 0x1D736; FONTDATA.VARIANT["bold-italic"].offsetG = 0x1D71C; + } + } + }); + + // + // Check for Beta version versus release version of fonts + // + if (HTMLCSS.Font.testFont({family:"STIXSizeOneSym",testString:String.fromCharCode(0x2C6)})) { + // Release version -- all OK + MathJax.Ajax.loadComplete(HTMLCSS.fontDir + "/fontdata.js"); + } else { + // Beta version, so load patch file and don't say fontdata is complete until it loads + MathJax.Callback.Queue( + ["Require",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata-beta.js"], + ["loadComplete",MathJax.Ajax,HTMLCSS.fontDir + "/fontdata.js"] + ); + } + + +})(MathJax.OutputJax["HTML-CSS"]); + diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js new file mode 100644 index 0000000..329a711 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js @@ -0,0 +1,65 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2190: [438,-63,500,64,422], // LEFTWARDS ARROW + 0x2192: [438,-63,500,57,417], // RIGHTWARDS ARROW + 0x219A: [437,-60,1000,56,942], // LEFTWARDS ARROW WITH STROKE + 0x219B: [437,-60,1000,54,942], // RIGHTWARDS ARROW WITH STROKE + 0x219E: [417,-83,1000,56,944], // LEFTWARDS TWO HEADED ARROW + 0x21A0: [417,-83,1000,55,943], // RIGHTWARDS TWO HEADED ARROW + 0x21A2: [417,-83,1111,56,1031], // LEFTWARDS ARROW WITH TAIL + 0x21A3: [417,-83,1111,79,1054], // RIGHTWARDS ARROW WITH TAIL + 0x21AB: [575,42,1000,56,964], // LEFTWARDS ARROW WITH LOOP + 0x21AC: [575,42,1000,35,943], // RIGHTWARDS ARROW WITH LOOP + 0x21AD: [417,-83,1389,57,1331], // LEFT RIGHT WAVE ARROW + 0x21AE: [437,-60,1000,56,942], // LEFT RIGHT ARROW WITH STROKE + 0x21B0: [722,0,500,56,444], // UPWARDS ARROW WITH TIP LEFTWARDS + 0x21B1: [722,0,500,55,443], // UPWARDS ARROW WITH TIP RIGHTWARDS + 0x21B6: [462,1,1000,17,950], // ANTICLOCKWISE TOP SEMICIRCLE ARROW + 0x21B7: [460,1,1000,46,982], // CLOCKWISE TOP SEMICIRCLE ARROW + 0x21BA: [650,83,778,55,722], // ANTICLOCKWISE OPEN CIRCLE ARROW + 0x21BB: [650,83,778,56,721], // CLOCKWISE OPEN CIRCLE ARROW + 0x21BE: [694,194,417,188,375], // UPWARDS HARPOON WITH BARB RIGHTWARDS + 0x21BF: [694,194,417,41,228], // UPWARDS HARPOON WITH BARB LEFTWARDS + 0x21C2: [694,194,417,188,375], // DOWNWARDS HARPOON WITH BARB RIGHTWARDS + 0x21C3: [694,194,417,41,228], // DOWNWARDS HARPOON WITH BARB LEFTWARDS + 0x21C4: [667,0,1000,55,944], // RIGHTWARDS ARROW OVER LEFTWARDS ARROW + 0x21C6: [667,0,1000,55,944], // LEFTWARDS ARROW OVER RIGHTWARDS ARROW + 0x21C7: [583,83,1000,55,944], // LEFTWARDS PAIRED ARROWS + 0x21C8: [694,194,833,83,749], // UPWARDS PAIRED ARROWS + 0x21C9: [583,83,1000,55,944], // RIGHTWARDS PAIRED ARROWS + 0x21CA: [694,194,833,83,749], // DOWNWARDS PAIRED ARROWS + 0x21CB: [514,14,1000,55,944], // LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON + 0x21CC: [514,14,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21CD: [534,35,1000,54,942], // LEFTWARDS DOUBLE ARROW WITH STROKE + 0x21CE: [534,37,1000,32,965], // LEFT RIGHT DOUBLE ARROW WITH STROKE + 0x21CF: [534,35,1000,54,943], // RIGHTWARDS DOUBLE ARROW WITH STROKE + 0x21DA: [611,111,1000,76,944], // LEFTWARDS TRIPLE ARROW + 0x21DB: [611,111,1000,55,923], // RIGHTWARDS TRIPLE ARROW + 0x21DD: [417,-83,1000,56,943], // RIGHTWARDS SQUIGGLE ARROW + 0x21E0: [438,-63,1334,64,1252], // LEFTWARDS DASHED ARROW + 0x21E2: [438,-63,1334,83,1251] // RIGHTWARDS DASHED ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Arrows.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js new file mode 100644 index 0000000..c7687d9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js @@ -0,0 +1,55 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x41: [701,2,722,16,703], // LATIN CAPITAL LETTER A + 0x42: [683,1,667,11,620], // LATIN CAPITAL LETTER B + 0x43: [702,19,722,39,684], // LATIN CAPITAL LETTER C + 0x44: [683,1,722,16,688], // LATIN CAPITAL LETTER D + 0x45: [683,1,667,12,640], // LATIN CAPITAL LETTER E + 0x46: [683,1,611,12,585], // LATIN CAPITAL LETTER F + 0x47: [702,19,778,39,749], // LATIN CAPITAL LETTER G + 0x48: [683,1,778,14,762], // LATIN CAPITAL LETTER H + 0x49: [683,1,389,20,369], // LATIN CAPITAL LETTER I + 0x4A: [683,77,500,6,478], // LATIN CAPITAL LETTER J + 0x4B: [684,1,778,22,768], // LATIN CAPITAL LETTER K + 0x4C: [683,1,667,12,640], // LATIN CAPITAL LETTER L + 0x4D: [684,1,944,17,926], // LATIN CAPITAL LETTER M + 0x4E: [684,20,722,20,702], // LATIN CAPITAL LETTER N + 0x4F: [701,19,778,34,742], // LATIN CAPITAL LETTER O + 0x50: [683,1,611,16,597], // LATIN CAPITAL LETTER P + 0x51: [701,181,778,34,742], // LATIN CAPITAL LETTER Q + 0x52: [683,1,722,16,705], // LATIN CAPITAL LETTER R + 0x53: [702,12,556,28,528], // LATIN CAPITAL LETTER S + 0x54: [683,1,667,33,635], // LATIN CAPITAL LETTER T + 0x55: [683,19,722,16,709], // LATIN CAPITAL LETTER U + 0x56: [684,20,722,0,719], // LATIN CAPITAL LETTER V + 0x57: [684,19,1000,5,994], // LATIN CAPITAL LETTER W + 0x58: [684,1,722,16,705], // LATIN CAPITAL LETTER X + 0x59: [683,1,722,16,704], // LATIN CAPITAL LETTER Y + 0x5A: [683,1,667,29,635], // LATIN CAPITAL LETTER Z + 0x6B: [684,2,556,17,535] // LATIN SMALL LETTER K + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/BBBold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js new file mode 100644 index 0000000..e3c4b52 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js @@ -0,0 +1,33 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x250C: [694,-306,500,54,444], // BOX DRAWINGS LIGHT DOWN AND RIGHT + 0x2510: [695,-306,500,55,444], // BOX DRAWINGS LIGHT DOWN AND LEFT + 0x2514: [367,23,500,54,444], // BOX DRAWINGS LIGHT UP AND RIGHT + 0x2518: [366,22,500,55,445], // BOX DRAWINGS LIGHT UP AND LEFT + 0x2571: [694,195,889,0,860], // BOX DRAWINGS LIGHT DIAGONAL UPPER RIGHT TO LOWER LEFT + 0x2572: [694,195,889,0,860] // BOX DRAWINGS LIGHT DIAGONAL UPPER LEFT TO LOWER RIGHT + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/BoxDrawing.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js new file mode 100644 index 0000000..aecc80d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x302: [845,-561,0,-2347,13], // COMBINING CIRCUMFLEX ACCENT + 0x303: [899,-628,0,-2332,-3] // COMBINING TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js new file mode 100644 index 0000000..5851787 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2713: [707,35,833,84,749], // CHECK MARK + 0x2720: [716,22,833,48,786] // MALTESE CROSS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Dingbats.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js new file mode 100644 index 0000000..ae4ba02 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x24C8: [709,175,902,8,894] // CIRCLED LATIN CAPITAL LETTER S + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/EnclosedAlphanum.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js new file mode 100644 index 0000000..821be23 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2035: [560,-43,275,12,244] // REVERSED PRIME + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js new file mode 100644 index 0000000..b2573c7 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x25A0: [689,0,778,55,722], // BLACK SQUARE + 0x25A1: [689,0,778,55,722], // WHITE SQUARE + 0x25B2: [575,20,722,84,637], // BLACK UP-POINTING TRIANGLE + 0x25B3: [575,20,722,84,637], // WHITE UP-POINTING TRIANGLE + 0x25B6: [539,41,778,83,694], // BLACK RIGHT-POINTING TRIANGLE + 0x25BC: [576,20,722,84,638], // BLACK DOWN-POINTING TRIANGLE + 0x25BD: [576,20,722,84,638], // WHITE DOWN-POINTING TRIANGLE + 0x25C0: [539,41,778,83,694], // BLACK LEFT-POINTING TRIANGLE + 0x25CA: [716,132,667,56,612] // LOZENGE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GeometricShapes.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js new file mode 100644 index 0000000..0b76d98 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x3DD: [605,85,778,55,719], // GREEK SMALL LETTER DIGAMMA + 0x3F0: [434,6,667,37,734] // GREEK KAPPA SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/GreekAndCoptic.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js new file mode 100644 index 0000000..6106d4f --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js @@ -0,0 +1,31 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA5: [684,0,750,11,738], // YEN SIGN + 0xAE: [709,175,947,32,915], // REGISTERED SIGN + 0xF0: [749,21,556,42,510] // LATIN SMALL LETTER ETH + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js new file mode 100644 index 0000000..39b5f45 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x127: [695,13,540,42,562] // LATIN SMALL LETTER H WITH STROKE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js new file mode 100644 index 0000000..642a2a9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js @@ -0,0 +1,34 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi + 0x2127: [685,22,722,44,675], // INVERTED OHM SIGN + 0x2132: [695,1,556,55,497], // TURNED CAPITAL F + 0x2136: [763,21,667,-22,687], // BET SYMBOL + 0x2137: [764,43,444,-22,422], // GIMEL SYMBOL + 0x2138: [764,43,667,54,640], // DALET SYMBOL + 0x2141: [706,23,639,37,577] // TURNED SANS-SERIF CAPITAL G + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js new file mode 100644 index 0000000..6a88edd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js @@ -0,0 +1,52 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'] = { + directory: 'AMS/Regular', + family: 'MathJax_AMS', + testString: "MATHJAX AMS", + Ranges: [ + [0x0,0x7F,"BBBold"], + [0x80,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x370,0x3FF,"GreekAndCoptic"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x2460,0x24FF,"EnclosedAlphanum"], + [0x2500,0x257F,"BoxDrawing"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x2700,0x27BF,"Dingbats"], + [0x2980,0x29FF,"MiscMathSymbolsB"], + [0x2A00,0x2AFF,"SuppMathOperators"], + [0xE000,0xF8FF,"PUA"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_AMS"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/AMS/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js new file mode 100644 index 0000000..31482d5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js @@ -0,0 +1,138 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2201: [846,21,500,56,444], // COMPLEMENT + 0x2204: [860,166,556,55,498], // THERE DOES NOT EXIST + 0x2205: [587,3,778,54,720], // EMPTY SET + 0x220D: [440,1,429,102,457], // SMALL CONTAINS AS MEMBER + 0x2212: [270,-230,500,83,417], // MINUS SIGN + 0x2214: [766,94,778,56,722], // DOT PLUS + 0x2216: [430,23,778,91,685], // SET MINUS + 0x221D: [472,-28,778,56,722], // PROPORTIONAL TO + 0x2220: [694,0,722,55,666], // ANGLE + 0x2221: [714,20,722,55,667], // MEASURED ANGLE + 0x2222: [551,51,722,55,666], // SPHERICAL ANGLE + 0x2223: [430,23,222,91,131], // DIVIDES + 0x2224: [750,252,278,-21,297], // DOES NOT DIVIDE + 0x2225: [431,23,389,55,331], // PARALLEL TO + 0x2226: [750,250,500,-20,518], // NOT PARALLEL TO + 0x2234: [471,82,667,24,643], // THEREFORE + 0x2235: [471,82,667,23,643], // BECAUSE + 0x223C: [365,-132,778,55,719], // TILDE OPERATOR + 0x223D: [367,-133,778,56,722], // REVERSED TILDE + 0x2241: [468,-32,778,55,719], // stix-not, vert, similar + 0x2242: [463,-34,778,55,720], // MINUS TILDE + 0x2246: [652,155,778,54,720], // APPROXIMATELY BUT NOT ACTUALLY EQUAL TO + 0x2248: [482,-50,778,54,719], // ALMOST EQUAL TO + 0x224A: [579,39,778,51,725], // ALMOST EQUAL OR EQUAL TO + 0x224E: [492,-8,778,55,722], // GEOMETRICALLY EQUIVALENT TO + 0x224F: [492,-133,778,55,722], // DIFFERENCE BETWEEN + 0x2251: [609,108,778,55,722], // GEOMETRICALLY EQUAL TO + 0x2252: [601,101,778,15,762], // APPROXIMATELY EQUAL TO OR THE IMAGE OF + 0x2253: [601,102,778,14,762], // IMAGE OF OR APPROXIMATELY EQUAL TO + 0x2256: [367,-133,778,55,722], // RING IN EQUAL TO + 0x2257: [721,-133,778,55,722], // RING EQUAL TO + 0x225C: [859,-133,778,55,723], // DELTA EQUAL TO + 0x2266: [753,175,778,83,694], // LESS-THAN OVER EQUAL TO + 0x2267: [753,175,778,82,694], // GREATER-THAN OVER EQUAL TO + 0x2268: [752,286,778,82,693], // stix-less, vert, not double equals + 0x2269: [752,286,778,82,693], // stix-gt, vert, not double equals + 0x226C: [750,250,500,74,425], // BETWEEN + 0x226E: [708,209,778,82,693], // stix-not, vert, less-than + 0x226F: [708,209,778,82,694], // stix-not, vert, greater-than + 0x2270: [801,303,778,82,694], // stix-not, vert, less-than-or-equal + 0x2271: [801,303,778,82,695], // stix-not, vert, greater-than-or-equal + 0x2272: [732,228,778,56,722], // stix-less-than or (contour) similar + 0x2273: [732,229,778,56,722], // stix-greater-than or (contour) similar + 0x2276: [681,253,778,43,735], // LESS-THAN OR GREATER-THAN + 0x2277: [681,253,778,83,694], // GREATER-THAN OR LESS-THAN + 0x227C: [580,154,778,83,695], // PRECEDES OR EQUAL TO + 0x227D: [580,154,778,82,694], // SUCCEEDS OR EQUAL TO + 0x227E: [732,228,778,56,722], // PRECEDES OR EQUIVALENT TO + 0x227F: [732,228,778,56,722], // SUCCEEDS OR EQUIVALENT TO + 0x2280: [705,208,778,82,693], // DOES NOT PRECEDE + 0x2281: [705,208,778,82,693], // stix-not (vert) succeeds + 0x2288: [801,303,778,83,693], // stix-/nsubseteq N: not (vert) subset, equals + 0x2289: [801,303,778,82,691], // stix-/nsupseteq N: not (vert) superset, equals + 0x228A: [635,241,778,84,693], // stix-subset, not equals, variant + 0x228B: [635,241,778,82,691], // stix-superset, not equals, variant + 0x228F: [539,41,778,83,694], // SQUARE IMAGE OF + 0x2290: [539,41,778,63,714], // SQUARE ORIGINAL OF + 0x229A: [583,82,778,57,721], // CIRCLED RING OPERATOR + 0x229B: [583,82,778,57,721], // CIRCLED ASTERISK OPERATOR + 0x229D: [583,82,778,57,721], // CIRCLED DASH + 0x229E: [689,0,778,55,722], // SQUARED PLUS + 0x229F: [689,0,778,55,722], // SQUARED MINUS + 0x22A0: [689,0,778,55,722], // SQUARED TIMES + 0x22A1: [689,0,778,55,722], // SQUARED DOT OPERATOR + 0x22A8: [694,0,611,55,555], // TRUE + 0x22A9: [694,0,722,55,666], // FORCES + 0x22AA: [694,0,889,55,833], // TRIPLE VERTICAL BAR RIGHT TURNSTILE + 0x22AC: [695,1,611,-55,555], // DOES NOT PROVE + 0x22AD: [695,1,611,-55,554], // NOT TRUE + 0x22AE: [695,1,722,-55,665], // DOES NOT FORCE + 0x22AF: [695,1,722,-55,665], // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE + 0x22B2: [539,41,778,83,694], // NORMAL SUBGROUP OF + 0x22B3: [539,41,778,83,694], // CONTAINS AS NORMAL SUBGROUP + 0x22B4: [636,138,778,83,694], // NORMAL SUBGROUP OF OR EQUAL TO + 0x22B5: [636,138,778,83,694], // CONTAINS AS NORMAL SUBGROUP OR EQUAL TO + 0x22B8: [408,-92,1111,55,1055], // MULTIMAP + 0x22BA: [431,213,556,56,500], // INTERCALATE + 0x22BB: [716,0,611,54,555], // XOR + 0x22BC: [716,1,611,55,555], // NAND + 0x22C5: [189,0,278,55,222], // DOT OPERATOR + 0x22C7: [545,44,778,55,720], // DIVISION TIMES + 0x22C9: [492,-8,778,146,628], // LEFT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CA: [492,-8,778,146,628], // RIGHT NORMAL FACTOR SEMIDIRECT PRODUCT + 0x22CB: [695,22,778,55,722], // LEFT SEMIDIRECT PRODUCT + 0x22CC: [694,23,778,54,722], // RIGHT SEMIDIRECT PRODUCT + 0x22CD: [464,-36,778,56,722], // REVERSED TILDE EQUALS + 0x22CE: [579,21,760,83,676], // CURLY LOGICAL OR + 0x22CF: [578,22,760,83,676], // CURLY LOGICAL AND + 0x22D0: [540,41,778,84,695], // DOUBLE SUBSET + 0x22D1: [541,40,778,82,693], // DOUBLE SUPERSET + 0x22D2: [598,22,667,55,611], // DOUBLE INTERSECTION + 0x22D3: [599,22,667,55,611], // DOUBLE UNION + 0x22D4: [736,22,667,56,611], // PITCHFORK + 0x22D6: [541,41,778,82,693], // LESS-THAN WITH DOT + 0x22D7: [541,41,778,81,693], // GREATER-THAN WITH DOT + 0x22D8: [568,68,1333,56,1277], // VERY MUCH LESS-THAN + 0x22D9: [568,67,1333,55,1278], // VERY MUCH GREATER-THAN + 0x22DA: [886,386,778,83,675], // stix-less, equal, slanted, greater + 0x22DB: [886,386,778,82,674], // stix-greater, equal, slanted, less + 0x22DE: [734,0,778,83,695], // EQUAL TO OR PRECEDES + 0x22DF: [735,0,778,82,695], // EQUAL TO OR SUCCEEDS + 0x22E0: [801,303,778,82,693], // stix-not (vert) precedes or contour equals + 0x22E1: [801,303,778,81,694], // stix-not (vert) succeeds or contour equals + 0x22E6: [730,359,778,55,719], // LESS-THAN BUT NOT EQUIVALENT TO + 0x22E7: [730,359,778,55,719], // GREATER-THAN BUT NOT EQUIVALENT TO + 0x22E8: [730,360,778,55,719], // PRECEDES BUT NOT EQUIVALENT TO + 0x22E9: [730,359,778,55,719], // SUCCEEDS BUT NOT EQUIVALENT TO + 0x22EA: [706,208,778,82,693], // NOT NORMAL SUBGROUP OF + 0x22EB: [706,208,778,82,693], // DOES NOT CONTAIN AS NORMAL SUBGROUP + 0x22EC: [802,303,778,81,693], // stix-not, vert, left triangle, equals + 0x22ED: [801,303,778,82,694] // stix-not, vert, right triangle, equals + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js new file mode 100644 index 0000000..24b6b50 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x29EB: [716,132,667,56,612] // BLACK LOZENGE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscMathSymbolsB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js new file mode 100644 index 0000000..2a1839d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2605: [695,111,944,49,896] // BLACK STAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js new file mode 100644 index 0000000..c5c32b6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2322: [378,-122,778,55,722], // stix-small down curve + 0x2323: [378,-143,778,55,722] // stix-small up curve + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/MiscTechnical.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js new file mode 100644 index 0000000..f31d880 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js @@ -0,0 +1,43 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0xE006: [430,23,222,-20,240], // MJ-TeX: small does not divide + 0xE007: [431,24,389,-20,407], // MJ-TeX: small not parallel + 0xE008: [605,85,778,55,719], // MJ-TeX: greek small letter digamma (for IE) + 0xE009: [434,6,667,37,734], // MJ-TeX: greek kappa symbol (for IE) + 0xE00C: [752,284,778,81,693], // MJ-TeX: less over not-equal + 0xE00D: [752,284,778,81,693], // MJ-TeX: greater over not-equal + 0xE00E: [919,421,778,82,694], // MJ-TeX: not greater, double equals + 0xE00F: [801,303,778,81,695], // MJ-TeX: not greater-or-equal slanted + 0xE010: [801,303,778,82,694], // MJ-TeX: not less-or-equal, slanted + 0xE011: [919,421,778,82,694], // MJ-TeX: not less, double equals + 0xE016: [828,330,778,82,694], // MJ-TeX: not subset, double equals + 0xE017: [752,332,778,82,694], // MJ-TeX: not subset, double equals, short slash + 0xE018: [829,330,778,82,695], // MJ-TeX: not superset, double equals + 0xE019: [752,333,778,81,693], // MJ-TeX: not superset, double equals, short slash + 0xE01A: [635,256,778,84,693], // MJ-TeX: not subset or equal, short slash + 0xE01B: [634,254,778,82,691] // MJ-TeX: not superset or equal, short slash + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/PUA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js new file mode 100644 index 0000000..d9700d0 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2C6: [845,-561,2333,-14,2346], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [899,-628,2333,1,2330] // SMALL TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js new file mode 100644 index 0000000..64725d4 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js @@ -0,0 +1,50 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'], + { + 0x2A5E: [813,97,611,55,555], // LOGICAL AND WITH DOUBLE OVERBAR + 0x2A7D: [636,138,778,83,694], // LESS-THAN OR SLANTED EQUAL TO + 0x2A7E: [636,138,778,82,694], // GREATER-THAN OR SLANTED EQUAL TO + 0x2A85: [762,291,778,54,722], // LESS-THAN OR APPROXIMATE + 0x2A86: [763,290,778,54,722], // GREATER-THAN OR APPROXIMATE + 0x2A87: [635,241,778,82,693], // LESS-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A88: [635,241,778,81,693], // GREATER-THAN AND SINGLE-LINE NOT EQUAL TO + 0x2A89: [761,387,778,57,718], // LESS-THAN AND NOT APPROXIMATE + 0x2A8A: [761,388,778,57,719], // GREATER-THAN AND NOT APPROXIMATE + 0x2A8B: [1003,463,778,83,695], // LESS-THAN ABOVE DOUBLE-LINE EQUAL ABOVE GREATER-THAN + 0x2A8C: [1003,463,778,83,694], // GREATER-THAN ABOVE DOUBLE-LINE EQUAL ABOVE LESS-THAN + 0x2A95: [636,138,778,83,694], // SLANTED EQUAL TO OR LESS-THAN + 0x2A96: [636,138,778,83,694], // SLANTED EQUAL TO OR GREATER-THAN + 0x2AB5: [752,287,778,82,693], // PRECEDES ABOVE NOT EQUAL TO + 0x2AB6: [752,286,778,82,694], // SUCCEEDS ABOVE NOT EQUAL TO + 0x2AB7: [761,294,778,57,717], // PRECEDES ABOVE ALMOST EQUAL TO + 0x2AB8: [761,294,778,57,717], // SUCCEEDS ABOVE ALMOST EQUAL TO + 0x2AB9: [761,337,778,57,719], // PRECEDES ABOVE NOT ALMOST EQUAL TO + 0x2ABA: [761,337,778,57,719], // SUCCEEDS ABOVE NOT ALMOST EQUAL TO + 0x2AC5: [753,216,778,83,695], // SUBSET OF ABOVE EQUALS SIGN + 0x2AC6: [754,215,778,82,694], // SUPERSET OF ABOVE EQUALS SIGN + 0x2ACB: [783,385,778,82,693], // stix-subset not double equals, variant + 0x2ACC: [783,385,778,82,693] // SUPERSET OF ABOVE NOT EQUAL TO + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/AMS/Regular/SuppMathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js new file mode 100644 index 0000000..cf24d87 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js @@ -0,0 +1,97 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Caligraphic-bold'] = { + directory: 'Caligraphic/Bold', + family: 'MathJax_Caligraphic', + weight: 'bold', + testString: "MATHJAX CALIGRAPHIC", + skew: { + 0x41: 0.224, + 0x42: 0.16, + 0x43: 0.16, + 0x44: 0.0958, + 0x45: 0.128, + 0x46: 0.128, + 0x47: 0.128, + 0x48: 0.128, + 0x49: 0.0319, + 0x4A: 0.192, + 0x4B: 0.0639, + 0x4C: 0.16, + 0x4D: 0.16, + 0x4E: 0.0958, + 0x4F: 0.128, + 0x50: 0.0958, + 0x51: 0.128, + 0x52: 0.0958, + 0x53: 0.16, + 0x54: 0.0319, + 0x55: 0.0958, + 0x56: 0.0319, + 0x57: 0.0958, + 0x58: 0.16, + 0x59: 0.0958, + 0x5A: 0.16 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x30: [460,17,575,46,528], // DIGIT ZERO + 0x31: [462,0,575,80,495], // DIGIT ONE + 0x32: [460,1,575,51,518], // DIGIT TWO + 0x33: [462,211,575,48,525], // DIGIT THREE + 0x34: [469,194,575,31,543], // DIGIT FOUR + 0x35: [461,211,575,57,517], // DIGIT FIVE + 0x36: [660,17,575,48,526], // DIGIT SIX + 0x37: [477,211,575,64,559], // DIGIT SEVEN + 0x38: [661,17,575,48,526], // DIGIT EIGHT + 0x39: [461,210,575,48,526], // DIGIT NINE + 0x41: [752,49,921,39,989], // LATIN CAPITAL LETTER A + 0x42: [705,18,748,40,740], // LATIN CAPITAL LETTER B + 0x43: [703,20,613,20,599], // LATIN CAPITAL LETTER C + 0x44: [687,0,892,19,885], // LATIN CAPITAL LETTER D + 0x45: [703,16,607,37,627], // LATIN CAPITAL LETTER E + 0x46: [686,30,814,17,930], // LATIN CAPITAL LETTER F + 0x47: [703,114,682,50,671], // LATIN CAPITAL LETTER G + 0x48: [686,49,987,19,946], // LATIN CAPITAL LETTER H + 0x49: [686,0,642,-27,746], // LATIN CAPITAL LETTER I + 0x4A: [687,114,779,53,937], // LATIN CAPITAL LETTER J + 0x4B: [703,18,871,40,834], // LATIN CAPITAL LETTER K + 0x4C: [703,17,788,40,751], // LATIN CAPITAL LETTER L + 0x4D: [703,49,1378,38,1353], // LATIN CAPITAL LETTER M + 0x4E: [841,49,937,-24,1105], // LATIN CAPITAL LETTER N + 0x4F: [704,17,906,63,882], // LATIN CAPITAL LETTER O + 0x50: [687,67,810,20,846], // LATIN CAPITAL LETTER P + 0x51: [703,147,939,120,905], // LATIN CAPITAL LETTER Q + 0x52: [687,18,990,20,981], // LATIN CAPITAL LETTER R + 0x53: [704,16,696,25,722], // LATIN CAPITAL LETTER S + 0x54: [720,69,644,38,947], // LATIN CAPITAL LETTER T + 0x55: [687,24,715,-11,771], // LATIN CAPITAL LETTER U + 0x56: [686,77,737,25,774], // LATIN CAPITAL LETTER V + 0x57: [686,77,1169,25,1206], // LATIN CAPITAL LETTER W + 0x58: [687,-1,817,56,906], // LATIN CAPITAL LETTER X + 0x59: [686,164,759,36,797], // LATIN CAPITAL LETTER Y + 0x5A: [687,1,818,46,853], // LATIN CAPITAL LETTER Z + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Caligraphic-bold"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Caligraphic/Bold/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js new file mode 100644 index 0000000..fa4f4d5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js @@ -0,0 +1,96 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Caligraphic'] = { + directory: 'Caligraphic/Regular', + family: 'MathJax_Caligraphic', + testString: "MATHJAX CALIGRAPHIC", + skew: { + 0x41: 0.194, + 0x42: 0.139, + 0x43: 0.139, + 0x44: 0.0833, + 0x45: 0.111, + 0x46: 0.111, + 0x47: 0.111, + 0x48: 0.111, + 0x49: 0.0278, + 0x4A: 0.167, + 0x4B: 0.0556, + 0x4C: 0.139, + 0x4D: 0.139, + 0x4E: 0.0833, + 0x4F: 0.111, + 0x50: 0.0833, + 0x51: 0.111, + 0x52: 0.0833, + 0x53: 0.139, + 0x54: 0.0278, + 0x55: 0.0833, + 0x56: 0.0278, + 0x57: 0.0833, + 0x58: 0.139, + 0x59: 0.0833, + 0x5A: 0.139 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x30: [452,22,500,39,460], // DIGIT ZERO + 0x31: [454,0,500,86,426], // DIGIT ONE + 0x32: [453,0,500,44,449], // DIGIT TWO + 0x33: [452,216,500,41,456], // DIGIT THREE + 0x34: [464,194,500,27,471], // DIGIT FOUR + 0x35: [453,217,500,50,448], // DIGIT FIVE + 0x36: [666,22,500,42,456], // DIGIT SIX + 0x37: [463,216,500,54,485], // DIGIT SEVEN + 0x38: [666,21,500,43,457], // DIGIT EIGHT + 0x39: [453,216,500,42,457], // DIGIT NINE + 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A + 0x42: [705,22,657,31,664], // LATIN CAPITAL LETTER B + 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C + 0x44: [684,1,771,19,767], // LATIN CAPITAL LETTER D + 0x45: [706,22,528,30,565], // LATIN CAPITAL LETTER E + 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F + 0x47: [704,119,595,43,599], // LATIN CAPITAL LETTER G + 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H + 0x49: [683,1,545,-31,642], // LATIN CAPITAL LETTER I + 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J + 0x4B: [705,23,762,32,733], // LATIN CAPITAL LETTER K + 0x4C: [706,22,690,32,656], // LATIN CAPITAL LETTER L + 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M + 0x4E: [790,50,820,-27,979], // LATIN CAPITAL LETTER N + 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O + 0x50: [684,57,696,19,733], // LATIN CAPITAL LETTER P + 0x51: [706,131,817,114,787], // LATIN CAPITAL LETTER Q + 0x52: [683,22,848,19,837], // LATIN CAPITAL LETTER R + 0x53: [705,23,606,17,642], // LATIN CAPITAL LETTER S + 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T + 0x55: [684,28,626,-17,687], // LATIN CAPITAL LETTER U + 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V + 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W + 0x58: [684,1,713,52,807], // LATIN CAPITAL LETTER X + 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y + 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Caligraphic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Caligraphic/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js new file mode 100644 index 0000000..3dfff99 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [689,12,349,107,241], // EXCLAMATION MARK + 0x22: [695,-432,254,10,232], // QUOTATION MARK + 0x26: [696,16,871,44,839], // AMPERSAND + 0x27: [695,-436,250,80,158], // APOSTROPHE + 0x28: [737,186,459,134,347], // LEFT PARENTHESIS + 0x29: [735,187,459,105,326], // RIGHT PARENTHESIS + 0x2A: [692,-449,328,40,277], // ASTERISK + 0x2B: [598,82,893,56,837], // PLUS SIGN + 0x2C: [107,191,328,118,253], // COMMA + 0x2D: [275,-236,893,54,833], // HYPHEN-MINUS + 0x2E: [102,15,328,103,237], // FULL STOP + 0x2F: [721,182,593,41,550], // SOLIDUS + 0x30: [501,12,593,42,533], // DIGIT ZERO + 0x31: [489,0,593,54,548], // DIGIT ONE + 0x32: [491,-2,593,44,563], // DIGIT TWO + 0x33: [488,193,593,31,523], // DIGIT THREE + 0x34: [495,196,593,13,565], // DIGIT FOUR + 0x35: [481,190,593,19,518], // DIGIT FIVE + 0x36: [704,12,593,48,547], // DIGIT SIX + 0x37: [479,197,593,54,591], // DIGIT SEVEN + 0x38: [714,5,593,45,542], // DIGIT EIGHT + 0x39: [487,195,593,29,549], // DIGIT NINE + 0x3A: [457,12,255,57,197], // COLON + 0x3B: [458,190,255,56,211], // SEMICOLON + 0x3D: [343,-168,582,22,559], // EQUALS SIGN + 0x3F: [698,14,428,39,422], // QUESTION MARK + 0x41: [686,31,847,28,827], // LATIN CAPITAL LETTER A + 0x42: [684,31,1044,57,965], // LATIN CAPITAL LETTER B + 0x43: [676,32,723,72,726], // LATIN CAPITAL LETTER C + 0x44: [684,29,982,31,896], // LATIN CAPITAL LETTER D + 0x45: [686,29,783,74,728], // LATIN CAPITAL LETTER E + 0x46: [684,147,722,17,727], // LATIN CAPITAL LETTER F + 0x47: [687,29,927,74,844], // LATIN CAPITAL LETTER G + 0x48: [684,126,851,6,752], // LATIN CAPITAL LETTER H + 0x49: [681,25,655,32,623], // LATIN CAPITAL LETTER I + 0x4A: [681,141,652,-8,617], // LATIN CAPITAL LETTER J + 0x4B: [682,26,789,20,806], // LATIN CAPITAL LETTER K + 0x4C: [683,28,786,30,764], // LATIN CAPITAL LETTER L + 0x4D: [684,33,1239,26,1232], // LATIN CAPITAL LETTER M + 0x4E: [679,30,983,26,973], // LATIN CAPITAL LETTER N + 0x4F: [726,30,976,12,881], // LATIN CAPITAL LETTER O + 0x50: [688,223,977,32,943], // LATIN CAPITAL LETTER P + 0x51: [726,83,976,12,918], // LATIN CAPITAL LETTER Q + 0x52: [688,28,978,31,978], // LATIN CAPITAL LETTER R + 0x53: [685,31,978,82,905], // LATIN CAPITAL LETTER S + 0x54: [686,30,790,31,802], // LATIN CAPITAL LETTER T + 0x55: [688,39,851,18,871], // LATIN CAPITAL LETTER U + 0x56: [685,29,982,24,966], // LATIN CAPITAL LETTER V + 0x57: [683,30,1235,25,1240], // LATIN CAPITAL LETTER W + 0x58: [681,35,849,32,835], // LATIN CAPITAL LETTER X + 0x59: [688,214,984,33,878], // LATIN CAPITAL LETTER Y + 0x5A: [677,148,711,-4,624], // LATIN CAPITAL LETTER Z + 0x5B: [740,130,257,36,226], // LEFT SQUARE BRACKET + 0x5D: [738,132,257,14,208], // RIGHT SQUARE BRACKET + 0x5E: [734,-452,590,1,584], // CIRCUMFLEX ACCENT + 0x61: [472,32,603,79,586], // LATIN SMALL LETTER A + 0x62: [690,32,590,85,504], // LATIN SMALL LETTER B + 0x63: [473,26,464,87,424], // LATIN SMALL LETTER C + 0x64: [632,28,589,-1,511], // LATIN SMALL LETTER D + 0x65: [471,27,472,81,428], // LATIN SMALL LETTER E + 0x66: [687,222,388,35,372], // LATIN SMALL LETTER F + 0x67: [472,208,595,17,541], // LATIN SMALL LETTER G + 0x68: [687,207,615,89,507], // LATIN SMALL LETTER H + 0x69: [686,25,331,3,327], // LATIN SMALL LETTER I + 0x6A: [682,203,332,-19,238], // LATIN SMALL LETTER J + 0x6B: [682,25,464,34,432], // LATIN SMALL LETTER K + 0x6C: [681,24,337,100,312], // LATIN SMALL LETTER L + 0x6D: [477,31,921,16,900], // LATIN SMALL LETTER M + 0x6E: [474,28,654,5,608], // LATIN SMALL LETTER N + 0x6F: [482,34,609,107,515], // LATIN SMALL LETTER O + 0x70: [558,207,604,-1,520], // LATIN SMALL LETTER P + 0x71: [485,211,596,87,515], // LATIN SMALL LETTER Q + 0x72: [472,26,460,13,453], // LATIN SMALL LETTER R + 0x73: [479,34,523,-23,482], // LATIN SMALL LETTER S + 0x74: [648,27,393,43,407], // LATIN SMALL LETTER T + 0x75: [472,32,589,9,603], // LATIN SMALL LETTER U + 0x76: [546,27,604,56,507], // LATIN SMALL LETTER V + 0x77: [549,32,918,55,815], // LATIN SMALL LETTER W + 0x78: [471,188,459,8,441], // LATIN SMALL LETTER X + 0x79: [557,221,589,60,512], // LATIN SMALL LETTER Y + 0x7A: [471,214,461,-7,378] // LATIN SMALL LETTER Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js new file mode 100644 index 0000000..7f6fafd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'] = { + directory: 'Fraktur/Bold', + family: 'MathJax_Fraktur', + weight: 'bold', + testString: "MathJax Fraktur", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xDFFF,"Other"], + [0xE300,0xE310,"PUA"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Fraktur-bold"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Fraktur/Bold/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js new file mode 100644 index 0000000..3060a36 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js @@ -0,0 +1,30 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2018: [708,-411,254,53,187], // LEFT SINGLE QUOTATION MARK + 0x2019: [692,-394,254,58,193] // RIGHT SINGLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js new file mode 100644 index 0000000..d1b52cd --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js @@ -0,0 +1,34 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur-bold'], + { + 0xE301: [630,27,587,64,512], // ?? + 0xE302: [693,212,394,37,408], // ?? + 0xE303: [681,219,387,36,384], // ?? + 0xE304: [473,212,593,67,531], // ?? + 0xE305: [684,27,393,33,387], // ?? + 0xE308: [679,220,981,32,875], // ?? + 0xE309: [717,137,727,17,633] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Bold/PUA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js new file mode 100644 index 0000000..bf559c5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js @@ -0,0 +1,109 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [689,12,296,91,204], // EXCLAMATION MARK + 0x22: [695,-432,215,8,196], // QUOTATION MARK + 0x26: [698,11,738,49,733], // AMPERSAND + 0x27: [695,-436,212,69,134], // APOSTROPHE + 0x28: [737,186,389,114,293], // LEFT PARENTHESIS + 0x29: [735,187,389,89,276], // RIGHT PARENTHESIS + 0x2A: [693,-449,278,33,234], // ASTERISK + 0x2B: [598,82,756,47,709], // PLUS SIGN + 0x2C: [107,191,278,99,213], // COMMA + 0x2D: [275,-236,756,46,706], // HYPHEN-MINUS + 0x2E: [102,15,278,87,200], // FULL STOP + 0x2F: [721,182,502,34,466], // SOLIDUS + 0x30: [492,13,502,42,456], // DIGIT ZERO + 0x31: [468,2,502,47,460], // DIGIT ONE + 0x32: [474,-1,502,60,484], // DIGIT TWO + 0x33: [473,182,502,39,429], // DIGIT THREE + 0x34: [476,191,502,10,481], // DIGIT FOUR + 0x35: [458,185,502,47,440], // DIGIT FIVE + 0x36: [700,13,502,45,471], // DIGIT SIX + 0x37: [468,181,502,37,498], // DIGIT SEVEN + 0x38: [705,10,502,40,461], // DIGIT EIGHT + 0x39: [469,182,502,28,466], // DIGIT NINE + 0x3A: [457,12,216,50,168], // COLON + 0x3B: [458,189,216,47,179], // SEMICOLON + 0x3D: [368,-132,756,54,725], // EQUALS SIGN + 0x3F: [693,11,362,46,357], // QUESTION MARK + 0x41: [696,26,718,22,708], // LATIN CAPITAL LETTER A + 0x42: [691,28,884,48,821], // LATIN CAPITAL LETTER B + 0x43: [685,24,613,59,607], // LATIN CAPITAL LETTER C + 0x44: [685,27,832,27,745], // LATIN CAPITAL LETTER D + 0x45: [685,24,663,86,634], // LATIN CAPITAL LETTER E + 0x46: [686,154,611,11,612], // LATIN CAPITAL LETTER F + 0x47: [690,26,785,66,711], // LATIN CAPITAL LETTER G + 0x48: [666,133,720,1,645], // LATIN CAPITAL LETTER H + 0x49: [686,26,554,30,532], // LATIN CAPITAL LETTER I + 0x4A: [686,139,552,-11,522], // LATIN CAPITAL LETTER J + 0x4B: [681,27,668,17,682], // LATIN CAPITAL LETTER K + 0x4C: [686,26,666,33,644], // LATIN CAPITAL LETTER L + 0x4D: [692,28,1050,27,1048], // LATIN CAPITAL LETTER M + 0x4E: [686,25,832,27,825], // LATIN CAPITAL LETTER N + 0x4F: [729,27,827,12,744], // LATIN CAPITAL LETTER O + 0x50: [692,218,828,28,804], // LATIN CAPITAL LETTER P + 0x51: [729,69,827,11,783], // LATIN CAPITAL LETTER Q + 0x52: [686,26,828,27,824], // LATIN CAPITAL LETTER R + 0x53: [692,27,829,65,756], // LATIN CAPITAL LETTER S + 0x54: [701,27,669,34,677], // LATIN CAPITAL LETTER T + 0x55: [697,27,646,-25,665], // LATIN CAPITAL LETTER U + 0x56: [686,26,831,26,825], // LATIN CAPITAL LETTER V + 0x57: [686,27,1046,32,1055], // LATIN CAPITAL LETTER W + 0x58: [688,27,719,28,709], // LATIN CAPITAL LETTER X + 0x59: [686,218,833,27,741], // LATIN CAPITAL LETTER Y + 0x5A: [729,139,602,11,532], // LATIN CAPITAL LETTER Z + 0x5B: [740,130,278,117,278], // LEFT SQUARE BRACKET + 0x5D: [738,131,278,-4,160], // RIGHT SQUARE BRACKET + 0x5E: [734,-452,500,0,495], // CIRCUMFLEX ACCENT + 0x61: [470,35,500,66,497], // LATIN SMALL LETTER A + 0x62: [685,31,513,87,442], // LATIN SMALL LETTER B + 0x63: [466,29,389,72,359], // LATIN SMALL LETTER C + 0x64: [609,33,499,13,428], // LATIN SMALL LETTER D + 0x65: [467,30,401,70,364], // LATIN SMALL LETTER E + 0x66: [681,221,326,30,323], // LATIN SMALL LETTER F + 0x67: [470,209,504,17,455], // LATIN SMALL LETTER G + 0x68: [689,205,521,77,434], // LATIN SMALL LETTER H + 0x69: [673,20,279,14,267], // LATIN SMALL LETTER I + 0x6A: [672,208,281,-9,196], // LATIN SMALL LETTER J + 0x6B: [689,25,389,24,362], // LATIN SMALL LETTER K + 0x6C: [685,20,280,98,276], // LATIN SMALL LETTER L + 0x6D: [476,26,767,8,753], // LATIN SMALL LETTER M + 0x6E: [475,22,527,20,514], // LATIN SMALL LETTER N + 0x6F: [480,28,489,67,412], // LATIN SMALL LETTER O + 0x70: [541,212,500,12,430], // LATIN SMALL LETTER P + 0x71: [479,219,489,60,419], // LATIN SMALL LETTER Q + 0x72: [474,21,389,17,387], // LATIN SMALL LETTER R + 0x73: [478,29,443,-18,406], // LATIN SMALL LETTER S + 0x74: [640,20,333,27,348], // LATIN SMALL LETTER T + 0x75: [474,24,517,9,513], // LATIN SMALL LETTER U + 0x76: [531,28,512,55,435], // LATIN SMALL LETTER V + 0x77: [532,28,774,45,688], // LATIN SMALL LETTER W + 0x78: [472,188,389,10,363], // LATIN SMALL LETTER X + 0x79: [528,218,499,45,431], // LATIN SMALL LETTER Y + 0x7A: [471,214,391,-7,314] // LATIN SMALL LETTER Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js new file mode 100644 index 0000000..bb4a69d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'] = { + directory: 'Fraktur/Regular', + family: 'MathJax_Fraktur', + testString: "MathJax Fraktur", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xDFFF,"Other"], + [0xE300,0xE310,"PUA"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Fraktur"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Fraktur/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js new file mode 100644 index 0000000..e69cb70 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js @@ -0,0 +1,30 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2018: [708,-410,215,45,158], // LEFT SINGLE QUOTATION MARK + 0x2019: [692,-395,215,49,163] // RIGHT SINGLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js new file mode 100644 index 0000000..7cfe0e3 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js @@ -0,0 +1,35 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Fraktur'], + { + 0xE300: [683,32,497,75,430], // ?? + 0xE301: [616,30,498,35,432], // ?? + 0xE302: [680,215,333,29,339], // ?? + 0xE303: [679,224,329,28,318], // ?? + 0xE304: [471,214,503,52,449], // ?? + 0xE305: [686,20,333,26,315], // ?? + 0xE306: [577,22,334,29,347], // ?? + 0xE307: [475,22,501,10,514] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Fraktur/Regular/PUA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js new file mode 100644 index 0000000..8ba617f --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js @@ -0,0 +1,44 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-bold'] = { + directory: 'Greek/Bold', + family: 'MathJax_Greek', + weight: 'bold', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA + 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA + 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA + 0x39B: [698,0,806,40,765], // GREEK CAPITAL LETTER LAMDA + 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,831,64,766], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI + 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI + 0x3A9: [696,1,831,51,779] // GREEK CAPITAL LETTER OMEGA +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek-bold"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Bold/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js new file mode 100644 index 0000000..77166ea --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js @@ -0,0 +1,111 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-bold-italic'] = { + directory: 'Greek/BoldItalic', + family: 'MathJax_Greek', + weight: 'bold', + style: 'italic', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + skew: { + 0x393: 0.0958, + 0x394: 0.192, + 0x398: 0.0958, + 0x39B: 0.192, + 0x39E: 0.0958, + 0x3A0: 0.0639, + 0x3A3: 0.0958, + 0x3A5: 0.0639, + 0x3A6: 0.0958, + 0x3A8: 0.0639, + 0x3A9: 0.0958, + 0x3B1: 0.0319, + 0x3B2: 0.0958, + 0x3B4: 0.0639, + 0x3B5: 0.0958, + 0x3B6: 0.0958, + 0x3B7: 0.0639, + 0x3B8: 0.0958, + 0x3B9: 0.0639, + 0x3BC: 0.0319, + 0x3BD: 0.0319, + 0x3BE: 0.128, + 0x3BF: 0.0639, + 0x3C1: 0.0958, + 0x3C2: 0.0958, + 0x3C4: 0.0319, + 0x3C5: 0.0319, + 0x3C6: 0.0958, + 0x3C7: 0.0639, + 0x3C8: 0.128, + 0x3D1: 0.0958, + 0x3D5: 0.0958, + 0x3F1: 0.0958, + 0x3F5: 0.0639 + }, + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,657,43,777], // GREEK CAPITAL LETTER GAMMA + 0x394: [711,0,958,59,904], // GREEK CAPITAL LETTER DELTA + 0x398: [702,17,867,54,844], // GREEK CAPITAL LETTER THETA + 0x39B: [711,0,806,44,776], // GREEK CAPITAL LETTER LAMDA + 0x39E: [675,0,841,62,867], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,982,43,1026], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,885,69,902], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [703,0,671,32,802], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [686,0,767,29,737], // GREEK CAPITAL LETTER PHI + 0x3A8: [686,0,714,22,790], // GREEK CAPITAL LETTER PSI + 0x3A9: [703,0,879,93,886], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [452,8,761,39,712], // GREEK SMALL LETTER ALPHA + 0x3B2: [701,194,660,28,637], // GREEK SMALL LETTER BETA + 0x3B3: [451,211,590,5,617], // GREEK SMALL LETTER GAMMA + 0x3B4: [725,8,522,39,513], // GREEK SMALL LETTER DELTA + 0x3B5: [461,17,529,36,481], // GREEK SMALL LETTER EPSILON + 0x3B6: [711,202,508,48,521], // GREEK SMALL LETTER ZETA + 0x3B7: [452,211,600,24,600], // GREEK SMALL LETTER ETA + 0x3B8: [702,8,562,40,554], // GREEK SMALL LETTER THETA + 0x3B9: [452,8,412,38,386], // GREEK SMALL LETTER IOTA + 0x3BA: [452,8,668,45,642], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,13,671,40,652], // GREEK SMALL LETTER LAMDA + 0x3BC: [452,211,708,33,682], // GREEK SMALL LETTER MU + 0x3BD: [452,2,577,38,608], // GREEK SMALL LETTER NU + 0x3BE: [711,201,508,23,490], // GREEK SMALL LETTER XI + 0x3BF: [452,8,585,39,576], // GREEK SMALL LETTER OMICRON + 0x3C0: [444,8,682,23,674], // GREEK SMALL LETTER PI + 0x3C1: [451,211,612,34,603], // GREEK SMALL LETTER RHO + 0x3C2: [451,105,424,33,457], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [444,8,686,35,677], // GREEK SMALL LETTER SIGMA + 0x3C4: [444,13,521,23,610], // GREEK SMALL LETTER TAU + 0x3C5: [453,8,631,24,604], // GREEK SMALL LETTER UPSILON + 0x3C6: [452,216,747,53,703], // GREEK SMALL LETTER PHI + 0x3C7: [452,201,718,32,685], // GREEK SMALL LETTER CHI + 0x3C8: [694,202,758,24,732], // GREEK SMALL LETTER PSI + 0x3C9: [453,8,718,24,691], // GREEK SMALL LETTER OMEGA + 0x3D1: [701,8,692,24,656], // GREEK THETA SYMBOL + 0x3D5: [694,202,712,51,693], // GREEK PHI SYMBOL + 0x3D6: [444,8,975,23,961], // GREEK PI SYMBOL + 0x3F1: [451,194,612,75,603], // GREEK RHO SYMBOL + 0x3F5: [444,7,483,44,450] // GREEK LUNATE EPSILON SYMBOL +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek-bold-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/BoldItalic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js new file mode 100644 index 0000000..9a7fa19 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js @@ -0,0 +1,110 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek-italic'] = { + directory: 'Greek/Italic', + family: 'MathJax_Greek', + style: 'italic', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + skew: { + 0x393: 0.0833, + 0x394: 0.167, + 0x398: 0.0833, + 0x39B: 0.167, + 0x39E: 0.0833, + 0x3A0: 0.0556, + 0x3A3: 0.0833, + 0x3A5: 0.0556, + 0x3A6: 0.0833, + 0x3A8: 0.0556, + 0x3A9: 0.0833, + 0x3B1: 0.0278, + 0x3B2: 0.0833, + 0x3B4: 0.0556, + 0x3B5: 0.0833, + 0x3B6: 0.0833, + 0x3B7: 0.0556, + 0x3B8: 0.0833, + 0x3B9: 0.0556, + 0x3BC: 0.0278, + 0x3BD: 0.0278, + 0x3BE: 0.111, + 0x3BF: 0.0556, + 0x3C1: 0.0833, + 0x3C2: 0.0833, + 0x3C4: 0.0278, + 0x3C5: 0.0278, + 0x3C6: 0.0833, + 0x3C7: 0.0556, + 0x3C8: 0.111, + 0x3D1: 0.0833, + 0x3D5: 0.0833, + 0x3F1: 0.0833, + 0x3F5: 0.0556 + }, + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,48,788], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA + 0x39B: [716,0,694,35,670], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,0,742,53,777], // GREEK CAPITAL LETTER XI + 0x3A0: [681,0,831,31,887], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,583,28,700], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,667,24,642], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,612,21,692], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA + 0x3B2: [705,194,566,23,573], // GREEK SMALL LETTER BETA + 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA + 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA + 0x3B5: [452,22,466,27,428], // GREEK SMALL LETTER EPSILON + 0x3B6: [704,204,438,44,471], // GREEK SMALL LETTER ZETA + 0x3B7: [442,216,497,21,503], // GREEK SMALL LETTER ETA + 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA + 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA + 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,12,583,47,556], // GREEK SMALL LETTER LAMDA + 0x3BC: [442,216,603,23,580], // GREEK SMALL LETTER MU + 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU + 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI + 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON + 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI + 0x3C1: [442,216,517,23,510], // GREEK SMALL LETTER RHO + 0x3C2: [442,107,363,31,405], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA + 0x3C4: [431,13,437,18,517], // GREEK SMALL LETTER TAU + 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON + 0x3C6: [442,218,654,50,618], // GREEK SMALL LETTER PHI + 0x3C7: [442,204,626,25,600], // GREEK SMALL LETTER CHI + 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI + 0x3C9: [443,11,622,15,604], // GREEK SMALL LETTER OMEGA + 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL + 0x3D5: [694,205,596,43,579], // GREEK PHI SYMBOL + 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL + 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL + 0x3F5: [431,11,406,40,382] // GREEK LUNATE EPSILON SYMBOL +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Italic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js new file mode 100644 index 0000000..b2760ce --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js @@ -0,0 +1,43 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Greek'] = { + directory: 'Greek/Regular', + family: 'MathJax_Greek', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA + 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA + 0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA + 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Greek"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Greek/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js new file mode 100644 index 0000000..23bc696 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js @@ -0,0 +1,51 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2190: [519,18,1150,64,1085], // LEFTWARDS ARROW + 0x2191: [694,193,575,13,562], // UPWARDS ARROW + 0x2192: [519,18,1150,65,1085], // RIGHTWARDS ARROW + 0x2193: [694,194,575,13,562], // DOWNWARDS ARROW + 0x2194: [519,18,1150,64,1085], // LEFT RIGHT ARROW + 0x2195: [767,267,575,13,562], // UP DOWN ARROW + 0x2196: [724,195,1150,64,1084], // NORTH WEST ARROW + 0x2197: [724,193,1150,64,1086], // NORTH EAST ARROW + 0x2198: [695,224,1150,65,1085], // SOUTH EAST ARROW + 0x2199: [694,224,1150,64,1085], // SOUTH WEST ARROW + 0x21A6: [519,18,1150,65,1085], // RIGHTWARDS ARROW FROM BAR + 0x21A9: [519,18,1282,64,1219], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [519,18,1282,65,1217], // RIGHTWARDS ARROW WITH HOOK + 0x21BC: [518,-220,1150,64,1084], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [281,17,1150,64,1084], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C0: [518,-220,1150,65,1085], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [281,17,1150,64,1085], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21CC: [718,17,1150,64,1085], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21D0: [548,46,1150,63,1085], // LEFTWARDS DOUBLE ARROW + 0x21D1: [694,194,703,29,672], // UPWARDS DOUBLE ARROW + 0x21D2: [548,47,1150,64,1084], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [694,194,703,30,673], // DOWNWARDS DOUBLE ARROW + 0x21D4: [548,46,1150,47,1102], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [768,267,703,29,673] // UP DOWN DOUBLE ARROW + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/Arrows.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js new file mode 100644 index 0000000..ddeafa1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x300: [706,-503,0,-461,-237], // COMBINING GRAVE ACCENT + 0x301: [706,-503,0,-339,-115], // COMBINING ACUTE ACCENT + 0x302: [694,-520,0,-449,-127], // COMBINING CIRCUMFLEX ACCENT + 0x303: [694,-551,0,-479,-97], // COMBINING TILDE + 0x304: [607,-540,0,-495,-81], // COMBINING MACRON + 0x306: [694,-500,0,-473,-103], // COMBINING BREVE + 0x307: [695,-525,0,-373,-203], // COMBINING DOT ABOVE + 0x308: [695,-535,0,-479,-97], // COMBINING DIAERESIS + 0x30A: [703,-536,0,-415,-161], // COMBINING RING ABOVE + 0x30B: [714,-511,0,-442,-82], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [660,-515,0,-445,-131], // COMBINING CARON + 0x338: [711,210,0,-734,-161] // COMBINING LONG SOLIDUS OVERLAY + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js new file mode 100644 index 0000000..57c24be --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x20D7: [723,-513,0,-542,-33] // COMBINING RIGHT ARROW ABOVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/CombDiactForSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js new file mode 100644 index 0000000..93dac98 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js @@ -0,0 +1,44 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2002: [0,0,500,0,0], // ?? + 0x2003: [0,0,999,0,0], // ?? + 0x2004: [0,0,333,0,0], // ?? + 0x2005: [0,0,250,0,0], // ?? + 0x2006: [0,0,167,0,0], // ?? + 0x2009: [0,0,167,0,0], // ?? + 0x200A: [0,0,83,0,0], // ?? + 0x2013: [300,-249,575,0,574], // EN DASH + 0x2014: [300,-249,1150,0,1149], // EM DASH + 0x2018: [694,-329,319,58,245], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-329,319,74,261], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-329,603,110,564], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-329,603,38,492], // RIGHT DOUBLE QUOTATION MARK + 0x2020: [702,211,511,64,446], // DAGGER + 0x2021: [702,203,511,64,446], // DOUBLE DAGGER + 0x2026: [171,-1,1295,74,1221], // HORIZONTAL ELLIPSIS + 0x2032: [563,-33,344,35,332] // PRIME + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js new file mode 100644 index 0000000..10c50fa --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x25B3: [711,-1,1022,68,953], // WHITE UP-POINTING TRIANGLE + 0x25B9: [541,39,575,33,542], // WHITE RIGHT-POINTING SMALL TRIANGLE + 0x25BD: [500,210,1022,68,953], // WHITE DOWN-POINTING TRIANGLE + 0x25C3: [539,39,575,33,542], // WHITE LEFT-POINTING SMALL TRIANGLE + 0x25EF: [711,211,1150,65,1084] // LARGE CIRCLE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/GeometricShapes.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js new file mode 100644 index 0000000..f3973a9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA8: [695,-535,575,96,478], // DIAERESIS + 0xAC: [371,-61,767,64,703], // NOT SIGN + 0xAF: [607,-540,575,80,494], // MACRON + 0xB0: [703,-536,575,160,414], // DEGREE SIGN + 0xB1: [728,35,894,64,829], // PLUS-MINUS SIGN + 0xB4: [706,-503,575,236,460], // ACUTE ACCENT + 0xD7: [531,29,894,167,727], // MULTIPLICATION SIGN + 0xF7: [597,96,894,64,828] // DIVISION SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js new file mode 100644 index 0000000..83371f2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x131: [453,8,394,24,367] // LATIN SMALL LETTER DOTLESS I + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LatinExtendedA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js new file mode 100644 index 0000000..efcdda1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x237: [451,201,439,-12,420] // LATIN SMALL LETTER DOTLESS J + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LatinExtendedB.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js new file mode 100644 index 0000000..5af7f49 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js @@ -0,0 +1,33 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x210F: [694,8,668,45,642], // stix-/hbar - Planck's over 2pi + 0x2111: [702,9,831,64,798], // BLACK-LETTER CAPITAL I + 0x2113: [702,19,474,-1,447], // SCRIPT SMALL L + 0x2118: [462,211,740,72,727], // SCRIPT CAPITAL P + 0x211C: [711,17,831,41,824], // BLACK-LETTER CAPITAL R + 0x2135: [694,1,703,64,639] // ALEF SYMBOL + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js new file mode 100644 index 0000000..e46cff5 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js @@ -0,0 +1,162 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'] = { + directory: 'Main/Bold', + family: 'MathJax_Main', + weight: 'bold', + testString: "MathJax Main", + skew: { + 0x131: 0.0319, + 0x237: 0.0958, + 0x210F: -0.0319, + 0x2113: 0.128, + 0x2202: 0.0958 + }, + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x27F0,0x27FF,"SupplementalArrowsA"], + [0x2A00,0x2AFF,"SuppMathOperators"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [705,-1,350,89,260], // EXCLAMATION MARK + 0x22: [694,-329,603,38,492], // QUOTATION MARK + 0x23: [694,193,958,64,893], // NUMBER SIGN + 0x24: [750,56,575,64,510], // DOLLAR SIGN + 0x25: [750,56,958,65,893], // PERCENT SIGN + 0x26: [705,11,894,48,836], // AMPERSAND + 0x27: [694,-329,319,74,261], // APOSTROPHE + 0x28: [751,250,447,103,382], // LEFT PARENTHESIS + 0x29: [750,249,447,64,343], // RIGHT PARENTHESIS + 0x2A: [750,-306,575,73,501], // ASTERISK + 0x2B: [633,131,894,64,829], // PLUS SIGN + 0x2C: [171,194,319,74,258], // COMMA + 0x2D: [278,-166,383,13,318], // HYPHEN-MINUS + 0x2E: [171,-1,319,74,245], // FULL STOP + 0x2F: [750,250,575,63,511], // SOLIDUS + 0x30: [655,10,575,45,529], // DIGIT ZERO + 0x31: [655,0,575,80,494], // DIGIT ONE + 0x32: [654,0,575,57,517], // DIGIT TWO + 0x33: [655,12,575,47,526], // DIGIT THREE + 0x34: [657,0,575,32,542], // DIGIT FOUR + 0x35: [655,11,575,57,517], // DIGIT FIVE + 0x36: [655,11,575,48,527], // DIGIT SIX + 0x37: [676,11,575,64,559], // DIGIT SEVEN + 0x38: [654,11,575,48,526], // DIGIT EIGHT + 0x39: [654,11,575,48,526], // DIGIT NINE + 0x3A: [444,-1,319,74,245], // COLON + 0x3B: [444,194,319,74,248], // SEMICOLON + 0x3C: [587,85,894,96,797], // LESS-THAN SIGN + 0x3D: [393,-109,894,64,829], // EQUALS SIGN + 0x3E: [587,85,894,95,797], // GREATER-THAN SIGN + 0x3F: [700,-1,543,65,478], // QUESTION MARK + 0x40: [700,6,894,64,829], // COMMERCIAL AT + 0x41: [698,0,869,40,828], // LATIN CAPITAL LETTER A + 0x42: [687,0,818,39,753], // LATIN CAPITAL LETTER B + 0x43: [697,11,831,64,767], // LATIN CAPITAL LETTER C + 0x44: [687,0,882,39,817], // LATIN CAPITAL LETTER D + 0x45: [681,0,756,38,723], // LATIN CAPITAL LETTER E + 0x46: [680,0,724,39,675], // LATIN CAPITAL LETTER F + 0x47: [697,10,904,64,845], // LATIN CAPITAL LETTER G + 0x48: [686,0,900,39,860], // LATIN CAPITAL LETTER H + 0x49: [686,0,436,25,410], // LATIN CAPITAL LETTER I + 0x4A: [686,11,594,8,527], // LATIN CAPITAL LETTER J + 0x4B: [686,0,901,39,852], // LATIN CAPITAL LETTER K + 0x4C: [686,0,692,39,643], // LATIN CAPITAL LETTER L + 0x4D: [687,0,1092,39,1052], // LATIN CAPITAL LETTER M + 0x4E: [687,1,900,39,861], // LATIN CAPITAL LETTER N + 0x4F: [696,10,864,64,798], // LATIN CAPITAL LETTER O + 0x50: [686,0,786,39,721], // LATIN CAPITAL LETTER P + 0x51: [697,193,864,64,806], // LATIN CAPITAL LETTER Q + 0x52: [687,11,862,39,858], // LATIN CAPITAL LETTER R + 0x53: [697,11,639,63,575], // LATIN CAPITAL LETTER S + 0x54: [675,0,800,41,758], // LATIN CAPITAL LETTER T + 0x55: [686,12,885,39,845], // LATIN CAPITAL LETTER U + 0x56: [686,7,869,25,843], // LATIN CAPITAL LETTER V + 0x57: [686,8,1189,24,1164], // LATIN CAPITAL LETTER W + 0x58: [686,0,869,33,835], // LATIN CAPITAL LETTER X + 0x59: [686,0,869,19,849], // LATIN CAPITAL LETTER Y + 0x5A: [687,0,703,64,645], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,319,128,293], // LEFT SQUARE BRACKET + 0x5C: [750,250,575,63,511], // REVERSE SOLIDUS + 0x5D: [750,250,319,25,190], // RIGHT SQUARE BRACKET + 0x5E: [694,-520,575,126,448], // CIRCUMFLEX ACCENT + 0x5F: [-10,61,575,0,574], // LOW LINE + 0x60: [706,-503,575,114,338], // GRAVE ACCENT + 0x61: [453,6,559,32,558], // LATIN SMALL LETTER A + 0x62: [694,7,639,29,601], // LATIN SMALL LETTER B + 0x63: [453,6,511,39,478], // LATIN SMALL LETTER C + 0x64: [695,6,639,38,609], // LATIN SMALL LETTER D + 0x65: [453,6,527,32,494], // LATIN SMALL LETTER E + 0x66: [700,0,351,40,452], // LATIN SMALL LETTER F + 0x67: [455,201,575,30,558], // LATIN SMALL LETTER G + 0x68: [694,0,639,37,623], // LATIN SMALL LETTER H + 0x69: [695,0,319,40,294], // LATIN SMALL LETTER I + 0x6A: [695,200,351,-71,274], // LATIN SMALL LETTER J + 0x6B: [694,0,607,29,587], // LATIN SMALL LETTER K + 0x6C: [694,0,319,40,301], // LATIN SMALL LETTER L + 0x6D: [451,0,958,37,942], // LATIN SMALL LETTER M + 0x6E: [450,0,639,37,623], // LATIN SMALL LETTER N + 0x6F: [452,5,575,32,542], // LATIN SMALL LETTER O + 0x70: [450,194,639,28,600], // LATIN SMALL LETTER P + 0x71: [450,194,607,38,609], // LATIN SMALL LETTER Q + 0x72: [450,0,474,29,442], // LATIN SMALL LETTER R + 0x73: [453,7,454,37,415], // LATIN SMALL LETTER S + 0x74: [636,6,447,21,382], // LATIN SMALL LETTER T + 0x75: [450,6,639,37,623], // LATIN SMALL LETTER U + 0x76: [444,4,607,26,580], // LATIN SMALL LETTER V + 0x77: [444,5,831,25,805], // LATIN SMALL LETTER W + 0x78: [444,0,607,21,586], // LATIN SMALL LETTER X + 0x79: [444,200,607,23,580], // LATIN SMALL LETTER Y + 0x7A: [445,0,511,31,462], // LATIN SMALL LETTER Z + 0x7B: [751,251,575,69,504], // LEFT CURLY BRACKET + 0x7C: [750,249,319,129,190], // VERTICAL LINE + 0x7D: [751,251,575,70,504], // RIGHT CURLY BRACKET + 0x7E: [344,-201,575,96,478], // TILDE + 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA + 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA + 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA + 0x39B: [699,0,806,40,765], // GREEK CAPITAL LETTER LAMDA + 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,831,63,766], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI + 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI + 0x3A9: [696,1,831,51,780] // GREEK CAPITAL LETTER OMEGA +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Main-bold"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Main/Bold/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js new file mode 100644 index 0000000..a7c164d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js @@ -0,0 +1,94 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2200: [694,16,639,0,640], // FOR ALL + 0x2202: [710,17,628,60,657], // PARTIAL DIFFERENTIAL + 0x2203: [694,-1,639,64,574], // THERE EXISTS + 0x2205: [767,73,575,46,528], // EMPTY SET + 0x2207: [686,24,958,56,901], // NABLA + 0x2208: [587,86,767,97,670], // ELEMENT OF + 0x2209: [711,210,767,97,670], // stix-negated (vert) set membership, variant + 0x220B: [588,86,767,95,670], // CONTAINS AS MEMBER + 0x2212: [281,-221,894,96,797], // MINUS SIGN + 0x2213: [537,227,894,64,829], // MINUS-OR-PLUS SIGN + 0x2215: [750,250,575,63,511], // DIVISION SLASH + 0x2216: [750,250,575,63,511], // SET MINUS + 0x2217: [472,-27,575,73,501], // ASTERISK OPERATOR + 0x2218: [474,-28,575,64,510], // RING OPERATOR + 0x2219: [474,-28,575,64,510], // BULLET OPERATOR + 0x221A: [820,180,958,78,989], // SQUARE ROOT + 0x221D: [451,8,894,65,831], // PROPORTIONAL TO + 0x221E: [452,8,1150,65,1084], // INFINITY + 0x2220: [715,0,722,55,676], // ANGLE + 0x2223: [750,249,319,129,190], // DIVIDES + 0x2225: [750,248,575,145,430], // PARALLEL TO + 0x2227: [604,17,767,64,702], // LOGICAL AND + 0x2228: [604,17,767,64,702], // LOGICAL OR + 0x2229: [603,16,767,64,702], // stix-intersection, serifs + 0x222A: [604,16,767,64,702], // stix-union, serifs + 0x222B: [711,211,569,64,632], // INTEGRAL + 0x223C: [391,-109,894,64,828], // TILDE OPERATOR + 0x2240: [583,82,319,64,254], // WREATH PRODUCT + 0x2243: [502,3,894,64,829], // ASYMPTOTICALLY EQUAL TO + 0x2245: [638,27,1000,64,829], // APPROXIMATELY EQUAL TO + 0x2248: [524,-32,894,64,829], // ALMOST EQUAL TO + 0x224D: [533,32,894,64,829], // EQUIVALENT TO + 0x2250: [721,-109,894,64,829], // APPROACHES THE LIMIT + 0x2260: [712,210,894,64,830], // stix-not (vert) equals + 0x2261: [505,3,894,64,829], // IDENTICAL TO + 0x2264: [697,199,894,96,797], // LESS-THAN OR EQUAL TO + 0x2265: [697,199,894,96,797], // GREATER-THAN OR EQUAL TO + 0x226A: [618,117,1150,64,1085], // MUCH LESS-THAN + 0x226B: [619,116,1150,64,1085], // MUCH GREATER-THAN + 0x227A: [585,86,894,95,797], // PRECEDES + 0x227B: [586,86,894,96,797], // SUCCEEDS + 0x2282: [587,85,894,96,797], // SUBSET OF + 0x2283: [587,86,894,96,797], // SUPERSET OF + 0x2286: [697,199,894,96,797], // SUBSET OF OR EQUAL TO + 0x2287: [697,199,894,96,797], // SUPERSET OF OR EQUAL TO + 0x228E: [604,16,767,64,702], // MULTISET UNION + 0x2291: [697,199,894,96,828], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [697,199,894,66,797], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [604,-1,767,70,696], // stix-square intersection, serifs + 0x2294: [604,-1,767,70,696], // stix-square union, serifs + 0x2295: [632,132,894,64,828], // stix-circled plus (with rim) + 0x2296: [632,132,894,64,828], // CIRCLED MINUS + 0x2297: [632,132,894,64,828], // stix-circled times (with rim) + 0x2298: [632,132,894,64,828], // CIRCLED DIVISION SLASH + 0x2299: [632,132,894,64,828], // CIRCLED DOT OPERATOR + 0x22A2: [693,-1,703,65,637], // RIGHT TACK + 0x22A3: [693,-1,703,64,638], // LEFT TACK + 0x22A4: [694,-1,894,64,829], // DOWN TACK + 0x22A5: [693,-1,894,64,829], // UP TACK + 0x22A8: [750,249,974,129,918], // TRUE + 0x22C4: [524,21,575,15,561], // DIAMOND OPERATOR + 0x22C5: [336,-166,319,74,245], // DOT OPERATOR + 0x22C6: [502,1,575,24,551], // STAR OPERATOR + 0x22C8: [541,39,1000,33,967], // BOWTIE + 0x22EE: [951,29,319,74,245], // VERTICAL ELLIPSIS + 0x22EF: [336,-166,1295,74,1221], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F1: [871,-101,1323,129,1194] // DOWN RIGHT DIAGONAL ELLIPSIS + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js new file mode 100644 index 0000000..25c89e9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js @@ -0,0 +1,29 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x27E8: [750,249,447,127,382], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [750,249,447,64,319] // MATHEMATICAL RIGHT ANGLE BRACKET + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscMathSymbolsA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js new file mode 100644 index 0000000..a30797a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js @@ -0,0 +1,34 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2660: [720,130,894,63,829], // BLACK SPADE SUIT + 0x2661: [711,24,894,65,828], // WHITE HEART SUIT + 0x2662: [719,154,894,64,828], // WHITE DIAMOND SUIT + 0x2663: [720,130,894,32,861], // BLACK CLUB SUIT + 0x266D: [750,17,447,63,382], // MUSIC FLAT SIGN + 0x266E: [741,223,447,56,390], // MUSIC NATURAL SIGN + 0x266F: [724,224,447,63,383] // MUSIC SHARP SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js new file mode 100644 index 0000000..f3b48e8 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js @@ -0,0 +1,33 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2308: [750,248,511,194,493], // LEFT CEILING + 0x2309: [750,248,511,17,317], // RIGHT CEILING + 0x230A: [749,248,511,194,493], // LEFT FLOOR + 0x230B: [749,248,511,17,317], // RIGHT FLOOR + 0x2322: [405,-108,1150,64,1084], // stix-small down curve + 0x2323: [393,-126,1150,64,1085] // stix-small up curve + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/MiscTechnical.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js new file mode 100644 index 0000000..3e473a2 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2C6: [694,-520,575,126,448], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [660,-515,575,130,444], // CARON + 0x2C9: [607,-540,575,80,494], // MODIFIER LETTER MACRON + 0x2CA: [706,-503,575,236,460], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [706,-503,575,114,338], // MODIFIER LETTER GRAVE ACCENT + 0x2D8: [694,-500,575,102,472], // BREVE + 0x2D9: [695,-525,575,202,372], // DOT ABOVE + 0x2DA: [703,-536,575,160,414], // RING ABOVE + 0x2DC: [694,-551,575,96,478] // SMALL TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js new file mode 100644 index 0000000..8be24f1 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js @@ -0,0 +1,30 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x2A3F: [687,1,900,38,861], // AMALGAMATION OR COPRODUCT + 0x2AAF: [696,199,894,96,797], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [698,199,894,96,797] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SuppMathOperators.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js new file mode 100644 index 0000000..bbadd77 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js @@ -0,0 +1,34 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-bold'], + { + 0x27F5: [519,18,1805,64,1741], // LONG LEFTWARDS ARROW + 0x27F6: [519,18,1833,96,1774], // LONG RIGHTWARDS ARROW + 0x27F7: [519,18,2126,64,2062], // LONG LEFT RIGHT ARROW + 0x27F8: [548,46,1868,64,1804], // LONG LEFTWARDS DOUBLE ARROW + 0x27F9: [548,47,1870,63,1804], // LONG RIGHTWARDS DOUBLE ARROW + 0x27FA: [548,47,2126,64,2060], // LONG LEFT RIGHT DOUBLE ARROW + 0x27FC: [519,18,1833,65,1774] // LONG RIGHTWARDS ARROW FROM BAR + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Bold/SupplementalArrowsA.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js new file mode 100644 index 0000000..5a31519 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], + { + 0x300: [697,-500,0,-222,-74], // COMBINING GRAVE ACCENT + 0x301: [697,-500,0,-173,39], // COMBINING ACUTE ACCENT + 0x302: [694,-527,0,-251,17], // COMBINING CIRCUMFLEX ACCENT + 0x303: [668,-558,0,-265,60], // COMBINING TILDE + 0x304: [590,-544,0,-282,54], // COMBINING MACRON + 0x306: [695,-515,0,-237,62], // COMBINING BREVE + 0x307: [669,-548,0,-165,-41], // COMBINING DOT ABOVE + 0x308: [669,-554,0,-251,45], // COMBINING DIAERESIS + 0x30A: [716,-542,0,-199,3], // COMBINING RING ABOVE + 0x30B: [697,-503,0,-248,65], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [638,-501,0,-236,29] // COMBINING CARON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js new file mode 100644 index 0000000..ab6ab2b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js @@ -0,0 +1,33 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], + { + 0x2013: [286,-248,511,91,554], // EN DASH + 0x2014: [285,-248,1022,117,1038], // EM DASH + 0x2018: [694,-379,307,197,362], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-379,307,213,377], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-378,514,243,606], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-379,514,176,538] // RIGHT DOUBLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/GeneralPunctuation.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js new file mode 100644 index 0000000..8147b90 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], + { + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/Latin1Supplement.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js new file mode 100644 index 0000000..e9ee797 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'], + { + 0x210F: [695,13,540,42,562] // stix-/hbar - Planck's over 2pi + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/LetterlikeSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js new file mode 100644 index 0000000..6946400 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js @@ -0,0 +1,138 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'] = { + directory: 'Main/Italic', + family: 'MathJax_Main', + style: 'italic', + testString: "MathJax Main", + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x300,0x36F,"CombDiacritMarks"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2100,0x214F,"LetterlikeSymbols"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [716,0,307,107,380], // EXCLAMATION MARK + 0x22: [694,-379,514,176,538], // QUOTATION MARK + 0x23: [694,194,818,115,828], // NUMBER SIGN + 0x25: [751,56,818,144,848], // PERCENT SIGN + 0x26: [716,22,767,127,802], // AMPERSAND + 0x27: [694,-379,307,213,377], // APOSTROPHE + 0x28: [750,250,409,144,517], // LEFT PARENTHESIS + 0x29: [750,250,409,17,390], // RIGHT PARENTHESIS + 0x2A: [751,-320,511,195,584], // ASTERISK + 0x2B: [558,57,767,139,753], // PLUS SIGN + 0x2C: [121,194,307,69,233], // COMMA + 0x2D: [251,-179,358,84,341], // HYPHEN-MINUS + 0x2E: [121,0,307,107,231], // FULL STOP + 0x2F: [750,250,511,19,617], // SOLIDUS + 0x30: [665,21,511,110,562], // DIGIT ZERO + 0x31: [666,0,511,110,468], // DIGIT ONE + 0x32: [666,22,511,76,551], // DIGIT TWO + 0x33: [667,22,511,96,563], // DIGIT THREE + 0x34: [666,194,511,46,479], // DIGIT FOUR + 0x35: [666,22,511,106,567], // DIGIT FIVE + 0x36: [665,22,511,120,566], // DIGIT SIX + 0x37: [666,22,511,136,634], // DIGIT SEVEN + 0x38: [666,21,511,99,553], // DIGIT EIGHT + 0x39: [666,22,511,107,553], // DIGIT NINE + 0x3A: [431,0,307,107,308], // COLON + 0x3B: [431,194,307,70,308], // SEMICOLON + 0x3D: [367,-133,767,116,776], // EQUALS SIGN + 0x3F: [717,0,511,195,551], // QUESTION MARK + 0x40: [705,11,767,152,789], // COMMERCIAL AT + 0x41: [716,1,743,58,696], // LATIN CAPITAL LETTER A + 0x42: [683,1,704,57,732], // LATIN CAPITAL LETTER B + 0x43: [705,21,716,150,812], // LATIN CAPITAL LETTER C + 0x44: [683,1,755,56,775], // LATIN CAPITAL LETTER D + 0x45: [681,0,678,54,743], // LATIN CAPITAL LETTER E + 0x46: [681,0,653,54,731], // LATIN CAPITAL LETTER F + 0x47: [705,22,774,149,812], // LATIN CAPITAL LETTER G + 0x48: [683,0,743,54,860], // LATIN CAPITAL LETTER H + 0x49: [683,0,386,49,508], // LATIN CAPITAL LETTER I + 0x4A: [683,21,525,78,622], // LATIN CAPITAL LETTER J + 0x4B: [683,0,769,54,859], // LATIN CAPITAL LETTER K + 0x4C: [683,0,627,54,628], // LATIN CAPITAL LETTER L + 0x4D: [684,0,897,58,1010], // LATIN CAPITAL LETTER M + 0x4E: [684,0,743,54,860], // LATIN CAPITAL LETTER N + 0x4F: [704,22,767,149,788], // LATIN CAPITAL LETTER O + 0x50: [684,0,678,55,729], // LATIN CAPITAL LETTER P + 0x51: [704,194,767,149,788], // LATIN CAPITAL LETTER Q + 0x52: [683,22,729,55,723], // LATIN CAPITAL LETTER R + 0x53: [706,22,562,74,634], // LATIN CAPITAL LETTER S + 0x54: [678,0,716,171,807], // LATIN CAPITAL LETTER T + 0x55: [684,22,743,194,860], // LATIN CAPITAL LETTER U + 0x56: [683,22,743,205,868], // LATIN CAPITAL LETTER V + 0x57: [683,22,999,205,1124], // LATIN CAPITAL LETTER W + 0x58: [684,0,743,50,826], // LATIN CAPITAL LETTER X + 0x59: [684,0,743,198,875], // LATIN CAPITAL LETTER Y + 0x5A: [683,1,613,80,705], // LATIN CAPITAL LETTER Z + 0x5B: [751,251,307,73,446], // LEFT SQUARE BRACKET + 0x5D: [751,251,307,-14,359], // RIGHT SQUARE BRACKET + 0x5E: [694,-527,511,260,528], // CIRCUMFLEX ACCENT + 0x5F: [-24,62,511,91,554], // LOW LINE + 0x61: [442,11,511,101,543], // LATIN SMALL LETTER A + 0x62: [694,11,460,108,467], // LATIN SMALL LETTER B + 0x63: [441,10,460,103,470], // LATIN SMALL LETTER C + 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D + 0x65: [442,10,460,107,470], // LATIN SMALL LETTER E + 0x66: [705,204,307,-23,450], // LATIN SMALL LETTER F + 0x67: [442,205,460,46,495], // LATIN SMALL LETTER G + 0x68: [695,11,511,69,544], // LATIN SMALL LETTER H + 0x69: [656,10,307,75,340], // LATIN SMALL LETTER I + 0x6A: [656,204,307,-32,364], // LATIN SMALL LETTER J + 0x6B: [694,11,460,69,499], // LATIN SMALL LETTER K + 0x6C: [694,11,256,87,312], // LATIN SMALL LETTER L + 0x6D: [443,11,818,75,851], // LATIN SMALL LETTER M + 0x6E: [443,11,562,75,595], // LATIN SMALL LETTER N + 0x6F: [442,11,511,103,517], // LATIN SMALL LETTER O + 0x70: [442,194,511,5,518], // LATIN SMALL LETTER P + 0x71: [442,195,460,100,504], // LATIN SMALL LETTER Q + 0x72: [442,11,422,75,484], // LATIN SMALL LETTER R + 0x73: [442,11,409,76,418], // LATIN SMALL LETTER S + 0x74: [627,11,332,87,373], // LATIN SMALL LETTER T + 0x75: [441,11,537,75,570], // LATIN SMALL LETTER U + 0x76: [443,10,460,75,492], // LATIN SMALL LETTER V + 0x77: [443,12,664,74,696], // LATIN SMALL LETTER W + 0x78: [442,11,464,58,513], // LATIN SMALL LETTER X + 0x79: [441,206,486,75,522], // LATIN SMALL LETTER Y + 0x7A: [442,11,409,54,466], // LATIN SMALL LETTER Z + 0x7E: [318,-208,511,246,571], // TILDE + 0xA3: [714,11,769,87,699], // POUND SIGN + 0x131: [441,10,307,75,340], // LATIN SMALL LETTER DOTLESS I + 0x237: [442,205,332,-32,327], // LATIN SMALL LETTER DOTLESS J + 0x393: [680,0,627,54,706], // GREEK CAPITAL LETTER GAMMA + 0x394: [717,1,818,70,751], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,767,149,788], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,692,58,646], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,1,664,74,754], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,743,54,859], // GREEK CAPITAL LETTER PI + 0x3A3: [683,1,716,80,782], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [706,0,767,213,833], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,1,716,158,728], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,767,207,824], // GREEK CAPITAL LETTER PSI + 0x3A9: [705,0,716,100,759] // GREEK CAPITAL LETTER OMEGA +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Main-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Main/Italic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js new file mode 100644 index 0000000..1146023 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js @@ -0,0 +1,39 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], + { + 0x300: [699,-505,0,-394,-205], // COMBINING GRAVE ACCENT + 0x301: [699,-505,0,-297,-107], // COMBINING ACUTE ACCENT + 0x302: [694,-531,0,-388,-113], // COMBINING CIRCUMFLEX ACCENT + 0x303: [668,-565,0,-417,-84], // COMBINING TILDE + 0x304: [590,-544,0,-431,-70], // COMBINING MACRON + 0x306: [694,-515,0,-408,-93], // COMBINING BREVE + 0x307: [669,-549,0,-310,-191], // COMBINING DOT ABOVE + 0x308: [669,-554,0,-405,-96], // COMBINING DIAERESIS + 0x30A: [715,-542,0,-353,-148], // COMBINING RING ABOVE + 0x30B: [701,-510,0,-378,-80], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [644,-513,0,-386,-115], // COMBINING CARON + 0x338: [716,215,0,-639,-140] // COMBINING LONG SOLIDUS OVERLAY + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js new file mode 100644 index 0000000..1c72315 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js @@ -0,0 +1,32 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], + { + 0x25B3: [716,0,889,59,828], // WHITE UP-POINTING TRIANGLE + 0x25B9: [505,5,500,26,474], // WHITE RIGHT-POINTING SMALL TRIANGLE + 0x25BD: [500,215,889,59,828], // WHITE DOWN-POINTING TRIANGLE + 0x25C3: [505,5,500,26,473], // WHITE LEFT-POINTING SMALL TRIANGLE + 0x25EF: [715,215,1000,56,944] // LARGE CIRCLE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/GeometricShapes.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js new file mode 100644 index 0000000..6b27a17 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js @@ -0,0 +1,305 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'] = { + directory: 'Main/Regular', + family: 'MathJax_Main', + testString: "MathJax Main", + skew: { + 0x131: 0.0278, + 0x237: 0.0833, + 0x2113: 0.111, + 0x2118: 0.111, + 0x2202: 0.0833 + }, + Ranges: [ + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [716,-1,278,78,199], // EXCLAMATION MARK + 0x22: [694,-379,500,34,372], // QUOTATION MARK + 0x23: [694,194,833,55,778], // NUMBER SIGN + 0x24: [750,56,500,54,444], // DOLLAR SIGN + 0x25: [750,56,833,56,776], // PERCENT SIGN + 0x26: [717,22,778,42,727], // AMPERSAND + 0x27: [694,-379,278,78,212], // APOSTROPHE + 0x28: [751,251,389,94,333], // LEFT PARENTHESIS + 0x29: [750,250,389,55,294], // RIGHT PARENTHESIS + 0x2A: [750,-319,500,64,435], // ASTERISK + 0x2B: [583,83,778,55,722], // PLUS SIGN + 0x2C: [121,194,278,78,210], // COMMA + 0x2D: [252,-179,333,11,277], // HYPHEN-MINUS + 0x2E: [120,0,278,78,199], // FULL STOP + 0x2F: [751,250,500,56,445], // SOLIDUS + 0x30: [666,22,500,39,460], // DIGIT ZERO + 0x31: [666,0,500,83,427], // DIGIT ONE + 0x32: [666,1,500,49,449], // DIGIT TWO + 0x33: [665,23,500,41,457], // DIGIT THREE + 0x34: [677,0,500,28,471], // DIGIT FOUR + 0x35: [666,22,500,49,449], // DIGIT FIVE + 0x36: [666,22,500,42,456], // DIGIT SIX + 0x37: [676,22,500,55,485], // DIGIT SEVEN + 0x38: [666,22,500,43,457], // DIGIT EIGHT + 0x39: [666,22,500,41,456], // DIGIT NINE + 0x3A: [430,0,278,78,199], // COLON + 0x3B: [430,194,278,78,202], // SEMICOLON + 0x3C: [540,40,778,83,694], // LESS-THAN SIGN + 0x3D: [367,-133,778,55,722], // EQUALS SIGN + 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN + 0x3F: [706,-1,472,55,416], // QUESTION MARK + 0x40: [705,11,778,56,722], // COMMERCIAL AT + 0x41: [717,0,750,32,717], // LATIN CAPITAL LETTER A + 0x42: [684,0,708,28,651], // LATIN CAPITAL LETTER B + 0x43: [706,21,722,56,666], // LATIN CAPITAL LETTER C + 0x44: [683,0,764,27,708], // LATIN CAPITAL LETTER D + 0x45: [680,0,681,24,652], // LATIN CAPITAL LETTER E + 0x46: [680,0,653,25,611], // LATIN CAPITAL LETTER F + 0x47: [706,22,785,56,735], // LATIN CAPITAL LETTER G + 0x48: [683,0,750,25,724], // LATIN CAPITAL LETTER H + 0x49: [683,0,361,21,339], // LATIN CAPITAL LETTER I + 0x4A: [683,22,514,25,465], // LATIN CAPITAL LETTER J + 0x4B: [683,0,778,24,736], // LATIN CAPITAL LETTER K + 0x4C: [683,0,625,25,582], // LATIN CAPITAL LETTER L + 0x4D: [683,0,917,29,887], // LATIN CAPITAL LETTER M + 0x4E: [683,0,750,25,724], // LATIN CAPITAL LETTER N + 0x4F: [705,22,778,56,722], // LATIN CAPITAL LETTER O + 0x50: [684,0,681,27,624], // LATIN CAPITAL LETTER P + 0x51: [705,193,778,56,728], // LATIN CAPITAL LETTER Q + 0x52: [684,22,736,27,732], // LATIN CAPITAL LETTER R + 0x53: [706,23,556,55,500], // LATIN CAPITAL LETTER S + 0x54: [677,0,722,36,685], // LATIN CAPITAL LETTER T + 0x55: [684,22,750,25,724], // LATIN CAPITAL LETTER U + 0x56: [683,23,750,19,730], // LATIN CAPITAL LETTER V + 0x57: [683,23,1028,18,1009], // LATIN CAPITAL LETTER W + 0x58: [683,1,750,23,727], // LATIN CAPITAL LETTER X + 0x59: [684,0,750,11,738], // LATIN CAPITAL LETTER Y + 0x5A: [683,1,611,55,560], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,278,118,255], // LEFT SQUARE BRACKET + 0x5C: [750,250,500,56,444], // REVERSE SOLIDUS + 0x5D: [750,250,278,22,159], // RIGHT SQUARE BRACKET + 0x5E: [694,-531,500,112,387], // CIRCUMFLEX ACCENT + 0x5F: [-25,62,500,0,499], // LOW LINE + 0x60: [699,-505,500,106,295], // GRAVE ACCENT + 0x61: [448,11,500,34,493], // LATIN SMALL LETTER A + 0x62: [694,11,556,20,522], // LATIN SMALL LETTER B + 0x63: [448,11,444,34,415], // LATIN SMALL LETTER C + 0x64: [694,11,556,34,535], // LATIN SMALL LETTER D + 0x65: [448,11,444,28,415], // LATIN SMALL LETTER E + 0x66: [705,0,306,25,372], // LATIN SMALL LETTER F + 0x67: [453,206,500,29,485], // LATIN SMALL LETTER G + 0x68: [695,0,556,25,543], // LATIN SMALL LETTER H + 0x69: [669,0,278,26,255], // LATIN SMALL LETTER I + 0x6A: [669,205,306,-55,218], // LATIN SMALL LETTER J + 0x6B: [695,0,528,20,512], // LATIN SMALL LETTER K + 0x6C: [694,0,278,26,263], // LATIN SMALL LETTER L + 0x6D: [443,0,833,25,820], // LATIN SMALL LETTER M + 0x6E: [443,0,556,25,543], // LATIN SMALL LETTER N + 0x6F: [448,10,500,28,471], // LATIN SMALL LETTER O + 0x70: [443,194,556,20,522], // LATIN SMALL LETTER P + 0x71: [442,194,528,33,535], // LATIN SMALL LETTER Q + 0x72: [442,0,392,20,364], // LATIN SMALL LETTER R + 0x73: [449,12,394,32,359], // LATIN SMALL LETTER S + 0x74: [615,10,389,18,334], // LATIN SMALL LETTER T + 0x75: [442,11,556,25,542], // LATIN SMALL LETTER U + 0x76: [431,11,528,19,508], // LATIN SMALL LETTER V + 0x77: [432,12,722,18,704], // LATIN SMALL LETTER W + 0x78: [431,0,528,10,516], // LATIN SMALL LETTER X + 0x79: [431,204,528,19,508], // LATIN SMALL LETTER Y + 0x7A: [431,0,444,28,401], // LATIN SMALL LETTER Z + 0x7B: [750,250,500,64,434], // LEFT CURLY BRACKET + 0x7C: [750,250,278,119,159], // VERTICAL LINE + 0x7D: [750,250,500,64,435], // RIGHT CURLY BRACKET + 0x7E: [318,-215,500,83,416], // TILDE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA8: [669,-554,500,95,404], // DIAERESIS + 0xAC: [356,-89,667,55,611], // NOT SIGN + 0xAF: [590,-544,500,69,430], // MACRON + 0xB0: [715,-542,500,147,352], // DEGREE SIGN + 0xB1: [666,0,778,55,722], // PLUS-MINUS SIGN + 0xB4: [699,-505,500,203,393], // ACUTE ACCENT + 0xD7: [491,-9,778,147,631], // MULTIPLICATION SIGN + 0xF7: [537,36,778,55,721], // DIVISION SIGN + 0x131: [442,0,278,26,255], // LATIN SMALL LETTER DOTLESS I + 0x237: [442,205,306,-55,218], // LATIN SMALL LETTER DOTLESS J + 0x2C6: [694,-531,500,112,387], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [644,-513,500,114,385], // CARON + 0x2C9: [590,-544,500,69,430], // MODIFIER LETTER MACRON + 0x2CA: [699,-505,500,203,393], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [699,-505,500,106,295], // MODIFIER LETTER GRAVE ACCENT + 0x2D8: [694,-515,500,92,407], // BREVE + 0x2D9: [669,-549,500,190,309], // DOT ABOVE + 0x2DC: [668,-565,500,83,416], // SMALL TILDE + 0x393: [681,0,625,25,582], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA + 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,694,32,661], // GREEK CAPITAL LETTER LAMDA + 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI + 0x3A3: [683,1,722,55,666], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,778,54,722], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,1,722,44,677], // GREEK CAPITAL LETTER OMEGA + 0x2002: [0,0,500,0,0], // ?? + 0x2003: [0,0,999,0,0], // ?? + 0x2004: [0,0,333,0,0], // ?? + 0x2005: [0,0,250,0,0], // ?? + 0x2006: [0,0,167,0,0], // ?? + 0x2009: [0,0,167,0,0], // ?? + 0x200A: [0,0,83,0,0], // ?? + 0x2013: [285,-248,500,0,499], // EN DASH + 0x2014: [285,-248,1000,0,999], // EM DASH + 0x2018: [694,-379,278,64,198], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-379,278,78,212], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-379,500,128,466], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-379,500,34,372], // RIGHT DOUBLE QUOTATION MARK + 0x2020: [705,217,444,55,390], // DAGGER + 0x2021: [705,206,444,55,389], // DOUBLE DAGGER + 0x2026: [120,0,1172,78,1093], // HORIZONTAL ELLIPSIS + 0x2032: [560,-43,275,30,262], // PRIME + 0x20D7: [714,-516,0,-471,-29], // COMBINING RIGHT ARROW ABOVE + 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi + 0x2111: [705,11,722,54,693], // BLACK-LETTER CAPITAL I + 0x2113: [706,20,417,6,398], // SCRIPT SMALL L + 0x2118: [453,216,636,67,625], // SCRIPT CAPITAL P + 0x211C: [717,22,722,40,716], // BLACK-LETTER CAPITAL R + 0x2135: [694,1,611,54,556], // ALEF SYMBOL + 0x2190: [511,12,1000,54,944], // LEFTWARDS ARROW + 0x2191: [694,194,500,17,483], // UPWARDS ARROW + 0x2192: [512,11,1000,55,945], // RIGHTWARDS ARROW + 0x2193: [694,194,500,17,483], // DOWNWARDS ARROW + 0x2194: [511,11,1000,55,945], // LEFT RIGHT ARROW + 0x2195: [772,272,500,17,483], // UP DOWN ARROW + 0x2196: [720,196,1000,29,944], // NORTH WEST ARROW + 0x2197: [720,195,1000,55,970], // NORTH EAST ARROW + 0x2198: [695,220,1000,55,970], // SOUTH EAST ARROW + 0x2199: [695,220,1000,29,944], // SOUTH WEST ARROW + 0x21A6: [512,11,1000,54,945], // RIGHTWARDS ARROW FROM BAR + 0x21A9: [511,12,1126,54,1070], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [512,11,1126,55,1071], // RIGHTWARDS ARROW WITH HOOK + 0x21BC: [511,-230,1000,55,944], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [270,11,1000,55,944], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C0: [511,-230,1000,55,944], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [270,11,1000,55,945], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21CC: [671,11,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21D0: [525,24,1000,55,944], // LEFTWARDS DOUBLE ARROW + 0x21D1: [694,194,611,31,579], // UPWARDS DOUBLE ARROW + 0x21D2: [525,25,1000,55,944], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [694,194,611,31,579], // DOWNWARDS DOUBLE ARROW + 0x21D4: [525,25,1000,34,966], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [772,272,611,31,580], // UP DOWN DOUBLE ARROW + 0x2200: [694,22,556,0,556], // FOR ALL + 0x2202: [715,22,531,41,566], // PARTIAL DIFFERENTIAL + 0x2203: [694,0,556,55,500], // THERE EXISTS + 0x2205: [772,78,500,39,460], // EMPTY SET + 0x2207: [683,33,833,46,786], // NABLA + 0x2208: [541,41,667,84,584], // ELEMENT OF + 0x2209: [716,215,667,84,584], // stix-negated (vert) set membership, variant + 0x220B: [541,40,667,83,582], // CONTAINS AS MEMBER + 0x2212: [270,-230,778,83,694], // MINUS SIGN + 0x2213: [500,167,778,55,722], // MINUS-OR-PLUS SIGN + 0x2215: [751,250,500,56,445], // DIVISION SLASH + 0x2216: [750,250,500,56,444], // SET MINUS + 0x2217: [465,-34,500,64,435], // ASTERISK OPERATOR + 0x2218: [444,-55,500,55,444], // RING OPERATOR + 0x2219: [444,-55,500,55,444], // BULLET OPERATOR + 0x221A: [800,200,833,72,853], // SQUARE ROOT + 0x221D: [442,11,778,56,722], // PROPORTIONAL TO + 0x221E: [442,11,1000,55,944], // INFINITY + 0x2220: [694,0,722,55,666], // ANGLE + 0x2223: [750,250,278,119,159], // DIVIDES + 0x2225: [750,250,500,132,367], // PARALLEL TO + 0x2227: [598,22,667,55,611], // LOGICAL AND + 0x2228: [598,22,667,55,611], // LOGICAL OR + 0x2229: [598,22,667,55,611], // stix-intersection, serifs + 0x222A: [599,22,667,55,611], // stix-union, serifs + 0x222B: [716,216,417,55,472], // INTEGRAL + 0x223C: [367,-133,778,55,722], // TILDE OPERATOR + 0x2240: [583,83,278,55,222], // WREATH PRODUCT + 0x2243: [464,-36,778,55,722], // ASYMPTOTICALLY EQUAL TO + 0x2245: [589,-22,1000,55,722], // APPROXIMATELY EQUAL TO + 0x2248: [483,-55,778,55,722], // ALMOST EQUAL TO + 0x224D: [484,-16,778,55,722], // EQUIVALENT TO + 0x2250: [670,-133,778,55,722], // APPROACHES THE LIMIT + 0x2260: [716,215,778,55,722], // stix-not (vert) equals + 0x2261: [464,-36,778,55,722], // IDENTICAL TO + 0x2264: [636,138,778,83,694], // LESS-THAN OR EQUAL TO + 0x2265: [636,138,778,82,694], // GREATER-THAN OR EQUAL TO + 0x226A: [568,68,1000,56,944], // MUCH LESS-THAN + 0x226B: [567,67,1000,55,945], // MUCH GREATER-THAN + 0x227A: [539,41,778,84,695], // PRECEDES + 0x227B: [539,41,778,83,694], // SUCCEEDS + 0x2282: [540,41,778,84,695], // SUBSET OF + 0x2283: [541,40,778,82,693], // SUPERSET OF + 0x2286: [636,139,778,84,695], // SUBSET OF OR EQUAL TO + 0x2287: [637,138,778,83,693], // SUPERSET OF OR EQUAL TO + 0x228E: [599,22,667,55,611], // MULTISET UNION + 0x2291: [636,138,778,83,714], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [636,138,778,63,694], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [598,0,667,61,605], // stix-square intersection, serifs + 0x2294: [598,0,667,61,605], // stix-square union, serifs + 0x2295: [583,83,778,56,722], // stix-circled plus (with rim) + 0x2296: [583,83,778,56,722], // CIRCLED MINUS + 0x2297: [583,83,778,56,722], // stix-circled times (with rim) + 0x2298: [583,83,778,56,722], // CIRCLED DIVISION SLASH + 0x2299: [583,83,778,56,722], // CIRCLED DOT OPERATOR + 0x22A2: [694,0,611,55,555], // RIGHT TACK + 0x22A3: [694,0,611,55,555], // LEFT TACK + 0x22A4: [668,0,778,55,723], // DOWN TACK + 0x22A5: [668,0,778,55,723], // UP TACK + 0x22A8: [750,250,867,119,811], // TRUE + 0x22C4: [488,-12,500,12,488], // DIAMOND OPERATOR + 0x22C5: [310,-190,278,78,199], // DOT OPERATOR + 0x22C6: [486,-16,500,3,497], // STAR OPERATOR + 0x22C8: [505,6,900,25,873], // BOWTIE + 0x22EE: [900,30,278,78,199], // VERTICAL ELLIPSIS + 0x22EF: [310,-190,1172,78,1093], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F1: [820,-100,1282,133,1148], // DOWN RIGHT DIAGONAL ELLIPSIS + 0x2308: [751,250,444,174,422], // LEFT CEILING + 0x2309: [751,250,444,21,269], // RIGHT CEILING + 0x230A: [750,251,444,174,422], // LEFT FLOOR + 0x230B: [751,251,444,20,269], // RIGHT FLOOR + 0x2322: [388,-122,1000,55,944], // stix-small down curve + 0x2323: [378,-134,1000,55,944], // stix-small up curve + 0x23B0: [744,245,412,55,357], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION + 0x23B1: [745,244,412,55,357], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION + 0x27E8: [750,250,389,110,333], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [750,250,389,55,278], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x27EE: [744,245,412,173,357], // MATHEMATICAL LEFT FLATTENED PARENTHESIS + 0x27EF: [744,245,412,55,240], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS + 0x27F5: [511,12,1609,54,1525], // LONG LEFTWARDS ARROW + 0x27F6: [512,11,1638,83,1554], // LONG RIGHTWARDS ARROW + 0x27F7: [512,12,1859,54,1804], // LONG LEFT RIGHT ARROW + 0x27F8: [525,24,1609,55,1553], // LONG LEFTWARDS DOUBLE ARROW + 0x27F9: [525,25,1638,55,1582], // LONG RIGHTWARDS DOUBLE ARROW + 0x27FA: [525,24,1858,55,1802], // LONG LEFT RIGHT DOUBLE ARROW + 0x27FC: [512,11,1638,54,1554], // LONG RIGHTWARDS ARROW FROM BAR + 0x2A3F: [684,0,750,28,721], // AMALGAMATION OR COPRODUCT + 0x2AAF: [636,138,778,83,695], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [636,138,778,83,694] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Main"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Main/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js new file mode 100644 index 0000000..5e34497 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js @@ -0,0 +1,34 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], + { + 0x2660: [727,131,778,55,723], // BLACK SPADE SUIT + 0x2661: [716,33,778,55,723], // WHITE HEART SUIT + 0x2662: [727,163,778,55,723], // WHITE DIAMOND SUIT + 0x2663: [726,131,778,28,750], // BLACK CLUB SUIT + 0x266D: [751,22,389,54,333], // MUSIC FLAT SIGN + 0x266E: [734,223,389,65,324], // MUSIC NATURAL SIGN + 0x266F: [723,223,389,54,334] // MUSIC SHARP SIGN + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/MiscSymbols.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js new file mode 100644 index 0000000..b1d1e2c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main'], + { + 0x2DA: [715,-542,500,147,352] // RING ABOVE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Regular/SpacingModLetters.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js new file mode 100644 index 0000000..f308c00 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js @@ -0,0 +1,206 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Math-bold-italic'] = { + directory: 'Math/BoldItalic', + family: 'MathJax_Math', + weight: 'bold', + style: 'italic', + testString: "MathJax Math", + skew: { + 0x41: 0.16, + 0x42: 0.0958, + 0x43: 0.0958, + 0x44: 0.0639, + 0x45: 0.0958, + 0x46: 0.0958, + 0x47: 0.0958, + 0x48: 0.0639, + 0x49: 0.128, + 0x4A: 0.192, + 0x4B: 0.0639, + 0x4C: 0.0319, + 0x4D: 0.0958, + 0x4E: 0.0958, + 0x4F: 0.0958, + 0x50: 0.0958, + 0x51: 0.0958, + 0x52: 0.0958, + 0x53: 0.0958, + 0x54: 0.0958, + 0x55: 0.0319, + 0x58: 0.0958, + 0x5A: 0.0958, + 0x63: 0.0639, + 0x64: 0.192, + 0x65: 0.0639, + 0x66: 0.192, + 0x67: 0.0319, + 0x68: -0.0319, + 0x6C: 0.0958, + 0x6F: 0.0639, + 0x70: 0.0958, + 0x71: 0.0958, + 0x72: 0.0639, + 0x73: 0.0639, + 0x74: 0.0958, + 0x75: 0.0319, + 0x76: 0.0319, + 0x77: 0.0958, + 0x78: 0.0319, + 0x79: 0.0639, + 0x7A: 0.0639, + 0x393: 0.0958, + 0x394: 0.192, + 0x398: 0.0958, + 0x39B: 0.192, + 0x39E: 0.0958, + 0x3A0: 0.0639, + 0x3A3: 0.0958, + 0x3A5: 0.0639, + 0x3A6: 0.0958, + 0x3A8: 0.0639, + 0x3A9: 0.0958, + 0x3B1: 0.0319, + 0x3B2: 0.0958, + 0x3B4: 0.0639, + 0x3B5: 0.0958, + 0x3B6: 0.0958, + 0x3B7: 0.0639, + 0x3B8: 0.0958, + 0x3B9: 0.0639, + 0x3BC: 0.0319, + 0x3BD: 0.0319, + 0x3BE: 0.128, + 0x3BF: 0.0639, + 0x3C1: 0.0958, + 0x3C2: 0.0958, + 0x3C4: 0.0319, + 0x3C5: 0.0319, + 0x3C6: 0.0958, + 0x3C7: 0.0639, + 0x3C8: 0.128, + 0x3D1: 0.0958, + 0x3D5: 0.0958, + 0x3F1: 0.0958, + 0x3F5: 0.0639 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x2F: [711,210,894,160,733], // SOLIDUS + 0x41: [712,0,869,45,839], // LATIN CAPITAL LETTER A + 0x42: [687,0,866,43,853], // LATIN CAPITAL LETTER B + 0x43: [703,17,817,54,855], // LATIN CAPITAL LETTER C + 0x44: [686,0,938,43,914], // LATIN CAPITAL LETTER D + 0x45: [681,0,810,43,825], // LATIN CAPITAL LETTER E + 0x46: [681,0,689,43,810], // LATIN CAPITAL LETTER F + 0x47: [703,16,887,56,854], // LATIN CAPITAL LETTER G + 0x48: [686,0,982,43,1027], // LATIN CAPITAL LETTER H + 0x49: [686,0,511,30,574], // LATIN CAPITAL LETTER I + 0x4A: [686,17,631,42,694], // LATIN CAPITAL LETTER J + 0x4B: [686,0,971,43,1003], // LATIN CAPITAL LETTER K + 0x4C: [686,0,756,43,711], // LATIN CAPITAL LETTER L + 0x4D: [687,1,1142,43,1220], // LATIN CAPITAL LETTER M + 0x4E: [687,1,950,43,1028], // LATIN CAPITAL LETTER N + 0x4F: [703,17,837,53,815], // LATIN CAPITAL LETTER O + 0x50: [686,0,723,42,847], // LATIN CAPITAL LETTER P + 0x51: [703,194,869,53,815], // LATIN CAPITAL LETTER Q + 0x52: [687,17,872,43,881], // LATIN CAPITAL LETTER R + 0x53: [703,18,693,63,714], // LATIN CAPITAL LETTER S + 0x54: [675,1,637,22,773], // LATIN CAPITAL LETTER T + 0x55: [687,16,800,63,877], // LATIN CAPITAL LETTER U + 0x56: [686,17,678,62,886], // LATIN CAPITAL LETTER V + 0x57: [687,18,1093,60,1207], // LATIN CAPITAL LETTER W + 0x58: [686,1,947,38,953], // LATIN CAPITAL LETTER X + 0x59: [686,0,675,39,876], // LATIN CAPITAL LETTER Y + 0x5A: [686,1,773,68,805], // LATIN CAPITAL LETTER Z + 0x61: [452,8,633,37,607], // LATIN SMALL LETTER A + 0x62: [694,8,521,44,513], // LATIN SMALL LETTER B + 0x63: [451,8,513,40,509], // LATIN SMALL LETTER C + 0x64: [694,8,610,38,612], // LATIN SMALL LETTER D + 0x65: [452,8,554,42,509], // LATIN SMALL LETTER E + 0x66: [701,201,568,64,625], // LATIN SMALL LETTER F + 0x67: [452,202,545,0,540], // LATIN SMALL LETTER G + 0x68: [694,8,668,44,642], // LATIN SMALL LETTER H + 0x69: [694,8,405,24,367], // LATIN SMALL LETTER I + 0x6A: [694,202,471,-12,456], // LATIN SMALL LETTER J + 0x6B: [694,8,604,44,578], // LATIN SMALL LETTER K + 0x6C: [694,8,348,27,297], // LATIN SMALL LETTER L + 0x6D: [452,9,1032,24,1006], // LATIN SMALL LETTER M + 0x6E: [452,9,713,24,688], // LATIN SMALL LETTER N + 0x6F: [452,8,585,39,576], // LATIN SMALL LETTER O + 0x70: [452,194,601,-23,593], // LATIN SMALL LETTER P + 0x71: [452,194,542,38,550], // LATIN SMALL LETTER Q + 0x72: [452,8,529,24,500], // LATIN SMALL LETTER R + 0x73: [452,8,531,57,476], // LATIN SMALL LETTER S + 0x74: [644,7,415,21,387], // LATIN SMALL LETTER T + 0x75: [452,8,681,24,655], // LATIN SMALL LETTER U + 0x76: [453,8,567,24,540], // LATIN SMALL LETTER V + 0x77: [454,8,831,24,796], // LATIN SMALL LETTER W + 0x78: [452,8,659,43,599], // LATIN SMALL LETTER X + 0x79: [452,202,590,24,587], // LATIN SMALL LETTER Y + 0x7A: [453,9,555,33,539], // LATIN SMALL LETTER Z + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,657,43,777], // GREEK CAPITAL LETTER GAMMA + 0x394: [712,0,958,59,904], // GREEK CAPITAL LETTER DELTA + 0x398: [702,17,867,54,844], // GREEK CAPITAL LETTER THETA + 0x39B: [712,1,806,43,776], // GREEK CAPITAL LETTER LAMDA + 0x39E: [676,0,841,62,868], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,982,43,1026], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,885,69,902], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [704,0,671,32,802], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [687,0,767,29,737], // GREEK CAPITAL LETTER PHI + 0x3A8: [687,0,714,22,791], // GREEK CAPITAL LETTER PSI + 0x3A9: [703,1,879,93,886], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [452,8,761,39,712], // GREEK SMALL LETTER ALPHA + 0x3B2: [701,195,660,28,637], // GREEK SMALL LETTER BETA + 0x3B3: [451,211,590,5,617], // GREEK SMALL LETTER GAMMA + 0x3B4: [725,8,522,39,513], // GREEK SMALL LETTER DELTA + 0x3B5: [461,17,529,35,481], // GREEK SMALL LETTER EPSILON + 0x3B6: [711,202,508,48,521], // GREEK SMALL LETTER ZETA + 0x3B7: [452,211,600,24,601], // GREEK SMALL LETTER ETA + 0x3B8: [702,8,562,39,554], // GREEK SMALL LETTER THETA + 0x3B9: [452,8,412,37,386], // GREEK SMALL LETTER IOTA + 0x3BA: [452,8,668,45,642], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,13,671,40,652], // GREEK SMALL LETTER LAMDA + 0x3BC: [452,211,708,33,682], // GREEK SMALL LETTER MU + 0x3BD: [452,2,577,38,608], // GREEK SMALL LETTER NU + 0x3BE: [712,201,508,23,490], // GREEK SMALL LETTER XI + 0x3BF: [452,8,585,39,576], // GREEK SMALL LETTER OMICRON + 0x3C0: [445,8,682,23,674], // GREEK SMALL LETTER PI + 0x3C1: [451,211,612,34,603], // GREEK SMALL LETTER RHO + 0x3C2: [452,105,424,33,457], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [444,8,686,35,677], // GREEK SMALL LETTER SIGMA + 0x3C4: [444,13,521,23,610], // GREEK SMALL LETTER TAU + 0x3C5: [454,8,631,24,604], // GREEK SMALL LETTER UPSILON + 0x3C6: [452,216,747,52,703], // GREEK SMALL LETTER PHI + 0x3C7: [452,201,718,32,686], // GREEK SMALL LETTER CHI + 0x3C8: [694,203,758,24,732], // GREEK SMALL LETTER PSI + 0x3C9: [453,8,718,24,691], // GREEK SMALL LETTER OMEGA + 0x3D1: [701,9,692,23,656], // GREEK THETA SYMBOL + 0x3D5: [695,203,712,51,693], // GREEK PHI SYMBOL + 0x3D6: [444,8,975,22,961], // GREEK PI SYMBOL + 0x3F1: [451,195,612,75,604], // GREEK RHO SYMBOL + 0x3F5: [445,7,483,43,450] // GREEK LUNATE EPSILON SYMBOL +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Math-bold-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Math/BoldItalic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js new file mode 100644 index 0000000..122bc16 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js @@ -0,0 +1,205 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Math-italic'] = { + directory: 'Math/Italic', + family: 'MathJax_Math', + style: 'italic', + testString: "MathJax Math", + skew: { + 0x41: 0.139, + 0x42: 0.0833, + 0x43: 0.0833, + 0x44: 0.0556, + 0x45: 0.0833, + 0x46: 0.0833, + 0x47: 0.0833, + 0x48: 0.0556, + 0x49: 0.111, + 0x4A: 0.167, + 0x4B: 0.0556, + 0x4C: 0.0278, + 0x4D: 0.0833, + 0x4E: 0.0833, + 0x4F: 0.0833, + 0x50: 0.0833, + 0x51: 0.0833, + 0x52: 0.0833, + 0x53: 0.0833, + 0x54: 0.0833, + 0x55: 0.0278, + 0x58: 0.0833, + 0x5A: 0.0833, + 0x63: 0.0556, + 0x64: 0.167, + 0x65: 0.0556, + 0x66: 0.167, + 0x67: 0.0278, + 0x68: -0.0278, + 0x6C: 0.0833, + 0x6F: 0.0556, + 0x70: 0.0833, + 0x71: 0.0833, + 0x72: 0.0556, + 0x73: 0.0556, + 0x74: 0.0833, + 0x75: 0.0278, + 0x76: 0.0278, + 0x77: 0.0833, + 0x78: 0.0278, + 0x79: 0.0556, + 0x7A: 0.0556, + 0x393: 0.0833, + 0x394: 0.167, + 0x398: 0.0833, + 0x39B: 0.167, + 0x39E: 0.0833, + 0x3A0: 0.0556, + 0x3A3: 0.0833, + 0x3A5: 0.0556, + 0x3A6: 0.0833, + 0x3A8: 0.0556, + 0x3A9: 0.0833, + 0x3B1: 0.0278, + 0x3B2: 0.0833, + 0x3B4: 0.0556, + 0x3B5: 0.0833, + 0x3B6: 0.0833, + 0x3B7: 0.0556, + 0x3B8: 0.0833, + 0x3B9: 0.0556, + 0x3BC: 0.0278, + 0x3BD: 0.0278, + 0x3BE: 0.111, + 0x3BF: 0.0556, + 0x3C1: 0.0833, + 0x3C2: 0.0833, + 0x3C4: 0.0278, + 0x3C5: 0.0278, + 0x3C6: 0.0833, + 0x3C7: 0.0556, + 0x3C8: 0.111, + 0x3D1: 0.0833, + 0x3D5: 0.0833, + 0x3F1: 0.0833, + 0x3F5: 0.0556 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x2F: [716,215,778,139,638], // SOLIDUS + 0x41: [717,0,750,35,727], // LATIN CAPITAL LETTER A + 0x42: [683,0,759,35,756], // LATIN CAPITAL LETTER B + 0x43: [705,22,715,50,760], // LATIN CAPITAL LETTER C + 0x44: [683,1,828,32,804], // LATIN CAPITAL LETTER D + 0x45: [680,1,738,30,764], // LATIN CAPITAL LETTER E + 0x46: [681,0,643,30,749], // LATIN CAPITAL LETTER F + 0x47: [705,22,786,50,760], // LATIN CAPITAL LETTER G + 0x48: [683,0,831,31,889], // LATIN CAPITAL LETTER H + 0x49: [684,0,440,26,504], // LATIN CAPITAL LETTER I + 0x4A: [683,22,555,57,633], // LATIN CAPITAL LETTER J + 0x4B: [684,0,849,31,889], // LATIN CAPITAL LETTER K + 0x4C: [684,1,681,32,647], // LATIN CAPITAL LETTER L + 0x4D: [684,0,970,35,1051], // LATIN CAPITAL LETTER M + 0x4E: [684,0,803,31,888], // LATIN CAPITAL LETTER N + 0x4F: [704,22,763,50,740], // LATIN CAPITAL LETTER O + 0x50: [683,0,642,33,751], // LATIN CAPITAL LETTER P + 0x51: [704,195,791,50,740], // LATIN CAPITAL LETTER Q + 0x52: [683,22,759,33,755], // LATIN CAPITAL LETTER R + 0x53: [705,22,613,52,645], // LATIN CAPITAL LETTER S + 0x54: [678,0,584,21,705], // LATIN CAPITAL LETTER T + 0x55: [684,22,683,59,767], // LATIN CAPITAL LETTER U + 0x56: [683,23,583,52,769], // LATIN CAPITAL LETTER V + 0x57: [684,22,944,51,1048], // LATIN CAPITAL LETTER W + 0x58: [684,1,828,25,852], // LATIN CAPITAL LETTER X + 0x59: [683,-1,581,29,763], // LATIN CAPITAL LETTER Y + 0x5A: [684,1,683,58,724], // LATIN CAPITAL LETTER Z + 0x61: [441,10,529,33,506], // LATIN SMALL LETTER A + 0x62: [694,11,429,39,422], // LATIN SMALL LETTER B + 0x63: [442,11,433,34,429], // LATIN SMALL LETTER C + 0x64: [694,10,520,33,524], // LATIN SMALL LETTER D + 0x65: [442,11,466,39,429], // LATIN SMALL LETTER E + 0x66: [705,205,490,55,550], // LATIN SMALL LETTER F + 0x67: [443,205,477,10,480], // LATIN SMALL LETTER G + 0x68: [694,11,576,48,555], // LATIN SMALL LETTER H + 0x69: [661,11,345,21,303], // LATIN SMALL LETTER I + 0x6A: [661,204,412,-12,403], // LATIN SMALL LETTER J + 0x6B: [694,11,521,48,503], // LATIN SMALL LETTER K + 0x6C: [694,11,298,38,267], // LATIN SMALL LETTER L + 0x6D: [442,11,878,21,857], // LATIN SMALL LETTER M + 0x6E: [442,11,600,21,580], // LATIN SMALL LETTER N + 0x6F: [441,11,485,34,476], // LATIN SMALL LETTER O + 0x70: [442,194,503,-39,497], // LATIN SMALL LETTER P + 0x71: [442,194,446,33,460], // LATIN SMALL LETTER Q + 0x72: [442,11,451,21,430], // LATIN SMALL LETTER R + 0x73: [442,10,469,53,419], // LATIN SMALL LETTER S + 0x74: [626,11,361,19,330], // LATIN SMALL LETTER T + 0x75: [442,11,572,21,551], // LATIN SMALL LETTER U + 0x76: [443,11,485,21,467], // LATIN SMALL LETTER V + 0x77: [444,11,716,20,690], // LATIN SMALL LETTER W + 0x78: [443,11,572,35,523], // LATIN SMALL LETTER X + 0x79: [442,205,490,21,496], // LATIN SMALL LETTER Y + 0x7A: [442,12,465,35,468], // LATIN SMALL LETTER Z + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,1,833,48,788], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,694,35,671], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,1,742,53,777], // GREEK CAPITAL LETTER XI + 0x3A0: [681,0,831,31,888], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [706,0,583,28,701], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,667,24,643], // GREEK CAPITAL LETTER PHI + 0x3A8: [684,0,612,21,693], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA + 0x3B2: [706,194,566,23,573], // GREEK SMALL LETTER BETA + 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA + 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA + 0x3B5: [453,22,466,27,428], // GREEK SMALL LETTER EPSILON + 0x3B6: [704,204,438,44,472], // GREEK SMALL LETTER ZETA + 0x3B7: [442,216,497,21,504], // GREEK SMALL LETTER ETA + 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA + 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA + 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,12,583,46,556], // GREEK SMALL LETTER LAMDA + 0x3BC: [443,216,603,22,580], // GREEK SMALL LETTER MU + 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU + 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI + 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON + 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI + 0x3C1: [442,216,517,22,510], // GREEK SMALL LETTER RHO + 0x3C2: [442,108,363,31,405], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA + 0x3C4: [431,13,437,17,517], // GREEK SMALL LETTER TAU + 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON + 0x3C6: [442,219,654,50,618], // GREEK SMALL LETTER PHI + 0x3C7: [442,204,626,24,601], // GREEK SMALL LETTER CHI + 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI + 0x3C9: [444,11,622,15,604], // GREEK SMALL LETTER OMEGA + 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL + 0x3D5: [695,206,596,43,579], // GREEK PHI SYMBOL + 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL + 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL + 0x3F5: [432,11,406,39,383] // GREEK LUNATE EPSILON SYMBOL +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Math-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Math/Italic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js new file mode 100644 index 0000000..b705914 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js @@ -0,0 +1,115 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [695,0,367,109,257], // EXCLAMATION MARK + 0x22: [694,-441,558,37,420], // QUOTATION MARK + 0x23: [694,193,917,61,855], // NUMBER SIGN + 0x24: [750,57,550,49,488], // DOLLAR SIGN + 0x25: [750,57,1029,61,967], // PERCENT SIGN + 0x26: [716,22,831,47,769], // AMPERSAND + 0x27: [694,-441,306,80,226], // APOSTROPHE + 0x28: [750,249,428,79,366], // LEFT PARENTHESIS + 0x29: [751,251,428,61,348], // RIGHT PARENTHESIS + 0x2A: [750,-293,550,67,482], // ASTERISK + 0x2B: [617,116,856,61,794], // PLUS SIGN + 0x2C: [146,107,306,80,226], // COMMA + 0x2D: [274,-185,367,12,305], // HYPHEN-MINUS + 0x2E: [146,0,306,80,226], // FULL STOP + 0x2F: [750,249,550,61,489], // SOLIDUS + 0x30: [715,22,550,42,506], // DIGIT ZERO + 0x31: [716,-1,550,76,473], // DIGIT ONE + 0x32: [716,0,550,46,495], // DIGIT TWO + 0x33: [716,22,550,46,503], // DIGIT THREE + 0x34: [695,1,550,30,519], // DIGIT FOUR + 0x35: [694,22,550,37,494], // DIGIT FIVE + 0x36: [716,22,550,46,503], // DIGIT SIX + 0x37: [696,12,550,45,504], // DIGIT SEVEN + 0x38: [716,22,550,46,503], // DIGIT EIGHT + 0x39: [716,22,550,46,503], // DIGIT NINE + 0x3A: [458,0,306,80,226], // COLON + 0x3B: [458,107,306,80,226], // SEMICOLON + 0x3D: [407,-94,856,61,794], // EQUALS SIGN + 0x3F: [706,0,519,61,457], // QUESTION MARK + 0x40: [704,11,733,61,671], // COMMERCIAL AT + 0x41: [695,1,733,42,691], // LATIN CAPITAL LETTER A + 0x42: [695,-1,733,92,671], // LATIN CAPITAL LETTER B + 0x43: [704,11,703,61,647], // LATIN CAPITAL LETTER C + 0x44: [695,0,794,91,732], // LATIN CAPITAL LETTER D + 0x45: [692,0,642,92,596], // LATIN CAPITAL LETTER E + 0x46: [692,1,611,92,565], // LATIN CAPITAL LETTER F + 0x47: [705,11,733,61,659], // LATIN CAPITAL LETTER G + 0x48: [695,1,794,92,702], // LATIN CAPITAL LETTER H + 0x49: [695,1,331,85,246], // LATIN CAPITAL LETTER I + 0x4A: [695,22,519,46,427], // LATIN CAPITAL LETTER J + 0x4B: [695,1,764,92,701], // LATIN CAPITAL LETTER K + 0x4C: [695,0,581,92,535], // LATIN CAPITAL LETTER L + 0x4D: [695,1,978,92,886], // LATIN CAPITAL LETTER M + 0x4E: [695,1,794,92,702], // LATIN CAPITAL LETTER N + 0x4F: [716,22,794,62,731], // LATIN CAPITAL LETTER O + 0x50: [694,0,703,92,641], // LATIN CAPITAL LETTER P + 0x51: [716,106,794,62,732], // LATIN CAPITAL LETTER Q + 0x52: [695,1,703,92,654], // LATIN CAPITAL LETTER R + 0x53: [716,22,611,49,549], // LATIN CAPITAL LETTER S + 0x54: [689,1,733,40,693], // LATIN CAPITAL LETTER T + 0x55: [695,22,764,92,672], // LATIN CAPITAL LETTER U + 0x56: [695,-1,733,27,705], // LATIN CAPITAL LETTER V + 0x57: [695,1,1039,23,1014], // LATIN CAPITAL LETTER W + 0x58: [695,0,733,37,694], // LATIN CAPITAL LETTER X + 0x59: [695,1,733,23,708], // LATIN CAPITAL LETTER Y + 0x5A: [694,0,672,61,617], // LATIN CAPITAL LETTER Z + 0x5B: [751,251,343,78,318], // LEFT SQUARE BRACKET + 0x5D: [751,251,343,24,263], // RIGHT SQUARE BRACKET + 0x5E: [694,-537,550,108,441], // CIRCUMFLEX ACCENT + 0x5F: [-23,110,550,0,549], // LOW LINE + 0x61: [475,11,525,31,474], // LATIN SMALL LETTER A + 0x62: [695,11,561,54,523], // LATIN SMALL LETTER B + 0x63: [475,11,489,37,457], // LATIN SMALL LETTER C + 0x64: [695,11,561,37,507], // LATIN SMALL LETTER D + 0x65: [475,10,511,30,480], // LATIN SMALL LETTER E + 0x66: [705,1,336,28,382], // LATIN SMALL LETTER F + 0x67: [469,207,550,17,534], // LATIN SMALL LETTER G + 0x68: [695,1,561,53,509], // LATIN SMALL LETTER H + 0x69: [695,1,256,45,208], // LATIN SMALL LETTER I + 0x6A: [696,205,286,-71,233], // LATIN SMALL LETTER J + 0x6B: [695,1,531,63,496], // LATIN SMALL LETTER K + 0x6C: [695,1,256,54,201], // LATIN SMALL LETTER L + 0x6D: [469,1,867,53,816], // LATIN SMALL LETTER M + 0x6E: [468,1,561,53,509], // LATIN SMALL LETTER N + 0x6F: [475,11,550,32,518], // LATIN SMALL LETTER O + 0x70: [470,194,561,54,523], // LATIN SMALL LETTER P + 0x71: [470,195,561,37,507], // LATIN SMALL LETTER Q + 0x72: [469,0,372,54,356], // LATIN SMALL LETTER R + 0x73: [474,10,422,30,396], // LATIN SMALL LETTER S + 0x74: [590,10,404,20,374], // LATIN SMALL LETTER T + 0x75: [459,11,561,52,509], // LATIN SMALL LETTER U + 0x76: [459,0,500,26,473], // LATIN SMALL LETTER V + 0x77: [459,1,744,23,719], // LATIN SMALL LETTER W + 0x78: [459,1,500,23,475], // LATIN SMALL LETTER X + 0x79: [459,205,500,28,473], // LATIN SMALL LETTER Y + 0x7A: [458,1,476,31,443], // LATIN SMALL LETTER Z + 0x7E: [344,-197,550,92,457] // TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js new file mode 100644 index 0000000..b340624 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], + { + 0x300: [695,-537,0,-458,-218], // COMBINING GRAVE ACCENT + 0x301: [694,-536,0,-334,-93], // COMBINING ACUTE ACCENT + 0x302: [694,-537,0,-442,-109], // COMBINING CIRCUMFLEX ACCENT + 0x303: [694,-547,0,-458,-93], // COMBINING TILDE + 0x304: [660,-560,0,-474,-77], // COMBINING MACRON + 0x306: [695,-552,0,-470,-80], // COMBINING BREVE + 0x307: [695,-596,0,-357,-194], // COMBINING DOT ABOVE + 0x308: [696,-594,0,-459,-90], // COMBINING DIAERESIS + 0x30A: [694,-537,0,-365,-118], // COMBINING RING ABOVE + 0x30B: [695,-536,0,-440,-93], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [658,-500,0,-442,-109] // COMBINING CARON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js new file mode 100644 index 0000000..8509711 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'] = { + directory: 'SansSerif/Bold', + family: 'MathJax_SansSerif', + weight: 'bold', + testString: "MathJax SansSerif", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xFFFF,"Other"], + [0x300,0x36F,"CombDiacritMarks"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_SansSerif-bold"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/SansSerif/Bold/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js new file mode 100644 index 0000000..baa9c3d --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js @@ -0,0 +1,47 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-bold'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x131: [459,1,256,54,201], // LATIN SMALL LETTER DOTLESS I + 0x237: [459,205,286,-71,232], // LATIN SMALL LETTER DOTLESS J + 0x393: [692,1,581,92,535], // GREEK CAPITAL LETTER GAMMA + 0x394: [695,0,917,60,856], // GREEK CAPITAL LETTER DELTA + 0x398: [716,22,856,62,793], // GREEK CAPITAL LETTER THETA + 0x39B: [695,1,672,41,630], // GREEK CAPITAL LETTER LAMDA + 0x39E: [688,1,733,45,687], // GREEK CAPITAL LETTER XI + 0x3A0: [691,1,794,92,702], // GREEK CAPITAL LETTER PI + 0x3A3: [695,0,794,61,733], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [716,1,856,61,794], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [695,0,794,62,732], // GREEK CAPITAL LETTER PHI + 0x3A8: [695,0,856,61,794], // GREEK CAPITAL LETTER PSI + 0x3A9: [716,1,794,48,745], // GREEK CAPITAL LETTER OMEGA + 0x2013: [327,-240,550,0,549], // EN DASH + 0x2014: [327,-240,1100,0,1099], // EM DASH + 0x2018: [695,-443,306,81,226], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-441,306,80,226], // RIGHT SINGLE QUOTATION MARK + 0x201C: [695,-443,558,138,521], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-441,558,37,420] // RIGHT DOUBLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Bold/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js new file mode 100644 index 0000000..bd65dca --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js @@ -0,0 +1,115 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [694,0,319,110,355], // EXCLAMATION MARK + 0x22: [694,-471,500,133,472], // QUOTATION MARK + 0x23: [694,194,833,87,851], // NUMBER SIGN + 0x24: [750,56,500,56,565], // DOLLAR SIGN + 0x25: [750,56,833,165,815], // PERCENT SIGN + 0x26: [716,22,758,71,747], // AMPERSAND + 0x27: [694,-471,278,190,335], // APOSTROPHE + 0x28: [750,250,389,104,491], // LEFT PARENTHESIS + 0x29: [750,250,389,2,390], // RIGHT PARENTHESIS + 0x2A: [750,-305,500,156,569], // ASTERISK + 0x2B: [583,83,778,108,775], // PLUS SIGN + 0x2C: [98,125,278,63,209], // COMMA + 0x2D: [259,-186,333,51,332], // HYPHEN-MINUS + 0x2E: [98,0,278,90,209], // FULL STOP + 0x2F: [750,250,500,6,600], // SOLIDUS + 0x30: [678,23,500,88,549], // DIGIT ZERO + 0x31: [678,0,500,88,451], // DIGIT ONE + 0x32: [679,0,500,50,552], // DIGIT TWO + 0x33: [678,22,500,56,544], // DIGIT THREE + 0x34: [656,0,500,62,521], // DIGIT FOUR + 0x35: [656,22,500,50,555], // DIGIT FIVE + 0x36: [678,22,500,94,548], // DIGIT SIX + 0x37: [656,11,500,143,596], // DIGIT SEVEN + 0x38: [678,22,500,77,554], // DIGIT EIGHT + 0x39: [677,22,500,77,545], // DIGIT NINE + 0x3A: [444,0,278,90,282], // COLON + 0x3B: [444,125,278,63,282], // SEMICOLON + 0x3D: [370,-130,778,87,796], // EQUALS SIGN + 0x3F: [704,0,472,173,536], // QUESTION MARK + 0x40: [705,10,667,120,707], // COMMERCIAL AT + 0x41: [694,0,667,28,638], // LATIN CAPITAL LETTER A + 0x42: [694,0,667,90,696], // LATIN CAPITAL LETTER B + 0x43: [705,10,639,124,719], // LATIN CAPITAL LETTER C + 0x44: [694,0,722,88,747], // LATIN CAPITAL LETTER D + 0x45: [691,0,597,86,688], // LATIN CAPITAL LETTER E + 0x46: [691,0,569,86,673], // LATIN CAPITAL LETTER F + 0x47: [705,11,667,125,730], // LATIN CAPITAL LETTER G + 0x48: [694,0,708,86,768], // LATIN CAPITAL LETTER H + 0x49: [694,0,278,87,338], // LATIN CAPITAL LETTER I + 0x4A: [694,22,472,46,535], // LATIN CAPITAL LETTER J + 0x4B: [694,0,694,88,785], // LATIN CAPITAL LETTER K + 0x4C: [694,0,542,87,516], // LATIN CAPITAL LETTER L + 0x4D: [694,0,875,92,929], // LATIN CAPITAL LETTER M + 0x4E: [694,0,708,88,766], // LATIN CAPITAL LETTER N + 0x4F: [716,22,736,118,763], // LATIN CAPITAL LETTER O + 0x50: [694,0,639,88,690], // LATIN CAPITAL LETTER P + 0x51: [716,125,736,118,763], // LATIN CAPITAL LETTER Q + 0x52: [694,0,646,88,699], // LATIN CAPITAL LETTER R + 0x53: [716,22,556,54,609], // LATIN CAPITAL LETTER S + 0x54: [688,0,681,165,790], // LATIN CAPITAL LETTER T + 0x55: [694,22,688,130,747], // LATIN CAPITAL LETTER U + 0x56: [694,0,667,161,799], // LATIN CAPITAL LETTER V + 0x57: [694,0,944,160,1076], // LATIN CAPITAL LETTER W + 0x58: [694,0,667,14,758], // LATIN CAPITAL LETTER X + 0x59: [694,0,667,151,810], // LATIN CAPITAL LETTER Y + 0x5A: [694,0,611,55,702], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,289,41,425], // LEFT SQUARE BRACKET + 0x5D: [750,250,289,-31,353], // RIGHT SQUARE BRACKET + 0x5E: [694,-527,500,190,533], // CIRCUMFLEX ACCENT + 0x5F: [-38,114,500,50,565], // LOW LINE + 0x61: [461,11,481,61,474], // LATIN SMALL LETTER A + 0x62: [694,11,517,75,539], // LATIN SMALL LETTER B + 0x63: [461,11,444,75,499], // LATIN SMALL LETTER C + 0x64: [694,11,517,73,588], // LATIN SMALL LETTER D + 0x65: [460,11,444,71,472], // LATIN SMALL LETTER E + 0x66: [705,0,306,94,494], // LATIN SMALL LETTER F + 0x67: [455,206,500,12,568], // LATIN SMALL LETTER G + 0x68: [694,0,517,73,513], // LATIN SMALL LETTER H + 0x69: [680,0,239,74,315], // LATIN SMALL LETTER I + 0x6A: [680,204,267,-96,336], // LATIN SMALL LETTER J + 0x6B: [694,0,489,76,543], // LATIN SMALL LETTER K + 0x6C: [694,0,239,74,311], // LATIN SMALL LETTER L + 0x6D: [455,0,794,73,790], // LATIN SMALL LETTER M + 0x6E: [454,0,517,73,513], // LATIN SMALL LETTER N + 0x6F: [461,11,500,69,523], // LATIN SMALL LETTER O + 0x70: [455,194,517,34,538], // LATIN SMALL LETTER P + 0x71: [455,194,517,72,538], // LATIN SMALL LETTER Q + 0x72: [455,0,342,74,424], // LATIN SMALL LETTER R + 0x73: [461,11,383,35,436], // LATIN SMALL LETTER S + 0x74: [571,11,361,97,410], // LATIN SMALL LETTER T + 0x75: [444,11,517,90,537], // LATIN SMALL LETTER U + 0x76: [444,0,461,108,540], // LATIN SMALL LETTER V + 0x77: [444,0,683,108,762], // LATIN SMALL LETTER W + 0x78: [444,0,461,1,537], // LATIN SMALL LETTER X + 0x79: [444,205,461,1,540], // LATIN SMALL LETTER Y + 0x7A: [444,0,435,28,494], // LATIN SMALL LETTER Z + 0x7E: [327,-193,500,199,560] // TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js new file mode 100644 index 0000000..9fcc5d4 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], + { + 0x300: [694,-527,0,-270,-87], // COMBINING GRAVE ACCENT + 0x301: [694,-527,0,-190,63], // COMBINING ACUTE ACCENT + 0x302: [694,-527,0,-310,33], // COMBINING CIRCUMFLEX ACCENT + 0x303: [677,-543,0,-301,60], // COMBINING TILDE + 0x304: [631,-552,0,-314,64], // COMBINING MACRON + 0x306: [694,-508,0,-284,73], // COMBINING BREVE + 0x307: [680,-576,0,-180,-54], // COMBINING DOT ABOVE + 0x308: [680,-582,0,-273,40], // COMBINING DIAERESIS + 0x30A: [694,-527,0,-227,-2], // COMBINING RING ABOVE + 0x30B: [694,-527,0,-287,63], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [654,-487,0,-283,60] // COMBINING CARON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js new file mode 100644 index 0000000..13426ac --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js @@ -0,0 +1,37 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'] = { + directory: 'SansSerif/Italic', + family: 'MathJax_SansSerif', + style: 'italic', + testString: "MathJax SansSerif", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xFFFF,"Other"], + [0x300,0x36F,"CombDiacritMarks"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_SansSerif-italic"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/SansSerif/Italic/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js new file mode 100644 index 0000000..1f6d214 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js @@ -0,0 +1,47 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif-italic'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x131: [444,0,239,74,258], // LATIN SMALL LETTER DOTLESS I + 0x237: [444,204,267,-96,286], // LATIN SMALL LETTER DOTLESS J + 0x393: [691,0,542,87,646], // GREEK CAPITAL LETTER GAMMA + 0x394: [694,0,833,42,790], // GREEK CAPITAL LETTER DELTA + 0x398: [715,22,778,119,804], // GREEK CAPITAL LETTER THETA + 0x39B: [694,0,611,28,582], // GREEK CAPITAL LETTER LAMDA + 0x39E: [688,0,667,42,765], // GREEK CAPITAL LETTER XI + 0x3A0: [691,0,708,86,768], // GREEK CAPITAL LETTER PI + 0x3A3: [694,0,722,55,813], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [716,0,778,173,843], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [694,0,722,124,743], // GREEK CAPITAL LETTER PHI + 0x3A8: [694,0,778,171,854], // GREEK CAPITAL LETTER PSI + 0x3A9: [716,0,722,44,769], // GREEK CAPITAL LETTER OMEGA + 0x2013: [312,-236,500,50,565], // EN DASH + 0x2014: [312,-236,1000,50,1065], // EM DASH + 0x2018: [694,-471,278,190,336], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-471,278,190,335], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-471,500,274,614], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-471,500,133,472] // RIGHT DOUBLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Italic/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js new file mode 100644 index 0000000..929a9fc --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js @@ -0,0 +1,115 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [694,0,319,110,208], // EXCLAMATION MARK + 0x22: [694,-471,500,32,325], // QUOTATION MARK + 0x23: [694,194,833,55,777], // NUMBER SIGN + 0x24: [750,56,500,44,444], // DOLLAR SIGN + 0x25: [750,56,833,56,776], // PERCENT SIGN + 0x26: [716,23,758,42,703], // AMPERSAND + 0x27: [694,-471,278,89,188], // APOSTROPHE + 0x28: [750,250,389,74,333], // LEFT PARENTHESIS + 0x29: [750,250,389,55,314], // RIGHT PARENTHESIS + 0x2A: [750,-306,500,63,436], // ASTERISK + 0x2B: [583,83,778,55,722], // PLUS SIGN + 0x2C: [98,125,278,89,188], // COMMA + 0x2D: [259,-186,333,11,277], // HYPHEN-MINUS + 0x2E: [98,0,278,90,188], // FULL STOP + 0x2F: [751,250,500,56,445], // SOLIDUS + 0x30: [678,22,500,39,460], // DIGIT ZERO + 0x31: [678,0,500,83,430], // DIGIT ONE + 0x32: [677,0,500,42,450], // DIGIT TWO + 0x33: [678,22,500,42,457], // DIGIT THREE + 0x34: [656,0,500,28,471], // DIGIT FOUR + 0x35: [656,22,500,33,449], // DIGIT FIVE + 0x36: [678,22,500,42,457], // DIGIT SIX + 0x37: [656,11,500,42,457], // DIGIT SEVEN + 0x38: [678,22,500,43,456], // DIGIT EIGHT + 0x39: [678,22,500,42,457], // DIGIT NINE + 0x3A: [444,0,278,90,188], // COLON + 0x3B: [444,125,278,89,188], // SEMICOLON + 0x3D: [370,-130,778,55,722], // EQUALS SIGN + 0x3F: [704,0,472,55,416], // QUESTION MARK + 0x40: [704,11,667,56,612], // COMMERCIAL AT + 0x41: [694,0,667,28,638], // LATIN CAPITAL LETTER A + 0x42: [694,0,667,90,610], // LATIN CAPITAL LETTER B + 0x43: [705,11,639,59,587], // LATIN CAPITAL LETTER C + 0x44: [695,0,722,87,666], // LATIN CAPITAL LETTER D + 0x45: [691,0,597,86,554], // LATIN CAPITAL LETTER E + 0x46: [691,0,569,86,526], // LATIN CAPITAL LETTER F + 0x47: [704,11,667,59,599], // LATIN CAPITAL LETTER G + 0x48: [694,0,708,86,621], // LATIN CAPITAL LETTER H + 0x49: [694,0,278,87,191], // LATIN CAPITAL LETTER I + 0x4A: [694,22,472,42,389], // LATIN CAPITAL LETTER J + 0x4B: [694,0,694,88,651], // LATIN CAPITAL LETTER K + 0x4C: [694,0,542,87,499], // LATIN CAPITAL LETTER L + 0x4D: [694,0,875,92,782], // LATIN CAPITAL LETTER M + 0x4E: [694,0,708,88,619], // LATIN CAPITAL LETTER N + 0x4F: [715,22,736,55,680], // LATIN CAPITAL LETTER O + 0x50: [694,0,639,88,583], // LATIN CAPITAL LETTER P + 0x51: [715,125,736,55,680], // LATIN CAPITAL LETTER Q + 0x52: [694,0,646,88,617], // LATIN CAPITAL LETTER R + 0x53: [716,22,556,44,500], // LATIN CAPITAL LETTER S + 0x54: [688,0,681,36,644], // LATIN CAPITAL LETTER T + 0x55: [694,22,688,87,600], // LATIN CAPITAL LETTER U + 0x56: [694,0,667,14,652], // LATIN CAPITAL LETTER V + 0x57: [694,0,944,14,929], // LATIN CAPITAL LETTER W + 0x58: [694,0,667,14,652], // LATIN CAPITAL LETTER X + 0x59: [694,0,667,3,663], // LATIN CAPITAL LETTER Y + 0x5A: [694,0,611,55,560], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,289,94,266], // LEFT SQUARE BRACKET + 0x5D: [750,250,289,22,194], // RIGHT SQUARE BRACKET + 0x5E: [694,-527,500,78,421], // CIRCUMFLEX ACCENT + 0x5F: [-38,114,500,0,499], // LOW LINE + 0x61: [461,11,481,38,408], // LATIN SMALL LETTER A + 0x62: [694,11,517,75,482], // LATIN SMALL LETTER B + 0x63: [460,10,444,34,415], // LATIN SMALL LETTER C + 0x64: [694,10,517,33,441], // LATIN SMALL LETTER D + 0x65: [461,10,444,28,415], // LATIN SMALL LETTER E + 0x66: [706,0,306,27,347], // LATIN SMALL LETTER F + 0x67: [455,206,500,28,485], // LATIN SMALL LETTER G + 0x68: [694,0,517,73,443], // LATIN SMALL LETTER H + 0x69: [680,0,239,67,171], // LATIN SMALL LETTER I + 0x6A: [680,205,267,-59,192], // LATIN SMALL LETTER J + 0x6B: [694,0,489,76,471], // LATIN SMALL LETTER K + 0x6C: [694,0,239,74,164], // LATIN SMALL LETTER L + 0x6D: [455,0,794,73,720], // LATIN SMALL LETTER M + 0x6E: [455,0,517,73,443], // LATIN SMALL LETTER N + 0x6F: [460,10,500,28,471], // LATIN SMALL LETTER O + 0x70: [456,194,517,75,483], // LATIN SMALL LETTER P + 0x71: [455,194,517,33,441], // LATIN SMALL LETTER Q + 0x72: [455,0,342,74,327], // LATIN SMALL LETTER R + 0x73: [460,10,383,28,360], // LATIN SMALL LETTER S + 0x74: [571,10,361,18,333], // LATIN SMALL LETTER T + 0x75: [444,11,517,73,443], // LATIN SMALL LETTER U + 0x76: [444,0,461,14,446], // LATIN SMALL LETTER V + 0x77: [444,0,683,14,668], // LATIN SMALL LETTER W + 0x78: [444,0,461,0,460], // LATIN SMALL LETTER X + 0x79: [444,205,461,14,446], // LATIN SMALL LETTER Y + 0x7A: [444,0,435,28,402], // LATIN SMALL LETTER Z + 0x7E: [327,-193,500,83,416] // TILDE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js new file mode 100644 index 0000000..fce03c6 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js @@ -0,0 +1,38 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], + { + 0x300: [694,-527,0,-417,-199], // COMBINING GRAVE ACCENT + 0x301: [694,-527,0,-302,-84], // COMBINING ACUTE ACCENT + 0x302: [694,-527,0,-422,-79], // COMBINING CIRCUMFLEX ACCENT + 0x303: [677,-543,0,-417,-84], // COMBINING TILDE + 0x304: [631,-552,0,-431,-70], // COMBINING MACRON + 0x306: [694,-508,0,-427,-74], // COMBINING BREVE + 0x307: [680,-576,0,-302,-198], // COMBINING DOT ABOVE + 0x308: [680,-582,0,-397,-104], // COMBINING DIAERESIS + 0x30A: [694,-527,0,-319,-99], // COMBINING RING ABOVE + 0x30B: [694,-527,0,-399,-84], // COMBINING DOUBLE ACUTE ACCENT + 0x30C: [654,-487,0,-422,-79] // COMBINING CARON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js new file mode 100644 index 0000000..2a6744e --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'] = { + directory: 'SansSerif/Regular', + family: 'MathJax_SansSerif', + testString: "MathJax SansSerif", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xFFFF,"Other"], + [0x300,0x36F,"CombDiacritMarks"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_SansSerif"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/SansSerif/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js new file mode 100644 index 0000000..06b6263 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js @@ -0,0 +1,47 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_SansSerif'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x131: [444,0,239,74,164], // LATIN SMALL LETTER DOTLESS I + 0x237: [444,205,267,-59,192], // LATIN SMALL LETTER DOTLESS J + 0x393: [691,0,542,87,499], // GREEK CAPITAL LETTER GAMMA + 0x394: [694,0,833,42,790], // GREEK CAPITAL LETTER DELTA + 0x398: [716,21,778,56,722], // GREEK CAPITAL LETTER THETA + 0x39B: [694,0,611,28,582], // GREEK CAPITAL LETTER LAMDA + 0x39E: [688,0,667,42,624], // GREEK CAPITAL LETTER XI + 0x3A0: [691,0,708,86,621], // GREEK CAPITAL LETTER PI + 0x3A3: [694,0,722,55,666], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [717,0,778,55,722], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [694,0,722,55,666], // GREEK CAPITAL LETTER PHI + 0x3A8: [694,0,778,55,722], // GREEK CAPITAL LETTER PSI + 0x3A9: [716,0,722,44,677], // GREEK CAPITAL LETTER OMEGA + 0x2013: [312,-236,500,0,499], // EN DASH + 0x2014: [312,-236,1000,0,999], // EM DASH + 0x2018: [694,-471,278,90,189], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-471,278,89,188], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-471,500,174,467], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-471,500,32,325] // RIGHT DOUBLE QUOTATION MARK + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/SansSerif/Regular/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js new file mode 100644 index 0000000..6a52511 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js @@ -0,0 +1,54 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x41: [718,8,803,35,1017], // LATIN CAPITAL LETTER A + 0x42: [708,28,908,31,928], // LATIN CAPITAL LETTER B + 0x43: [728,26,666,26,819], // LATIN CAPITAL LETTER C + 0x44: [708,31,774,68,855], // LATIN CAPITAL LETTER D + 0x45: [708,8,562,46,719], // LATIN CAPITAL LETTER E + 0x46: [735,36,895,39,990], // LATIN CAPITAL LETTER F + 0x47: [717,38,610,12,739], // LATIN CAPITAL LETTER G + 0x48: [718,36,969,29,1241], // LATIN CAPITAL LETTER H + 0x49: [717,17,809,59,946], // LATIN CAPITAL LETTER I + 0x4A: [718,315,1052,92,1133], // LATIN CAPITAL LETTER J + 0x4B: [717,37,914,29,1204], // LATIN CAPITAL LETTER K + 0x4C: [718,18,874,14,1036], // LATIN CAPITAL LETTER L + 0x4D: [721,50,1080,30,1216], // LATIN CAPITAL LETTER M + 0x4E: [726,36,902,29,1208], // LATIN CAPITAL LETTER N + 0x4F: [707,8,738,96,805], // LATIN CAPITAL LETTER O + 0x50: [716,38,1013,89,1031], // LATIN CAPITAL LETTER P + 0x51: [717,17,883,54,885], // LATIN CAPITAL LETTER Q + 0x52: [717,17,850,-3,887], // LATIN CAPITAL LETTER R + 0x53: [708,36,868,29,1016], // LATIN CAPITAL LETTER S + 0x54: [735,37,747,92,996], // LATIN CAPITAL LETTER T + 0x55: [717,17,800,55,960], // LATIN CAPITAL LETTER U + 0x56: [717,17,622,56,850], // LATIN CAPITAL LETTER V + 0x57: [718,17,805,46,1026], // LATIN CAPITAL LETTER W + 0x58: [718,17,944,103,1132], // LATIN CAPITAL LETTER X + 0x59: [716,17,710,57,959], // LATIN CAPITAL LETTER Y + 0x5A: [718,16,821,82,1033] // LATIN CAPITAL LETTER Z + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Script/Regular/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js new file mode 100644 index 0000000..dd3958b --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js @@ -0,0 +1,63 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'] = { + directory: 'Script/Regular', + family: 'MathJax_Script', + testString: "MATHJAX SCRIPT", + skew: { + 0x41: 0.389, + 0x42: 0.194, + 0x43: 0.278, + 0x44: 0.111, + 0x45: 0.139, + 0x46: 0.222, + 0x47: 0.25, + 0x48: 0.333, + 0x49: 0.333, + 0x4A: 0.417, + 0x4B: 0.361, + 0x4C: 0.306, + 0x4D: 0.444, + 0x4E: 0.389, + 0x4F: 0.167, + 0x50: 0.222, + 0x51: 0.278, + 0x52: 0.194, + 0x53: 0.333, + 0x54: 0.222, + 0x55: 0.25, + 0x56: 0.222, + 0x57: 0.25, + 0x58: 0.278, + 0x59: 0.194, + 0x5A: 0.306 + }, + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xFFFF,"Other"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Script"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Script/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js new file mode 100644 index 0000000..635c3b4 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js @@ -0,0 +1,28 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Script'], + { + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Script/Regular/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js new file mode 100644 index 0000000..45c619c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js @@ -0,0 +1,75 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size1'] = { + directory: 'Size1/Regular', + family: 'MathJax_Size1', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [850,349,458,152,422], // LEFT PARENTHESIS + 0x29: [851,349,458,35,305], // RIGHT PARENTHESIS + 0x2F: [850,349,578,55,522], // SOLIDUS + 0x5B: [850,349,417,202,394], // LEFT SQUARE BRACKET + 0x5C: [850,349,578,54,522], // REVERSE SOLIDUS + 0x5D: [850,349,417,22,214], // RIGHT SQUARE BRACKET + 0x7B: [850,349,583,104,477], // LEFT CURLY BRACKET + 0x7D: [851,349,583,104,477], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [744,-551,556,-8,564], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [722,-597,556,1,554], // SMALL TILDE + 0x302: [744,-551,0,-564,8], // COMBINING CIRCUMFLEX ACCENT + 0x303: [722,-597,0,-555,-2], // COMBINING TILDE + 0x2016: [602,0,778,257,521], // DOUBLE VERTICAL LINE + 0x2191: [600,0,667,112,555], // UPWARDS ARROW + 0x2193: [600,0,667,112,555], // DOWNWARDS ARROW + 0x21D1: [599,0,778,57,721], // UPWARDS DOUBLE ARROW + 0x21D3: [600,-1,778,57,721], // DOWNWARDS DOUBLE ARROW + 0x220F: [750,250,944,55,888], // N-ARY PRODUCT + 0x2210: [750,250,944,55,888], // N-ARY COPRODUCT + 0x2211: [751,250,1056,56,999], // N-ARY SUMMATION + 0x221A: [850,350,1000,111,1020], // SQUARE ROOT + 0x2223: [627,15,333,145,188], // DIVIDES + 0x2225: [627,15,556,145,410], // PARALLEL TO + 0x222B: [805,306,472,55,610], // INTEGRAL + 0x222C: [805,306,819,55,957], // DOUBLE INTEGRAL + 0x222D: [805,306,1166,55,1304], // TRIPLE INTEGRAL + 0x222E: [805,306,472,55,610], // CONTOUR INTEGRAL + 0x22C0: [750,249,833,55,777], // N-ARY LOGICAL AND + 0x22C1: [750,249,833,55,777], // N-ARY LOGICAL OR + 0x22C2: [750,249,833,54,777], // N-ARY INTERSECTION + 0x22C3: [750,250,833,55,777], // N-ARY UNION + 0x2308: [850,349,472,202,449], // LEFT CEILING + 0x2309: [850,349,472,22,269], // RIGHT CEILING + 0x230A: [850,349,472,202,449], // LEFT FLOOR + 0x230B: [850,349,472,22,269], // RIGHT FLOOR + 0x23D0: [602,0,667,312,355], // VERTICAL LINE EXTENSION (used to extend arrows) + 0x27E8: [850,350,472,97,394], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [850,350,472,77,374], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [750,250,1111,56,1054], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [750,250,1111,56,1054], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [750,250,1111,56,1054], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [750,250,833,55,777], // N-ARY UNION OPERATOR WITH PLUS + 0x2A06: [750,249,833,55,777] // N-ARY SQUARE UNION OPERATOR +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Size1"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Size1/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js new file mode 100644 index 0000000..19c93f9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js @@ -0,0 +1,67 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size2'] = { + directory: 'Size2/Regular', + family: 'MathJax_Size2', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1150,649,597,180,561], // LEFT PARENTHESIS + 0x29: [1151,649,597,35,416], // RIGHT PARENTHESIS + 0x2F: [1150,649,811,55,755], // SOLIDUS + 0x5B: [1150,649,472,224,455], // LEFT SQUARE BRACKET + 0x5C: [1150,649,811,54,754], // REVERSE SOLIDUS + 0x5D: [1150,649,472,16,247], // RIGHT SQUARE BRACKET + 0x7B: [1150,649,667,119,547], // LEFT CURLY BRACKET + 0x7D: [1151,649,667,119,547], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [772,-565,1000,-5,1004], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [750,-611,1000,0,999], // SMALL TILDE + 0x302: [772,-565,0,-1005,4], // COMBINING CIRCUMFLEX ACCENT + 0x303: [750,-611,0,-1000,-1], // COMBINING TILDE + 0x220F: [950,450,1278,56,1221], // N-ARY PRODUCT + 0x2210: [950,450,1278,56,1221], // N-ARY COPRODUCT + 0x2211: [950,450,1444,55,1388], // N-ARY SUMMATION + 0x221A: [1150,650,1000,111,1020], // SQUARE ROOT + 0x222B: [1360,862,556,55,944], // INTEGRAL + 0x222C: [1361,862,1084,55,1473], // DOUBLE INTEGRAL + 0x222D: [1361,862,1592,55,1981], // TRIPLE INTEGRAL + 0x222E: [1360,862,556,55,944], // CONTOUR INTEGRAL + 0x22C0: [950,450,1111,55,1055], // N-ARY LOGICAL AND + 0x22C1: [950,450,1111,55,1055], // N-ARY LOGICAL OR + 0x22C2: [949,450,1111,55,1055], // N-ARY INTERSECTION + 0x22C3: [950,449,1111,55,1055], // N-ARY UNION + 0x2308: [1150,649,528,224,511], // LEFT CEILING + 0x2309: [1150,649,528,16,303], // RIGHT CEILING + 0x230A: [1150,649,528,224,511], // LEFT FLOOR + 0x230B: [1150,649,528,16,303], // RIGHT FLOOR + 0x27E8: [1150,649,611,112,524], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1150,649,611,85,498], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [949,449,1511,56,1454], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [949,449,1511,56,1454], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [950,449,1111,55,1055], // N-ARY UNION OPERATOR WITH PLUS + 0x2A06: [950,450,1111,55,1055] // N-ARY SQUARE UNION OPERATOR +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Size2"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Size2/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js new file mode 100644 index 0000000..eb0b67c --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js @@ -0,0 +1,51 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size3'] = { + directory: 'Size3/Regular', + family: 'MathJax_Size3', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1450,949,736,209,701], // LEFT PARENTHESIS + 0x29: [1451,949,736,34,526], // RIGHT PARENTHESIS + 0x2F: [1450,949,1044,55,989], // SOLIDUS + 0x5B: [1450,949,528,247,516], // LEFT SQUARE BRACKET + 0x5C: [1450,949,1044,56,988], // REVERSE SOLIDUS + 0x5D: [1450,949,528,11,280], // RIGHT SQUARE BRACKET + 0x7B: [1450,949,750,130,618], // LEFT CURLY BRACKET + 0x7D: [1451,949,750,131,618], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [772,-564,1444,-4,1447], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [749,-610,1444,1,1442], // SMALL TILDE + 0x302: [772,-564,0,-1448,3], // COMBINING CIRCUMFLEX ACCENT + 0x303: [749,-610,0,-1443,-2], // COMBINING TILDE + 0x221A: [1450,951,1000,111,1020], // SQUARE ROOT + 0x2308: [1450,949,583,246,571], // LEFT CEILING + 0x2309: [1450,949,583,11,336], // RIGHT CEILING + 0x230A: [1450,949,583,246,571], // LEFT FLOOR + 0x230B: [1450,949,583,11,336], // RIGHT FLOOR + 0x27E8: [1450,950,750,126,654], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1450,950,750,94,623] // MATHEMATICAL RIGHT ANGLE BRACKET +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Size3"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Size3/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js new file mode 100644 index 0000000..d43ac4a --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js @@ -0,0 +1,78 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Size4'] = { + directory: 'Size4/Regular', + family: 'MathJax_Size4', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1750,1249,792,237,758], // LEFT PARENTHESIS + 0x29: [1751,1250,792,33,554], // RIGHT PARENTHESIS + 0x2F: [1750,1249,1278,56,1221], // SOLIDUS + 0x5B: [1750,1249,583,269,577], // LEFT SQUARE BRACKET + 0x5C: [1750,1249,1278,56,1221], // REVERSE SOLIDUS + 0x5D: [1750,1249,583,5,313], // RIGHT SQUARE BRACKET + 0x7B: [1750,1249,806,144,662], // LEFT CURLY BRACKET + 0x7D: [1751,1249,806,144,662], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [845,-561,1889,-14,1902], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [823,-583,1889,1,1885], // SMALL TILDE + 0x302: [845,-561,0,-1903,13], // COMBINING CIRCUMFLEX ACCENT + 0x303: [823,-583,0,-1888,-4], // COMBINING TILDE + 0x221A: [1750,1251,1000,111,1020], // SQUARE ROOT + 0x2308: [1750,1249,639,269,633], // LEFT CEILING + 0x2309: [1750,1249,639,5,369], // RIGHT CEILING + 0x230A: [1750,1249,639,269,633], // LEFT FLOOR + 0x230B: [1750,1249,639,5,369], // RIGHT FLOOR + 0x239B: [1155,655,875,290,843], // LEFT PARENTHESIS UPPER HOOK + 0x239C: [610,10,875,291,417], // LEFT PARENTHESIS EXTENSION + 0x239D: [1165,644,875,291,843], // LEFT PARENTHESIS LOWER HOOK + 0x239E: [1155,655,875,31,583], // RIGHT PARENTHESIS UPPER HOOK + 0x239F: [610,10,875,457,583], // RIGHT PARENTHESIS EXTENSION + 0x23A0: [1165,645,875,31,583], // RIGHT PARENTHESIS LOWER HOOK + 0x23A1: [1154,645,667,319,666], // LEFT SQUARE BRACKET UPPER CORNER + 0x23A2: [602,0,667,319,403], // LEFT SQUARE BRACKET EXTENSION + 0x23A3: [1155,644,667,319,666], // LEFT SQUARE BRACKET LOWER CORNER + 0x23A4: [1154,645,667,0,347], // RIGHT SQUARE BRACKET UPPER CORNER + 0x23A5: [602,0,667,263,347], // RIGHT SQUARE BRACKET EXTENSION + 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER + 0x23A7: [899,10,889,383,719], // LEFT CURLY BRACKET UPPER HOOK + 0x23A8: [1160,660,889,170,505], // LEFT CURLY BRACKET MIDDLE PIECE + 0x23A9: [10,899,889,384,718], // LEFT CURLY BRACKET LOWER HOOK + 0x23AA: [310,10,889,383,504], // CURLY BRACKET EXTENSION + 0x23AB: [900,11,889,170,504], // RIGHT CURLY BRACKET UPPER HOOK + 0x23AC: [1160,660,889,384,718], // RIGHT CURLY BRACKET MIDDLE PIECE + 0x23AD: [10,899,889,170,505], // RIGHT CURLY BRACKET LOWER HOOK + 0x23B7: [935,885,1056,111,742], // RADICAL SYMBOL BOTTOM + 0x27E8: [1750,1249,806,140,703], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1751,1249,806,103,665], // MATHEMATICAL RIGHT ANGLE BRACKET + 0xE000: [625,15,1056,702,742], // MJ-TeX: radical symbol vertical extender + 0xE001: [605,15,1056,702,1076], // MJ-TeX: radical symbol top corner piece + 0xE150: [120,213,450,-24,461], // MJ-TeX: horizontal brace, down left piece + 0xE151: [120,214,450,-11,475], // MJ-TeX: horizontal brace, down right piece + 0xE152: [333,0,450,-24,461], // MJ-TeX: horizontal brace, upper left piece + 0xE153: [333,0,450,-11,475], // MJ-TeX: horizontal brace, upper right piece + 0xE154: [120,0,400,-10,410] // MJ-TeX: horizontal brace, extender +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Size4"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Size4/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js new file mode 100644 index 0000000..a40c3d9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js @@ -0,0 +1,123 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], + { + 0x20: [0,0,250,0,0], // SPACE + 0x21: [622,0,525,206,320], // EXCLAMATION MARK + 0x22: [623,-333,525,122,402], // QUOTATION MARK + 0x23: [612,0,525,36,490], // NUMBER SIGN + 0x24: [695,83,525,58,467], // DOLLAR SIGN + 0x25: [694,83,525,35,489], // PERCENT SIGN + 0x26: [622,11,525,28,490], // AMPERSAND + 0x27: [611,-287,525,175,349], // APOSTROPHE + 0x28: [695,83,525,166,437], // LEFT PARENTHESIS + 0x29: [694,82,525,87,358], // RIGHT PARENTHESIS + 0x2A: [520,-90,525,68,456], // ASTERISK + 0x2B: [531,-81,525,38,487], // PLUS SIGN + 0x2C: [140,139,525,173,353], // COMMA + 0x2D: [341,-271,525,56,468], // HYPHEN-MINUS + 0x2E: [140,-1,525,193,332], // FULL STOP + 0x2F: [694,83,525,58,466], // SOLIDUS + 0x30: [621,10,525,42,482], // DIGIT ZERO + 0x31: [622,0,525,98,450], // DIGIT ONE + 0x32: [623,-1,525,52,473], // DIGIT TWO + 0x33: [622,12,525,44,479], // DIGIT THREE + 0x34: [624,-1,525,28,496], // DIGIT FOUR + 0x35: [611,10,525,52,472], // DIGIT FIVE + 0x36: [622,11,525,45,480], // DIGIT SIX + 0x37: [628,10,525,43,480], // DIGIT SEVEN + 0x38: [621,10,525,45,479], // DIGIT EIGHT + 0x39: [622,11,525,45,479], // DIGIT NINE + 0x3A: [431,-1,525,193,332], // COLON + 0x3B: [431,139,525,175,337], // SEMICOLON + 0x3C: [557,-55,525,57,468], // LESS-THAN SIGN + 0x3D: [417,-195,525,37,487], // EQUALS SIGN + 0x3E: [557,-55,525,57,468], // GREATER-THAN SIGN + 0x3F: [617,0,525,62,462], // QUESTION MARK + 0x40: [617,6,525,44,481], // COMMERCIAL AT + 0x41: [624,0,525,27,497], // LATIN CAPITAL LETTER A + 0x42: [611,-1,525,16,482], // LATIN CAPITAL LETTER B + 0x43: [622,11,525,40,485], // LATIN CAPITAL LETTER C + 0x44: [612,-1,525,15,485], // LATIN CAPITAL LETTER D + 0x45: [611,-1,525,18,503], // LATIN CAPITAL LETTER E + 0x46: [611,-1,525,21,491], // LATIN CAPITAL LETTER F + 0x47: [622,11,525,38,497], // LATIN CAPITAL LETTER G + 0x48: [612,-1,525,16,508], // LATIN CAPITAL LETTER H + 0x49: [611,-1,525,71,453], // LATIN CAPITAL LETTER I + 0x4A: [611,11,525,56,479], // LATIN CAPITAL LETTER J + 0x4B: [612,-1,525,18,496], // LATIN CAPITAL LETTER K + 0x4C: [612,1,525,25,489], // LATIN CAPITAL LETTER L + 0x4D: [612,0,525,11,513], // LATIN CAPITAL LETTER M + 0x4E: [612,1,525,20,504], // LATIN CAPITAL LETTER N + 0x4F: [621,11,525,56,468], // LATIN CAPITAL LETTER O + 0x50: [612,-1,525,18,481], // LATIN CAPITAL LETTER P + 0x51: [621,138,525,56,468], // LATIN CAPITAL LETTER Q + 0x52: [612,11,525,16,522], // LATIN CAPITAL LETTER R + 0x53: [622,12,525,51,472], // LATIN CAPITAL LETTER S + 0x54: [611,-1,525,26,499], // LATIN CAPITAL LETTER T + 0x55: [611,11,525,-4,528], // LATIN CAPITAL LETTER U + 0x56: [611,8,525,18,506], // LATIN CAPITAL LETTER V + 0x57: [612,8,525,11,513], // LATIN CAPITAL LETTER W + 0x58: [612,-1,525,27,496], // LATIN CAPITAL LETTER X + 0x59: [612,-1,525,19,505], // LATIN CAPITAL LETTER Y + 0x5A: [611,-1,525,47,482], // LATIN CAPITAL LETTER Z + 0x5B: [695,82,525,213,484], // LEFT SQUARE BRACKET + 0x5C: [694,83,525,58,466], // REVERSE SOLIDUS + 0x5D: [696,82,525,41,310], // RIGHT SQUARE BRACKET + 0x5E: [612,-459,525,95,428], // CIRCUMFLEX ACCENT + 0x5F: [-25,95,525,56,468], // LOW LINE + 0x60: [681,-357,525,176,350], // GRAVE ACCENT + 0x61: [439,6,525,48,525], // LATIN SMALL LETTER A + 0x62: [612,6,525,4,492], // LATIN SMALL LETTER B + 0x63: [441,6,525,66,466], // LATIN SMALL LETTER C + 0x64: [612,6,525,31,520], // LATIN SMALL LETTER D + 0x65: [440,6,525,48,464], // LATIN SMALL LETTER E + 0x66: [617,-1,525,34,437], // LATIN SMALL LETTER F + 0x67: [442,229,525,28,509], // LATIN SMALL LETTER G + 0x68: [612,-1,525,4,520], // LATIN SMALL LETTER H + 0x69: [612,-1,525,71,463], // LATIN SMALL LETTER I + 0x6A: [612,228,525,48,377], // LATIN SMALL LETTER J + 0x6B: [612,0,525,12,508], // LATIN SMALL LETTER K + 0x6C: [611,-1,525,50,475], // LATIN SMALL LETTER L + 0x6D: [437,0,525,-13,536], // LATIN SMALL LETTER M + 0x6E: [437,-1,525,4,520], // LATIN SMALL LETTER N + 0x6F: [440,6,525,52,472], // LATIN SMALL LETTER O + 0x70: [437,221,525,4,492], // LATIN SMALL LETTER P + 0x71: [438,222,525,34,546], // LATIN SMALL LETTER Q + 0x72: [437,0,525,24,487], // LATIN SMALL LETTER R + 0x73: [440,6,525,71,458], // LATIN SMALL LETTER S + 0x74: [555,6,525,25,448], // LATIN SMALL LETTER T + 0x75: [432,5,525,4,520], // LATIN SMALL LETTER U + 0x76: [432,5,525,24,500], // LATIN SMALL LETTER V + 0x77: [432,5,525,15,509], // LATIN SMALL LETTER W + 0x78: [432,-1,525,28,496], // LATIN SMALL LETTER X + 0x79: [432,228,525,25,500], // LATIN SMALL LETTER Y + 0x7A: [431,-1,525,33,476], // LATIN SMALL LETTER Z + 0x7B: [694,84,525,49,475], // LEFT CURLY BRACKET + 0x7C: [694,82,525,228,297], // VERTICAL LINE + 0x7D: [695,83,525,49,476], // RIGHT CURLY BRACKET + 0x7E: [611,-466,525,87,437], // TILDE + 0x7F: [612,-518,525,104,421] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/BasicLatin.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js new file mode 100644 index 0000000..c061c98 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], + { + 0x300: [611,-485,0,-409,-195], // COMBINING GRAVE ACCENT + 0x301: [611,-485,0,-331,-117], // COMBINING ACUTE ACCENT + 0x302: [612,-459,0,-430,-97], // COMBINING CIRCUMFLEX ACCENT + 0x303: [611,-466,0,-438,-88], // COMBINING TILDE + 0x304: [578,-500,0,-453,-74], // COMBINING MACRON + 0x306: [612,-503,0,-446,-78], // COMBINING BREVE + 0x308: [612,-518,0,-421,-104], // COMBINING DIAERESIS + 0x30A: [619,-499,0,-344,-182], // COMBINING RING ABOVE + 0x30C: [577,-449,0,-428,-99] // COMBINING CARON + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/CombDiacritMarks.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js new file mode 100644 index 0000000..1a44593 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js @@ -0,0 +1,36 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'] = { + directory: 'Typewriter/Regular', + family: 'MathJax_Typewriter', + testString: "MathJax Typewriter", + Ranges: [ + [0x0,0x7F,"BasicLatin"], + [0x80,0xFFFF,"Other"], + [0x300,0x36F,"CombDiacritMarks"] + ] + +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_Typewriter"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Typewriter/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js new file mode 100644 index 0000000..8bb97c9 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js @@ -0,0 +1,44 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Typewriter'], + { + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x131: [432,-1,525,71,463], // LATIN SMALL LETTER DOTLESS I + 0x237: [432,228,525,48,377], // LATIN SMALL LETTER DOTLESS J + 0x393: [612,1,525,25,489], // GREEK CAPITAL LETTER GAMMA + 0x394: [623,0,525,35,489], // GREEK CAPITAL LETTER DELTA + 0x398: [621,11,525,56,468], // GREEK CAPITAL LETTER THETA + 0x39B: [623,-1,525,29,496], // GREEK CAPITAL LETTER LAMDA + 0x39E: [611,-1,525,32,492], // GREEK CAPITAL LETTER XI + 0x3A0: [611,-1,525,16,508], // GREEK CAPITAL LETTER PI + 0x3A3: [612,-1,525,40,485], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [623,-1,525,38,487], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [611,-1,525,41,483], // GREEK CAPITAL LETTER PHI + 0x3A8: [611,-1,525,36,487], // GREEK CAPITAL LETTER PSI + 0x3A9: [622,0,525,31,493], // GREEK CAPITAL LETTER OMEGA + 0x7E2: [611,-287,525,175,349], // ?? + 0x7E3: [681,-357,525,176,350], // ?? + 0x2032: [623,-334,525,211,313] // PRIME + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Typewriter/Regular/Other.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js new file mode 100644 index 0000000..7e548bb --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js @@ -0,0 +1,44 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinChrome'] = { + directory: 'WinChrome/Regular', + family: 'MathJax_WinChrome', + testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00), + skew: { + 0x54: 0.0278, + 0xE2F0: 0.0319 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN + 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T + 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x22C3: [750,250,833,55,777], // N-ARY UNION + 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER + 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR + 0xE2F0: [720,69,644,38,947], // ?? + 0xE2F1: [587,85,894,95,797] // ?? +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_WinChrome"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/WinChrome/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js new file mode 100644 index 0000000..fc57212 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js @@ -0,0 +1,56 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'], + { + 0xE2C0: [438,-63,500,57,417], // ?? + 0xE2C1: [438,-63,500,64,422], // ?? + 0xE2C2: [430,23,222,91,131], // ?? + 0xE2C3: [431,23,389,55,331], // ?? + 0xE2C4: [365,-132,778,55,719], // ?? + 0xE2C5: [753,175,778,83,694], // ?? + 0xE2C6: [753,175,778,82,694], // ?? + 0xE2C7: [708,209,778,82,693], // ?? + 0xE2C8: [708,209,778,82,694], // ?? + 0xE2CA: [694,-306,500,54,444], // ?? + 0xE2CB: [695,-306,500,55,444], // ?? + 0xE2CC: [367,23,500,54,444], // ?? + 0xE2CD: [366,22,500,55,445], // ?? + 0xE2CE: [694,195,889,0,860], // ?? + 0xE2CF: [694,195,889,0,860], // ?? + 0xE2D0: [689,0,778,55,722], // ?? + 0xE2D1: [689,0,778,55,722], // ?? + 0xE2D2: [575,20,722,84,637], // ?? + 0xE2D3: [575,20,722,84,637], // ?? + 0xE2D4: [539,41,778,83,694], // ?? + 0xE2D5: [576,20,722,84,638], // ?? + 0xE2D6: [576,20,722,84,638], // ?? + 0xE2D7: [539,41,778,83,694], // ?? + 0xE2D8: [716,132,667,56,612], // ?? + 0xE2D9: [471,82,667,24,643], // ?? + 0xE2DA: [471,82,667,23,643], // ?? + 0xE2DB: [601,101,778,15,762], // ?? + 0xE2DC: [695,111,944,49,896], // ?? + 0xE2DD: [367,-133,778,56,722] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinIE6/Regular/AMS.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js new file mode 100644 index 0000000..fc40d96 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js @@ -0,0 +1,82 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.Hub.Insert( + MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'], + { + 0xE240: [519,18,1150,64,1085], // ?? + 0xE241: [694,193,575,13,562], // ?? + 0xE242: [519,18,1150,65,1085], // ?? + 0xE243: [694,194,575,13,562], // ?? + 0xE244: [519,18,1150,64,1085], // ?? + 0xE245: [767,267,575,13,562], // ?? + 0xE246: [724,195,1150,64,1084], // ?? + 0xE247: [724,193,1150,64,1086], // ?? + 0xE248: [695,224,1150,65,1085], // ?? + 0xE249: [694,224,1150,64,1085], // ?? + 0xE24A: [548,47,1150,64,1084], // ?? + 0xE24B: [548,46,1150,47,1102], // ?? + 0xE24C: [694,16,639,0,640], // ?? + 0xE24D: [710,17,628,60,657], // ?? + 0xE24E: [694,-1,639,64,574], // ?? + 0xE24F: [686,24,958,56,901], // ?? + 0xE250: [587,86,767,97,670], // ?? + 0xE251: [588,86,767,95,670], // ?? + 0xE252: [750,250,575,63,511], // ?? + 0xE253: [820,180,958,78,989], // ?? + 0xE254: [451,8,894,65,831], // ?? + 0xE255: [452,8,1150,65,1084], // ?? + 0xE256: [715,0,722,55,676], // ?? + 0xE257: [750,249,319,129,190], // ?? + 0xE258: [750,248,575,145,430], // ?? + 0xE259: [604,17,767,64,702], // ?? + 0xE25A: [604,17,767,64,702], // ?? + 0xE25B: [603,16,767,64,702], // ?? + 0xE25C: [604,16,767,64,702], // ?? + 0xE25D: [711,211,569,64,632], // ?? + 0xE25E: [391,-109,894,64,828], // ?? + 0xE25F: [524,-32,894,64,829], // ?? + 0xE260: [712,210,894,64,830], // ?? + 0xE261: [505,3,894,64,829], // ?? + 0xE262: [697,199,894,96,797], // ?? + 0xE263: [697,199,894,96,797], // ?? + 0xE264: [618,117,1150,64,1085], // ?? + 0xE265: [619,116,1150,64,1085], // ?? + 0xE266: [587,85,894,96,797], // ?? + 0xE267: [587,86,894,96,797], // ?? + 0xE268: [697,199,894,96,797], // ?? + 0xE269: [697,199,894,96,797], // ?? + 0xE26A: [632,132,894,64,828], // ?? + 0xE26B: [632,132,894,64,828], // ?? + 0xE26C: [693,-1,894,64,829], // ?? + 0xE26D: [711,-1,1022,68,953], // ?? + 0xE26E: [500,210,1022,68,953], // ?? + 0xE26F: [711,211,1150,65,1084], // ?? + 0xE270: [720,130,894,63,829], // ?? + 0xE271: [711,24,894,65,828], // ?? + 0xE272: [719,154,894,64,828], // ?? + 0xE273: [720,130,894,32,861], // ?? + 0xE274: [750,17,447,63,382], // ?? + 0xE275: [741,223,447,56,390], // ?? + 0xE276: [724,224,447,63,383] // ?? + } +); + +MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/WinIE6/Regular/Bold.js"); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js new file mode 100644 index 0000000..5799e68 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js @@ -0,0 +1,112 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js + * + * Copyright (c) 2009-2010 Design Science, Inc. + * + * 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.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_WinIE6'] = { + directory: 'WinIE6/Regular', + family: 'MathJax_WinIE6', + testString: String.fromCharCode(0xE247)+" "+String.fromCharCode(0xE257)+" "+String.fromCharCode(0xE2CF), + skew: { + 0xE20D: 0.0833, + 0xE24D: 0.0958 + }, + Ranges: [ + [0xE240,0xE27F,"Bold"], + [0xE2C0,0xE2DF,"AMS"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xE200: [511,12,1000,54,944], // ?? + 0xE201: [694,194,500,17,483], // ?? + 0xE202: [512,11,1000,55,945], // ?? + 0xE203: [694,194,500,17,483], // ?? + 0xE204: [511,11,1000,55,945], // ?? + 0xE205: [772,272,500,17,483], // ?? + 0xE206: [720,196,1000,29,944], // ?? + 0xE207: [720,195,1000,55,970], // ?? + 0xE208: [695,220,1000,55,970], // ?? + 0xE209: [695,220,1000,29,944], // ?? + 0xE20A: [525,25,1000,55,944], // ?? + 0xE20B: [525,25,1000,34,966], // ?? + 0xE20C: [694,22,556,0,556], // ?? + 0xE20D: [715,22,531,41,566], // ?? + 0xE20E: [694,0,556,55,500], // ?? + 0xE20F: [683,33,833,46,786], // ?? + 0xE210: [541,41,667,84,584], // ?? + 0xE211: [541,40,667,83,582], // ?? + 0xE212: [751,250,500,56,445], // ?? + 0xE213: [800,200,833,72,853], // ?? + 0xE214: [442,11,778,56,722], // ?? + 0xE215: [442,11,1000,55,944], // ?? + 0xE216: [694,0,722,55,666], // ?? + 0xE217: [750,250,278,119,159], // ?? + 0xE218: [750,250,500,132,367], // ?? + 0xE219: [598,22,667,55,611], // ?? + 0xE21A: [598,22,667,55,611], // ?? + 0xE21B: [598,22,667,55,611], // ?? + 0xE21C: [599,22,667,55,611], // ?? + 0xE21D: [716,216,417,55,472], // ?? + 0xE21E: [367,-133,778,55,722], // ?? + 0xE21F: [483,-55,778,55,722], // ?? + 0xE220: [716,215,778,55,722], // ?? + 0xE221: [464,-36,778,55,722], // ?? + 0xE222: [636,138,778,83,694], // ?? + 0xE223: [636,138,778,82,694], // ?? + 0xE224: [568,68,1000,56,944], // ?? + 0xE225: [567,67,1000,55,945], // ?? + 0xE226: [540,41,778,84,695], // ?? + 0xE227: [541,40,778,82,693], // ?? + 0xE228: [636,139,778,84,695], // ?? + 0xE229: [637,138,778,83,693], // ?? + 0xE22A: [583,83,778,56,722], // ?? + 0xE22B: [583,83,778,56,722], // ?? + 0xE22C: [668,0,778,55,723], // ?? + 0xE22D: [716,0,889,59,828], // ?? + 0xE22E: [500,215,889,59,828], // ?? + 0xE22F: [715,215,1000,56,944], // ?? + 0xE230: [727,131,778,55,723], // ?? + 0xE231: [716,33,778,55,723], // ?? + 0xE232: [727,163,778,55,723], // ?? + 0xE233: [726,131,778,28,750], // ?? + 0xE234: [751,22,389,54,333], // ?? + 0xE235: [734,223,389,65,324], // ?? + 0xE236: [723,223,389,54,334], // ?? + 0xE280: [0,1000,944,55,888], // ?? + 0xE281: [1,1000,1056,56,999], // ?? + 0xE282: [40,1160,1000,111,1020], // ?? + 0xE283: [21,621,333,145,188], // ?? + 0xE284: [21,621,556,145,410], // ?? + 0xE285: [0,1111,472,55,610], // ?? + 0xE286: [0,1111,472,55,610], // ?? + 0xE287: [0,600,667,112,555], // ?? + 0xE288: [0,600,667,112,555], // ?? + 0xE289: [1,601,667,312,355], // ?? + 0xE290: [0,1400,1278,56,1221], // ?? + 0xE291: [0,1400,1444,55,1388], // ?? + 0xE292: [40,1760,1000,111,1020], // ?? + 0xE295: [0,2222,556,55,944], // ?? + 0xE296: [0,2222,556,55,944], // ?? + 0xE2A2: [40,2361,1000,111,1020], // ?? + 0xE2B2: [40,2961,1000,111,1020] // ?? +}; + +MathJax.Callback.Queue( + ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_WinIE6"], + ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/WinIE6/Regular/Main.js"] +); diff --git a/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js new file mode 100644 index 0000000..c822e05 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js @@ -0,0 +1,1767 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/fonts/TeX/fontdata.js + * + * Initializes the HTML-CSS OutputJax to use the MathJax TeX fonts + * for displaying mathematics. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + +(function (HTMLCSS,MML,AJAX) { + var VERSION = "1.1.1"; + + var MAIN = "MathJax_Main", + BOLD = "MathJax_Main-bold", + ITALIC = "MathJax_Math-italic", + AMS = "MathJax_AMS", + SIZE1 = "MathJax_Size1", + SIZE2 = "MathJax_Size2", + SIZE3 = "MathJax_Size3", + SIZE4 = "MathJax_Size4"; + var H = "H", V = "V"; + + HTMLCSS.Augment({ + FONTDATA: { + version: VERSION, + + TeX_factor: 1, // TeX em's to font em's + baselineskip: 1.2, + lineH: .8, lineD: .2, + + hasStyleChar: true, // char 0xEFFD encodes font style + + FONTS: { + "MathJax_Main": "Main/Regular/Main.js", + "MathJax_Main-bold": "Main/Bold/Main.js", + "MathJax_Main-italic": "Main/Italic/Main.js", + "MathJax_Math-italic": "Math/Italic/Main.js", + "MathJax_Math-bold-italic": "Math/BoldItalic/Main.js", + "MathJax_Caligraphic": "Caligraphic/Regular/Main.js", + "MathJax_Size1": "Size1/Regular/Main.js", + "MathJax_Size2": "Size2/Regular/Main.js", + "MathJax_Size3": "Size3/Regular/Main.js", + "MathJax_Size4": "Size4/Regular/Main.js", + "MathJax_AMS": "AMS/Regular/Main.js", + "MathJax_Fraktur": "Fraktur/Regular/Main.js", + "MathJax_Fraktur-bold": "Fraktur/Bold/Main.js", + "MathJax_SansSerif": "SansSerif/Regular/Main.js", + "MathJax_SansSerif-bold": "SansSerif/Bold/Main.js", + "MathJax_SansSerif-italic": "SansSerif/Italic/Main.js", + "MathJax_Script": "Script/Regular/Main.js", + "MathJax_Typewriter": "Typewriter/Regular/Main.js" + }, + + VARIANT: { + "normal": {fonts:[MAIN,SIZE1,AMS], + offsetG: 0x03B1, variantG: "italic", + remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48, + 0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F, + 0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58}}, + "bold": {fonts:[BOLD,SIZE1,AMS], bold:true, + offsetG: 0x03B1, variantG: "bold-italic", + remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48, + 0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F, + 0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58}}, + "italic": {fonts:[ITALIC,"MathJax_Main-italic",MAIN,SIZE1,AMS], italic:true, + remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48, + 0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F, + 0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58}}, + "bold-italic": {fonts:["MathJax_Math-bold-italic",BOLD,SIZE1,AMS], bold:true, italic:true, + remap: {0x391:0x41, 0x392:0x42, 0x395:0x45, 0x396:0x5A, 0x397:0x48, + 0x399:0x49, 0x39A:0x4B, 0x39C:0x4D, 0x39D:0x4E, 0x39F:0x4F, + 0x3A1:0x50, 0x3A4:0x54, 0x3A7:0x58}}, + "double-struck": {fonts:[AMS, MAIN]}, + "fraktur": {fonts:["MathJax_Fraktur",MAIN,SIZE1,AMS]}, + "bold-fraktur": {fonts:["MathJax_Fraktur-bold",BOLD,SIZE1,AMS], bold:true}, + "script": {fonts:["MathJax_Script",MAIN,SIZE1,AMS]}, + "bold-script": {fonts:["MathJax_Script",BOLD,SIZE1,AMS], bold:true}, + "sans-serif": {fonts:["MathJax_SansSerif",MAIN,SIZE1,AMS]}, + "bold-sans-serif": {fonts:["MathJax_SansSerif-bold",BOLD,SIZE1,AMS], bold:true}, + "sans-serif-italic": {fonts:["MathJax_SansSerif-italic","MathJax_Main-italic",SIZE1,AMS], italic:true}, + "sans-serif-bold-italic": {fonts:["MathJax_SansSerif-italic","MathJax_Main-italic",SIZE1,AMS], bold:true, italic:true}, + "monospace": {fonts:["MathJax_Typewriter",MAIN,SIZE1,AMS]}, + "-tex-caligraphic": {fonts:["MathJax_Caligraphic",MAIN], offsetA: 0x41, variantA: "italic"}, + "-tex-oldstyle": {fonts:["MathJax_Caligraphic",MAIN]}, + "-largeOp": {fonts:[SIZE2,SIZE1,MAIN]}, + "-smallOp": {fonts:[SIZE1,MAIN]} + }, + + RANGES: [ + {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 32}, + {name: "number", low: 0x30, high: 0x39, offset: "N"}, + {name: "greek", low: 0x03B1, high: 0x03F6, offset: "G"} + ], + + RULECHAR: 0x2212, + + REMAP: { + 0x203E: 0x2C9, // overline + 0x20D0: 0x21BC, 0x20D1: 0x21C0, // combining left and right harpoons + 0x20D6: 0x2190, 0x20E1: 0x2194, // combining left arrow and lef-right arrow + 0x20EC: 0x21C1, 0x20ED: 0x21BD, // combining low right and left harpoons + 0x20EE: 0x2190, 0x20EF: 0x2192, // combining low left and right arrows + 0x20F0: 0x2A, // combining asterisk + 0xFE37: 0x23DE, 0xFE38: 0x23DF, // OverBrace, UnderBrace + + 0xB7: 0x22C5, // center dot + 0x2B9: 0x2032, // prime, + 0x3D2: 0x3A5, // Upsilon + 0x2015: 0x2014, 0x2017: 0x5F, // horizontal bars + 0x2022: 0x2219, 0x2044: 0x2F, // bullet, fraction slash + 0x2305: 0x22BC, 0x2306: 0x2A5E, // barwedge, doublebarwedge + 0x25AA: 0x25A0, 0x25B4: 0x25B2, // blacksquare, blacktriangle + 0x25B5: 0x25B3, 0x25BE: 0x25BC, // triangle, blacktriangledown + 0x25BF: 0x25BD, 0x25C2: 0x25C0, // triangledown, blacktriangleleft + 0x2329: 0x27E8, 0x232A: 0x27E9, // langle, rangle + 0x3008: 0x27E8, 0x3009: 0x27E9, // langle, rangle + 0x2758: 0x2223, // VerticalSeparator + 0x2A2F: 0xD7 // cross product + }, + + PLANE1MAP: [ + [0x1D400,0x1D419, 0x41, MML.VARIANT.BOLD], + [0x1D41A,0x1D433, 0x61, MML.VARIANT.BOLD], + [0x1D434,0x1D44D, 0x41, MML.VARIANT.ITALIC], + [0x1D44E,0x1D467, 0x61, MML.VARIANT.ITALIC], + [0x1D468,0x1D481, 0x41, MML.VARIANT.BOLDITALIC], + [0x1D482,0x1D49B, 0x61, MML.VARIANT.BOLDITALIC], + [0x1D49C,0x1D4B5, 0x41, MML.VARIANT.SCRIPT], +// [0x1D4B6,0x1D4CF, 0x61, MML.VARIANT.SCRIPT], +// [0x1D4D0,0x1D4E9, 0x41, MML.VARIANT.BOLDSCRIPT], +// [0x1D4EA,0x1D503, 0x61, MML.VARIANT.BOLDSCRIPT], + [0x1D504,0x1D51D, 0x41, MML.VARIANT.FRAKTUR], + [0x1D51E,0x1D537, 0x61, MML.VARIANT.FRAKTUR], + [0x1D538,0x1D551, 0x41, MML.VARIANT.DOUBLESTRUCK], +// [0x1D552,0x1D56B, 0x61, MML.VARIANT.DOUBLESTRUCK], + [0x1D56C,0x1D585, 0x41, MML.VARIANT.BOLDFRAKTUR], + [0x1D586,0x1D59F, 0x61, MML.VARIANT.BOLDFRAKTUR], + [0x1D5A0,0x1D5B9, 0x41, MML.VARIANT.SANSSERIF], + [0x1D5BA,0x1D5D3, 0x61, MML.VARIANT.SANSSERIF], + [0x1D5D4,0x1D5ED, 0x41, MML.VARIANT.BOLDSANSSERIF], + [0x1D5EE,0x1D607, 0x61, MML.VARIANT.BOLDSANSSERIF], + [0x1D608,0x1D621, 0x41, MML.VARIANT.SANSSERIFITALIC], + [0x1D622,0x1D63B, 0x61, MML.VARIANT.SANSSERIFITALIC], +// [0x1D63C,0x1D655, 0x41, MML.VARIANT.SANSSERIFBOLDITALIC], +// [0x1D656,0x1D66F, 0x61, MML.VARIANT.SANSSERIFBOLDITALIC], + [0x1D670,0x1D689, 0x41, MML.VARIANT.MONOSPACE], + [0x1D68A,0x1D6A3, 0x61, MML.VARIANT.MONOSPACE], + + [0x1D6A8,0x1D6C1, 0x391, MML.VARIANT.BOLD], +// [0x1D6C2,0x1D6E1, 0x3B1, MML.VARIANT.BOLD], + [0x1D6E2,0x1D6FA, 0x391, MML.VARIANT.ITALIC], + [0x1D6FC,0x1D71B, 0x3B1, MML.VARIANT.ITALIC], + [0x1D71C,0x1D734, 0x391, MML.VARIANT.BOLDITALIC], + [0x1D736,0x1D755, 0x3B1, MML.VARIANT.BOLDITALIC], + [0x1D756,0x1D76E, 0x391, MML.VARIANT.BOLDSANSSERIF], +// [0x1D770,0x1D78F, 0x3B1, MML.VARIANT.BOLDSANSSERIF], + [0x1D790,0x1D7A8, 0x391, MML.VARIANT.SANSSERIFBOLDITALIC], +// [0x1D7AA,0x1D7C9, 0x3B1, MML.VARIANT.SANSSERIFBOLDITALIC], + + [0x1D7CE,0x1D7D7, 0x30, MML.VARIANT.BOLD], +// [0x1D7D8,0x1D7E1, 0x30, MML.VARIANT.DOUBLESTRUCK], + [0x1D7E2,0x1D7EB, 0x30, MML.VARIANT.SANSSERIF], + [0x1D7EC,0x1D7F5, 0x30, MML.VARIANT.BOLDSANSSERIF], + [0x1D7F6,0x1D7FF, 0x30, MML.VARIANT.MONOSPACE] + ], + + REMAPGREEK: { + 0x391: 0x41, 0x392: 0x42, 0x395: 0x45, 0x396: 0x5A, + 0x397: 0x48, 0x399: 0x49, 0x39A: 0x4B, 0x39C: 0x4D, + 0x39D: 0x4E, 0x39F: 0x4F, 0x3A1: 0x50, 0x3A2: 0x398, + 0x3A4: 0x54, 0x3A7: 0x58, 0x3AA: 0x2207, + 0x3CA: 0x2202, 0x3CB: 0x3F5, 0x3CC: 0x3D1, 0x3CD: 0x3F0, + 0x3CE: 0x3D5, 0x3CF: 0x3F1, 0x3D0: 0x3D6 + }, + + RemapPlane1: function (n,variant) { + for (var i = 0, m = this.PLANE1MAP.length; i < m; i++) { + if (n < this.PLANE1MAP[i][0]) break; + if (n <= this.PLANE1MAP[i][1]) { + n = n - this.PLANE1MAP[i][0] + this.PLANE1MAP[i][2]; + if (this.REMAPGREEK[n]) {n = this.REMAPGREEK[n]} + variant = this.VARIANT[this.PLANE1MAP[i][3]]; + break; + } + } + return {n: n, variant: variant}; + }, + + DELIMITERS: { + 0x0028: // ( + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top: [0x239B,SIZE4], ext: [0x239C,SIZE4], bot: [0x239D,SIZE4]} + }, + 0x0029: // ) + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x239E,SIZE4], ext:[0x239F,SIZE4], bot:[0x23A0,SIZE4]} + }, + 0x002F: // / + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] + }, + 0x005B: // [ + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x23A1,SIZE4], ext:[0x23A2,SIZE4], bot:[0x23A3,SIZE4]} + }, + 0x005C: // \ + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] + }, + 0x005D: // ] + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x23A4,SIZE4], ext:[0x23A5,SIZE4], bot:[0x23A6,SIZE4]} + }, + 0x007B: // { + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x23A7,SIZE4], mid:[0x23A8,SIZE4], bot:[0x23A9,SIZE4], ext:[0x23AA,SIZE4]} + }, + 0x007C: // | + { + dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2223,MAIN]} + }, + 0x007D: // } + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top: [0x23AB,SIZE4], mid:[0x23AC,SIZE4], bot: [0x23AD,SIZE4], ext: [0x23AA,SIZE4]} + }, + 0x02C6: // wide hat + { + dir: H, HW: [[.267+.05,MAIN],[.567+.05,SIZE1],[1.005+.05,SIZE2],[1.447+.1,SIZE3],[1.909+.1,SIZE4]] + }, + 0x02DC: // wide tilde + { + dir: H, HW: [[.333,MAIN],[.555+.05,SIZE1],[1+.05,SIZE2],[1.443+.1,SIZE3],[1.887+.1,SIZE4]] + }, + 0x2016: // vertical arrow extension + { + dir: V, HW: [[.602,SIZE1],[1,MAIN,null,0x2225]], stretch: {ext:[0x2225,MAIN]} + }, + 0x2190: // left arrow + { + dir: H, HW: [[1,MAIN]], stretch: {left:[0x2190,MAIN],rep:[0x2212,MAIN]} + }, + 0x2191: // \uparrow + { + dir: V, HW: [[.888,MAIN]], stretch: {top:[0x2191,SIZE1], ext:[0x23D0,SIZE1]} + }, + 0x2192: // right arrow + { + dir: H, HW: [[1,MAIN]], stretch: {rep:[0x2212,MAIN], right:[0x2192,MAIN]} + }, + 0x2193: // \downarrow + { + dir: V, HW: [[.888,MAIN]], stretch: {ext:[0x23D0,SIZE1], bot:[0x2193,SIZE1]} + }, + 0x2194: // left-right arrow + { + dir: H, HW: [[1,MAIN]], + stretch: {left:[0x2190,MAIN],rep:[0x2212,MAIN], right:[0x2192,MAIN]} + }, + 0x2195: // \updownarrow + { + dir: V, HW: [[1.044,MAIN]], + stretch: {top:[0x2191,SIZE1], ext:[0x23D0,SIZE1], bot:[0x2193,SIZE1]} + }, + 0x21D0: // left double arrow + { + dir: H, HW: [[1,MAIN]], stretch: {left:[0x21D0,MAIN],rep:[0x3D,MAIN]} + }, + 0x21D1: // \Uparrow + { + dir: V, HW: [[.888,MAIN]], stretch: {top:[0x21D1,SIZE1], ext:[0x2016,SIZE1]} + }, + 0x21D2: // right double arrow + { + dir: H, HW: [[1,MAIN]], stretch: {rep:[0x3D,MAIN], right:[0x21D2,MAIN]} + }, + 0x21D3: // \Downarrow + { + dir: V, HW: [[.888,MAIN]], stretch: {ext:[0x2016,SIZE1], bot:[0x21D3,SIZE1]} + }, + 0x21D4: // left-right double arrow + { + dir: H, HW: [[1,MAIN]], + stretch: {left:[0x21D0,MAIN],rep:[0x3D,MAIN], right:[0x21D2,MAIN]} + }, + 0x21D5: // \Updownarrow + { + dir: V, HW: [[1.044,MAIN]], + stretch: {top:[0x21D1,SIZE1], ext:[0x2016,SIZE1], bot:[0x21D3,SIZE1]} + }, + 0x2212: // horizontal line + { + dir: H, HW: [[.611,MAIN]], stretch: {rep:[0x2212,MAIN]} + }, + 0x221A: // \surd + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3,SIZE4]], + stretch: {top:[0xE001,SIZE4], ext:[0xE000,SIZE4], bot:[0x23B7,SIZE4], fullExtenders:true} + }, + 0x2223: // \vert + { + dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2223,MAIN]} + }, + 0x2225: // \Vert + { + dir: V, HW: [[1,MAIN]], stretch: {ext:[0x2225,MAIN]} + }, + 0x2308: // \lceil + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x23A1,SIZE4], ext:[0x23A2,SIZE4]} + }, + 0x2309: // \rceil + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {top:[0x23A4,SIZE4], ext:[0x23A5,SIZE4]} + }, + 0x230A: // \lfloor + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {ext:[0x23A2,SIZE4], bot:[0x23A3,SIZE4]} + }, + 0x230B: // \rfloor + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]], + stretch: {ext:[0x23A5,SIZE4], bot:[0x23A6,SIZE4]} + }, + 0x23AA: // \bracevert + { + dir: V, HW: [[.32,SIZE4]], + stretch: {top:[0x23AA,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AA,SIZE4]} + }, + 0x23B0: // \lmoustache + { + dir: V, HW: [[.989,MAIN]], + stretch: {top:[0x23A7,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AD,SIZE4]} + }, + 0x23B1: // \rmoustache + { + dir: V, HW: [[.989,MAIN]], + stretch: {top:[0x23AB,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23A9,SIZE4]} + }, + 0x23D0: // vertical line extension + { + dir: V, HW: [[.602,SIZE1],[1,MAIN,null,0x2223]], stretch: {ext:[0x2223,MAIN]} + }, + 0x23DE: // horizontal brace down + { + dir: H, HW: [], + stretch: {left:[0xE150,SIZE4], mid:[[0xE153,0xE152],SIZE4], right:[0xE151,SIZE4], rep:[0xE154,SIZE4]} + }, + 0x23DF: // horizontal brace up + { + dir: H, HW: [], + stretch: {left:[0xE152,SIZE4], mid:[[0xE151,0xE150],SIZE4], right:[0xE153,SIZE4], rep:[0xE154,SIZE4]} + }, + 0x27E8: // \langle + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] + }, + 0x27E9: // \rangle + { + dir: V, HW: [[1,MAIN],[1.2,SIZE1],[1.8,SIZE2],[2.4,SIZE3],[3.0,SIZE4]] + }, + 0x27EE: // \lgroup + { + dir: V, HW: [[.989,MAIN]], + stretch: {top:[0x23A7,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23A9,SIZE4]} + }, + 0x27EF: // \rgroup + { + dir: V, HW: [[.989,MAIN]], + stretch: {top:[0x23AB,SIZE4], ext:[0x23AA,SIZE4], bot:[0x23AD,SIZE4]} + }, + 0x002D: {alias: 0x2212, dir:H}, // minus + 0x005E: {alias: 0x02C6, dir:H}, // wide hat + 0x005F: {alias: 0x2212, dir:H}, // low line + 0x007E: {alias: 0x02DC, dir:H}, // wide tilde + 0x00AF: {alias: 0x2212, dir:H}, // over line + 0x0332: {alias: 0x2212, dir:H}, // combining low line + 0x2015: {alias: 0x2212, dir:H}, // horizontal line + 0x2017: {alias: 0x2212, dir:H}, // horizontal line + 0x203E: {alias: 0x2212, dir:H}, // over line + 0x2329: {alias: 0x27E8, dir:V}, // langle + 0x232A: {alias: 0x27E9, dir:V}, // rangle + 0x23AF: {alias: 0x2212, dir:H}, // horizontal line extension + 0x2500: {alias: 0x2212, dir:H}, // horizontal line + 0x2758: {alias: 0x2223, dir:V}, // vertical separator + 0x3008: {alias: 0x27E8, dir:V}, // langle + 0x3009: {alias: 0x27E9, dir:V}, // rangle + 0xFE37: {alias: 0x23DE, dir:H}, // horizontal brace down + 0xFE38: {alias: 0x23DF, dir:H} // horizontal brace up + } + } + }); + + // + // Handle error with reversed glyphs for \bigcap and \bigcup in version 1 of fonts + // + HTMLCSS.Font.oldLoadComplete = HTMLCSS.Font.loadComplete; + HTMLCSS.Font.loadComplete = function (font,n,done,status) { + if (n != null) {this.oldLoadComplete(font,n,done,status)} + if (font.family === SIZE1 || font.family === SIZE2) { + if (font.version === 1) { + HTMLCSS.FONTDATA.VARIANT["-largeOp"].remap = {0x22C2: 0x22C3, 0x22C3: 0x22C2}; + HTMLCSS.FONTDATA.VARIANT["-smallOp"].remap = {0x22C2: 0x22C3, 0x22C3: 0x22C2}; + } + } + }; + + MathJax.Hub.Register.StartupHook("TeX Jax Ready", function () { + var TEX = MathJax.InputJax.TeX; + TEX.Definitions.mathchar0mi.ell = ['2113',{mathvariant: MML.VARIANT.NORMAL}]; + TEX.Definitions.mathchar0mi.hbar = ['210F',{mathvariant: MML.VARIANT.NORMAL}]; + TEX.Definitions.mathchar0mi.S = ['00A7',{mathvariant: MML.VARIANT.SCRIPT}]; + if (MathJax.Hub.Browser.isOpera) { + TEX.Definitions.macros.not = ['Macro','\\mathrel{\\rlap{\\hphantom{\\mathrel{\\subset}}\\notChar}}']; + } else { + TEX.Definitions.mathchar0mo.notChar = ['002F',{mathvariant: MML.VARIANT.ITALIC}]; + TEX.Definitions.macros.not = ['Macro','\\mathrel{\\rlap{\\notChar}}']; + } + }); + + HTMLCSS.FONTDATA.FONTS['MathJax_Caligraphic'] = { + directory: 'Caligraphic/Regular', + family: 'MathJax_Caligraphic', + testString: "MATHJAX CALIGRAPHIC", + skew: { + 0x41: 0.194, + 0x42: 0.139, + 0x43: 0.139, + 0x44: 0.0833, + 0x45: 0.111, + 0x46: 0.111, + 0x47: 0.111, + 0x48: 0.111, + 0x49: 0.0278, + 0x4A: 0.167, + 0x4B: 0.0556, + 0x4C: 0.139, + 0x4D: 0.139, + 0x4E: 0.0833, + 0x4F: 0.111, + 0x50: 0.0833, + 0x51: 0.111, + 0x52: 0.0833, + 0x53: 0.139, + 0x54: 0.0278, + 0x55: 0.0833, + 0x56: 0.0278, + 0x57: 0.0833, + 0x58: 0.139, + 0x59: 0.0833, + 0x5A: 0.139 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x30: [452,22,500,39,460], // DIGIT ZERO + 0x31: [454,0,500,86,426], // DIGIT ONE + 0x32: [453,0,500,44,449], // DIGIT TWO + 0x33: [452,216,500,41,456], // DIGIT THREE + 0x34: [464,194,500,27,471], // DIGIT FOUR + 0x35: [453,217,500,50,448], // DIGIT FIVE + 0x36: [666,22,500,42,456], // DIGIT SIX + 0x37: [463,216,500,54,485], // DIGIT SEVEN + 0x38: [666,21,500,43,457], // DIGIT EIGHT + 0x39: [453,216,500,42,457], // DIGIT NINE + 0x41: [728,50,798,30,819], // LATIN CAPITAL LETTER A + 0x42: [705,22,657,31,664], // LATIN CAPITAL LETTER B + 0x43: [705,25,527,12,533], // LATIN CAPITAL LETTER C + 0x44: [684,1,771,19,767], // LATIN CAPITAL LETTER D + 0x45: [706,22,528,30,565], // LATIN CAPITAL LETTER E + 0x46: [683,32,719,18,829], // LATIN CAPITAL LETTER F + 0x47: [704,119,595,43,599], // LATIN CAPITAL LETTER G + 0x48: [683,48,845,18,803], // LATIN CAPITAL LETTER H + 0x49: [683,1,545,-31,642], // LATIN CAPITAL LETTER I + 0x4A: [683,119,678,47,839], // LATIN CAPITAL LETTER J + 0x4B: [705,23,762,32,733], // LATIN CAPITAL LETTER K + 0x4C: [706,22,690,32,656], // LATIN CAPITAL LETTER L + 0x4D: [705,50,1201,28,1137], // LATIN CAPITAL LETTER M + 0x4E: [790,50,820,-27,979], // LATIN CAPITAL LETTER N + 0x4F: [705,22,796,58,777], // LATIN CAPITAL LETTER O + 0x50: [684,57,696,19,733], // LATIN CAPITAL LETTER P + 0x51: [706,131,817,114,787], // LATIN CAPITAL LETTER Q + 0x52: [683,22,848,19,837], // LATIN CAPITAL LETTER R + 0x53: [705,23,606,17,642], // LATIN CAPITAL LETTER S + 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T + 0x55: [684,28,626,-17,687], // LATIN CAPITAL LETTER U + 0x56: [683,52,613,25,658], // LATIN CAPITAL LETTER V + 0x57: [683,53,988,25,1034], // LATIN CAPITAL LETTER W + 0x58: [684,1,713,52,807], // LATIN CAPITAL LETTER X + 0x59: [683,143,668,31,714], // LATIN CAPITAL LETTER Y + 0x5A: [683,0,725,37,767], // LATIN CAPITAL LETTER Z + 0xA0: [0,0,250,0,0] // NO-BREAK SPACE + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Main-bold'] = { + directory: 'Main/Bold', + family: 'MathJax_Main', + weight: 'bold', + testString: "MathJax Main", + skew: { + 0x131: 0.0319, + 0x237: 0.0958, + 0x210F: -0.0319, + 0x2113: 0.128, + 0x2202: 0.0958 + }, + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x100,0x17F,"LatinExtendedA"], + [0x180,0x24F,"LatinExtendedB"], + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x20D0,0x20FF,"CombDiactForSymbols"], + [0x2100,0x214F,"LetterlikeSymbols"], + [0x2190,0x21FF,"Arrows"], + [0x2200,0x22FF,"MathOperators"], + [0x2300,0x23FF,"MiscTechnical"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"], + [0x27C0,0x27EF,"MiscMathSymbolsA"], + [0x27F0,0x27FF,"SupplementalArrowsA"], + [0x2A00,0x2AFF,"SuppMathOperators"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [705,-1,350,89,260], // EXCLAMATION MARK + 0x22: [694,-329,603,38,492], // QUOTATION MARK + 0x23: [694,193,958,64,893], // NUMBER SIGN + 0x24: [750,56,575,64,510], // DOLLAR SIGN + 0x25: [750,56,958,65,893], // PERCENT SIGN + 0x26: [705,11,894,48,836], // AMPERSAND + 0x27: [694,-329,319,74,261], // APOSTROPHE + 0x28: [751,250,447,103,382], // LEFT PARENTHESIS + 0x29: [750,249,447,64,343], // RIGHT PARENTHESIS + 0x2A: [750,-306,575,73,501], // ASTERISK + 0x2B: [633,131,894,64,829], // PLUS SIGN + 0x2C: [171,194,319,74,258], // COMMA + 0x2D: [278,-166,383,13,318], // HYPHEN-MINUS + 0x2E: [171,-1,319,74,245], // FULL STOP + 0x2F: [750,250,575,63,511], // SOLIDUS + 0x30: [655,10,575,45,529], // DIGIT ZERO + 0x31: [655,0,575,80,494], // DIGIT ONE + 0x32: [654,0,575,57,517], // DIGIT TWO + 0x33: [655,12,575,47,526], // DIGIT THREE + 0x34: [657,0,575,32,542], // DIGIT FOUR + 0x35: [655,11,575,57,517], // DIGIT FIVE + 0x36: [655,11,575,48,527], // DIGIT SIX + 0x37: [676,11,575,64,559], // DIGIT SEVEN + 0x38: [654,11,575,48,526], // DIGIT EIGHT + 0x39: [654,11,575,48,526], // DIGIT NINE + 0x3A: [444,-1,319,74,245], // COLON + 0x3B: [444,194,319,74,248], // SEMICOLON + 0x3C: [587,85,894,96,797], // LESS-THAN SIGN + 0x3D: [393,-109,894,64,829], // EQUALS SIGN + 0x3E: [587,85,894,95,797], // GREATER-THAN SIGN + 0x3F: [700,-1,543,65,478], // QUESTION MARK + 0x40: [700,6,894,64,829], // COMMERCIAL AT + 0x41: [698,0,869,40,828], // LATIN CAPITAL LETTER A + 0x42: [687,0,818,39,753], // LATIN CAPITAL LETTER B + 0x43: [697,11,831,64,767], // LATIN CAPITAL LETTER C + 0x44: [687,0,882,39,817], // LATIN CAPITAL LETTER D + 0x45: [681,0,756,38,723], // LATIN CAPITAL LETTER E + 0x46: [680,0,724,39,675], // LATIN CAPITAL LETTER F + 0x47: [697,10,904,64,845], // LATIN CAPITAL LETTER G + 0x48: [686,0,900,39,860], // LATIN CAPITAL LETTER H + 0x49: [686,0,436,25,410], // LATIN CAPITAL LETTER I + 0x4A: [686,11,594,8,527], // LATIN CAPITAL LETTER J + 0x4B: [686,0,901,39,852], // LATIN CAPITAL LETTER K + 0x4C: [686,0,692,39,643], // LATIN CAPITAL LETTER L + 0x4D: [687,0,1092,39,1052], // LATIN CAPITAL LETTER M + 0x4E: [687,1,900,39,861], // LATIN CAPITAL LETTER N + 0x4F: [696,10,864,64,798], // LATIN CAPITAL LETTER O + 0x50: [686,0,786,39,721], // LATIN CAPITAL LETTER P + 0x51: [697,193,864,64,806], // LATIN CAPITAL LETTER Q + 0x52: [687,11,862,39,858], // LATIN CAPITAL LETTER R + 0x53: [697,11,639,63,575], // LATIN CAPITAL LETTER S + 0x54: [675,0,800,41,758], // LATIN CAPITAL LETTER T + 0x55: [686,12,885,39,845], // LATIN CAPITAL LETTER U + 0x56: [686,7,869,25,843], // LATIN CAPITAL LETTER V + 0x57: [686,8,1189,24,1164], // LATIN CAPITAL LETTER W + 0x58: [686,0,869,33,835], // LATIN CAPITAL LETTER X + 0x59: [686,0,869,19,849], // LATIN CAPITAL LETTER Y + 0x5A: [687,0,703,64,645], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,319,128,293], // LEFT SQUARE BRACKET + 0x5C: [750,250,575,63,511], // REVERSE SOLIDUS + 0x5D: [750,250,319,25,190], // RIGHT SQUARE BRACKET + 0x5E: [694,-520,575,126,448], // CIRCUMFLEX ACCENT + 0x5F: [-10,61,575,0,574], // LOW LINE + 0x60: [706,-503,575,114,338], // GRAVE ACCENT + 0x61: [453,6,559,32,558], // LATIN SMALL LETTER A + 0x62: [694,7,639,29,601], // LATIN SMALL LETTER B + 0x63: [453,6,511,39,478], // LATIN SMALL LETTER C + 0x64: [695,6,639,38,609], // LATIN SMALL LETTER D + 0x65: [453,6,527,32,494], // LATIN SMALL LETTER E + 0x66: [700,0,351,40,452], // LATIN SMALL LETTER F + 0x67: [455,201,575,30,558], // LATIN SMALL LETTER G + 0x68: [694,0,639,37,623], // LATIN SMALL LETTER H + 0x69: [695,0,319,40,294], // LATIN SMALL LETTER I + 0x6A: [695,200,351,-71,274], // LATIN SMALL LETTER J + 0x6B: [694,0,607,29,587], // LATIN SMALL LETTER K + 0x6C: [694,0,319,40,301], // LATIN SMALL LETTER L + 0x6D: [451,0,958,37,942], // LATIN SMALL LETTER M + 0x6E: [450,0,639,37,623], // LATIN SMALL LETTER N + 0x6F: [452,5,575,32,542], // LATIN SMALL LETTER O + 0x70: [450,194,639,28,600], // LATIN SMALL LETTER P + 0x71: [450,194,607,38,609], // LATIN SMALL LETTER Q + 0x72: [450,0,474,29,442], // LATIN SMALL LETTER R + 0x73: [453,7,454,37,415], // LATIN SMALL LETTER S + 0x74: [636,6,447,21,382], // LATIN SMALL LETTER T + 0x75: [450,6,639,37,623], // LATIN SMALL LETTER U + 0x76: [444,4,607,26,580], // LATIN SMALL LETTER V + 0x77: [444,5,831,25,805], // LATIN SMALL LETTER W + 0x78: [444,0,607,21,586], // LATIN SMALL LETTER X + 0x79: [444,200,607,23,580], // LATIN SMALL LETTER Y + 0x7A: [445,0,511,31,462], // LATIN SMALL LETTER Z + 0x7B: [751,251,575,69,504], // LEFT CURLY BRACKET + 0x7C: [750,249,319,129,190], // VERTICAL LINE + 0x7D: [751,251,575,70,504], // RIGHT CURLY BRACKET + 0x7E: [344,-201,575,96,478], // TILDE + 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA + 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA + 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA + 0x39B: [699,0,806,40,765], // GREEK CAPITAL LETTER LAMDA + 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,831,63,766], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI + 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI + 0x3A9: [696,1,831,51,780] // GREEK CAPITAL LETTER OMEGA + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Main-italic'] = { + directory: 'Main/Italic', + family: 'MathJax_Main', + style: 'italic', + testString: "MathJax Main", + Ranges: [ + [0xA0,0xFF,"Latin1Supplement"], + [0x300,0x36F,"CombDiacritMarks"], + [0x2000,0x206F,"GeneralPunctuation"], + [0x2100,0x214F,"LetterlikeSymbols"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [716,0,307,107,380], // EXCLAMATION MARK + 0x22: [694,-379,514,176,538], // QUOTATION MARK + 0x23: [694,194,818,115,828], // NUMBER SIGN + 0x25: [751,56,818,144,848], // PERCENT SIGN + 0x26: [716,22,767,127,802], // AMPERSAND + 0x27: [694,-379,307,213,377], // APOSTROPHE + 0x28: [750,250,409,144,517], // LEFT PARENTHESIS + 0x29: [750,250,409,17,390], // RIGHT PARENTHESIS + 0x2A: [751,-320,511,195,584], // ASTERISK + 0x2B: [558,57,767,139,753], // PLUS SIGN + 0x2C: [121,194,307,69,233], // COMMA + 0x2D: [251,-179,358,84,341], // HYPHEN-MINUS + 0x2E: [121,0,307,107,231], // FULL STOP + 0x2F: [750,250,511,19,617], // SOLIDUS + 0x30: [665,21,511,110,562], // DIGIT ZERO + 0x31: [666,0,511,110,468], // DIGIT ONE + 0x32: [666,22,511,76,551], // DIGIT TWO + 0x33: [667,22,511,96,563], // DIGIT THREE + 0x34: [666,194,511,46,479], // DIGIT FOUR + 0x35: [666,22,511,106,567], // DIGIT FIVE + 0x36: [665,22,511,120,566], // DIGIT SIX + 0x37: [666,22,511,136,634], // DIGIT SEVEN + 0x38: [666,21,511,99,553], // DIGIT EIGHT + 0x39: [666,22,511,107,553], // DIGIT NINE + 0x3A: [431,0,307,107,308], // COLON + 0x3B: [431,194,307,70,308], // SEMICOLON + 0x3D: [367,-133,767,116,776], // EQUALS SIGN + 0x3F: [717,0,511,195,551], // QUESTION MARK + 0x40: [705,11,767,152,789], // COMMERCIAL AT + 0x41: [716,1,743,58,696], // LATIN CAPITAL LETTER A + 0x42: [683,1,704,57,732], // LATIN CAPITAL LETTER B + 0x43: [705,21,716,150,812], // LATIN CAPITAL LETTER C + 0x44: [683,1,755,56,775], // LATIN CAPITAL LETTER D + 0x45: [681,0,678,54,743], // LATIN CAPITAL LETTER E + 0x46: [681,0,653,54,731], // LATIN CAPITAL LETTER F + 0x47: [705,22,774,149,812], // LATIN CAPITAL LETTER G + 0x48: [683,0,743,54,860], // LATIN CAPITAL LETTER H + 0x49: [683,0,386,49,508], // LATIN CAPITAL LETTER I + 0x4A: [683,21,525,78,622], // LATIN CAPITAL LETTER J + 0x4B: [683,0,769,54,859], // LATIN CAPITAL LETTER K + 0x4C: [683,0,627,54,628], // LATIN CAPITAL LETTER L + 0x4D: [684,0,897,58,1010], // LATIN CAPITAL LETTER M + 0x4E: [684,0,743,54,860], // LATIN CAPITAL LETTER N + 0x4F: [704,22,767,149,788], // LATIN CAPITAL LETTER O + 0x50: [684,0,678,55,729], // LATIN CAPITAL LETTER P + 0x51: [704,194,767,149,788], // LATIN CAPITAL LETTER Q + 0x52: [683,22,729,55,723], // LATIN CAPITAL LETTER R + 0x53: [706,22,562,74,634], // LATIN CAPITAL LETTER S + 0x54: [678,0,716,171,807], // LATIN CAPITAL LETTER T + 0x55: [684,22,743,194,860], // LATIN CAPITAL LETTER U + 0x56: [683,22,743,205,868], // LATIN CAPITAL LETTER V + 0x57: [683,22,999,205,1124], // LATIN CAPITAL LETTER W + 0x58: [684,0,743,50,826], // LATIN CAPITAL LETTER X + 0x59: [684,0,743,198,875], // LATIN CAPITAL LETTER Y + 0x5A: [683,1,613,80,705], // LATIN CAPITAL LETTER Z + 0x5B: [751,251,307,73,446], // LEFT SQUARE BRACKET + 0x5D: [751,251,307,-14,359], // RIGHT SQUARE BRACKET + 0x5E: [694,-527,511,260,528], // CIRCUMFLEX ACCENT + 0x5F: [-24,62,511,91,554], // LOW LINE + 0x61: [442,11,511,101,543], // LATIN SMALL LETTER A + 0x62: [694,11,460,108,467], // LATIN SMALL LETTER B + 0x63: [441,10,460,103,470], // LATIN SMALL LETTER C + 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D + 0x65: [442,10,460,107,470], // LATIN SMALL LETTER E + 0x66: [705,204,307,-23,450], // LATIN SMALL LETTER F + 0x67: [442,205,460,46,495], // LATIN SMALL LETTER G + 0x68: [695,11,511,69,544], // LATIN SMALL LETTER H + 0x69: [656,10,307,75,340], // LATIN SMALL LETTER I + 0x6A: [656,204,307,-32,364], // LATIN SMALL LETTER J + 0x6B: [694,11,460,69,499], // LATIN SMALL LETTER K + 0x6C: [694,11,256,87,312], // LATIN SMALL LETTER L + 0x6D: [443,11,818,75,851], // LATIN SMALL LETTER M + 0x6E: [443,11,562,75,595], // LATIN SMALL LETTER N + 0x6F: [442,11,511,103,517], // LATIN SMALL LETTER O + 0x70: [442,194,511,5,518], // LATIN SMALL LETTER P + 0x71: [442,195,460,100,504], // LATIN SMALL LETTER Q + 0x72: [442,11,422,75,484], // LATIN SMALL LETTER R + 0x73: [442,11,409,76,418], // LATIN SMALL LETTER S + 0x74: [627,11,332,87,373], // LATIN SMALL LETTER T + 0x75: [441,11,537,75,570], // LATIN SMALL LETTER U + 0x76: [443,10,460,75,492], // LATIN SMALL LETTER V + 0x77: [443,12,664,74,696], // LATIN SMALL LETTER W + 0x78: [442,11,464,58,513], // LATIN SMALL LETTER X + 0x79: [441,206,486,75,522], // LATIN SMALL LETTER Y + 0x7A: [442,11,409,54,466], // LATIN SMALL LETTER Z + 0x7E: [318,-208,511,246,571], // TILDE + 0xA3: [714,11,769,87,699], // POUND SIGN + 0x131: [441,10,307,75,340], // LATIN SMALL LETTER DOTLESS I + 0x237: [442,205,332,-32,327], // LATIN SMALL LETTER DOTLESS J + 0x393: [680,0,627,54,706], // GREEK CAPITAL LETTER GAMMA + 0x394: [717,1,818,70,751], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,767,149,788], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,692,58,646], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,1,664,74,754], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,743,54,859], // GREEK CAPITAL LETTER PI + 0x3A3: [683,1,716,80,782], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [706,0,767,213,833], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,1,716,158,728], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,767,207,824], // GREEK CAPITAL LETTER PSI + 0x3A9: [705,0,716,100,759] // GREEK CAPITAL LETTER OMEGA + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Main'] = { + directory: 'Main/Regular', + family: 'MathJax_Main', + testString: "MathJax Main", + skew: { + 0x131: 0.0278, + 0x237: 0.0833, + 0x2113: 0.111, + 0x2118: 0.111, + 0x2202: 0.0833 + }, + Ranges: [ + [0x2B0,0x2FF,"SpacingModLetters"], + [0x300,0x36F,"CombDiacritMarks"], + [0x25A0,0x25FF,"GeometricShapes"], + [0x2600,0x26FF,"MiscSymbols"] + ], + 0x20: [0,0,250,0,0], // SPACE + 0x21: [716,-1,278,78,199], // EXCLAMATION MARK + 0x22: [694,-379,500,34,372], // QUOTATION MARK + 0x23: [694,194,833,55,778], // NUMBER SIGN + 0x24: [750,56,500,54,444], // DOLLAR SIGN + 0x25: [750,56,833,56,776], // PERCENT SIGN + 0x26: [717,22,778,42,727], // AMPERSAND + 0x27: [694,-379,278,78,212], // APOSTROPHE + 0x28: [751,251,389,94,333], // LEFT PARENTHESIS + 0x29: [750,250,389,55,294], // RIGHT PARENTHESIS + 0x2A: [750,-319,500,64,435], // ASTERISK + 0x2B: [583,83,778,55,722], // PLUS SIGN + 0x2C: [121,194,278,78,210], // COMMA + 0x2D: [252,-179,333,11,277], // HYPHEN-MINUS + 0x2E: [120,0,278,78,199], // FULL STOP + 0x2F: [751,250,500,56,445], // SOLIDUS + 0x30: [666,22,500,39,460], // DIGIT ZERO + 0x31: [666,0,500,83,427], // DIGIT ONE + 0x32: [666,1,500,49,449], // DIGIT TWO + 0x33: [665,23,500,41,457], // DIGIT THREE + 0x34: [677,0,500,28,471], // DIGIT FOUR + 0x35: [666,22,500,49,449], // DIGIT FIVE + 0x36: [666,22,500,42,456], // DIGIT SIX + 0x37: [676,22,500,55,485], // DIGIT SEVEN + 0x38: [666,22,500,43,457], // DIGIT EIGHT + 0x39: [666,22,500,41,456], // DIGIT NINE + 0x3A: [430,0,278,78,199], // COLON + 0x3B: [430,194,278,78,202], // SEMICOLON + 0x3C: [540,40,778,83,694], // LESS-THAN SIGN + 0x3D: [367,-133,778,55,722], // EQUALS SIGN + 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN + 0x3F: [706,-1,472,55,416], // QUESTION MARK + 0x40: [705,11,778,56,722], // COMMERCIAL AT + 0x41: [717,0,750,32,717], // LATIN CAPITAL LETTER A + 0x42: [684,0,708,28,651], // LATIN CAPITAL LETTER B + 0x43: [706,21,722,56,666], // LATIN CAPITAL LETTER C + 0x44: [683,0,764,27,708], // LATIN CAPITAL LETTER D + 0x45: [680,0,681,24,652], // LATIN CAPITAL LETTER E + 0x46: [680,0,653,25,611], // LATIN CAPITAL LETTER F + 0x47: [706,22,785,56,735], // LATIN CAPITAL LETTER G + 0x48: [683,0,750,25,724], // LATIN CAPITAL LETTER H + 0x49: [683,0,361,21,339], // LATIN CAPITAL LETTER I + 0x4A: [683,22,514,25,465], // LATIN CAPITAL LETTER J + 0x4B: [683,0,778,24,736], // LATIN CAPITAL LETTER K + 0x4C: [683,0,625,25,582], // LATIN CAPITAL LETTER L + 0x4D: [683,0,917,29,887], // LATIN CAPITAL LETTER M + 0x4E: [683,0,750,25,724], // LATIN CAPITAL LETTER N + 0x4F: [705,22,778,56,722], // LATIN CAPITAL LETTER O + 0x50: [684,0,681,27,624], // LATIN CAPITAL LETTER P + 0x51: [705,193,778,56,728], // LATIN CAPITAL LETTER Q + 0x52: [684,22,736,27,732], // LATIN CAPITAL LETTER R + 0x53: [706,23,556,55,500], // LATIN CAPITAL LETTER S + 0x54: [677,0,722,36,685], // LATIN CAPITAL LETTER T + 0x55: [684,22,750,25,724], // LATIN CAPITAL LETTER U + 0x56: [683,23,750,19,730], // LATIN CAPITAL LETTER V + 0x57: [683,23,1028,18,1009], // LATIN CAPITAL LETTER W + 0x58: [683,1,750,23,727], // LATIN CAPITAL LETTER X + 0x59: [684,0,750,11,738], // LATIN CAPITAL LETTER Y + 0x5A: [683,1,611,55,560], // LATIN CAPITAL LETTER Z + 0x5B: [750,250,278,118,255], // LEFT SQUARE BRACKET + 0x5C: [750,250,500,56,444], // REVERSE SOLIDUS + 0x5D: [750,250,278,22,159], // RIGHT SQUARE BRACKET + 0x5E: [694,-531,500,112,387], // CIRCUMFLEX ACCENT + 0x5F: [-25,62,500,0,499], // LOW LINE + 0x60: [699,-505,500,106,295], // GRAVE ACCENT + 0x61: [448,11,500,34,493], // LATIN SMALL LETTER A + 0x62: [694,11,556,20,522], // LATIN SMALL LETTER B + 0x63: [448,11,444,34,415], // LATIN SMALL LETTER C + 0x64: [694,11,556,34,535], // LATIN SMALL LETTER D + 0x65: [448,11,444,28,415], // LATIN SMALL LETTER E + 0x66: [705,0,306,25,372], // LATIN SMALL LETTER F + 0x67: [453,206,500,29,485], // LATIN SMALL LETTER G + 0x68: [695,0,556,25,543], // LATIN SMALL LETTER H + 0x69: [669,0,278,26,255], // LATIN SMALL LETTER I + 0x6A: [669,205,306,-55,218], // LATIN SMALL LETTER J + 0x6B: [695,0,528,20,512], // LATIN SMALL LETTER K + 0x6C: [694,0,278,26,263], // LATIN SMALL LETTER L + 0x6D: [443,0,833,25,820], // LATIN SMALL LETTER M + 0x6E: [443,0,556,25,543], // LATIN SMALL LETTER N + 0x6F: [448,10,500,28,471], // LATIN SMALL LETTER O + 0x70: [443,194,556,20,522], // LATIN SMALL LETTER P + 0x71: [442,194,528,33,535], // LATIN SMALL LETTER Q + 0x72: [442,0,392,20,364], // LATIN SMALL LETTER R + 0x73: [449,12,394,32,359], // LATIN SMALL LETTER S + 0x74: [615,10,389,18,334], // LATIN SMALL LETTER T + 0x75: [442,11,556,25,542], // LATIN SMALL LETTER U + 0x76: [431,11,528,19,508], // LATIN SMALL LETTER V + 0x77: [432,12,722,18,704], // LATIN SMALL LETTER W + 0x78: [431,0,528,10,516], // LATIN SMALL LETTER X + 0x79: [431,204,528,19,508], // LATIN SMALL LETTER Y + 0x7A: [431,0,444,28,401], // LATIN SMALL LETTER Z + 0x7B: [750,250,500,64,434], // LEFT CURLY BRACKET + 0x7C: [750,250,278,119,159], // VERTICAL LINE + 0x7D: [750,250,500,64,435], // RIGHT CURLY BRACKET + 0x7E: [318,-215,500,83,416], // TILDE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0xA8: [669,-554,500,95,404], // DIAERESIS + 0xAC: [356,-89,667,55,611], // NOT SIGN + 0xAF: [590,-544,500,69,430], // MACRON + 0xB0: [715,-542,500,147,352], // DEGREE SIGN + 0xB1: [666,0,778,55,722], // PLUS-MINUS SIGN + 0xB4: [699,-505,500,203,393], // ACUTE ACCENT + 0xD7: [491,-9,778,147,631], // MULTIPLICATION SIGN + 0xF7: [537,36,778,55,721], // DIVISION SIGN + 0x131: [442,0,278,26,255], // LATIN SMALL LETTER DOTLESS I + 0x237: [442,205,306,-55,218], // LATIN SMALL LETTER DOTLESS J + 0x2C6: [694,-531,500,112,387], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2C7: [644,-513,500,114,385], // CARON + 0x2C9: [590,-544,500,69,430], // MODIFIER LETTER MACRON + 0x2CA: [699,-505,500,203,393], // MODIFIER LETTER ACUTE ACCENT + 0x2CB: [699,-505,500,106,295], // MODIFIER LETTER GRAVE ACCENT + 0x2D8: [694,-515,500,92,407], // BREVE + 0x2D9: [669,-549,500,190,309], // DOT ABOVE + 0x2DC: [668,-565,500,83,416], // SMALL TILDE + 0x393: [681,0,625,25,582], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA + 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,694,32,661], // GREEK CAPITAL LETTER LAMDA + 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI + 0x3A3: [683,1,722,55,666], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,778,54,722], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,1,722,44,677], // GREEK CAPITAL LETTER OMEGA + 0x2002: [0,0,500,0,0], // ?? + 0x2003: [0,0,999,0,0], // ?? + 0x2004: [0,0,333,0,0], // ?? + 0x2005: [0,0,250,0,0], // ?? + 0x2006: [0,0,167,0,0], // ?? + 0x2009: [0,0,167,0,0], // ?? + 0x200A: [0,0,83,0,0], // ?? + 0x2013: [285,-248,500,0,499], // EN DASH + 0x2014: [285,-248,1000,0,999], // EM DASH + 0x2018: [694,-379,278,64,198], // LEFT SINGLE QUOTATION MARK + 0x2019: [694,-379,278,78,212], // RIGHT SINGLE QUOTATION MARK + 0x201C: [694,-379,500,128,466], // LEFT DOUBLE QUOTATION MARK + 0x201D: [694,-379,500,34,372], // RIGHT DOUBLE QUOTATION MARK + 0x2020: [705,217,444,55,390], // DAGGER + 0x2021: [705,206,444,55,389], // DOUBLE DAGGER + 0x2026: [120,0,1172,78,1093], // HORIZONTAL ELLIPSIS + 0x2032: [560,-43,275,30,262], // PRIME + 0x20D7: [714,-516,0,-471,-29], // COMBINING RIGHT ARROW ABOVE + 0x210F: [695,13,540,42,562], // stix-/hbar - Planck's over 2pi + 0x2111: [705,11,722,54,693], // BLACK-LETTER CAPITAL I + 0x2113: [706,20,417,6,398], // SCRIPT SMALL L + 0x2118: [453,216,636,67,625], // SCRIPT CAPITAL P + 0x211C: [717,22,722,40,716], // BLACK-LETTER CAPITAL R + 0x2135: [694,1,611,54,556], // ALEF SYMBOL + 0x2190: [511,12,1000,54,944], // LEFTWARDS ARROW + 0x2191: [694,194,500,17,483], // UPWARDS ARROW + 0x2192: [512,11,1000,55,945], // RIGHTWARDS ARROW + 0x2193: [694,194,500,17,483], // DOWNWARDS ARROW + 0x2194: [511,11,1000,55,945], // LEFT RIGHT ARROW + 0x2195: [772,272,500,17,483], // UP DOWN ARROW + 0x2196: [720,196,1000,29,944], // NORTH WEST ARROW + 0x2197: [720,195,1000,55,970], // NORTH EAST ARROW + 0x2198: [695,220,1000,55,970], // SOUTH EAST ARROW + 0x2199: [695,220,1000,29,944], // SOUTH WEST ARROW + 0x21A6: [512,11,1000,54,945], // RIGHTWARDS ARROW FROM BAR + 0x21A9: [511,12,1126,54,1070], // LEFTWARDS ARROW WITH HOOK + 0x21AA: [512,11,1126,55,1071], // RIGHTWARDS ARROW WITH HOOK + 0x21BC: [511,-230,1000,55,944], // LEFTWARDS HARPOON WITH BARB UPWARDS + 0x21BD: [270,11,1000,55,944], // LEFTWARDS HARPOON WITH BARB DOWNWARDS + 0x21C0: [511,-230,1000,55,944], // RIGHTWARDS HARPOON WITH BARB UPWARDS + 0x21C1: [270,11,1000,55,945], // RIGHTWARDS HARPOON WITH BARB DOWNWARDS + 0x21CC: [671,11,1000,55,944], // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON + 0x21D0: [525,24,1000,55,944], // LEFTWARDS DOUBLE ARROW + 0x21D1: [694,194,611,31,579], // UPWARDS DOUBLE ARROW + 0x21D2: [525,25,1000,55,944], // RIGHTWARDS DOUBLE ARROW + 0x21D3: [694,194,611,31,579], // DOWNWARDS DOUBLE ARROW + 0x21D4: [525,25,1000,34,966], // LEFT RIGHT DOUBLE ARROW + 0x21D5: [772,272,611,31,580], // UP DOWN DOUBLE ARROW + 0x2200: [694,22,556,0,556], // FOR ALL + 0x2202: [715,22,531,41,566], // PARTIAL DIFFERENTIAL + 0x2203: [694,0,556,55,500], // THERE EXISTS + 0x2205: [772,78,500,39,460], // EMPTY SET + 0x2207: [683,33,833,46,786], // NABLA + 0x2208: [541,41,667,84,584], // ELEMENT OF + 0x2209: [716,215,667,84,584], // stix-negated (vert) set membership, variant + 0x220B: [541,40,667,83,582], // CONTAINS AS MEMBER + 0x2212: [270,-230,778,83,694], // MINUS SIGN + 0x2213: [500,167,778,55,722], // MINUS-OR-PLUS SIGN + 0x2215: [751,250,500,56,445], // DIVISION SLASH + 0x2216: [750,250,500,56,444], // SET MINUS + 0x2217: [465,-34,500,64,435], // ASTERISK OPERATOR + 0x2218: [444,-55,500,55,444], // RING OPERATOR + 0x2219: [444,-55,500,55,444], // BULLET OPERATOR + 0x221A: [800,200,833,72,853], // SQUARE ROOT + 0x221D: [442,11,778,56,722], // PROPORTIONAL TO + 0x221E: [442,11,1000,55,944], // INFINITY + 0x2220: [694,0,722,55,666], // ANGLE + 0x2223: [750,250,278,119,159], // DIVIDES + 0x2225: [750,250,500,132,367], // PARALLEL TO + 0x2227: [598,22,667,55,611], // LOGICAL AND + 0x2228: [598,22,667,55,611], // LOGICAL OR + 0x2229: [598,22,667,55,611], // stix-intersection, serifs + 0x222A: [599,22,667,55,611], // stix-union, serifs + 0x222B: [716,216,417,55,472], // INTEGRAL + 0x223C: [367,-133,778,55,722], // TILDE OPERATOR + 0x2240: [583,83,278,55,222], // WREATH PRODUCT + 0x2243: [464,-36,778,55,722], // ASYMPTOTICALLY EQUAL TO + 0x2245: [589,-22,1000,55,722], // APPROXIMATELY EQUAL TO + 0x2248: [483,-55,778,55,722], // ALMOST EQUAL TO + 0x224D: [484,-16,778,55,722], // EQUIVALENT TO + 0x2250: [670,-133,778,55,722], // APPROACHES THE LIMIT + 0x2260: [716,215,778,55,722], // stix-not (vert) equals + 0x2261: [464,-36,778,55,722], // IDENTICAL TO + 0x2264: [636,138,778,83,694], // LESS-THAN OR EQUAL TO + 0x2265: [636,138,778,82,694], // GREATER-THAN OR EQUAL TO + 0x226A: [568,68,1000,56,944], // MUCH LESS-THAN + 0x226B: [567,67,1000,55,945], // MUCH GREATER-THAN + 0x227A: [539,41,778,84,695], // PRECEDES + 0x227B: [539,41,778,83,694], // SUCCEEDS + 0x2282: [540,41,778,84,695], // SUBSET OF + 0x2283: [541,40,778,82,693], // SUPERSET OF + 0x2286: [636,139,778,84,695], // SUBSET OF OR EQUAL TO + 0x2287: [637,138,778,83,693], // SUPERSET OF OR EQUAL TO + 0x228E: [599,22,667,55,611], // MULTISET UNION + 0x2291: [636,138,778,83,714], // SQUARE IMAGE OF OR EQUAL TO + 0x2292: [636,138,778,63,694], // SQUARE ORIGINAL OF OR EQUAL TO + 0x2293: [598,0,667,61,605], // stix-square intersection, serifs + 0x2294: [598,0,667,61,605], // stix-square union, serifs + 0x2295: [583,83,778,56,722], // stix-circled plus (with rim) + 0x2296: [583,83,778,56,722], // CIRCLED MINUS + 0x2297: [583,83,778,56,722], // stix-circled times (with rim) + 0x2298: [583,83,778,56,722], // CIRCLED DIVISION SLASH + 0x2299: [583,83,778,56,722], // CIRCLED DOT OPERATOR + 0x22A2: [694,0,611,55,555], // RIGHT TACK + 0x22A3: [694,0,611,55,555], // LEFT TACK + 0x22A4: [668,0,778,55,723], // DOWN TACK + 0x22A5: [668,0,778,55,723], // UP TACK + 0x22A8: [750,250,867,119,811], // TRUE + 0x22C4: [488,-12,500,12,488], // DIAMOND OPERATOR + 0x22C5: [310,-190,278,78,199], // DOT OPERATOR + 0x22C6: [486,-16,500,3,497], // STAR OPERATOR + 0x22C8: [505,6,900,25,873], // BOWTIE + 0x22EE: [900,30,278,78,199], // VERTICAL ELLIPSIS + 0x22EF: [310,-190,1172,78,1093], // MIDLINE HORIZONTAL ELLIPSIS + 0x22F1: [820,-100,1282,133,1148], // DOWN RIGHT DIAGONAL ELLIPSIS + 0x2308: [751,250,444,174,422], // LEFT CEILING + 0x2309: [751,250,444,21,269], // RIGHT CEILING + 0x230A: [750,251,444,174,422], // LEFT FLOOR + 0x230B: [751,251,444,20,269], // RIGHT FLOOR + 0x2322: [388,-122,1000,55,944], // stix-small down curve + 0x2323: [378,-134,1000,55,944], // stix-small up curve + 0x23B0: [744,245,412,55,357], // UPPER LEFT OR LOWER RIGHT CURLY BRACKET SECTION + 0x23B1: [745,244,412,55,357], // UPPER RIGHT OR LOWER LEFT CURLY BRACKET SECTION + 0x27E8: [750,250,389,110,333], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [750,250,389,55,278], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x27EE: [744,245,412,173,357], // MATHEMATICAL LEFT FLATTENED PARENTHESIS + 0x27EF: [744,245,412,55,240], // MATHEMATICAL RIGHT FLATTENED PARENTHESIS + 0x27F5: [511,12,1609,54,1525], // LONG LEFTWARDS ARROW + 0x27F6: [512,11,1638,83,1554], // LONG RIGHTWARDS ARROW + 0x27F7: [512,12,1859,54,1804], // LONG LEFT RIGHT ARROW + 0x27F8: [525,24,1609,55,1553], // LONG LEFTWARDS DOUBLE ARROW + 0x27F9: [525,25,1638,55,1582], // LONG RIGHTWARDS DOUBLE ARROW + 0x27FA: [525,24,1858,55,1802], // LONG LEFT RIGHT DOUBLE ARROW + 0x27FC: [512,11,1638,54,1554], // LONG RIGHTWARDS ARROW FROM BAR + 0x2A3F: [684,0,750,28,721], // AMALGAMATION OR COPRODUCT + 0x2AAF: [636,138,778,83,695], // PRECEDES ABOVE SINGLE-LINE EQUALS SIGN + 0x2AB0: [636,138,778,83,694] // SUCCEEDS ABOVE SINGLE-LINE EQUALS SIGN + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Math-italic'] = { + directory: 'Math/Italic', + family: 'MathJax_Math', + style: 'italic', + testString: "MathJax Math", + skew: { + 0x41: 0.139, + 0x42: 0.0833, + 0x43: 0.0833, + 0x44: 0.0556, + 0x45: 0.0833, + 0x46: 0.0833, + 0x47: 0.0833, + 0x48: 0.0556, + 0x49: 0.111, + 0x4A: 0.167, + 0x4B: 0.0556, + 0x4C: 0.0278, + 0x4D: 0.0833, + 0x4E: 0.0833, + 0x4F: 0.0833, + 0x50: 0.0833, + 0x51: 0.0833, + 0x52: 0.0833, + 0x53: 0.0833, + 0x54: 0.0833, + 0x55: 0.0278, + 0x58: 0.0833, + 0x5A: 0.0833, + 0x63: 0.0556, + 0x64: 0.167, + 0x65: 0.0556, + 0x66: 0.167, + 0x67: 0.0278, + 0x68: -0.0278, + 0x6C: 0.0833, + 0x6F: 0.0556, + 0x70: 0.0833, + 0x71: 0.0833, + 0x72: 0.0556, + 0x73: 0.0556, + 0x74: 0.0833, + 0x75: 0.0278, + 0x76: 0.0278, + 0x77: 0.0833, + 0x78: 0.0278, + 0x79: 0.0556, + 0x7A: 0.0556, + 0x393: 0.0833, + 0x394: 0.167, + 0x398: 0.0833, + 0x39B: 0.167, + 0x39E: 0.0833, + 0x3A0: 0.0556, + 0x3A3: 0.0833, + 0x3A5: 0.0556, + 0x3A6: 0.0833, + 0x3A8: 0.0556, + 0x3A9: 0.0833, + 0x3B1: 0.0278, + 0x3B2: 0.0833, + 0x3B4: 0.0556, + 0x3B5: 0.0833, + 0x3B6: 0.0833, + 0x3B7: 0.0556, + 0x3B8: 0.0833, + 0x3B9: 0.0556, + 0x3BC: 0.0278, + 0x3BD: 0.0278, + 0x3BE: 0.111, + 0x3BF: 0.0556, + 0x3C1: 0.0833, + 0x3C2: 0.0833, + 0x3C4: 0.0278, + 0x3C5: 0.0278, + 0x3C6: 0.0833, + 0x3C7: 0.0556, + 0x3C8: 0.111, + 0x3D1: 0.0833, + 0x3D5: 0.0833, + 0x3F1: 0.0833, + 0x3F5: 0.0556 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x2F: [716,215,778,139,638], // SOLIDUS + 0x41: [717,0,750,35,727], // LATIN CAPITAL LETTER A + 0x42: [683,0,759,35,756], // LATIN CAPITAL LETTER B + 0x43: [705,22,715,50,760], // LATIN CAPITAL LETTER C + 0x44: [683,1,828,32,804], // LATIN CAPITAL LETTER D + 0x45: [680,1,738,30,764], // LATIN CAPITAL LETTER E + 0x46: [681,0,643,30,749], // LATIN CAPITAL LETTER F + 0x47: [705,22,786,50,760], // LATIN CAPITAL LETTER G + 0x48: [683,0,831,31,889], // LATIN CAPITAL LETTER H + 0x49: [684,0,440,26,504], // LATIN CAPITAL LETTER I + 0x4A: [683,22,555,57,633], // LATIN CAPITAL LETTER J + 0x4B: [684,0,849,31,889], // LATIN CAPITAL LETTER K + 0x4C: [684,1,681,32,647], // LATIN CAPITAL LETTER L + 0x4D: [684,0,970,35,1051], // LATIN CAPITAL LETTER M + 0x4E: [684,0,803,31,888], // LATIN CAPITAL LETTER N + 0x4F: [704,22,763,50,740], // LATIN CAPITAL LETTER O + 0x50: [683,0,642,33,751], // LATIN CAPITAL LETTER P + 0x51: [704,195,791,50,740], // LATIN CAPITAL LETTER Q + 0x52: [683,22,759,33,755], // LATIN CAPITAL LETTER R + 0x53: [705,22,613,52,645], // LATIN CAPITAL LETTER S + 0x54: [678,0,584,21,705], // LATIN CAPITAL LETTER T + 0x55: [684,22,683,59,767], // LATIN CAPITAL LETTER U + 0x56: [683,23,583,52,769], // LATIN CAPITAL LETTER V + 0x57: [684,22,944,51,1048], // LATIN CAPITAL LETTER W + 0x58: [684,1,828,25,852], // LATIN CAPITAL LETTER X + 0x59: [683,-1,581,29,763], // LATIN CAPITAL LETTER Y + 0x5A: [684,1,683,58,724], // LATIN CAPITAL LETTER Z + 0x61: [441,10,529,33,506], // LATIN SMALL LETTER A + 0x62: [694,11,429,39,422], // LATIN SMALL LETTER B + 0x63: [442,11,433,34,429], // LATIN SMALL LETTER C + 0x64: [694,10,520,33,524], // LATIN SMALL LETTER D + 0x65: [442,11,466,39,429], // LATIN SMALL LETTER E + 0x66: [705,205,490,55,550], // LATIN SMALL LETTER F + 0x67: [443,205,477,10,480], // LATIN SMALL LETTER G + 0x68: [694,11,576,48,555], // LATIN SMALL LETTER H + 0x69: [661,11,345,21,303], // LATIN SMALL LETTER I + 0x6A: [661,204,412,-12,403], // LATIN SMALL LETTER J + 0x6B: [694,11,521,48,503], // LATIN SMALL LETTER K + 0x6C: [694,11,298,38,267], // LATIN SMALL LETTER L + 0x6D: [442,11,878,21,857], // LATIN SMALL LETTER M + 0x6E: [442,11,600,21,580], // LATIN SMALL LETTER N + 0x6F: [441,11,485,34,476], // LATIN SMALL LETTER O + 0x70: [442,194,503,-39,497], // LATIN SMALL LETTER P + 0x71: [442,194,446,33,460], // LATIN SMALL LETTER Q + 0x72: [442,11,451,21,430], // LATIN SMALL LETTER R + 0x73: [442,10,469,53,419], // LATIN SMALL LETTER S + 0x74: [626,11,361,19,330], // LATIN SMALL LETTER T + 0x75: [442,11,572,21,551], // LATIN SMALL LETTER U + 0x76: [443,11,485,21,467], // LATIN SMALL LETTER V + 0x77: [444,11,716,20,690], // LATIN SMALL LETTER W + 0x78: [443,11,572,35,523], // LATIN SMALL LETTER X + 0x79: [442,205,490,21,496], // LATIN SMALL LETTER Y + 0x7A: [442,12,465,35,468], // LATIN SMALL LETTER Z + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,1,833,48,788], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA + 0x39B: [717,0,694,35,671], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,1,742,53,777], // GREEK CAPITAL LETTER XI + 0x3A0: [681,0,831,31,888], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [706,0,583,28,701], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,667,24,643], // GREEK CAPITAL LETTER PHI + 0x3A8: [684,0,612,21,693], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA + 0x3B2: [706,194,566,23,573], // GREEK SMALL LETTER BETA + 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA + 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA + 0x3B5: [453,22,466,27,428], // GREEK SMALL LETTER EPSILON + 0x3B6: [704,204,438,44,472], // GREEK SMALL LETTER ZETA + 0x3B7: [442,216,497,21,504], // GREEK SMALL LETTER ETA + 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA + 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA + 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,12,583,46,556], // GREEK SMALL LETTER LAMDA + 0x3BC: [443,216,603,22,580], // GREEK SMALL LETTER MU + 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU + 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI + 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON + 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI + 0x3C1: [442,216,517,22,510], // GREEK SMALL LETTER RHO + 0x3C2: [442,108,363,31,405], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA + 0x3C4: [431,13,437,17,517], // GREEK SMALL LETTER TAU + 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON + 0x3C6: [442,219,654,50,618], // GREEK SMALL LETTER PHI + 0x3C7: [442,204,626,24,601], // GREEK SMALL LETTER CHI + 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI + 0x3C9: [444,11,622,15,604], // GREEK SMALL LETTER OMEGA + 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL + 0x3D5: [695,206,596,43,579], // GREEK PHI SYMBOL + 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL + 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL + 0x3F5: [432,11,406,39,383] // GREEK LUNATE EPSILON SYMBOL + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Size1'] = { + directory: 'Size1/Regular', + family: 'MathJax_Size1', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [850,349,458,152,422], // LEFT PARENTHESIS + 0x29: [851,349,458,35,305], // RIGHT PARENTHESIS + 0x2F: [850,349,578,55,522], // SOLIDUS + 0x5B: [850,349,417,202,394], // LEFT SQUARE BRACKET + 0x5C: [850,349,578,54,522], // REVERSE SOLIDUS + 0x5D: [850,349,417,22,214], // RIGHT SQUARE BRACKET + 0x7B: [850,349,583,104,477], // LEFT CURLY BRACKET + 0x7D: [851,349,583,104,477], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [744,-551,556,-8,564], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [722,-597,556,1,554], // SMALL TILDE + 0x302: [744,-551,0,-564,8], // COMBINING CIRCUMFLEX ACCENT + 0x303: [722,-597,0,-555,-2], // COMBINING TILDE + 0x2016: [602,0,778,257,521], // DOUBLE VERTICAL LINE + 0x2191: [600,0,667,112,555], // UPWARDS ARROW + 0x2193: [600,0,667,112,555], // DOWNWARDS ARROW + 0x21D1: [599,0,778,57,721], // UPWARDS DOUBLE ARROW + 0x21D3: [600,-1,778,57,721], // DOWNWARDS DOUBLE ARROW + 0x220F: [750,250,944,55,888], // N-ARY PRODUCT + 0x2210: [750,250,944,55,888], // N-ARY COPRODUCT + 0x2211: [751,250,1056,56,999], // N-ARY SUMMATION + 0x221A: [850,350,1000,111,1020], // SQUARE ROOT + 0x2223: [627,15,333,145,188], // DIVIDES + 0x2225: [627,15,556,145,410], // PARALLEL TO + 0x222B: [805,306,472,55,610], // INTEGRAL + 0x222C: [805,306,819,55,957], // DOUBLE INTEGRAL + 0x222D: [805,306,1166,55,1304], // TRIPLE INTEGRAL + 0x222E: [805,306,472,55,610], // CONTOUR INTEGRAL + 0x22C0: [750,249,833,55,777], // N-ARY LOGICAL AND + 0x22C1: [750,249,833,55,777], // N-ARY LOGICAL OR + 0x22C2: [750,249,833,54,777], // N-ARY INTERSECTION + 0x22C3: [750,250,833,55,777], // N-ARY UNION + 0x2308: [850,349,472,202,449], // LEFT CEILING + 0x2309: [850,349,472,22,269], // RIGHT CEILING + 0x230A: [850,349,472,202,449], // LEFT FLOOR + 0x230B: [850,349,472,22,269], // RIGHT FLOOR + 0x23D0: [602,0,667,312,355], // VERTICAL LINE EXTENSION (used to extend arrows) + 0x27E8: [850,350,472,97,394], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [850,350,472,77,374], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [750,250,1111,56,1054], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [750,250,1111,56,1054], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [750,250,1111,56,1054], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [750,250,833,55,777], // N-ARY UNION OPERATOR WITH PLUS + 0x2A06: [750,249,833,55,777] // N-ARY SQUARE UNION OPERATOR + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Size2'] = { + directory: 'Size2/Regular', + family: 'MathJax_Size2', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1150,649,597,180,561], // LEFT PARENTHESIS + 0x29: [1151,649,597,35,416], // RIGHT PARENTHESIS + 0x2F: [1150,649,811,55,755], // SOLIDUS + 0x5B: [1150,649,472,224,455], // LEFT SQUARE BRACKET + 0x5C: [1150,649,811,54,754], // REVERSE SOLIDUS + 0x5D: [1150,649,472,16,247], // RIGHT SQUARE BRACKET + 0x7B: [1150,649,667,119,547], // LEFT CURLY BRACKET + 0x7D: [1151,649,667,119,547], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [772,-565,1000,-5,1004], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [750,-611,1000,0,999], // SMALL TILDE + 0x302: [772,-565,0,-1005,4], // COMBINING CIRCUMFLEX ACCENT + 0x303: [750,-611,0,-1000,-1], // COMBINING TILDE + 0x220F: [950,450,1278,56,1221], // N-ARY PRODUCT + 0x2210: [950,450,1278,56,1221], // N-ARY COPRODUCT + 0x2211: [950,450,1444,55,1388], // N-ARY SUMMATION + 0x221A: [1150,650,1000,111,1020], // SQUARE ROOT + 0x222B: [1360,862,556,55,944], // INTEGRAL + 0x222C: [1361,862,1084,55,1473], // DOUBLE INTEGRAL + 0x222D: [1361,862,1592,55,1981], // TRIPLE INTEGRAL + 0x222E: [1360,862,556,55,944], // CONTOUR INTEGRAL + 0x22C0: [950,450,1111,55,1055], // N-ARY LOGICAL AND + 0x22C1: [950,450,1111,55,1055], // N-ARY LOGICAL OR + 0x22C2: [949,450,1111,55,1055], // N-ARY INTERSECTION + 0x22C3: [950,449,1111,55,1055], // N-ARY UNION + 0x2308: [1150,649,528,224,511], // LEFT CEILING + 0x2309: [1150,649,528,16,303], // RIGHT CEILING + 0x230A: [1150,649,528,224,511], // LEFT FLOOR + 0x230B: [1150,649,528,16,303], // RIGHT FLOOR + 0x27E8: [1150,649,611,112,524], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1150,649,611,85,498], // MATHEMATICAL RIGHT ANGLE BRACKET + 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR + 0x2A01: [949,449,1511,56,1454], // N-ARY CIRCLED PLUS OPERATOR + 0x2A02: [949,449,1511,56,1454], // N-ARY CIRCLED TIMES OPERATOR + 0x2A04: [950,449,1111,55,1055], // N-ARY UNION OPERATOR WITH PLUS + 0x2A06: [950,450,1111,55,1055] // N-ARY SQUARE UNION OPERATOR + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Size3'] = { + directory: 'Size3/Regular', + family: 'MathJax_Size3', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1450,949,736,209,701], // LEFT PARENTHESIS + 0x29: [1451,949,736,34,526], // RIGHT PARENTHESIS + 0x2F: [1450,949,1044,55,989], // SOLIDUS + 0x5B: [1450,949,528,247,516], // LEFT SQUARE BRACKET + 0x5C: [1450,949,1044,56,988], // REVERSE SOLIDUS + 0x5D: [1450,949,528,11,280], // RIGHT SQUARE BRACKET + 0x7B: [1450,949,750,130,618], // LEFT CURLY BRACKET + 0x7D: [1451,949,750,131,618], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [772,-564,1444,-4,1447], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [749,-610,1444,1,1442], // SMALL TILDE + 0x302: [772,-564,0,-1448,3], // COMBINING CIRCUMFLEX ACCENT + 0x303: [749,-610,0,-1443,-2], // COMBINING TILDE + 0x221A: [1450,951,1000,111,1020], // SQUARE ROOT + 0x2308: [1450,949,583,246,571], // LEFT CEILING + 0x2309: [1450,949,583,11,336], // RIGHT CEILING + 0x230A: [1450,949,583,246,571], // LEFT FLOOR + 0x230B: [1450,949,583,11,336], // RIGHT FLOOR + 0x27E8: [1450,950,750,126,654], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1450,950,750,94,623] // MATHEMATICAL RIGHT ANGLE BRACKET + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Size4'] = { + directory: 'Size4/Regular', + family: 'MathJax_Size4', + testString: "() [] {}", + 0x20: [0,0,250,0,0], // SPACE + 0x28: [1750,1249,792,237,758], // LEFT PARENTHESIS + 0x29: [1751,1250,792,33,554], // RIGHT PARENTHESIS + 0x2F: [1750,1249,1278,56,1221], // SOLIDUS + 0x5B: [1750,1249,583,269,577], // LEFT SQUARE BRACKET + 0x5C: [1750,1249,1278,56,1221], // REVERSE SOLIDUS + 0x5D: [1750,1249,583,5,313], // RIGHT SQUARE BRACKET + 0x7B: [1750,1249,806,144,662], // LEFT CURLY BRACKET + 0x7D: [1751,1249,806,144,662], // RIGHT CURLY BRACKET + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x2C6: [845,-561,1889,-14,1902], // MODIFIER LETTER CIRCUMFLEX ACCENT + 0x2DC: [823,-583,1889,1,1885], // SMALL TILDE + 0x302: [845,-561,0,-1903,13], // COMBINING CIRCUMFLEX ACCENT + 0x303: [823,-583,0,-1888,-4], // COMBINING TILDE + 0x221A: [1750,1251,1000,111,1020], // SQUARE ROOT + 0x2308: [1750,1249,639,269,633], // LEFT CEILING + 0x2309: [1750,1249,639,5,369], // RIGHT CEILING + 0x230A: [1750,1249,639,269,633], // LEFT FLOOR + 0x230B: [1750,1249,639,5,369], // RIGHT FLOOR + 0x239B: [1155,655,875,290,843], // LEFT PARENTHESIS UPPER HOOK + 0x239C: [610,10,875,291,417], // LEFT PARENTHESIS EXTENSION + 0x239D: [1165,644,875,291,843], // LEFT PARENTHESIS LOWER HOOK + 0x239E: [1155,655,875,31,583], // RIGHT PARENTHESIS UPPER HOOK + 0x239F: [610,10,875,457,583], // RIGHT PARENTHESIS EXTENSION + 0x23A0: [1165,645,875,31,583], // RIGHT PARENTHESIS LOWER HOOK + 0x23A1: [1154,645,667,319,666], // LEFT SQUARE BRACKET UPPER CORNER + 0x23A2: [602,0,667,319,403], // LEFT SQUARE BRACKET EXTENSION + 0x23A3: [1155,644,667,319,666], // LEFT SQUARE BRACKET LOWER CORNER + 0x23A4: [1154,645,667,0,347], // RIGHT SQUARE BRACKET UPPER CORNER + 0x23A5: [602,0,667,263,347], // RIGHT SQUARE BRACKET EXTENSION + 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER + 0x23A7: [899,10,889,383,719], // LEFT CURLY BRACKET UPPER HOOK + 0x23A8: [1160,660,889,170,505], // LEFT CURLY BRACKET MIDDLE PIECE + 0x23A9: [10,899,889,384,718], // LEFT CURLY BRACKET LOWER HOOK + 0x23AA: [310,10,889,383,504], // CURLY BRACKET EXTENSION + 0x23AB: [900,11,889,170,504], // RIGHT CURLY BRACKET UPPER HOOK + 0x23AC: [1160,660,889,384,718], // RIGHT CURLY BRACKET MIDDLE PIECE + 0x23AD: [10,899,889,170,505], // RIGHT CURLY BRACKET LOWER HOOK + 0x23B7: [935,885,1056,111,742], // RADICAL SYMBOL BOTTOM + 0x27E8: [1750,1249,806,140,703], // MATHEMATICAL LEFT ANGLE BRACKET + 0x27E9: [1751,1249,806,103,665], // MATHEMATICAL RIGHT ANGLE BRACKET + 0xE000: [625,15,1056,702,742], // MJ-TeX: radical symbol vertical extender + 0xE001: [605,15,1056,702,1076], // MJ-TeX: radical symbol top corner piece + 0xE150: [120,213,450,-24,461], // MJ-TeX: horizontal brace, down left piece + 0xE151: [120,214,450,-11,475], // MJ-TeX: horizontal brace, down right piece + 0xE152: [333,0,450,-24,461], // MJ-TeX: horizontal brace, upper left piece + 0xE153: [333,0,450,-11,475], // MJ-TeX: horizontal brace, upper right piece + 0xE154: [120,0,400,-10,410] // MJ-TeX: horizontal brace, extender + }; + + HTMLCSS.FONTDATA.FONTS['MathJax_Main'][0x22EE][0] += 400; // adjust height for \vdots + HTMLCSS.FONTDATA.FONTS['MathJax_Main'][0x22F1][0] += 700; // adjust height for \ddots + HTMLCSS.FONTDATA.FONTS['MathJax_Size4'][0xE154][0] += 200; // adjust height for brace extender + HTMLCSS.FONTDATA.FONTS['MathJax_Size4'][0xE154][1] += 200; // adjust depth for brace extender + + if (!HTMLCSS.imgFonts) { + MathJax.Hub.Browser.Select({ + MSIE: function (browser) { + + if (HTMLCSS.config.availableFonts && HTMLCSS.config.availableFonts.length) { + + HTMLCSS.FONTDATA.REMAP[0x2C9] = 0xAF; // macron + HTMLCSS.FONTDATA.REMAP[0x2CA] = 0xB4; // acute + HTMLCSS.FONTDATA.REMAP[0x2CB] = 0x60; // grave + HTMLCSS.FONTDATA.REMAP[0x2DA] = 0xB0; // ring above + + var testString = HTMLCSS.msieCheckGreek = + String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B); + + HTMLCSS.FONTDATA.RANGES.push({name: "IEgreek", low: 0x03B1, high: 0x03C9, offset: "IEG", add: 32}); + HTMLCSS.FONTDATA.RANGES.push({name: "IEGreek", low: 0x0391, high: 0x03F6, offset: "IEG"}); + + if (HTMLCSS.Font.testFont({family:"MathJax_Greek", testString: testString})) { + HTMLCSS.Augment({ + FONTDATA: { + VARIANT: { + normal: {offsetIEG: 0x391, variantIEG: "-Greek"}, + "fraktur": {offsetIEG: 0x391, variantIEG: "-Greek"}, + "script": {offsetIEG: 0x391, variantIEG: "-Greek"}, + "-tex-caligraphic": {offsetIEG: 0x391, variantIEG: "-Greek"}, + "-tex-oldstyle": {offsetIEG: 0x391, variantIEG: "-Greek"}, + "-Greek": {fonts:["MathJax_Greek"]} + } + } + }); + + HTMLCSS.FONTDATA.FONTS['MathJax_Greek'] = { + directory: 'Greek/Regular', + family: 'MathJax_Greek', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,625,25,582], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,46,786], // GREEK CAPITAL LETTER DELTA + 0x398: [705,22,778,56,722], // GREEK CAPITAL LETTER THETA + 0x39B: [716,0,694,32,661], // GREEK CAPITAL LETTER LAMDA + 0x39E: [677,0,667,42,624], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,750,25,724], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,722,55,666], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,778,55,722], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,722,56,665], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,778,55,722], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,722,44,677] // GREEK CAPITAL LETTER OMEGA + }; + + } + + if (HTMLCSS.Font.testFont({family:"MathJax_Greek", weight:"bold", testString: testString})) { + HTMLCSS.Augment({ + FONTDATA: { + VARIANT: { + bold: {offsetIEG: 0x391, variantIEG: "-Greek-Bold"}, + "bold-fraktur": {offsetIEG: 0x391, variantIEG: "-Greek-Bold"}, + "bold-script": {offsetIEG: 0x391, variantIEG: "-Greek-Bold"}, + "-Greek-Bold": {fonts:["MathJax_Greek-bold"]} + } + } + }); + + HTMLCSS.FONTDATA.FONTS['MathJax_Greek-bold'] = { + directory: 'Greek/Bold', + family: 'MathJax_Greek', + weight: 'bold', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,0,692,39,643], // GREEK CAPITAL LETTER GAMMA + 0x394: [698,0,958,56,901], // GREEK CAPITAL LETTER DELTA + 0x398: [696,10,894,64,829], // GREEK CAPITAL LETTER THETA + 0x39B: [698,0,806,40,765], // GREEK CAPITAL LETTER LAMDA + 0x39E: [675,0,767,48,718], // GREEK CAPITAL LETTER XI + 0x3A0: [680,0,900,39,860], // GREEK CAPITAL LETTER PI + 0x3A3: [686,0,831,64,766], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [697,0,894,64,829], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [686,0,831,64,766], // GREEK CAPITAL LETTER PHI + 0x3A8: [686,0,894,64,829], // GREEK CAPITAL LETTER PSI + 0x3A9: [696,1,831,51,779] // GREEK CAPITAL LETTER OMEGA + }; + + } + + if (HTMLCSS.Font.testFont({family:"MathJax_Greek", style:"italic", testString: testString})) { + HTMLCSS.Augment({ + FONTDATA: { + VARIANT: { + italic: {offsetIEG: 0x391, variantIEG: "-Greek-Italic"}, + "-Greek-Italic": {fonts:["MathJax_Greek-italic"]} + } + } + }); + + HTMLCSS.FONTDATA.FONTS['MathJax_Greek-italic'] = { + directory: 'Greek/Italic', + family: 'MathJax_Greek', + style: 'italic', + testString: String.fromCharCode(0x393)+" "+String.fromCharCode(0x3A5)+" "+String.fromCharCode(0x39B), + skew: { + 0x393: 0.0833, + 0x394: 0.167, + 0x398: 0.0833, + 0x39B: 0.167, + 0x39E: 0.0833, + 0x3A0: 0.0556, + 0x3A3: 0.0833, + 0x3A5: 0.0556, + 0x3A6: 0.0833, + 0x3A8: 0.0556, + 0x3A9: 0.0833, + 0x3B1: 0.0278, + 0x3B2: 0.0833, + 0x3B4: 0.0556, + 0x3B5: 0.0833, + 0x3B6: 0.0833, + 0x3B7: 0.0556, + 0x3B8: 0.0833, + 0x3B9: 0.0556, + 0x3BC: 0.0278, + 0x3BD: 0.0278, + 0x3BE: 0.111, + 0x3BF: 0.0556, + 0x3C1: 0.0833, + 0x3C2: 0.0833, + 0x3C4: 0.0278, + 0x3C5: 0.0278, + 0x3C6: 0.0833, + 0x3C7: 0.0556, + 0x3C8: 0.111, + 0x3D1: 0.0833, + 0x3D5: 0.0833, + 0x3F1: 0.0833, + 0x3F5: 0.0556 + }, + 0x20: [0,0,250,0,0], // SPACE + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x393: [680,-1,615,31,721], // GREEK CAPITAL LETTER GAMMA + 0x394: [716,0,833,48,788], // GREEK CAPITAL LETTER DELTA + 0x398: [704,22,763,50,740], // GREEK CAPITAL LETTER THETA + 0x39B: [716,0,694,35,670], // GREEK CAPITAL LETTER LAMDA + 0x39E: [678,0,742,53,777], // GREEK CAPITAL LETTER XI + 0x3A0: [681,0,831,31,887], // GREEK CAPITAL LETTER PI + 0x3A3: [683,0,780,58,806], // GREEK CAPITAL LETTER SIGMA + 0x3A5: [705,0,583,28,700], // GREEK CAPITAL LETTER UPSILON + 0x3A6: [683,0,667,24,642], // GREEK CAPITAL LETTER PHI + 0x3A8: [683,0,612,21,692], // GREEK CAPITAL LETTER PSI + 0x3A9: [704,0,772,80,786], // GREEK CAPITAL LETTER OMEGA + 0x3B1: [442,11,640,34,603], // GREEK SMALL LETTER ALPHA + 0x3B2: [705,194,566,23,573], // GREEK SMALL LETTER BETA + 0x3B3: [441,216,518,11,543], // GREEK SMALL LETTER GAMMA + 0x3B4: [717,10,444,36,451], // GREEK SMALL LETTER DELTA + 0x3B5: [452,22,466,27,428], // GREEK SMALL LETTER EPSILON + 0x3B6: [704,204,438,44,471], // GREEK SMALL LETTER ZETA + 0x3B7: [442,216,497,21,503], // GREEK SMALL LETTER ETA + 0x3B8: [705,10,469,35,462], // GREEK SMALL LETTER THETA + 0x3B9: [442,10,354,48,332], // GREEK SMALL LETTER IOTA + 0x3BA: [442,11,576,49,554], // GREEK SMALL LETTER KAPPA + 0x3BB: [694,12,583,47,556], // GREEK SMALL LETTER LAMDA + 0x3BC: [442,216,603,23,580], // GREEK SMALL LETTER MU + 0x3BD: [442,2,494,45,530], // GREEK SMALL LETTER NU + 0x3BE: [704,205,438,21,443], // GREEK SMALL LETTER XI + 0x3BF: [441,11,485,34,476], // GREEK SMALL LETTER OMICRON + 0x3C0: [431,11,570,19,573], // GREEK SMALL LETTER PI + 0x3C1: [442,216,517,23,510], // GREEK SMALL LETTER RHO + 0x3C2: [442,107,363,31,405], // GREEK SMALL LETTER FINAL SIGMA + 0x3C3: [431,11,571,31,572], // GREEK SMALL LETTER SIGMA + 0x3C4: [431,13,437,18,517], // GREEK SMALL LETTER TAU + 0x3C5: [443,10,540,21,523], // GREEK SMALL LETTER UPSILON + 0x3C6: [442,218,654,50,618], // GREEK SMALL LETTER PHI + 0x3C7: [442,204,626,25,600], // GREEK SMALL LETTER CHI + 0x3C8: [694,205,651,21,634], // GREEK SMALL LETTER PSI + 0x3C9: [443,11,622,15,604], // GREEK SMALL LETTER OMEGA + 0x3D1: [705,11,591,21,563], // GREEK THETA SYMBOL + 0x3D5: [694,205,596,43,579], // GREEK PHI SYMBOL + 0x3D6: [431,10,828,19,823], // GREEK PI SYMBOL + 0x3F1: [442,194,517,67,510], // GREEK RHO SYMBOL + 0x3F5: [431,11,406,40,382] // GREEK LUNATE EPSILON SYMBOL + }; + + } + } + + if (HTMLCSS.msieIE6) { + + var WinIE6 = "MathJax_WinIE6"; + HTMLCSS.FONTDATA.FONTS[WinIE6] = "WinIE6/Regular/Main.js"; + HTMLCSS.FONTDATA.RANGES.push({name: "arrows", low: 0x2190, high: 0x2199, offset: "AR"}); + + var REMAP = {variant:"-WinIE6", + 0x21D2:0xE20A, 0x21D4:0xE20B, // \Rightarrow, \Leftrightarrow + 0x2200:0xE20C, 0x2202:0xE20D, 0x2203:0xE20E, 0x2207:0xE20F, // \forall, \partial, \exists, \nabla + 0x2208:0xE210, 0x220B:0xE211, 0x2215:0xE212, 0x221A:0xE213, // \in, \ni, /, \surd + 0x221D:0xE214, 0x221E:0xE215, 0x2220:0xE216, 0x2223:0xE217, // \propto, \infty, \angle, \vert + 0x2225:0xE218, 0x2227:0xE219, 0x2228:0xE21A, 0x2229:0xE21B, // \Vert, \wedge, \vee, \cap + 0x222A:0xE21C, 0x222B:0xE21D, 0x223C:0xE21E, 0x2248:0xE21F, // \cup, \int, \sim, \approx + 0x2260:0xE220, 0x2261:0xE221, 0x2264:0xE222, 0x2265:0xE223, // \ne, \equiv, \le, \ge + 0x226A:0xE224, 0x226B:0xE225, 0x2282:0xE226, 0x2283:0xE227, // \ll, \gg, \subset, \supset + 0x2286:0xE228, 0x2287:0xE229, 0x2295:0xE22A, 0x2299:0xE22B, // \subseteq, \supseteq, \oplus, \odot + 0x22A5:0xE22C, 0x25B3:0xE22D, 0x25BD:0xE22E, 0x25EF:0xE22F, // \bot, \bigtriangleup, \bigtriangledown, \bigcirc + 0x2660:0xE230, 0x2661:0xE231, 0x2662:0xE232, 0x2663:0xE233, // \spadesuit, \heartsuit, \diamondsuit, \clubsuit + 0x266D:0xE234, 0x266E:0xE235, 0x266F:0xE236, // \flat, \naturl, \sharp + 0x2266:0xE2C5, 0x2267:0xE2C6, 0x226E:0xE2C7, 0x226F:0xE2C8, // \leqq, \geqq, \nless, \ngtr + 0x250C:0xE2CA, 0x2510:0xE2CB, 0x2514:0xE2CC, 0x2518:0xE2CD, // corners + 0x2571:0xE2CE, 0x2572:0xE2CF, 0x25A0:0xE2D0, 0x25A1:0xE2D1, // \diagup, \diagdown, \blacksquare, \square + 0x25B2:0xE2D2, 0x25B6:0xE2D4, 0x25BC:0xE2D5, // \blacktriangle, \blacktriangleright, \blacktriangledown + 0x25BD:0xE2D6, 0x25C0:0xE2D7, 0x25CA:0xE2D8, // \vartriangledown, \blacktriangleleft, \lozenge + 0x2234:0xE2D9, 0x2235:0xE2DA, 0x2252:0xE2DB, 0x2605:0xE2DC, // \therefor, \because, \fallingdotseq, \bigstar + 0x223D:0xE2DD // \backsim + }; + var REMAPBOLD = {variant:"-WinIE6", + 0x21D2:0xE24A, 0x21D4:0xE24B, // \Rightarrow, \Leftrightarrow + 0x2200:0xE24C, 0x2202:0xE24D, 0x2203:0xE24E, 0x2207:0xE24F, // \forall, \partial, \exists, \nabla + 0x2208:0xE250, 0x220B:0xE251, 0x2215:0xE252, 0x221A:0xE253, // \in, \ni, /, \surd + 0x221D:0xE254, 0x221E:0xE255, 0x2220:0xE256, 0x2223:0xE257, // \propto, \infty, \angle, \vert + 0x2225:0xE258, 0x2227:0xE259, 0x2228:0xE25A, 0x2229:0xE25B, // \Vert, \wedge, \vee, \cap + 0x222A:0xE25C, 0x222B:0xE25D, 0x223C:0xE25E, 0x2248:0xE25F, // \cup, \int, \sim, \approx + 0x2260:0xE260, 0x2261:0xE261, 0x2264:0xE262, 0x2265:0xE263, // \ne, \equiv, \le, \ge + 0x226A:0xE264, 0x226B:0xE265, 0x2282:0xE266, 0x2283:0xE267, // \ll, \gg, \subset, \supset + 0x2286:0xE268, 0x2287:0xE269, 0x2295:0xE26A, 0x2299:0xE26B, // \subseteq, \supseteq, \oplus, \odot + 0x22A5:0xE26C, 0x25B3:0xE26D, 0x25BD:0xE26E, 0x25EF:0xE26F, // \bot, \bigtriangleup, \bigtriangledown, \bigcirc + 0x2660:0xE270, 0x2661:0xE271, 0x2662:0xE272, 0x2663:0xE273, // \spadesuit, \heartsuit, \diamondsuit, \clubsuit + 0x266D:0xE274, 0x266E:0xE275, 0x266F:0xE276, // \flat, \naturl, \sharp + 0x2266:0xE2C5, 0x2267:0xE2C6, 0x226E:0xE2C7, 0x226F:0xE2C8, // \leqq, \geqq, \nless, \ngtr + 0x250C:0xE2CA, 0x2510:0xE2CB, 0x2514:0xE2CC, 0x2518:0xE2CD, // corners + 0x2571:0xE2CE, 0x2572:0xE2CF, 0x25A0:0xE2D0, 0x25A1:0xE2D1, // \diagup, \diagdown, \blacksquare, \square + 0x25B2:0xE2D2, 0x25B6:0xE2D4, 0x25BC:0xE2D5, // \blacktriangle, \blacktriangleright, \blacktriangledown + 0x25BD:0xE2D6, 0x25C0:0xE2D7, 0x25CA:0xE2D8, // \vartriangledown, \blacktriangleleft, \lozenge + 0x2234:0xE2D9, 0x2235:0xE2DA, 0x2252:0xE2DB, 0x2605:0xE2DC, // \therefor, \because, \fallingdotseq, \bigstar + 0x223D:0xE2DD // \backsim + }; + var VARNORMAL = {offsetAR:0xE200, variantAR:"-WinIE6", remap: REMAP}; + var VARBOLD = {offsetAR:0xE240, variantAR:"-WinIE6", remap: REMAPBOLD}; + + HTMLCSS.Augment({ + FONTDATA: { + VARIANT: { + "normal": VARNORMAL, + "bold": VARBOLD, + "italic": VARNORMAL, + "bold-italic": VARBOLD, + "-largeOp": {fonts:[WinIE6,SIZE2,SIZE1,MAIN], + remap: {0x220F:0xE290, 0x2211:0xE291, 0x222B:0xE295, 0x222E:0xE296}}, + "-smallOp": {fonts:[WinIE6,SIZE1,MAIN], + remap: {0x220F:0xE280, 0x2211:0xE281, 0x222B:0xE285, 0x222E:0xE286}}, + "-WinIE6": {fonts:[WinIE6]} + }, + DELIMITERS: { + 0x221A: { + HW:{ + 0:[1,WinIE6,null,0xE213], 1:[1.2,WinIE6,null,0xE282], 2:[1.8,WinIE6,null,0xE292], + 3:[2.4,WinIE6,null,0xE2A2], 4:[3,WinIE6,null,0xE2B2] + } + }, + 0x007C: {stretch:{ext:[0xE217,WinIE6]}}, + 0x2223: {HW:{0:[1,WinIE6,null,0xE217]}, stretch:{ext:[0xE217,WinIE6]}}, + 0x23D0: {HW:{1:[1,WinIE6,null,0xE217]}, stretch:{ext:[0xE217,WinIE6]}}, + 0x2225: {HW:{0:[1,WinIE6,null,0xE218]}, stretch:{ext:[0xE218,WinIE6]}}, + 0x2190: {HW:{0:[.889,WinIE6,null,0xE200]}, stretch:{left:[0xE200,WinIE6]}}, + 0x2191: {HW:{0:[.888,WinIE6,null,0xE201]}, stretch:{top:[0xE287,WinIE6],ext:[0xE289,WinIE6]}}, + 0x2192: {HW:{0:[.889,WinIE6,null,0xE202]}, stretch:{right:[0xE202,WinIE6]}}, + 0x2193: {HW:{0:[.888,WinIE6,null,0xE203]}, stretch:{bot:[0xE288,WinIE6],ext:[0xE289,WinIE6]}}, + 0x2194: {HW:{0:[1,WinIE6,null,0xE204]}, stretch:{left:[0xE200,WinIE6],right:[0xE202,WinIE6]}}, + 0x2195: {HW:{0:[1.044,WinIE6,null,0xE203]}, stretch:{top:[0xE287,WinIE6],bot:[0xE288,WinIE6], ext:[0xE289,WinIE6]}} + } + } + }); + + } + + }, + + Chrome: function (browser) { + if (browser.isPC && !MathJax.Hub.Browser.versionAtLeast("5.0")) { + // FIXME: patch caligraphic bold, too + var WinChrome = "-WinChrome"; + HTMLCSS.Augment({ + FONTDATA: { + VARIANT: { + normal: {remap: {0x3E: [0x3E,WinChrome]}}, + bold: {remap: {0xE2F1: [0x3E,WinChrome]}}, + italic: {remap: {0x64: [0x64,WinChrome]}}, + "-tex-caligraphic": {remap: {0x54: [0x54,WinChrome]}}, + "-largeOp": {remap: {0x2A00: [0x2A00,WinChrome]}}, + "-smallOp": {remap: {0x22C3: [0x22C3,WinChrome]}}, + "-WinChrome": {fonts:["MathJax_WinChrome"]} + }, + DELIMITERS: { + 0x005D: {stretch:{bot:[0x23A6,"MathJax_WinChrome"]}}, + 0x230B: {stretch:{bot:[0x23A6,"MathJax_WinChrome"]}} + } + } + }); + + HTMLCSS.FONTDATA.FONTS['MathJax_WinChrome'] = { + directory: 'WinChrome/Regular', + family: 'MathJax_WinChrome', + testString: "> T d "+String.fromCharCode(0x23A6)+" "+String.fromCharCode(0x2A00), + skew: { + 0x54: 0.0278, + 0xE2F0: 0.0319 + }, + 0x20: [0,0,250,0,0], // SPACE + 0x3E: [540,40,778,82,694], // GREATER-THAN SIGN + 0x54: [717,69,545,34,834], // LATIN CAPITAL LETTER T + 0x64: [694,11,511,100,567], // LATIN SMALL LETTER D + 0xA0: [0,0,250,0,0], // NO-BREAK SPACE + 0x22C3: [750,250,833,55,777], // N-ARY UNION + 0x23A6: [1155,644,667,0,347], // RIGHT SQUARE BRACKET LOWER CORNER + 0x2A00: [949,449,1511,56,1454], // N-ARY CIRCLED DOT OPERATOR + 0xE2F0: [720,69,644,38,947], // ?? + 0xE2F1: [587,85,894,95,797] // ?? + }; + + } + } + + }); + } + + // + // Create @font-face stylesheet for the declared fonts + // + (function () { + var FONTS = HTMLCSS.FONTDATA.FONTS, AVAIL = HTMLCSS.config.availableFonts; + var name, faces = []; + if (HTMLCSS.allowWebFonts) { + for (name in FONTS) { + if (FONTS[name].family) { + if (AVAIL && AVAIL.length && HTMLCSS.Font.testFont(FONTS[name])) { + FONTS[name].available = true; + HTMLCSS.Font.loadComplete(FONTS[name]); + } else { + FONTS[name].isWebFont = true; + if (HTMLCSS.FontFaceBug) {FONTS[name].family = name} + faces.push(HTMLCSS.Font.fontFace(name)); + } + } + } + if (!HTMLCSS.config.preloadWebFonts) {HTMLCSS.config.preloadWebFonts = []} + HTMLCSS.config.preloadWebFonts.push(MAIN,ITALIC,SIZE1); + if (faces.length) {HTMLCSS.config.styles["@font-face"] = faces} + } else if (AVAIL && AVAIL.length) { + for (name in FONTS) { + if (FONTS[name].family && HTMLCSS.Font.testFont(FONTS[name])) { + FONTS[name].available = true; + HTMLCSS.Font.loadComplete(FONTS[name]); + } + } + } + })(); + + AJAX.loadComplete(HTMLCSS.fontDir + "/fontdata.js"); + +})(MathJax.OutputJax["HTML-CSS"],MathJax.ElementJax.mml,MathJax.Ajax); + diff --git a/modules/MathJax/jax/output/HTML-CSS/imageFonts.js b/modules/MathJax/jax/output/HTML-CSS/imageFonts.js new file mode 100644 index 0000000..6502caa --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/imageFonts.js @@ -0,0 +1,196 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/imageFonts.js + * + * Implements the image fallback fonts for the HTML-CSS OutputJax. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + +(function (HUB,HTMLCSS,AJAX) { + var VERSION = "1.1"; + + HUB.Register.LoadHook(HTMLCSS.fontDir + "/fontdata.js",function () { + + HTMLCSS.Augment({ + allowWebFonts: false, + + imgDir: HTMLCSS.webfontDir+"/png", + imgPacked: (MathJax.isPacked ? "" : "/unpacked"), + imgSize: ['050','060','071','085',100,120,141,168,200,238,283,336,400,476], + imgBaseIndex: 4, // set by initImg() + imgSizeForEm: {}, // cache of indexes by em-size + imgSizeForScale: {}, // cache of indexes by scale for a given em-size + imgZoom: 1, // set by initImg for each equation + + handleImg: function (span,font,c,n,text) { + if (text.length) {this.addText(span,text)} + var orig = c[5].orig; if (!orig) {orig = c[5].orig = [c[0],c[1],c[2],c[3],c[4]]} + var bscale = this.imgZoom; if (!span.scale) {span.scale = 1} + var index = this.imgIndex(span.scale*bscale); + if (index == this.imgEmWidth.length-1 && + this.em*span.scale*bscale/this.imgEmWidth[index] > 1.1) + {bscale = this.imgEmWidth[index]/(this.em*span.scale)} + var factor = this.imgEmWidth[index]/(this.em*(span.scale||1)*bscale); + c[0] = orig[0]*factor; c[1] = orig[1]*factor; c[2] = orig[2]*factor; + c[3] = orig[3]*factor; c[4] = orig[4]*factor; + var dir = this.imgDir+"/"+font.directory+"/"+this.imgSize[index]; + var chr = n.toString(16).toUpperCase(); while (chr.length < 4) {chr = "0"+chr}; + var file = dir+"/"+chr+".png"; + var img = c[5].img[index]; + var style = {width:Math.floor(img[0]/bscale+.5)+"px", height:Math.floor(img[1]/bscale+.5)+"px"}; + if (img[2]) {style.verticalAlign = Math.floor(-img[2]/bscale+.5)+"px"} + if (c[3] < 0) {style.marginLeft = this.Em(c[3]/1000)} + if (c[4] != c[2]) {style.marginRight = this.Em((c[2]-c[4])/1000)} + if (this.msieIE6) { + style.filter = "progid:DXImageTransform.Microsoft." + + "AlphaImageLoader(src='"+AJAX.fileURL(file)+"', sizingMethod='scale')"; + file = this.directory+"/blank.gif" + } + this.addElement(span,"img",{src:AJAX.fileURL(file), style:style}); + return ""; + }, + + defineImageData: function (def) { + for (var font in def) {if (def.hasOwnProperty(font)) { + var FONT = HTMLCSS.FONTDATA.FONTS[font]; + if (FONT) { + font = def[font]; + for (var n in font) {if (font.hasOwnProperty(n) && FONT[n]) {FONT[n][5] = {img: font[n]}}} + } + }} + }, + + initImg: function (span) { + if (this.imgSizeForEm[this.em]) {this.imgBaseIndex = this.imgSizeForEm[this.em]} + for (var i = 0, m = this.imgEmWidth.length-1; i < m; i++) + {if (this.em <= this.imgEmWidth[i]) break} + if (i && this.imgEmWidth[i] - this.em > this.em - this.imgEmWidth[i-1]) {i--} + this.imgSizeForEm[this.em] = this.imgBaseIndex = i; + this.imgZoom = this.imgBrowserZoom(); + }, + + imgIndex: function (scale) { + if (!scale) {return this.imgBaseIndex} + if (!this.imgSizeForScale[this.em]) {this.imgSizeForScale[this.em] = {}} + if (this.imgSizeForScale[this.em][scale]) {return this.imgSizeForScale[this.em][scale]} + var em = this.em * scale; + for (var i = 0, m = this.imgEmWidth.length-1; i < m; i++) + {if (em <= this.imgEmWidth[i]) break} + if (i && this.imgEmWidth[i] - em > em - this.imgEmWidth[i-1]) {i--} + this.imgSizeForScale[this.em][scale] = i; + return i; + }, + + imgBrowserZoom: function () {return 1} + + }); + + HUB.Browser.Select({ + + Firefox: function (browser) { + var ZDIV = HTMLCSS.addElement(document.body,"div",{ + style: { + display:"none", visibility:"hidden", overflow:"scroll", + position:"absolute", top:0, left: 0, width:"200px", height:"200px", + padding:0, border:0, margin:0 + } + }); + + var ZFRAME = HTMLCSS.addElement(ZDIV,"div",{ + style: { + position:"absolute", left:0, top:0, right:0, bottom:0, + padding:0, border:0, margin:0 + } + }); + + HTMLCSS.Augment({ + imgSpaceBug: true, + imgSpace: String.fromCharCode(0xA0), + + imgZoomLevel: (browser.isMac ? + {50:.3, 30:.5, 22:.67, 19:.8, 16:.9, 15:1, 13:1.1, 12:1.2, + 11:1.33, 10:1.5, 9:1.7, 7:2, 6:2.4, 5:3, 0:15} : + {56:.3, 34:.5, 25:.67, 21:.8, 19:.9, 17:1, 15:1.1, 14:1.2, + 13:1.33, 11:1.5, 10:1.7, 8:2, 7:2.4, 6:3, 0:17} + ), + + imgZoomDiv: ZDIV, + + imgBrowserZoom: function () { + var size = this.imgZoomLevel; + ZDIV.style.display = ""; + var ratio = (ZDIV.offsetWidth-ZFRAME.offsetWidth); + ratio = (size[ratio] ? size[ratio] : size[0]/ratio); + ZDIV.style.display = "none"; + return ratio; + } + }); + }, + + Safari: function (browser) { + // for iPhone and iTouch +// var webkit = (navigator.appVersion+"AppleWebKit/530").match(/AppleWebKit\/(\d+)/)[1]; + HTMLCSS.Augment({ +// imgHeightBug: (!browser.isMac || webkit > 525), +// imgDepthBug: (!browser.isMac || webkit > 525), + imgBrowserZoom: function () {return 3} + }); + }, + + Chrome: function (browser) { + HTMLCSS.Augment({ + imgHeightBug: true, + imgBrowserZoom: function () {return 3} + }); + }, + + Opera: function (browser) { + HTMLCSS.Augment({ + imgSpaceBug: true, + imgSpace: String.fromCharCode(0xA0)+String.fromCharCode(0xA0), + + imgDoc: (document.compatMode == "BackCompat" ? document.body : + document.documentElement), + + imgBrowserZoom: function () { + if (browser.isMac) {return 3} // Mac Opera scales very nicely + var H = this.imgDoc.clientHeight, d = Math.floor(15*H/window.innerHeight); + if (this.imgDoc.clientWidth < this.imgDoc.scrollWidth-d) {H += d} + return parseFloat((window.innerHeight/H).toFixed(1)); + } + }); + } + }); + + var GETWIDTHS = function () { + var img = HTMLCSS.FONTDATA.FONTS["MathJax_Main"][0x2014][5].img; // em-dash + HTMLCSS.imgEmWidth = []; + for (var i = 0, m = img.length; i < m; i++) {HTMLCSS.imgEmWidth[i] = img[i][0]} + }; + + var IMGDIR = HTMLCSS.imgDir + HTMLCSS.imgPacked; + + MathJax.Callback.Queue( + ["Require",AJAX,IMGDIR+"/imagedata.js"], + GETWIDTHS, + ["loadComplete",AJAX,HTMLCSS.directory+"/imageFonts.js"] + ); + + }); + +})(MathJax.Hub,MathJax.OutputJax["HTML-CSS"],MathJax.Ajax); diff --git a/modules/MathJax/jax/output/HTML-CSS/jax.js b/modules/MathJax/jax/output/HTML-CSS/jax.js new file mode 100644 index 0000000..8369400 --- /dev/null +++ b/modules/MathJax/jax/output/HTML-CSS/jax.js @@ -0,0 +1,2300 @@ +/************************************************************* + * + * MathJax/jax/output/HTML-CSS/jax.js + * + * Implements the HTML-CSS OutputJax that displays mathematics + * using HTML and CSS to position the characters from math fonts + * in their proper locations. + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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. + */ + + +(function (AJAX,HUB,HTMLCSS) { + var MML; + + var FONTTEST = MathJax.Object.Subclass({ + timeout: 5*1000, // timeout for loading web fonts + + FontInfo: { + STIX: {family: "STIXSizeOneSym", testString: "() {} []"}, + TeX: {family: "MathJax_Size1", testString: "() {} []"} + }, + comparisonFont: ["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"], + testSize: ["40px","50px","60px","30px","20px"], + + Init: function () { + this.div = MathJax.HTML.addElement(document.body,"div",{ + style: {position:"absolute", visibility:"hidden", top:0, left:0, width: "auto", + padding:0, border:0, margin:0, + textAlign:"left", textIndent:0, textTransform:"none", + lineHeight:"normal", letterSpacing:"normal", wordSpacing:"normal", + fontSize:this.testSize[0], fontWeight:"normal", fontStyle:"normal"} + },[""]); + this.text = this.div.firstChild; + }, + + findFont: function (fonts,pref) { + if (pref && this.testCollection(pref)) {return pref} + for (var i = 0, m = fonts.length; i < m; i++) { + if (fonts[i] === pref) continue; + if (this.testCollection(fonts[i])) {return fonts[i]} + } + return null; + }, + + testCollection: function (name) {return this.testFont(this.FontInfo[name])}, + + testFont: function (font) { + if (font.isWebFont && HTMLCSS.FontFaceBug) { + this.div.style.fontWeight = this.div.style.fontStyle = "normal"; + } else { + this.div.style.fontWeight = (font.weight||"normal"); + this.div.style.fontStyle = (font.style||"normal"); + } + var W = this.getComparisonWidths(font.testString,font.noStyleChar); + if (W) { + this.div.style.fontFamily = "'"+font.family+"',"+this.comparisonFont[0]; + if (this.div.offsetWidth == W[0]) { + this.div.style.fontFamily = "'"+font.family+"',"+this.comparisonFont[W[2]]; + if (this.div.offsetWidth == W[1]) {return false} + } + if (this.div.offsetWidth != W[3]) { + if (font.noStyleChar || !HTMLCSS.FONTDATA || !HTMLCSS.FONTDATA.hasStyleChar) {return true} + for (var i = 0, m = this.testSize.length; i < m; i++) + {if (this.testStyleChar(font,this.testSize[i])) {return true}} + } + } + return false; + }, + + styleChar: String.fromCharCode(0xEFFD), // width encodes style + versionChar: String.fromCharCode(0xEFFE), // width encodes version + compChar: String.fromCharCode(0xEFFF), // "standard" width to compare to + + testStyleChar: function (font,size) { + var n = 3 + (font.weight ? 2 : 0) + (font.style ? 4 : 0); + var extra = "", dw = 0; + var SIZE = this.div.style.fontSize; this.div.style.fontSize = size; + if (HTMLCSS.msieItalicWidthBug && font.style === "italic") { + this.text.nodeValue = extra = this.compChar; + dw = this.div.offsetWidth; + } + if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.compChar+extra} + else {this.text.nodeValue = this.compChar+extra} + var W = this.div.offsetWidth-dw; + if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.styleChar+extra} + else {this.text.nodeValue = this.styleChar+extra} + var N = Math.floor((this.div.offsetWidth-dw)/W+.5); + if (N === n) { + if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = this.versionChar+extra} + else {this.text.nodeValue = this.versionChar+extra} + font.version = Math.floor((this.div.offsetWidth-dw)/W+1.5)/2; + } + this.div.style.fontSize = SIZE; + return (N === n); + }, + + getComparisonWidths: function (string,noStyleChar) { + if (HTMLCSS.FONTDATA && HTMLCSS.FONTDATA.hasStyleChar && !noStyleChar) + {string += this.styleChar + " " + this.compChar} + if (HTMLCSS.safariTextNodeBug) {this.div.innerHTML = string} + else {this.text.nodeValue = string} + this.div.style.fontFamily = this.comparisonFont[0]; + var W = this.div.offsetWidth, sW = -1; + if (HTMLCSS.safariWebFontSerif) { + this.div.style.fontFamily = HTMLCSS.safariWebFontSerif[0]; + sW = this.div.offsetWidth; + } + for (var i = 1, m = this.comparisonFont.length; i < m; i++) { + this.div.style.fontFamily = this.comparisonFont[i]; + if (this.div.offsetWidth != W) {return [W,this.div.offsetWidth,i,sW]} + } + return null; + }, + + loadWebFont: function (font) { + HUB.Startup.signal.Post("HTML-CSS Jax - Web-Font "+HTMLCSS.fontInUse+"/"+font.directory); + var n = MathJax.Message.File("Web-Font "+HTMLCSS.fontInUse+"/"+font.directory); + var done = MathJax.Callback({}); // called when font is loaded + var callback = MathJax.Callback(["loadComplete",this,font,n,done]); + AJAX.timer.start(AJAX,[this.checkWebFont,font,callback],1,this.timeout); + return done; + }, + loadComplete: function (font,n,done,status) { + MathJax.Message.Clear(n); + if (status === AJAX.STATUS.OK) {done(); return} + this.loadError(font); + if (HUB.Browser.isFirefox && HTMLCSS.allowWebFonts) { + var host = document.location.protocol + "//" + document.location.hostname; + if (document.location.port != "") {host += ":" + document.location.port} + host += "/"; + if (AJAX.fileURL(HTMLCSS.webfontDir).substr(0,host.length) !== host) + {this.firefoxFontError(font)} + } + HTMLCSS.loadWebFontError(font,done); + }, + loadError: function (font) { + MathJax.Message.Set("Can't load web font "+HTMLCSS.fontInUse+"/"+font.directory,null,2000); + }, + firefoxFontError: function (font) { + MathJax.Message.Set("Firefox can't load web fonts from a remote host",null,3000); + }, + + checkWebFont: function (check,font,callback) { + if (check.time(callback)) return; + if (HTMLCSS.Font.testFont(font)) {callback(check.STATUS.OK)} + else {setTimeout(check,check.delay)} + }, + + fontFace: function (name) { + var type = HTMLCSS.allowWebFonts; + var FONT = HTMLCSS.FONTDATA.FONTS[name]; + if (HTMLCSS.msieFontCSSBug && !FONT.family.match(/-Web$/)) {FONT.family += "-Web"} + var dir = AJAX.fileURL(HTMLCSS.webfontDir+"/"+type); + var fullname = name.replace(/-b/,"-B").replace(/-i/,"-I").replace(/-Bold-/,"-Bold"); + if (!fullname.match(/-/)) {fullname += "-Regular"} + if (type === "svg") {fullname += ".svg#"+fullname} else {fullname += "."+type} + var def = { + "font-family": FONT.family, + src: "url('"+dir+"/"+fullname+"')" + }; + if (type === "svg") def.src += " format('svg')"; + if (!(HTMLCSS.FontFaceBug && FONT.isWebFont)) { + if (name.match(/-bold/)) {def["font-weight"] = "bold"} + if (name.match(/-italic/)) {def["font-style"] = "italic"} + } + return def; + } + }); + + HTMLCSS.Augment({ + config: { + styles: { + ".MathJax": { + "display": "inline", + "font-family": "serif", + "font-style": "normal", + "font-weight": "normal", + "line-height": "normal", + "font-size": "100%", + "font-size-adjust":"none", + "text-indent": 0, + "text-align": "left", + "text-transform": "none", + "letter-spacing": "normal", + "word-spacing": "normal", + "word-wrap": "normal", + "white-space": "nowrap", + "float": "none", + "direction": "ltr", + border: 0, padding: 0, margin: 0 + }, + + ".MathJax_Display": { + position: "relative", + display: "block", + width: "100%" + }, + + ".MathJax img, .MathJax nobr, .MathJax a": { + border: 0, padding: 0, margin: 0, "max-width": "none", "max-height": "none", + "vertical-align": 0, "line-height": "normal", + "text-decoration": "none" + }, + "img.MathJax_strut": { + border:"0 !important", padding:"0 !important", margin: "0 !important", + "vertical-align": "0 !important" + }, + + ".MathJax span": { + display: "inline", position: "static", + border: 0, padding: 0, margin: 0, + "vertical-align": 0, "line-height": "normal", + "text-decoration": "none" + }, + + ".MathJax nobr": { + "white-space": "nowrap" + }, + + ".MathJax img": { + display: "inline ! important" + }, + + ".MathJax_Processing": { + visibility: "hidden", position:"fixed", + width: 0, height: 0, overflow:"hidden" + }, + + ".MathJax .MathJax_HitBox": { + cursor: "text" + }, + + "#MathJax_Tooltip": { + position: "absolute", left: 0, top: 0, + width: "auto", height: "auto", + display: "none" + }, + "#MathJax_Tooltip *": { + filter: "none", background:"transparent" // for IE + } + + } + }, + settings: HUB.config.menuSettings, + + LEFTBUTTON: (HUB.Browser.isMSIE ? 1 : 0), // the event.button value for left button + MENUKEY: "altKey", // the event value for alternate context menu + + Font: null, // created by Config() below + + Config: function () { + this.Font = FONTTEST(); + this.SUPER(arguments).Config.call(this); var settings = this.settings; + if (this.adjustAvailableFonts) {this.adjustAvailableFonts(this.config.availableFonts)} + if (settings.scale) {this.config.scale = settings.scale} + if (settings.font && settings.font !== "Auto") { + if (settings.font === "TeX (local)") + {this.config.availableFonts = ["TeX"]; this.config.preferredFont = "TeX"; this.config.webFont = "TeX"} + else if (settings.font === "STIX (local)") + {this.config.availableFonts = ["STIX"]; this.config.preferredFont = "STIX"; this.config.webFont = "TeX"} + else if (settings.font === "TeX (web)") {this.config.availableFonts = []; this.config.preferredFont = ""; this.config.webFont = "TeX"} + else if (settings.font === "TeX (image)") {this.config.availableFonts = []; this.config.preferredFont = ""; this.config.webFont = ""} + } + var font = this.Font.findFont(this.config.availableFonts,this.config.preferredFont); + if (!font && this.allowWebFonts) {font = this.config.webFont; if (font) {this.webFonts = true}} + if (!font && this.config.imageFont) {font = this.config.imageFont; this.imgFonts = true} + if (font) { + this.fontInUse = font; this.fontDir += "/" + font; this.webfontDir += "/" + font; + if (!this.require) {this.require = []} + this.require.push(this.fontDir+"/fontdata.js"); + if (this.imgFonts) { + this.require.push(this.directory+"/imageFonts.js"); + HUB.Startup.signal.Post("HTML-CSS Jax - using image fonts"); + } + } else { + MathJax.Message.Set("Can't find a valid font using ["+this.config.availableFonts.join(", ")+"]",null,3000); + this.FONTDATA = { + TeX_factor: 1, baselineskip: 1.2, lineH: .8, lineD: .2, ffLineH: .8, + FONTS: {}, VARIANT: {normal: {fonts:[]}}, RANGES: [], + DELIMITERS: {}, RULECHAR: 0x2D, REMAP: {} + }; + if (MathJax.InputJax.TeX && MathJax.InputJax.TeX.Definitions) { + MathJax.InputJax.TeX.Definitions.macros.overline[1] = "002D"; + MathJax.InputJax.TeX.Definitions.macros.underline[1] = "002D"; + } + HUB.Startup.signal.Post("HTML-CSS Jax - no valid font"); + } + }, + + Startup: function () { + // Set up default fonts + var family = [], fonts = this.FONTDATA.VARIANT.normal.fonts; + if (!(fonts instanceof Array)) {fonts = [fonts]} + for (var i = 0, m = fonts.length; i < m; i++) { + family[i] = this.FONTDATA.FONTS[fonts[i]].family; + if (!family[i]) {family[i] = fonts[i]} + } + this.config.styles[".MathJax .math span"] = + this.config.styles["#MathJax_getScales"] = {"font-family": family.join(',')}; + + // Make hidden div for when math is in a display:none block + this.hiddenDiv = this.Element("div",{ + style:{visibility:"hidden", overflow:"hidden", position:"absolute", top:0, + height:"1px", width: "auto", padding:0, border:0, margin:0, + textAlign:"left", textIndent:0, textTransform:"none", + lineHeight:"normal", letterSpacing:"normal", wordSpacing:"normal"} + }); + if (!document.body.firstChild) {document.body.appendChild(this.hiddenDiv)} + else {document.body.insertBefore(this.hiddenDiv,document.body.firstChild)} + this.hiddenDiv = this.addElement(this.hiddenDiv,"div",{id:"MathJax_Hidden"}); + + // Determine pixels per inch + var div = this.addElement(this.hiddenDiv,"div",{style:{width:"5in"}}); + this.pxPerInch = div.offsetWidth/5; this.hiddenDiv.removeChild(div); + + // Markers used by getW + this.startMarker = HTMLCSS.createStrut(this.Element("span"),10,true); + this.endMarker = this.addText(this.Element("span"),"x").parentNode; + + // Used in getHD + this.HDspan = this.Element("span"); + if (this.operaHeightBug) {this.createStrut(this.HDspan,0)} + if (this.msieInlineBlockAlignBug) { + this.HDimg = this.addElement(this.HDspan,"img",{style:{height:"0px", width:"1px"}}); + try {this.HDimg.src = "about:blank"} catch(err) {} + } else { + this.HDimg = HTMLCSS.createStrut(this.HDspan,0); + } + + // Used in getScales + this.HDMspan = this.Element("span",{style: {position:"absolute", "font-size-adjust":"none"}}); + if (this.msieInlineBlockAlignBug) { + this.HDMimg = this.addElement(this.HDMspan,"img",{ + style:{ + height:"0px", width:"1px", + "max-width":"none", "max-height":"none", + border:0, padding:0, margin:0 + } + }); + try {this.HDMimg.src = "about:blank"} catch(err) {} + } else { + this.HDMimg = HTMLCSS.createStrut(this.HDMspan,0); this.HDMimg.style.marginRight = ""; + } + + // Used for computing factor to fix margin width in MSIE + this.marginCheck = HTMLCSS.Element("span",null, + [["span",{style: {display:"inline-block", width:"5em"}}]]); + this.marginMove = HTMLCSS.addElement(this.marginCheck,"span", + {style: {display:"inline-block", width:"5em", marginLeft:"-5em"}}); + + // Set up styles and preload web fonts + return AJAX.Styles(this.config.styles,["PreloadWebFonts",this]); + }, + + PreloadWebFonts: function () { + if (!HTMLCSS.allowWebFonts || !HTMLCSS.config.preloadWebFonts) return; + for (var i = 0, m = HTMLCSS.config.preloadWebFonts.length; i < m; i++) { + var FONT = HTMLCSS.FONTDATA.FONTS[HTMLCSS.config.preloadWebFonts[i]]; + if (!FONT.available) {HTMLCSS.Font.testFont(FONT)} + } + }, + + Translate: function (script) { + if (!script.parentNode) return; + var prev = script.previousSibling; + if (prev && String(prev.className).match(/^MathJax(_MathML|_Display)?$/)) + {prev.parentNode.removeChild(prev)} + var math = script.MathJax.elementJax.root, span, div, frame; + span = div = frame = this.Element("span",{ + className:"MathJax", oncontextmenu:this.ContextMenu, onmousedown: this.Mousedown, + onmouseover:this.Mouseover, onclick:this.Click, ondblclick:this.DblClick + }); + var blockMode = (math.Get("display") === "block"); + if (blockMode) { + div = frame = this.Element("div",{className:"MathJax_Display", style:{width:"100%", position:"relative"}}); + div.appendChild(span); + } + // (screen readers don't know about role="math" yet, so use "textbox" instead) + div.setAttribute("role","textbox"); div.setAttribute("aria-readonly","true"); + if (this.useProcessingFrame) { + frame = this.Element((blockMode ? "div" : "span"),{className:"MathJax_Processing"}); + frame.appendChild(div); + } + script.parentNode.insertBefore(frame,script); var isHidden; + try {this.getScales(span); isHidden = (this.em === 0 || String(this.em) === "NaN")} catch (err) {isHidden = true} + if (isHidden) {this.hiddenDiv.appendChild(frame); this.getScales(span)} + this.initImg(span); + this.initHTML(math,span); + math.setTeXclass(); + try {math.toHTML(span,div)} catch (err) { + if (err.restart) {frame.parentNode.removeChild(frame)} + throw err; + } + if (isHidden) {script.parentNode.insertBefore(frame,script)} + if (this.useProcessingFrame) frame.parentNode.replaceChild(div,frame); + }, + + /* + * Autoload the MathMenu code, when needed + */ + ContextMenu: function (event,force) { + if (HTMLCSS.config.showMathMenu && (HTMLCSS.settings.context === "MathJax" || force)) { + if (HTMLCSS.safariContextMenuBug) {setTimeout('window.getSelection().empty()',0)} + if (!event || HTMLCSS.msieEventBug) {event = window.event} + var MENU = MathJax.Menu; + if (MENU) { + var math = (this.parentNode.className === "MathJax_Display" ? this.parentNode : this) + MENU.jax = HUB.getJaxFor(math.nextSibling); + MENU.menu.items[1].menu.items[1].name = + (MENU.jax.inputJax.id === "MathML" ? "Original" : MENU.jax.inputJax.id); + return MENU.menu.Post(event); + } else { + if (!AJAX.loadingMathMenu) { + AJAX.loadingMathMenu = true; + var EVENT = {pageX:event.pageX, pageY:event.pageY, clientX:event.clientX, clientY:event.clientY}; + MathJax.Callback.Queue( + AJAX.Require("[MathJax]/extensions/MathMenu.js"), + function () {delete AJAX.loadingMathMenu}, + [this,arguments.callee,EVENT,force] // call this function again + ); + } + if (!event) {event = window.event} + if (event.preventDefault) {event.preventDefault()} + if (event.stopPropagation) {event.stopPropagation()} + event.cancelBubble = true; + event.returnValue = false; + return false; + } + } + }, + Mousedown: function (event) { + if (HTMLCSS.config.showMathMenu) { + if (!event) {event = window.event} + if (HTMLCSS.settings.context === "MathJax") { + if (!HTMLCSS.noContextMenuBug || event.button !== 2) return + } else { + if (!event[HTMLCSS.MENUKEY] || event.button !== HTMLCSS.LEFTBUTTON) return + } + return HTMLCSS.ContextMenu.call(this,event,true); + } + }, + /* + * Used for zooming, when that is enabled by the MathMenu + */ + Mouseover: function (event) {HTMLCSS.HandleEvent(event,"Mouseover",this)}, + Click: function (event) {HTMLCSS.HandleEvent(event,"Click",this)}, + DblClick: function (event) {HTMLCSS.HandleEvent(event,"DblClick",this)}, + HandleEvent: function (event,type,math) {}, + + initImg: function (span) {}, + initHTML: function (math,span) {}, + initFont: function (name) { + var FONTS = HTMLCSS.FONTDATA.FONTS, AVAIL = HTMLCSS.config.availableFonts; + if (AVAIL && AVAIL.length && HTMLCSS.Font.testFont(FONTS[name])) + {FONTS[name].available = true; return null} + if (!this.allowWebFonts) {return null} + FONTS[name].isWebFont = true; + if (HTMLCSS.FontFaceBug) { + FONTS[name].family = name; + if (HTMLCSS.msieFontCSSBug) {FONTS[name].family += "-Web"} + } + return AJAX.Styles({"@font-face":this.Font.fontFace(name)}); + }, + + Remove: function (jax) { + var span = jax.SourceElement(); if (!span) return; + span = span.previousSibling; if (!span) return; + if (span.className.match(/^MathJax/)) {span.parentNode.removeChild(span)} + }, + + getScales: function (span) { + span.parentNode.insertBefore(this.HDMspan,span); + this.HDMspan.className = ""; this.HDMspan.id = ""; this.HDMspan.style.fontSize = ""; + this.HDMimg.style.height = "1px"; this.HDMimg.style.width = "60ex"; + var ex = this.HDMspan.offsetWidth/60; + this.HDMspan.className = "MathJax"; this.HDMspan.id = "MathJax_getScales"; + this.HDMimg.style.width = "60em"; + var em = this.outerEm = this.HDMspan.offsetWidth/60; + this.scale = Math.floor(Math.max(this.config.minScaleAdjust/100,(ex/this.TeX.x_height)/em) * this.config.scale); + span.style.fontSize = this.HDMspan.style.fontSize = this.scale+"%"; + this.em = MML.mbase.prototype.em = this.HDMspan.offsetWidth/60; + if (this.operaFontSizeBug && em === this.em && this.scale !== 100) { + // Opera 10.61 doesn't seem to process the fontSize setting above, so adjust manually + this.em = MML.mbase.prototype.em = em * this.scale/100; + } + span.parentNode.removeChild(this.HDMspan); + this.msieMarginScale = this.getMarginScale(span); + }, + getMarginScale: function (span) {return 1}, + getMSIEmarginScale: function (span) { + span.appendChild(this.marginCheck); + var W = this.marginCheck.offsetWidth, w = this.marginMove.offsetWidth; + var scale = (2*w - W ? w/(2*w - W) : 1); + span.removeChild(this.marginCheck); + return scale; + }, + getHD: function (span) { + var position = span.style.position; + span.style.position = "absolute"; + this.HDimg.style.height = "0px"; + span.appendChild(this.HDspan); + var HD = {h:span.offsetHeight}; + this.HDimg.style.height = HD.h+"px"; + HD.d = span.offsetHeight - HD.h; HD.h -= HD.d; + HD.h /= this.em; HD.d /= this.em; + span.removeChild(this.HDspan); + span.style.position = position; + return HD; + }, + getW: function (span) { + var W = span.offsetWidth, w = (span.bbox ? span.bbox.w: -1), start = span; + if ((w < 0 || this.negativeSkipBug) && W >= 0) { + // IE can't deal with a space at the beginning, so put something else first + if (this.negativeSkipBug) { + var position = span.style.position; span.style.position = "absolute"; + start = this.startMarker; + if (span.firstChild) {span.insertBefore(start,span.firstChild)} + else {span.appendChild(start)} + start = this.startMarker; + } + span.appendChild(this.endMarker); + W = this.endMarker.offsetLeft - start.offsetLeft; + span.removeChild(this.endMarker); + if (this.negativeSkipBug) { + span.removeChild(start); + span.style.position = position; + } + } + return W/this.em; + }, + Measured: function (span,parent) { + if (span.bbox.width == null && span.bbox.w && !span.bbox.isMultiline) { + var w = this.getW(span); + span.bbox.rw += w - span.bbox.w; + span.bbox.w = w; + } + if (!parent) {parent = span.parentNode} + if (!parent.bbox) {parent.bbox = span.bbox} + return span; + }, + Remeasured: function (span,parent) { + parent.bbox = this.Measured(span,parent).bbox; + }, + + Em: function (m) { + if (Math.abs(m) < .0006) {return "0em"} + return m.toFixed(3).replace(/\.?0+$/,"") + "em"; + }, + Percent: function (m) { + return (100*m).toFixed(1).replace(/\.?0+$/,"") + "%"; + }, + length2percent: function (length) { + return this.Percent(this.length2em(length)); + }, + length2em: function (length,size) { + if (typeof(length) !== "string") {length = length.toString()} + if (length === "") {return ""} + if (length === MML.SIZE.NORMAL) {return 1} + if (length === MML.SIZE.BIG) {return 2} + if (length === MML.SIZE.SMALL) {return .71} + if (length === "infinity") {return HTMLCSS.BIGDIMEN} + var factor = this.FONTDATA.TeX_factor; + if (length.match(/mathspace$/)) {return HTMLCSS.MATHSPACE[length]*factor} + var match = length.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/); + var m = parseFloat(match[1]||"1"), unit = match[2]; + if (size == null) {size = 1} + if (unit === "em") {return m * factor} + if (unit === "ex") {return m * HTMLCSS.TeX.x_height * factor} + if (unit === "%") {return m / 100 * size} + if (unit === "px") {return m / HTMLCSS.em} + if (unit === "pt") {return m / 10 * factor} // 10 pt to an em + if (unit === "pc") {return m * 1.2 * factor} // 12 pt to a pc + if (unit === "in") {return m * this.pxPerInch / HTMLCSS.em} + if (unit === "cm") {return m * this.pxPerInch / HTMLCSS.em / 2.54} // 2.54 cm to an inch + if (unit === "mm") {return m * this.pxPerInch / HTMLCSS.em / 25.4} // 10 mm to a cm + if (unit === "mu") {return m / 18 * factor} // FIXME: needs to include scale + return m*factor*size; // relative to given size (or 1em as default) + }, + thickness2em: function (length) { + var thick = HTMLCSS.TeX.rule_thickness; + if (length === MML.LINETHICKNESS.MEDIUM) {return thick} + if (length === MML.LINETHICKNESS.THIN) {return .67*thick} + if (length === MML.LINETHICKNESS.THICK) {return 1.67*thick} + return this.length2em(length,thick); + }, + + createStrut: function (span,h,before) { + var strut = this.Element("span",{ + style:{display:"inline-block", overflow:"hidden", height:h+"px", + width:"1px", marginRight:"-1px"} + }); + if (before) {span.insertBefore(strut,span.firstChild)} else {span.appendChild(strut)} + return strut; + }, + createBlank: function (span,w,before) { + var blank = this.Element("span",{ + style: {display:"inline-block", overflow:"hidden", height:"1px", width:this.Em(w)} + }); + if (before) {span.insertBefore(blank,span.firstChild)} else {span.appendChild(blank)} + return blank; + }, + createShift: function (span,w,before) { + var space = this.Element("span",{style:{marginLeft:this.Em(w)}}); + if (before) {span.insertBefore(space,span.firstChild)} else {span.appendChild(space)} + return space; + }, + createSpace: function (span,h,d,w,color) { + var H = this.Em(Math.max(0,h+d)), D = this.Em(-d); + if (this.msieInlineBlockAlignBug) {D = this.Em(HTMLCSS.getHD(span.parentNode).d-d)} + if (span.isBox || span.className == "mspace") { + span.bbox = { + h: h*span.scale, d: d*span.scale, + w: w*span.scale, rw: w*span.scale, lw: 0 + }; + span.style.height = H; span.style.verticalAlign = D; + } else { + span = this.addElement(span,"span",{style: {height:H, verticalAlign:D}}); + } + if (w >= 0) { + span.style.width = this.Em(w); + span.style.display = "inline-block"; + } else { + if (this.msieNegativeSpaceBug) {span.style.height = ""} + span.style.marginLeft = this.Em(w); + if (HTMLCSS.safariNegativeSpaceBug && span.parentNode.firstChild == span) + {this.createBlank(span,0,true)} + } + if (color && color !== MML.COLOR.TRANSPARENT) {span.style.backgroundColor = color} + return span; + }, + createRule: function (span,h,d,w,color) { + var min = HTMLCSS.TeX.min_rule_thickness; + // If rule is very thin, make it at least min_rule_thickness so it doesn't disappear + if (w > 0 && w*this.em < min) {w = min/this.em} + if (h+d > 0 && (h+d)*this.em < min) {var f = 1/(h+d)*(min/this.em); h *= f; d *= f} + if (!color) {color = "solid"} else {color = "solid "+color} + color = this.Em(w)+" "+color; + var H = this.Em(h+d), D = this.Em(-d); + var rule = this.addElement(span,"span",{ + style: {borderLeft: color, display: "inline-block", overflow:"hidden", + width:0, height:H, verticalAlign:D}, + bbox: {h:h, d:d, w:w, rw:w, lw:0}, noAdjust: true + }); + if (w > 0 && rule.offsetWidth == 0) {rule.style.width = this.Em(w)} + if (span.isBox || span.className == "mspace") {span.bbox = rule.bbox} + return rule; + }, + createFrame: function (span,h,d,w,t,style) { + var T = (this.msieBorderWidthBug ? 0 : 2*t); + var H = this.Em(h+d-T), D = this.Em(-d-t), W = this.Em(w-T); + var B = this.Em(t)+" "+style; + var frame = this.addElement(span,"span",{ + style: {border: B, display:"inline-block", overflow:"hidden", width:W, height:H}, + bbox: {h:h, d:d, w:w, rw:w, lw:0}, noAdjust: true + }); + if (D) {frame.style.verticalAlign = D} + return frame; + }, + + createStack: function (span,nobbox,w) { + if (this.msiePaddingWidthBug) {this.createStrut(span,0)} + var relativeW = String(w).match(/%$/); + var W = (!relativeW && w != null ? w : 0); + span = this.addElement(span,"span",{ + noAdjust: true, + style: {display:"inline-block", position:"relative", + width:(relativeW ? "100%" : this.Em(W)), height:0} + }); + if (!nobbox) { + span.parentNode.bbox = span.bbox = { + h: -this.BIGDIMEN, d: -this.BIGDIMEN, + w:W, lw: this.BIGDIMEN, rw: (!relativeW && w != null ? w : -this.BIGDIMEN) + }; + if (relativeW) {span.bbox.width = w} + } + return span; + }, + createBox: function (span,w) { + var box = this.addElement(span,"span",{style:{position:"absolute"}, isBox: true}); + if (w != null) {box.style.width = w} + return box; + }, + addBox: function (span,box) { + box.style.position = "absolute"; box.isBox = true; + return span.appendChild(box); + }, + placeBox: function (span,x,y,noclip) { + var parent = span.parentNode, bbox = span.bbox, BBOX = parent.bbox; + if (this.msiePlaceBoxBug) {this.addText(span,this.NBSP)} + if (this.imgSpaceBug) {this.addText(span,this.imgSpace)} + // Place the box + var HH = span.offsetHeight/this.em + 1, dx = 0; + if (span.noAdjust) {HH -= 1} else { + if (this.msieInlineBlockAlignBug) { + this.addElement(span,"img",{className:"MathJax_strut",border:0,src:"about:blank",style:{width:0,height:this.Em(HH)}}); + } else { + this.addElement(span,"span",{style:{display:"inline-block",width:0,height:this.Em(HH)}}); + } + } + span.style.top = this.Em(-y-HH); + span.style.left = this.Em(x+dx); + // Clip so that bbox doesn't include extra height and depth + if (bbox) { + if (this.negativeSkipBug) { + if (bbox.lw < 0) {dx = bbox.lw; HTMLCSS.createBlank(span,-dx,true); l = 0} + if (bbox.rw > bbox.w) {HTMLCSS.createBlank(span,bbox.rw-bbox.w+.1)} + } + if (!this.msieClipRectBug && !bbox.noclip && !noclip) { + var dd = 3/this.em; + var H = (bbox.H == null ? bbox.h : bbox.H), D = (bbox.D == null ? bbox.d : bbox.D); + var t = HH - H - dd, b = HH + D + dd, l = bbox.lw - 3*dd, r = 1000; + if (bbox.isFixed) {r = bbox.width-l} + span.style.clip = "rect("+this.Em(t)+" "+this.Em(r)+" "+this.Em(b)+" "+this.Em(l)+")"; + } + } + // Update the bounding box + if (bbox && BBOX) { + if (bbox.H != null && (BBOX.H == null || bbox.H + y > BBOX.H)) {BBOX.H = bbox.H + y} + if (bbox.D != null && (BBOX.D == null || bbox.D - y > BBOX.D)) {BBOX.D = bbox.D - y} + if (bbox.h + y > BBOX.h) {BBOX.h = bbox.h + y} + if (bbox.d - y > BBOX.d) {BBOX.d = bbox.d - y} + if (BBOX.H != null && BBOX.H <= BBOX.h) {delete BBOX.H} + if (BBOX.D != null && BBOX.D <= BBOX.d) {delete BBOX.D} + if (bbox.w + x > BBOX.w) { + BBOX.w = bbox.w + x; + if (BBOX.width == null) {parent.style.width = this.Em(BBOX.w)} + } + if (bbox.rw + x > BBOX.rw) {BBOX.rw = bbox.rw + x} + if (bbox.lw + x < BBOX.lw) {BBOX.lw = bbox.lw + x} + if (bbox.width != null && !bbox.isFixed) { + if (BBOX.width == null) {parent.style.width = BBOX.width = "100%"} + span.style.width = bbox.width; + } + } + }, + alignBox: function (span,align,y) { + this.placeBox(span,0,y); // set y position (and left aligned) + var bbox = span.bbox; if (bbox.isMultiline) return; + var isRelative = bbox.width != null && !bbox.isFixed; + var r = 0, c = -bbox.w/2, l = "50%"; + if (this.negativeSkipBug) {r = bbox.w-bbox.rw-.1; c += bbox.lw} + c = this.Em(c*this.msieMarginScale); + if (isRelative) {c = ""; l = (50 - parseFloat(bbox.width)/2) + "%"} + HUB.Insert(span.style,({ + right: {left:"", right: this.Em(r)}, + center: {left:l, marginLeft: c} + })[align]); + }, + setStackWidth: function (span,w) { + if (typeof(w) === "number") { + span.style.width = this.Em(Math.max(0,w)); + if (span.bbox) {span.bbox.w = w}; + if (span.parentNode.bbox) {span.parentNode.bbox.w = w} + } else { + span.style.width = span.parentNode.style.width = "100%"; + if (span.bbox) {span.bbox.width = w} + if (span.parentNode.bbox) {span.parentNode.bbox.width = w} + } + }, + + createDelimiter: function (span,code,HW,scale,font) { + if (!code) { + span.bbox = {h:0, d:0, w:this.TeX.nulldelimiterspace, lw: 0}; + span.bbox.rw = span.bbox.w; + this.createSpace(span,span.bbox.h,span.bbox.d,span.bbox.w); + return; + } + if (!scale) {scale = 1}; + if (!(HW instanceof Array)) {HW = [HW,HW]} + var hw = HW[1]; HW = HW[0]; + var delim = {alias: code}; + while (delim.alias) { + code = delim.alias; delim = this.FONTDATA.DELIMITERS[code]; + if (!delim) {delim = {HW: [0,this.FONTDATA.VARIANT[MML.VARIANT.NORMAL]]}} + } + for (var i = 0, m = delim.HW.length; i < m; i++) { + if (delim.HW[i][0]*scale >= HW-.01 || (i == m-1 && !delim.stretch)) { + if (delim.HW[i][2]) {scale *= delim.HW[i][2]} + if (delim.HW[i][3]) {code = delim.HW[i][3]} + var chr = this.addElement(span,"span"); + this.createChar(chr,[code,delim.HW[i][1]],scale,font); + span.bbox = chr.bbox; + span.offset = .65 * span.bbox.w; + span.scale = scale; + return; + } + } + if (delim.stretch) {this["extendDelimiter"+delim.dir](span,hw,delim.stretch,scale,font)} + }, + extendDelimiterV: function (span,H,delim,scale,font) { + var stack = this.createStack(span,true); + var top = this.createBox(stack), bot = this.createBox(stack); + this.createChar(top,(delim.top||delim.ext),scale,font); + this.createChar(bot,(delim.bot||delim.ext),scale,font); + var ext = {bbox:{w:0,lw:0,rw:0}}, mid = ext, EXT; + var h = top.bbox.h + top.bbox.d + bot.bbox.h + bot.bbox.d; + var y = -top.bbox.h; this.placeBox(top,0,y,true); y -= top.bbox.d; + if (delim.mid) { + mid = this.createBox(stack); this.createChar(mid,delim.mid,scale,font); + h += mid.bbox.h + mid.bbox.d; + } + if (H > h) { + ext = this.Element("span"); this.createChar(ext,delim.ext,scale,font); + var eH = ext.bbox.h + ext.bbox.d, eh = eH - .05, n, N, k = (delim.mid ? 2 : 1); + N = n = Math.ceil((H-h)/(k*eh)); + if (!delim.fullExtenders) {eh = (H-h)/(k*n)} + var dy = (n/(n+1))*(eH - eh); eh = eH - dy; y += dy + eh - ext.bbox.h; + while (k-- > 0) { + while (n-- > 0) { + if (!this.msieCloneNodeBug) {EXT = ext.cloneNode(true)} + else {EXT = this.Element("span"); this.createChar(EXT,delim.ext,scale,font)} + y -= eh; this.placeBox(this.addBox(stack,EXT),0,y,true); + } + y += dy - ext.bbox.d; + if (delim.mid && k) { + this.placeBox(mid,0,y-mid.bbox.h,true); n = N; + y += -(mid.bbox.h + mid.bbox.d) + dy + eh - ext.bbox.h; + } + } + } else { + y += (h - H)/2; + if (delim.mid) {this.placeBox(mid,0,y-mid.bbox.h,true); y += -(mid.bbox.h + mid.bbox.d)} + y += (h - H)/2; + } + this.placeBox(bot,0,y-bot.bbox.h,true); y -= bot.bbox.h + bot.bbox.d; + span.bbox = { + w: Math.max(top.bbox.w,ext.bbox.w,bot.bbox.w,mid.bbox.w), + lw: Math.min(top.bbox.lw,ext.bbox.lw,bot.bbox.lw,mid.bbox.lw), + rw: Math.max(top.bbox.rw,ext.bbox.rw,bot.bbox.rw,mid.bbox.rw), + h: 0, d: -y + } + span.scale = scale; + span.offset = .55 * span.bbox.w; + span.isMultiChar = true; + this.setStackWidth(stack,span.bbox.w); + }, + extendDelimiterH: function (span,W,delim,scale,font) { + var stack = this.createStack(span,true); + var left = this.createBox(stack), right = this.createBox(stack); + this.createChar(left,(delim.left||delim.rep),scale,font); + this.createChar(right,(delim.right||delim.rep),scale,font); + var rep = this.Element("span"); this.createChar(rep,delim.rep,scale,font); + var mid = {bbox: {h:-this.BIGDIMEN, d:-this.BIGDIMEN}}, REP; + this.placeBox(left,-left.bbox.lw,0,true); + var w = (left.bbox.rw - left.bbox.lw) + (right.bbox.rw - right.bbox.lw) - .05, + x = left.bbox.rw - left.bbox.lw - .025, dx; + if (delim.mid) { + mid = this.createBox(stack); this.createChar(mid,delim.mid,scale,font); + w += mid.bbox.w; + } + if (W > w) { + var rW = rep.bbox.rw-rep.bbox.lw, rw = rW - .05, n, N, k = (delim.mid ? 2 : 1); + N = n = Math.ceil((W-w)/(k*rw)); rw = (W-w)/(k*n); + dx = (n/(n+1))*(rW - rw); rw = rW - dx; x -= rep.bbox.lw + dx; + while (k-- > 0) { + while (n-- > 0) { + if (!this.msieCloneNodeBug) {REP = rep.cloneNode(true)} + else {REP = this.Element("span"); this.createChar(REP,delim.rep,scale,font)} + this.placeBox(this.addBox(stack,REP),x,0,true); x += rw; + } + if (delim.mid && k) {this.placeBox(mid,x,0,true); x += mid.bbox.w - dx; n = N} + } + } else { + dx = Math.min(w - W,left.bbox.w/2); + x -= dx/2; if (delim.mid) {this.placeBox(mid,x,0,true); x += mid.bbox.w}; x -= dx/2; + } + this.placeBox(right,x,0,true); + span.bbox = { + w: x+right.bbox.rw, lw: 0, rw: x+right.bbox.rw, + H: Math.max(left.bbox.h,rep.bbox.h,right.bbox.h,mid.bbox.h), + D: Math.max(left.bbox.d,rep.bbox.d,right.bbox.d,mid.bbox.d), + h: rep.bbox.h, d: rep.bbox.d + } + span.scale = scale; + span.isMultiChar = true; + this.setStackWidth(stack,span.bbox.w); + }, + createChar: function (span,data,scale,font) { + var SPAN = span, text = "", variant = {fonts: [data[1]], noRemap:true}; + if (font && font === MML.VARIANT.BOLD) {variant.fonts = [data[1]+"-bold",data[1]]} + if (typeof(data[1]) !== "string") {variant = data[1]} + if (data[0] instanceof Array) { + for (var i = 0, m = data[0].length; i < m; i++) {text += String.fromCharCode(data[0][i])} + } else {text = String.fromCharCode(data[0])} + if (scale !== 1) { + SPAN = this.addElement(span,"span",{style:{fontSize: this.Percent(scale)}, scale:scale}); + this.handleVariant(SPAN,variant,text); + span.bbox = SPAN.bbox; + } else {this.handleVariant(span,variant,text)} + if (data[2]) {span.style.marginLeft = this.Em(data[2])} + if (this.AccentBug && span.bbox.w === 0) { + // Handle combining characters by adding a non-breaking space and removing that width + SPAN.firstChild.nodeValue += this.NBSP; + HTMLCSS.createSpace(span,0,0,-span.offsetWidth/HTMLCSS.em); + } + }, + positionDelimiter: function (span,h) { + h -= span.bbox.h; span.bbox.d -= h; span.bbox.h += h; + if (h) { + if (this.safariVerticalAlignBug || this.msieVerticalAlignBug || this.konquerorVerticalAlignBug || + (this.operaVerticalAlignBug && span.isMultiChar)) { + if (span.firstChild.style.display === "" && span.style.top !== "") + {span = span.firstChild; h -= parseFloat(span.style.top)} + span.style.position = "relative"; + span.style.top = this.Em(-h); + } else { + span.style.verticalAlign = this.Em(h); + if (HTMLCSS.ffVerticalAlignBug) {HTMLCSS.createRule(span.parentNode,span.bbox.h,0,0)} + } + } + }, + + handleVariant: function (span,variant,text) { + var newtext = "", n, c, font, spanv, SPANV, VARIANT, SPAN = span; + if (text.length === 0) return; + if (!span.bbox) { + span.bbox = { + w: 0, h: -this.BIGDIMEN, d: -this.BIGDIMEN, + rw: -this.BIGDIMEN, lw: this.BIGDIMEN + }; + } + if (!variant) {variant = this.FONTDATA.VARIANT[MML.VARIANT.NORMAL]} + VARIANT = variant; + for (var i = 0, m = text.length; i < m; i++) { + variant = VARIANT; + n = text.charCodeAt(i); c = text.charAt(i); + if (c === this.PLANE1) { + i++; n = text.charCodeAt(i) + 0x1D400 - 0xDC00; + if (this.FONTDATA.RemapPlane1) { + var nv = this.FONTDATA.RemapPlane1(n,variant); + n = nv.n; variant = nv.variant; + } + } else { + var id, M, RANGES = this.FONTDATA.RANGES; + for (id = 0, M = RANGES.length; id < M; id++) { + if (RANGES[id].name === "alpha" && variant.noLowerCase) continue; + var N = variant["offset"+RANGES[id].offset]; + if (N && n >= RANGES[id].low && n <= RANGES[id].high) { + if (RANGES[id].remap && RANGES[id].remap[n]) { + n = N + RANGES[id].remap[n]; + } else { + n = n - RANGES[id].low + N; + if (RANGES[id].add) {n += RANGES[id].add} + } + if (variant["variant"+RANGES[id].offset]) + {variant = this.FONTDATA.VARIANT[variant["variant"+RANGES[id].offset]]} + break; + } + } + } + if (variant.remap && variant.remap[n]) { + if (variant.remap[n] instanceof Array) { + var remap = variant.remap[n]; + n = remap[0]; variant = this.FONTDATA.VARIANT[remap[1]]; + } else { + n = variant.remap[n]; + if (variant.remap.variant) {variant = this.FONTDATA.VARIANT[variant.remap.variant]} + } + } + if (this.FONTDATA.REMAP[n] && !variant.noRemap) {n = this.FONTDATA.REMAP[n]} + font = this.lookupChar(variant,n); c = font[n]; + if (variant !== SPANV && !c[5].img) { + if (newtext.length) {this.addText(SPAN,newtext); newtext = ""} + SPAN = span; SPANV = spanv; + if (variant !== SPANV) + {if (SPANV) {SPAN = this.addElement(span,"span")} else {spanv = variant}} + this.handleFont(SPAN,font,SPAN !== span); + SPANV = variant; + } + newtext = this.handleChar(SPAN,font,c,n,newtext); + if (c[0]/1000 > span.bbox.h) {span.bbox.h = c[0]/1000} + if (c[1]/1000 > span.bbox.d) {span.bbox.d = c[1]/1000} + if (span.bbox.w + c[3]/1000 < span.bbox.lw) {span.bbox.lw = span.bbox.w + c[3]/1000} + if (span.bbox.w + c[4]/1000 > span.bbox.rw) {span.bbox.rw = span.bbox.w + c[4]/1000} + span.bbox.w += c[2]/1000; + } + if (newtext.length) {this.addText(SPAN,newtext)} + if (span.scale && span.scale !== 1) { + span.bbox.h *= span.scale; span.bbox.d *= span.scale; + span.bbox.w *= span.scale; span.bbox.lw *= span.scale; span.bbox.rw *= span.scale; + } + if (text.length == 1 && font.skew && font.skew[n]) {span.bbox.skew = font.skew[n]} + }, + + handleFont: function (span,font,force) { + span.style.fontFamily = font.family; + if (!(HTMLCSS.FontFaceBug && font.isWebFont)) { + var style = font.style || "normal", weight = font.weight || "normal"; + if (style !== "normal" || force) {span.style.fontStyle = style} + if (weight !== "normal" || force) {span.style.fontWeight = weight} + } + }, + + handleChar: function (span,font,c,n,text) { + var C = c[5]; + if (C.img) {return this.handleImg(span,font,c,n,text)} + if (C.isUnknown && this.FONTDATA.DELIMITERS[n]) { + if (text.length) {this.addText(span,text)} + var scale = span.scale; + HTMLCSS.createDelimiter(span,n,0,1,font); + span.scale = scale; + c[0] = span.bbox.h*1000; c[1] = span.bbox.d*1000; + c[2] = span.bbox.w*1000; c[3] = span.bbox.lw*1000; c[4] = span.bbox.rw*1000; + return ""; + } + if (C.c == null) { + if (n <= 0xFFFF) {C.c = String.fromCharCode(n)} + else {C.c = this.PLANE1 + String.fromCharCode(n-0x1D400+0xDC00)} + } + if (c[2] || !this.msieAccentBug || text.length) {return text + C.c} + // Handle IE accent clipping bug + HTMLCSS.createShift(span,c[3]/1000); + HTMLCSS.createShift(span,(c[4]-c[3])/1000); + this.addText(span,C.c); + HTMLCSS.createShift(span,-c[4]/1000); + return ""; + }, + handleImg: function (span,font,c,n,text) {return text}, // replaced by imageFont extension + + lookupChar: function (variant,n) { + var i, m; + if (!variant.FONTS) { + var FONTS = this.FONTDATA.FONTS; + var fonts = (variant.fonts || this.FONTDATA.VARIANT.normal.fonts); + if (!(fonts instanceof Array)) {fonts = [fonts]} + if (variant.fonts != fonts) {variant.fonts = fonts} + variant.FONTS = []; + for (i = 0, m = fonts.length; i < m; i++) { + if (FONTS[fonts[i]]) { + variant.FONTS.push(FONTS[fonts[i]]); + FONTS[fonts[i]].name = fonts[i]; // FIXME: should really be in the font files + } + } + } + for (i = 0, m = variant.FONTS.length; i < m; i++) { + var font = variant.FONTS[i]; + if (typeof(font) === "string") { + delete variant.FONTS; this.loadFont(font); + } + if (font[n]) { + if (font[n].length === 5) {font[n][5] = {}} + if (HTMLCSS.allowWebFonts && !font.available) + {this.loadWebFont(font)} else {return font} + } else {this.findBlock(font,n)} + } + var unknown = (variant.defaultFont || {family:HTMLCSS.config.undefinedFamily}); + if (variant.bold) {unknown.weight = "bold"}; if (variant.italic) {unknown.style = "italic"} + unknown[n] = [800,200,500,0,500,{isUnknown:true}]; // [h,d,w,lw,rw,{data}] + return unknown; + }, + + findBlock: function (font,c) { + if (font.Ranges) { + // FIXME: do binary search? + for (var i = 0, m = font.Ranges.length; i < m; i++) { + if (c < font.Ranges[i][0]) return; + if (c <= font.Ranges[i][1]) { + var file = font.Ranges[i][2]; + for (var j = font.Ranges.length-1; j >= 0; j--) + {if (font.Ranges[j][2] == file) {font.Ranges.splice(j,1)}} + this.loadFont(font.directory+"/"+file+".js"); + } + } + } + }, + + loadFont: function (file) { + var queue = MathJax.Callback.Queue(); + queue.Push(["Require",AJAX,this.fontDir+"/"+file]); + if (this.imgFonts) { + if (!MathJax.isPacked) {file = file.replace(/\/([^\/]*)$/,HTMLCSS.imgPacked+"/$1")} + queue.Push(["Require",AJAX,this.webfontDir+"/png/"+file]); + } + HUB.RestartAfter(queue.Push({})); + }, + + loadWebFont: function (font) { + font.available = font.isWebFont = true; + if (HTMLCSS.FontFaceBug) { + font.family = font.name; + if (HTMLCSS.msieFontCSSBug) {font.family += "-Web"} + } + HUB.RestartAfter(this.Font.loadWebFont(font)); + }, + loadWebFontError: function (font,done) { + // + // After the first web font fails to load, switch to image fonts, if possible + // otherwise, give up on web fonts all together + // + HUB.Startup.signal.Post("HTML-CSS Jax - disable web fonts"); + font.isWebFont = false; + if (this.config.imageFont && this.config.imageFont === this.fontInUse) { + this.imgFonts = true; + HUB.Startup.signal.Post("HTML-CSS Jax - switch to image fonts"); + HUB.Startup.signal.Post("HTML-CSS Jax - using image fonts"); + MathJax.Message.Set("Web-Fonts not available -- using image fonts instead",null,3000); + AJAX.Require(this.directory+"/imageFonts.js",done); + } else { + this.allowWebFonts = false; + done(); + } + }, + + Element: MathJax.HTML.Element, + addElement: MathJax.HTML.addElement, + TextNode: MathJax.HTML.TextNode, + addText: MathJax.HTML.addText, + ucMatch: MathJax.HTML.ucMatch, + + BIGDIMEN: 10000000, + ID: 0, idPostfix: "", + GetID: function () {this.ID++; return this.ID}, + + MATHSPACE: { + veryverythinmathspace: 1/18, + verythinmathspace: 2/18, + thinmathspace: 3/18, + mediummathspace: 4/18, + thickmathspace: 5/18, + verythickmathspace: 6/18, + veryverythickmathspace: 7/18, + negativeveryverythinmathspace: -1/18, + negativeverythinmathspace: -2/18, + negativethinmathspace: -3/18, + negativemediummathspace: -4/18, + negativethickmathspace: -5/18, + negativeverythickmathspace: -6/18, + negativeveryverythickmathspace: -7/18 + }, + + TeX: { + x_height: .430554, + quad: 1, + num1: .676508, + num2: .393732, + num3: .44373, + denom1: .685951, + denom2: .344841, + sup1: .412892, + sup2: .362892, + sup3: .288888, + sub1: .15, + sub2: .247217, + sup_drop: .386108, + sub_drop: .05, + delim1: 2.39, + delim2: 1.0, + axis_height: .25, + rule_thickness: .06, + big_op_spacing1: .111111, + big_op_spacing2: .166666, + big_op_spacing3: .2, + big_op_spacing4: .6, + big_op_spacing5: .1, + + scriptspace: .1, + nulldelimiterspace: .12, + delimiterfactor: 901, + delimitershortfall: .1, // originally .3, + + min_rule_thickness: 1.25 // in pixels + }, + + PLANE1: String.fromCharCode(0xD835), + NBSP: String.fromCharCode(0xA0), + + rfuzz: 0 // adjustment to rule placements in roots + }); + + MathJax.Hub.Register.StartupHook("mml Jax Ready",function () { + + MML = MathJax.ElementJax.mml; + + MML.mbase.Augment({ + toHTML: function (span) { + var split = this.HTMLlineBreaks(); + if (split.length > 2) {return this.toHTMLmultiline(span,split)} + span = this.HTMLcreateSpan(span); if (this.type != "mrow") {span = this.HTMLhandleSize(span)} + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(span)}} + var stretchy = this.HTMLcomputeBBox(span); + var h = span.bbox.h, d = span.bbox.d; + for (i = 0, m = stretchy.length; i < m; i++) {stretchy[i].HTMLstretchV(span,h,d)} + if (stretchy.length) {this.HTMLcomputeBBox(span,true)} + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLlineBreaks: function () { + var split = [[0,this]]; + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i]) { + var lb = this.data[i].lineBreak(); + if (lb !== "none") { + var j = (lb === "after" ? i+1 : i); + if (split.length === 0 || split[split.length-1] !== j) + {split.push([j,this.data[i]])} else {split[split.length-1] = [j,this.data[i]]} + } + } + } + split.push([this.data.length,split[split.length-1][1]]); + return split; + }, + toHTMLmultiline: function (span) {MML.mbase.HTMLautoloadFile("multiline")}, + HTMLcomputeBBox: function (span,full,i,m) { + if (i == null) {i = 0}; if (m == null) {m = this.data.length} + var BBOX = span.bbox = {}, stretchy = []; + while (i < m) { + var core = this.data[i]; if (!core) continue; + if (!full && core.HTMLcanStretch("Vertical")) + {stretchy.push(core); core = (core.CoreMO()||core)} + this.HTMLcombineBBoxes(core,BBOX); i++; + } + this.HTMLcleanBBox(BBOX); + return stretchy; + }, + HTMLcombineBBoxes: function (core,BBOX) { + if (BBOX.w == null) {this.HTMLemptyBBox(BBOX)} + var child = core.HTMLspanElement(); if (!child || !child.bbox) return; + var bbox = child.bbox; + if (bbox.d > BBOX.d) {BBOX.d = bbox.d} + if (bbox.h > BBOX.h) {BBOX.h = bbox.h} + if (bbox.D != null && bbox.D > BBOX.D) {BBOX.D = bbox.D} + if (bbox.H != null && bbox.H > BBOX.H) {BBOX.H = bbox.H} + if (child.style.paddingLeft) {BBOX.w += parseFloat(child.style.paddingLeft)*(child.scale||1)} + if (BBOX.w + bbox.lw < BBOX.lw) {BBOX.lw = BBOX.w + bbox.lw} + if (BBOX.w + bbox.rw > BBOX.rw) {BBOX.rw = BBOX.w + bbox.rw} + BBOX.w += bbox.w; + if (child.style.paddingRight) {BBOX.w += parseFloat(child.style.paddingRight)*(child.scale||1)} + if (bbox.width) {BBOX.width = bbox.width} + }, + HTMLemptyBBox: function (BBOX) { + BBOX.h = BBOX.d = BBOX.H = BBOX.D = BBOX.rw = -HTMLCSS.BIGDIMEN; + BBOX.w = 0; BBOX.lw = HTMLCSS.BIGDIMEN; + return BBOX; + }, + HTMLcleanBBox: function (BBOX) { + if (BBOX.h === this.BIGDIMEN) + {BBOX.h = BBOX.d = BBOX.H = BBOX.D = BBOX.w = BBOX.rw = BBOX.lw = 0} + if (BBOX.D <= BBOX.d) {delete BBOX.D}; if (BBOX.H <= BBOX.h) {delete BBOX.H} + }, + HTMLzeroBBox: function () {return {h:0, d:0, w:0, lw: 0, rw:0}}, + HTMLcanStretch: function (direction) { + if (this.isEmbellished()) {return this.Core().HTMLcanStretch(direction)} + return false; + }, + HTMLstretchH: function (box,W) {return this.HTMLspanElement()}, + HTMLstretchV: function (box,h,d) {return this.HTMLspanElement()}, + HTMLnotEmpty: function (data) { + while (data) { + if ((data.type !== "mrow" && data.type !== "texatom") || + data.data.length > 1) {return true} + data = data.data[0]; + } + return false; + }, + + HTMLmeasureChild: function (n,box) { + if (this.data[n] != null) {HTMLCSS.Measured(this.data[n].toHTML(box),box)} + else {box.bbox = this.HTMLzeroBBox()} + }, + + HTMLcreateSpan: function (span) { + if (this.spanID) { + var SPAN = this.HTMLspanElement(); + if (SPAN) { + while (SPAN.firstChild) {SPAN.removeChild(SPAN.firstChild)} + SPAN.bbox = {w:0, h:0, d:0, lw:0, rw:0}; + SPAN.scale = 1; SPAN.isMultChar = null; + SPAN.style.cssText = ""; + return SPAN; + } + } + if (this.href) {span = HTMLCSS.addElement(span,"a",{href:this.href})} + span = HTMLCSS.addElement(span,"span",{className: this.type}); + if (HTMLCSS.imgHeightBug) {span.style.display = "inline-block"} + if (this["class"] != null) {span.className += " "+this["class"]} + if (this.style) { + span.style.cssText = this.style; + if (span.style.fontSize) {this.mathsize = span.style.fontSize; span.style.fontSize = ""} + } + this.spanID = HTMLCSS.GetID(); + span.id = (this.id || "MathJax-Span-"+this.spanID) + HTMLCSS.idPostfix; + span.bbox = {w:0, h:0, d:0, lw:0, lr:0}; + if (this.href) {span.parentNode.bbox = span.bbox} + return span; + }, + HTMLspanElement: function () { + if (!this.spanID) {return null} + return document.getElementById((this.id||"MathJax-Span-"+this.spanID)+HTMLCSS.idPostfix); + }, + + HTMLhandleVariant: function (span,variant,text) {HTMLCSS.handleVariant(span,variant,text)}, + + HTMLhandleSize: function (span) { + if (!span.scale) { + span.scale = this.HTMLgetScale(); + if (span.scale !== 1) {span.style.fontSize = HTMLCSS.Percent(span.scale)} + } + return span; + }, + + HTMLhandleColor: function (span) { + var values = this.getValues("mathcolor","color"); + if (this.mathbackground) {values.mathbackground = this.mathbackground} + if (this.background) {values.background = this.background} + // @@@ FIXME: handle border as well? + if (this.style && span.style.backgroundColor) { + values.mathbackground = span.style.backgroundColor; + span.style.backgroundColor = "transparent"; + } + if (values.color && !this.mathcolor) {values.mathcolor = values.color} + if (values.background && !this.mathbackground) {values.mathbackground = values.background} + if (values.mathcolor) {span.style.color = values.mathcolor} + if (values.mathbackground && values.mathbackground !== MML.COLOR.TRANSPARENT) { + var dd = 1/HTMLCSS.em, lW = 0, rW = 0; + if (this.isToken) {lW = span.bbox.lw; rW = span.bbox.rw - span.bbox.w} + if (span.style.paddingLeft !== "") {lW += parseFloat(span.style.paddingLeft)*(span.scale||1)} + if (span.style.paddingRight !== "") {rW -= parseFloat(span.style.paddingRight)*(span.scale||1)} + var W = Math.max(0,HTMLCSS.getW(span) + (HTMLCSS.PaddingWidthBug ? 0 : rW - lW)); + if (HTMLCSS.msieCharPaddingWidthBug && span.style.paddingLeft !== "") + {W += parseFloat(span.style.paddingLeft)*(span.scale||1)} + var H = span.bbox.h + span.bbox.d, D = -span.bbox.d; + if (W > 0) {W += 2*dd; lW -= dd}; if (H > 0) {H += 2*dd; D -= dd}; rW = -W-lW; + var frame = HTMLCSS.Element("span",{id:"MathJax-Color-"+this.spanID+HTMLCSS.idPostfix, + style:{display:"inline-block", backgroundColor:values.mathbackground, + width: HTMLCSS.Em(W), height:HTMLCSS.Em(H), verticalAlign: HTMLCSS.Em(D), + marginLeft: HTMLCSS.Em(lW), marginRight: HTMLCSS.Em(rW)} + }); + if (HTMLCSS.msieInlineBlockAlignBug) { + frame.style.position = "relative"; frame.style.width = frame.style.height = 0; + frame.style.verticalAlign = frame.style.marginLeft = frame.style.marginRight = ""; + HTMLCSS.placeBox(HTMLCSS.addElement(frame,"span",{ + noAdjust: true, + style: {display:"inline-block", position:"absolute", overflow:"hidden", + width: HTMLCSS.Em(W), height: HTMLCSS.Em(H), + background: values.mathbackground} + }),lW,span.bbox.h+dd); + } + span.parentNode.insertBefore(frame,span); + if (HTMLCSS.msieColorPositionBug) {span.style.position = "relative"} + return frame; + } + return null; + }, + HTMLremoveColor: function () { + var color = document.getElementById("MathJax-Color-"+this.spanID+HTMLCSS.idPostfix); + if (color) {color.parentNode.removeChild(color)} + }, + + HTMLhandleSpace: function (span) { + if (this.useMMLspacing) { + if (this.type !== "mo") return; + var values = this.getValues("scriptlevel","lspace","rspace"); + if (values.scriptlevel <= 0 || this.hasValue("lspace") || this.hasValue("rspace")) { + values.lspace = Math.max(0,HTMLCSS.length2em(values.lspace)); + values.rspace = Math.max(0,HTMLCSS.length2em(values.rspace)); + var core = this, parent = this.Parent(); + while (parent && parent.isEmbellished() && parent.Core() === core) + {core = parent; parent = parent.Parent(); span = core.HTMLspanElement()} + if (values.lspace) {span.style.paddingLeft = HTMLCSS.Em(values.lspace)} + if (values.rspace) {span.style.paddingRight = HTMLCSS.Em(values.rspace)} + } + } else { + var space = this.texSpacing(); + if (space !== "") { + space = HTMLCSS.length2em(space)/(span.scale||1); + if (span.style.paddingLeft) {space += parseFloat(span.style.paddingLeft)} + span.style.paddingLeft = HTMLCSS.Em(space); + } + } + }, + + HTMLgetScale: function () { + var scale = 1, values = this.getValues("mathsize","scriptlevel","fontsize","scriptminsize"); + if (this.style) { + var span = this.HTMLspanElement(); + if (span.style.fontSize != "") {values.fontsize = span.style.fontSize} + } + if (values.fontsize && !this.mathsize) {values.mathsize = values.fontsize} + if (values.scriptlevel !== 0) { + if (values.scriptlevel > 2) {values.scriptlevel = 2} + scale = Math.pow(this.Get("scriptsizemultiplier"),values.scriptlevel); + values.scriptminsize = HTMLCSS.length2em(values.scriptminsize); + if (scale < values.scriptminsize) {scale = values.scriptminsize} + } + scale *= HTMLCSS.length2em(values.mathsize); + return scale; + }, + + HTMLgetVariant: function () { + var values = this.getValues("mathvariant","fontfamily","fontweight","fontstyle"); + if (this.style) { + var span = this.HTMLspanElement(); + if (span.style.fontFamily) {values.fontfamily = span.style.fontFamily} + if (span.style.fontWeight) {values.fontweight = span.style.fontWeight} + if (span.style.fontStyle) {values.fontStyle = span.style.fontStyle} + } + var variant = values.mathvariant; if (this.variantForm) {variant = "-"+HTMLCSS.fontInUse+"-variant"} + if (values.fontfamily && !this.mathvariant) { + if (!values.fontweight && values.mathvariant.match(/bold/)) {values.fontweight = "bold"} + if (!values.fontstyle && values.mathvariant.match(/italic/)) {values.fontstyle = "italic"} + return {FONTS:[], fonts:[], noRemap:true, + defaultFont: {family:values.fontfamily, style:values.fontstyle, weight:values.fontweight}}; + } + if (values.fontweight === "bold") { + variant = { + normal:MML.VARIANT.BOLD, italic:MML.VARIANT.BOLDITALIC, + fraktur:MML.VARIANT.BOLDFRAKTUR, script:MML.VARIANT.BOLDSCRIPT, + "sans-serif":MML.VARIANT.BOLDSANSSERIF, + "sans-serif-italic":MML.VARIANT.SANSSERIFBOLDITALIC + }[variant]||variant; + } else if (values.fontweight === "normal") { + variant = { + bold:MML.VARIANT.normal, "bold-italic":MML.VARIANT.ITALIC, + "bold-fraktur":MML.VARIANT.FRAKTUR, "bold-script":MML.VARIANT.SCRIPT, + "bold-sans-serif":MML.VARIANT.SANSSERIF, + "sans-serif-bold-italic":MML.VARIANT.SANSSERIFITALIC + }[variant]||variant; + } + if (values.fontstyle === "italic") { + variant = { + normal:MML.VARIANT.ITALIC, bold:MML.VARIANT.BOLDITALIC, + "sans-serif":MML.VARIANT.SANSSERIFITALIC, + "bold-sans-serif":MML.VARIANT.SANSSERIFBOLDITALIC + }[variant]||variant; + } else if (values.fontstyle === "normal") { + variant = { + italic:MML.VARIANT.NORMAL, "bold-italic":MML.VARIANT.BOLD, + "sans-serif-italic":MML.VARIANT.SANSSERIF, + "sans-serif-bold-italic":MML.VARIANT.BOLDSANSSERIF + }[variant]||variant; + } + return HTMLCSS.FONTDATA.VARIANT[variant]; + } + },{ + HTMLautoload: function () { + var file = HTMLCSS.autoloadDir+"/"+this.type+".js"; + HUB.RestartAfter(AJAX.Require(file)); + }, + HTMLautoloadFile: function (name) { + var file = HTMLCSS.autoloadDir+"/"+name+".js"; + HUB.RestartAfter(AJAX.Require(file)); + }, + + HTMLstretchH: function (box,w) { + this.HTMLremoveColor(); + return this.toHTML(box,w); + }, + + HTMLstretchV: function (box,h,d) { + this.HTMLremoveColor(); + return this.toHTML(box,h,d); + } + }); + + MML.chars.Augment({ + toHTML: function (span,variant) { + this.HTMLhandleVariant(span,variant,this.data.join("").replace(/[\u2061-\u2064]/g,"")); // remove invisibles + } + }); + MML.entity.Augment({ + toHTML: function (span,variant) { + this.HTMLhandleVariant(span,variant,this.toString().replace(/[\u2061-\u2064]/g,"")); // remove invisibles + } + }); + + MML.mi.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; + var variant = this.HTMLgetVariant(); + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(span,variant)}} + if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} + if (this.data.join("").length !== 1) {delete span.bbox.skew} + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + } + }); + + MML.mn.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; + var variant = this.HTMLgetVariant(); + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(span,variant)}} + if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} + if (this.data.join("").length !== 1) {delete span.bbox.skew} + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + } + }); + + MML.mo.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); + if (this.data.length == 0) {return span} else {span.bbox = null} + var text = this.data.join(""); + var variant = this.HTMLgetVariant(); + var values = this.getValues("largeop","displaystyle"); + if (values.largeop) + {variant = HTMLCSS.FONTDATA.VARIANT[values.displaystyle ? "-largeOp" : "-smallOp"]} + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(span,variant)}} + if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} + if (text.length !== 1) {delete span.bbox.skew} + if (HTMLCSS.AccentBug && span.bbox.w === 0 && text.length === 1 && span.firstChild) { + // Handle combining characters by adding a non-breaking space and removing that width + span.firstChild.nodeValue += HTMLCSS.NBSP; + HTMLCSS.createSpace(span,0,0,-span.offsetWidth/HTMLCSS.em); + } + if (values.largeop) { + var p = (span.bbox.h - span.bbox.d)/2 - HTMLCSS.TeX.axis_height*span.scale; + if (HTMLCSS.safariVerticalAlignBug && span.lastChild.nodeName === "IMG") { + span.lastChild.style.verticalAlign = + HTMLCSS.Em(parseFloat(span.lastChild.style.verticalAlign||0)/HTMLCSS.em-p/span.scale); + } else if (HTMLCSS.konquerorVerticalAlignBug && span.lastChild.nodeName === "IMG") { + span.style.position = "relative"; + span.lastChild.style.position="relative"; + span.lastChild.style.top = HTMLCSS.Em(p/span.scale); + } else { + span.style.verticalAlign = HTMLCSS.Em(-p/span.scale); + } + span.bbox.h -= p; span.bbox.d += p; + if (span.bbox.rw > span.bbox.w) { + span.bbox.ic = span.bbox.rw-span.bbox.w; + HTMLCSS.createBlank(span,span.bbox.ic); + span.bbox.w = span.bbox.rw; + } + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLcanStretch: function (direction) { + if (!this.Get("stretchy")) {return false} + var c = this.data.join(""); + if (c.length > 1) {return false} + c = HTMLCSS.FONTDATA.DELIMITERS[c.charCodeAt(0)]; + return (c && c.dir == direction.substr(0,1)); + }, + HTMLstretchV: function (box,h,d) { + this.HTMLremoveColor(); + var values = this.getValues("symmetric","maxsize","minsize"); + var span = this.HTMLspanElement(), H; + var axis = HTMLCSS.TeX.axis_height, scale = span.scale; + if (values.symmetric) {H = 2*Math.max(h-axis,d+axis)} else {H = h + d} + values.maxsize = HTMLCSS.length2em(values.maxsize,span.bbox.h+span.bbox.d); + values.minsize = HTMLCSS.length2em(values.minsize,span.bbox.h+span.bbox.d); + H = Math.max(values.minsize,Math.min(values.maxsize,H)); + span = this.HTMLcreateSpan(box); // clear contents and attributes + HTMLCSS.createDelimiter(span,this.data.join("").charCodeAt(0),H,scale); + if (values.symmetric) {H = (span.bbox.h + span.bbox.d)/2 + axis} + else {H = (span.bbox.h + span.bbox.d) * h/(h + d)} + HTMLCSS.positionDelimiter(span,H); + this.HTMLhandleSpace(span); // add in lspace/rspace, if any + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: function (box,W) { + this.HTMLremoveColor(); + var values = this.getValues("maxsize","minsize","mathvariant","fontweight"); + if (values.fontweight === "bold" && !this.mathvariant) {values.mathvariant = MML.VARIANT.BOLD} + var span = this.HTMLspanElement(), scale = span.scale; + values.maxsize = HTMLCSS.length2em(values.maxsize,span.bbox.w); + values.minsize = HTMLCSS.length2em(values.minsize,span.bbox.w); + W = Math.max(values.minsize,Math.min(values.maxsize,W)); + span = this.HTMLcreateSpan(box); // clear contents and attributes + HTMLCSS.createDelimiter(span,this.data.join("").charCodeAt(0),W,scale,values.mathvariant); + this.HTMLhandleSpace(span); // add in lspace/rspace, if any + this.HTMLhandleColor(span); + return span; + } + }); + + MML.mtext.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); span.bbox = null; + if (this.Parent().type === "merror") { + // Avoid setting the font style for error text + HTMLCSS.addText(span,this.data.join("")); + var HD = HTMLCSS.getHD(span), W = HTMLCSS.getW(span); + span.bbox = {h: HD.h, d: HD.d, w: W, lw: 0, rw: W}; + } else { + var variant = this.HTMLgetVariant(); + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toHTML(span,variant)}} + if (!span.bbox) {span.bbox = {w:0, h:0, d:0, rw:0, lw:0}} + if (this.data.join("").length !== 1) {delete span.bbox.skew} + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + } + }); + + MML.ms.Augment({toHTML: MML.mbase.HTMLautoload}); + + MML.mglyph.Augment({toHTML: MML.mbase.HTMLautoload}); + + MML.mspace.Augment({ + toHTML: function (span) { + span = this.HTMLhandleSize(this.HTMLcreateSpan(span)); + var values = this.getValues("height","depth","width"); + values.mathbackground = this.mathbackground; + if (this.background && !this.mathbackground) {values.mathbackground = this.background} + var h = HTMLCSS.length2em(values.height), d = HTMLCSS.length2em(values.depth), + w = HTMLCSS.length2em(values.width); + HTMLCSS.createSpace(span,h,d,w,values.mathbackground); + return span; + } + }); + + MML.mphantom.Augment({ + toHTML: function (span,HW,D) { + span = this.HTMLcreateSpan(span); + if (this.data[0] != null) { + var box = HTMLCSS.Measured(this.data[0].toHTML(span),span); + if (D != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchV(span,HW,D),span)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchH(span,HW),span)} + span.bbox = {w: box.bbox.w, h: box.bbox.h, d: box.bbox.d, lw: 0, rw: 0}; + for (var i = 0, m = span.childNodes.length; i < m; i++) + {span.childNodes[i].style.visibility = "hidden"} + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MML.mpadded.Augment({ + toHTML: function (span,HW,D) { + span = this.HTMLcreateSpan(span); + if (this.data[0] != null) { + var stack = HTMLCSS.createStack(span,true); + var box = HTMLCSS.createBox(stack); + HTMLCSS.Measured(this.data[0].toHTML(box),box); + if (D != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchV(box,HW,D),box)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[0].HTMLstretchH(box,HW),box)} + var values = this.getValues("height","depth","width","lspace","voffset"), x = 0, y = 0; + if (values.lspace) {x = this.HTMLlength2em(box,values.lspace)} + if (values.voffset) {y = this.HTMLlength2em(box,values.voffset)} + HTMLCSS.placeBox(box,x,y); + span.bbox = { + h: box.bbox.h, d: box.bbox.d, w: box.bbox.w, + lw: Math.min(0,box.bbox.lw+x), rw: Math.max(box.bbox.w,box.bbox.rw+x), + H: Math.max((box.bbox.H == null ? -HTMLCSS.BIGDIMEN : box.bbox.H),box.bbox.h+y), + D: Math.max((box.bbox.D == null ? -HTMLCSS.BIGDIMEN : box.bbox.D),box.bbox.d-y) + }; + if (values.height !== "") {span.bbox.h = this.HTMLlength2em(box,values.height,"h",0)} + if (values.depth !== "") {span.bbox.d = this.HTMLlength2em(box,values.depth,"d",0)} + if (values.width !== "") {span.bbox.w = this.HTMLlength2em(box,values.width,"w",0)} + if (span.bbox.H <= span.bbox.h) {delete span.bbox.H} + if (span.bbox.D <= span.bbox.d) {delete span.bbox.D} + HTMLCSS.setStackWidth(stack,span.bbox.w); + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLlength2em: function (span,length,d,m) { + if (m == null) {m = -HTMLCSS.BIGDIMEN} + var match = String(length).match(/width|height|depth/); + var size = (match ? span.bbox[match[0].charAt(0)] : (d ? span.bbox[d] : null)); + var v = HTMLCSS.length2em(length,size); + if (d && String(length).match(/^\s*[-+]/)) + {return Math.max(m,span.bbox[d]+v)} else {return v} + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MML.mrow.Augment({ + HTMLstretchH: function (box,w) { + this.HTMLremoveColor(); + var span = this.HTMLspanElement(); + this.data[this.core].HTMLstretchH(span,w); + this.HTMLcomputeBBox(span,true); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchV: function (box,h,d) { + this.HTMLremoveColor(); + var span = this.HTMLspanElement(); + this.data[this.core].HTMLstretchV(span,h,d); + this.HTMLcomputeBBox(span,true); + this.HTMLhandleColor(span); + return span; + } + }); + + MML.mstyle.Augment({ + toHTML: function (span) { + if (this.data[0] != null) { + span = this.data[0].toHTML(span); + this.spanID = this.data[0].spanID; + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + } + return span; + }, + HTMLspanElement: function () { + return (this.data[0] != null ? this.data[0].HTMLspanElement() : null); + }, + HTMLstretchH: function (box,w) { + return (this.data[0] != null ? this.data[0].HTMLstretchH(box,w) : box); + }, + HTMLstretchV: function (box,h,d) { + return (this.data[0] != null ? this.data[0].HTMLstretchV(box,h,d) : box); + } + }); + + MML.mfrac.Augment({ + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + var frac = HTMLCSS.createStack(span); + var num = HTMLCSS.createBox(frac), den = HTMLCSS.createBox(frac); + this.HTMLmeasureChild(0,num); this.HTMLmeasureChild(1,den); + var values = this.getValues("displaystyle","linethickness","numalign","denomalign","bevelled"); + var scale = this.HTMLgetScale(), isDisplay = values.displaystyle; + var a = HTMLCSS.TeX.axis_height * scale; + if (values.bevelled) { + var delta = (isDisplay ? .4 : .15); + var H = Math.max(num.bbox.h+num.bbox.d,den.bbox.h+den.bbox.d)+2*delta; + var bevel = HTMLCSS.createBox(frac); + HTMLCSS.createDelimiter(bevel,0x2F,H); + HTMLCSS.placeBox(num,0,(num.bbox.d-num.bbox.h)/2+a+delta); + HTMLCSS.placeBox(bevel,num.bbox.w-delta/2,(bevel.bbox.d-bevel.bbox.h)/2+a); + HTMLCSS.placeBox(den,num.bbox.w+bevel.bbox.w-delta,(den.bbox.d-den.bbox.h)/2+a-delta); + } else { + var W = Math.max(num.bbox.w,den.bbox.w); + var t = HTMLCSS.thickness2em(values.linethickness), p,q, u,v; + var mt = HTMLCSS.TeX.min_rule_thickness/this.em; + if (isDisplay) {u = HTMLCSS.TeX.num1; v = HTMLCSS.TeX.denom1} + else {u = (t === 0 ? HTMLCSS.TeX.num3 : HTMLCSS.TeX.num2); v = HTMLCSS.TeX.denom2} + u *= scale; v *= scale; + if (t === 0) {// \atop + p = Math.max((isDisplay ? 7 : 3) * HTMLCSS.TeX.rule_thickness, 2*mt); // force to at least 2 px + q = (u - num.bbox.d) - (den.bbox.h - v); + if (q < p) {u += (p - q)/2; v += (p - q)/2} + } else {// \over + p = Math.max((isDisplay ? 2 : 0) * mt + t, t/2 + 1.5*mt); // force to be at least 1.5px + q = (u - num.bbox.d) - (a + t/2); if (q < p) {u += p - q} + q = (a - t/2) - (den.bbox.h - v); if (q < p) {v += p - q} + var rule = HTMLCSS.createBox(frac); + HTMLCSS.createRule(rule,t,0,W+2*t); + HTMLCSS.placeBox(rule,0,a-t/2); + } + HTMLCSS.alignBox(num,values.numalign,u); + HTMLCSS.alignBox(den,values.denomalign,-v); + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLcanStretch: function (direction) {return false}, + HTMLhandleSpace: function (span) { + if (!this.texWithDelims) { + var space = (this.useMMLspacing ? 0 : HTMLCSS.length2em(this.texSpacing()||0)) + .12; + span.style.paddingLeft = HTMLCSS.Em(space); + span.style.paddingRight = ".12em"; + } + } + }); + + MML.msqrt.Augment({ + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + var sqrt = HTMLCSS.createStack(span); + var base = HTMLCSS.createBox(sqrt), + rule = HTMLCSS.createBox(sqrt), + surd = HTMLCSS.createBox(sqrt); + this.HTMLmeasureChild(0,base); + var scale = this.HTMLgetScale(); + var t = HTMLCSS.TeX.rule_thickness * scale, p,q, H, W; + if (this.Get("displaystyle")) {p = HTMLCSS.TeX.x_height * scale} else {p = t} + q = Math.max(t + p/4,1.5*HTMLCSS.TeX.min_rule_thickness/this.em); // force to be at least 1px + H = base.bbox.h + base.bbox.d + q + t; + W = base.bbox.w; + HTMLCSS.createDelimiter(surd,0x221A,H,scale); HTMLCSS.Measured(surd); + var x = 0; + if (surd.isMultiChar || (HTMLCSS.AdjustSurd && HTMLCSS.imgFonts)) {surd.bbox.w *= .95} + if (surd.bbox.h + surd.bbox.d > H) {q = ((surd.bbox.h+surd.bbox.d) - (H-t))/2} + var ruleC = HTMLCSS.FONTDATA.DELIMITERS[HTMLCSS.FONTDATA.RULECHAR]; + if (!ruleC || W < ruleC.HW[0][0]*scale || scale < .75) { + HTMLCSS.createRule(rule,t,0,W); + } else { + HTMLCSS.createDelimiter(rule,HTMLCSS.FONTDATA.RULECHAR,W,scale); + } + H = base.bbox.h + q + t; + x = this.HTMLaddRoot(sqrt,surd,x,surd.bbox.h+surd.bbox.d-H,scale); + HTMLCSS.placeBox(surd,x,H-surd.bbox.h); + HTMLCSS.placeBox(rule,x+surd.bbox.w,H-rule.bbox.h+HTMLCSS.rfuzz); + HTMLCSS.placeBox(base,x+surd.bbox.w,0); + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLaddRoot: function (sqrt,surd,x,d,scale) {return x} + }); + + MML.mroot.Augment({ + toHTML: MML.msqrt.prototype.toHTML, + HTMLaddRoot: function (sqrt,surd,x,d,scale) { + var box = HTMLCSS.createBox(sqrt); + if (this.data[1]) { + var root = this.data[1].toHTML(box); + root.style.paddingRight = root.style.paddingLeft = ""; // remove extra padding, if any + HTMLCSS.Measured(root,box); + } else {box.bbox = this.HTMLzeroBBox()} + var h = this.HTMLrootHeight(surd.bbox.h+surd.bbox.d,scale,box)-d; + var w = Math.min(box.bbox.w,box.bbox.rw); // remove extra right-hand padding, if any + x = Math.max(w,surd.offset); + HTMLCSS.placeBox(box,x-w,h); + return x - surd.offset; + }, + HTMLrootHeight: function (d,scale,root) { + return .45*(d-.9*scale)+.6*scale + Math.max(0,root.bbox.d-.075); + } + }); + + MML.mfenced.Augment({ + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + if (this.data.open) {this.data.open.toHTML(span)} + if (this.data[0] != null) {this.data[0].toHTML(span)} + for (var i = 1, m = this.data.length; i < m; i++) { + if (this.data[i]) { + if (this.data["sep"+i]) {this.data["sep"+i].toHTML(span)} + this.data[i].toHTML(span); + } + } + if (this.data.close) {this.data.close.toHTML(span)} + var stretchy = this.HTMLcomputeBBox(span); + var h = span.bbox.h, d = span.bbox.d; + for (i = 0, m = stretchy.length; i < m; i++) {stretchy[i].HTMLstretchV(span,h,d)} + if (stretchy.length) {this.HTMLcomputeBBox(span,true)} + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLcomputeBBox: function (span,full) { + var BBOX = span.bbox = {}, stretchy = []; + this.HTMLcheckStretchy(this.data.open,BBOX,stretchy,full); + this.HTMLcheckStretchy(this.data[0],BBOX,stretchy,full); + for (var i = 1, m = this.data.length; i < m; i++) { + if (this.data[i]) { + this.HTMLcheckStretchy(this.data["sep"+i],BBOX,stretchy,full); + this.HTMLcheckStretchy(this.data[i],BBOX,stretchy,full); + } + } + this.HTMLcheckStretchy(this.data.close,BBOX,stretchy,full); + this.HTMLcleanBBox(BBOX); + return stretchy; + }, + HTMLcheckStretchy: function (core,BBOX,stretchy,full) { + if (core) { + if (!full && core.HTMLcanStretch("Vertical")) + {stretchy.push(core); core = (core.CoreMO()||core)} + this.HTMLcombineBBoxes(core,BBOX); + } + } + }); + + MML.menclose.Augment({toHTML: MML.mbase.HTMLautoload}); + MML.maction.Augment({toHTML: MML.mbase.HTMLautoload}); + + MML.semantics.Augment({ + toHTML: function (span) { + if (this.data[0] != null) { + span = this.data[0].toHTML(span); + this.spanID = this.data[0].spanID; + this.HTMLhandleSpace(span); + } + return span; + }, + HTMLspanElement: function () { + return (this.data[0] != null ? this.data[0].HTMLspanElement() : null); + }, + HTMLstretchH: function (box,w) { + return (this.data[0] != null ? this.data[0].HTMLstretchH(box,w) : box); + }, + HTMLstretchV: function (box,h,d) { + return (this.data[0] != null ? this.data[0].HTMLstretchV(box,h,d) : box); + } + }); + + MML.munderover.Augment({ + toHTML: function (span,HW,D) { + var values = this.getValues("displaystyle","accent","accentunder","align"); + if (!values.displaystyle && this.data[this.base] != null && + this.data[this.base].Get("movablelimits")) + {return MML.msubsup.prototype.toHTML.call(this,span)} + span = this.HTMLcreateSpan(span); var scale = this.HTMLgetScale(); + var stack = HTMLCSS.createStack(span); + var boxes = [], stretch = [], box, i, m, W = -HTMLCSS.BIGDIMEN, WW = W; + for (i = 0, m = this.data.length; i < m; i++) { + if (this.data[i] != null) { + box = boxes[i] = HTMLCSS.createBox(stack); + HTMLCSS.Measured(this.data[i].toHTML(box),box); + if (i == this.base) { + if (D != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchV(box,HW,D),box)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchH(box,HW),box)} + stretch[i] = (D == null && HW != null ? false : + this.data[i].HTMLcanStretch("Horizontal")); + } else { + stretch[i] = this.data[i].HTMLcanStretch("Horizontal"); + } + if (box.bbox.w > WW) {WW = box.bbox.w} + if (!stretch[i] && WW > W) {W = WW} + } + } + if (D == null && HW != null) {W = HW} else if (W == -HTMLCSS.BIGDIMEN) {W = WW} + for (i = WW = 0, m = this.data.length; i < m; i++) {if (this.data[i]) { + box = boxes[i]; + if (stretch[i]) {box.bbox = this.data[i].HTMLstretchH(box,W).bbox} + if (box.bbox.w > WW) {WW = box.bbox.w} + }} + var t = HTMLCSS.TeX.rule_thickness, factor = HTMLCSS.FONTDATA.TeX_factor; + var base = boxes[this.base] || {bbox: this.HTMLzeroBBox()}, delta = (base.bbox.ic || 0); + var x, y, z1, z2, z3, dw, k; + for (i = 0, m = this.data.length; i < m; i++) { + if (this.data[i] != null) { + box = boxes[i]; + z3 = HTMLCSS.TeX.big_op_spacing5 * scale; + var accent = (i != this.base && values[this.ACCENTS[i]]); + if (accent && box.bbox.w <= 1/HTMLCSS.em+.0001) { // images can get the width off by 1px + box.bbox.w = box.bbox.rw - box.bbox.lw; box.bbox.noclip = true; + if (box.bbox.lw && !HTMLCSS.zeroWidthBug) + {box.insertBefore(HTMLCSS.createSpace(box.parentNode,0,0,-box.bbox.lw),box.firstChild)} + HTMLCSS.createBlank(box,0,0,box.bbox.rw+.1); + } + dw = {left:0, center:(WW-box.bbox.w)/2, right:WW-box.bbox.w}[values.align]; + x = dw; y = 0; + if (i == this.over) { + if (accent) { + k = Math.max(t * scale * factor,2.5/this.em); z3 = 0; + if (base.bbox.skew) {x += base.bbox.skew} + } else { + z1 = HTMLCSS.TeX.big_op_spacing1 * scale * factor; + z2 = HTMLCSS.TeX.big_op_spacing3 * scale * factor; + k = Math.max(z1,z2-Math.max(0,box.bbox.d)); + } + k = Math.max(k,1.5/this.em); // force to be at least 1.5px + x += delta; y = base.bbox.h + box.bbox.d + k; + box.bbox.h += z3; + } else if (i == this.under) { + if (accent) { + k = 3*t * scale * factor; z3 = 0; + } else { + z1 = HTMLCSS.TeX.big_op_spacing2 * scale * factor; + z2 = HTMLCSS.TeX.big_op_spacing4 * scale * factor; + k = Math.max(z1,z2-box.bbox.h); + } + k = Math.max(k,1.5/this.em); // force to be at least 1.5px + x -= delta; y = -(base.bbox.d + box.bbox.h + k); + box.bbox.d += z3; + } + HTMLCSS.placeBox(box,x,y); + } + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MML.msubsup.Augment({ + toHTML: function (span,HW,D) { + span = this.HTMLcreateSpan(span); var scale = this.HTMLgetScale(); + var stack = HTMLCSS.createStack(span), values; + var base = HTMLCSS.createBox(stack); + this.HTMLmeasureChild(this.base,base); + if (this.data[this.base]) { + if (D != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchV(base,HW,D),base)} + else if (HW != null) {HTMLCSS.Remeasured(this.data[this.base].HTMLstretchH(base,HW),base)} + } + HTMLCSS.placeBox(base,0,0); + var sscale = (this.data[this.sup] || this.data[this.sub] || this).HTMLgetScale(); + var x_height = HTMLCSS.TeX.x_height * scale, + s = HTMLCSS.TeX.scriptspace * scale * .75; // FIXME: .75 can be removed when IC is right? + var sup, sub; + if (this.HTMLnotEmpty(this.data[this.sup])) { + sup = HTMLCSS.createBox(stack); + HTMLCSS.Measured(this.data[this.sup].toHTML(sup),sup); + sup.bbox.w += s; sup.bbox.rw = Math.max(sup.bbox.w,sup.bbox.rw); + } + if (this.HTMLnotEmpty(this.data[this.sub])) { + sub = HTMLCSS.createBox(stack); + HTMLCSS.Measured(this.data[this.sub].toHTML(sub),sub); + sub.bbox.w += s; sub.bbox.rw = Math.max(sub.bbox.w,sub.bbox.rw); + } + var q = HTMLCSS.TeX.sup_drop * sscale, r = HTMLCSS.TeX.sub_drop * sscale; + var u = base.bbox.h - q, v = base.bbox.d + r, delta = 0, p; + if (base.bbox.ic) {delta = base.bbox.ic} + if (this.data[this.base] && + (this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) { + if (this.data[this.base].data.join("").length === 1 && base.bbox.scale === 1 && + !this.data[this.base].Get("largeop")) {u = v = 0} + } + var min = this.getValues("subscriptshift","superscriptshift"); + min.subscriptshift = (min.subscriptshift === "" ? 0 : HTMLCSS.length2em(min.subscriptshift)); + min.superscriptshift = (min.superscriptshift === "" ? 0 : HTMLCSS.length2em(min.superscriptshift)); + if (!sup) { + if (sub) { + v = Math.max(v,HTMLCSS.TeX.sub1*scale,sub.bbox.h-(4/5)*x_height,min.subscriptshift); + HTMLCSS.placeBox(sub,base.bbox.w+s-delta,-v,sub.bbox); + } + } else { + if (!sub) { + values = this.getValues("displaystyle","texprimestyle"); + p = HTMLCSS.TeX[(values.displaystyle ? "sup1" : (values.texprimestyle ? "sup3" : "sup2"))]; + u = Math.max(u,p*scale,sup.bbox.d+(1/4)*x_height,min.superscriptshift); + HTMLCSS.placeBox(sup,base.bbox.w+s,u,sup.bbox); + } else { + v = Math.max(v,HTMLCSS.TeX.sub2*scale); + var t = HTMLCSS.TeX.rule_thickness * scale; + if ((u - sup.bbox.d) - (sub.bbox.h - v) < 3*t) { + v = 3*t - u + sup.bbox.d + sub.bbox.h; + q = (4/5)*x_height - (u - sup.bbox.d); + if (q > 0) {u += q; v -= q} + } + HTMLCSS.placeBox(sup,base.bbox.w+s,Math.max(u,min.superscriptshift)); + HTMLCSS.placeBox(sub,base.bbox.w+s-delta,-Math.max(v,min.subscriptshift)); + } + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + }, + HTMLstretchH: MML.mbase.HTMLstretchH, + HTMLstretchV: MML.mbase.HTMLstretchV + }); + + MML.mmultiscripts.Augment({toHTML: MML.mbase.HTMLautoload}); + + MML.mtable.Augment({toHTML: MML.mbase.HTMLautoload}); + + MML["annotation-xml"].Augment({toHTML: MML.mbase.HTMLautoload}); + + MML.math.Augment({ + toHTML: function (span,node) { + var alttext = this.Get("alttext"); if (alttext) {node.setAttribute("aria-label",alttext)} + var nobr = HTMLCSS.addElement(span,"nobr"); + span = this.HTMLcreateSpan(nobr); + var stack = HTMLCSS.createStack(span), box = HTMLCSS.createBox(stack), math; + // Move font-size from outer span to stack to avoid line separation + // problem in strict HTML mode + stack.style.fontSize = nobr.parentNode.style.fontSize; nobr.parentNode.style.fontSize = ""; + if (this.data[0] != null) { + if (HTMLCSS.msieColorBug) { + if (this.background) {this.data[0].background = this.background; delete this.background} + if (this.mathbackground) {this.data[0].mathbackground = this.mathbackground; delete this.mathbackground} + } + MML.mbase.prototype.displayAlign = HUB.config.displayAlign; + MML.mbase.prototype.displayIndent = HUB.config.displayIndent; + math = HTMLCSS.Measured(this.data[0].toHTML(box),box); + } + HTMLCSS.placeBox(box,0,0); + // + // Adjust bbox to match outer em-size + // + var f = HTMLCSS.em / HTMLCSS.outerEm; HTMLCSS.em /= f; + span.bbox.h *= f; span.bbox.d *= f; span.bbox.w *= f; + span.bbox.lw *= f; span.bbox.rw *= f; + if (math && math.bbox.width != null) { + stack.style.width = math.bbox.width; + box.style.width = "100%"; + } + // + // Add color (if any) + // + this.HTMLhandleColor(span); + // + // Make math span be the correct height and depth + // + if (math) {HTMLCSS.createRule(span,math.bbox.h*f,math.bbox.d*f,0)} + // + // Handle indentalign and indentshift for single-line display equations + // + if (!this.isMultiline && this.Get("display") === "block" && span.bbox.width == null) { + var values = this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift"); + if (values.indentalignfirst !== MML.INDENTALIGN.INDENTALIGN) {values.indentalign = values.indentalignfirst} + if (values.indentalign === MML.INDENTALIGN.AUTO) {values.indentalign = this.displayAlign} + node.style.textAlign = values.indentalign; + if (values.indentshiftfirst !== MML.INDENTSHIFT.INDENTSHIFT) {values.indentshift = values.indentshiftfirst} + if (values.indentshift === "auto") {values.indentshift = this.displayIndent} + if (values.indentshift && values.indentalign !== MML.INDENTALIGN.CENTER) { + span.style[{left:"marginLeft",right:"marginRight"}[values.indentalign]] = + HTMLCSS.Em(HTMLCSS.length2em(values.indentshift)); + } + } + return span; + } + }); + + MML.TeXAtom.Augment({ + toHTML: function (span) { + span = this.HTMLcreateSpan(span); + if (this.data[0] != null) { + if (this.texClass === MML.TEXCLASS.VCENTER) { + var stack = HTMLCSS.createStack(span); + var box = HTMLCSS.createBox(stack); + HTMLCSS.Measured(this.data[0].toHTML(box),box); + // FIXME: should the axis height be scaled? + HTMLCSS.placeBox(box,0,HTMLCSS.TeX.axis_height-(box.bbox.h+box.bbox.d)/2+box.bbox.d); + } else { + span.bbox = this.data[0].toHTML(span).bbox; + } + } + this.HTMLhandleSpace(span); + this.HTMLhandleColor(span); + return span; + } + }); + + // + // Loading isn't complete until the element jax is modified, + // but can't call loadComplete within the callback for "mml Jax Ready" + // (it would call HTMLCSS's Require routine, asking for the mml jax again) + // so wait until after the mml jax has finished processing. + // + // We also need to wait for the onload handler to run, since the loadComplete + // will call Config and Startup, which need to modify the body. + // + MathJax.Hub.Register.StartupHook("onLoad",function () { + setTimeout(MathJax.Callback(["loadComplete",HTMLCSS,"jax.js"]),0); + }); + }); + + HUB.Register.StartupHook("End Config",function () { + // + // Handle browser-specific setup + // + HUB.Browser.Select({ + MSIE: function (browser) { + var isIE7 = browser.versionAtLeast("7.0"); + var isIE8 = browser.versionAtLeast("8.0") && document.documentMode > 7; + var quirks = (document.compatMode === "BackCompat"); + // IE doesn't do mouse events on trasparent objects, + // so give a background color, but opacity makes it transparent + HTMLCSS.config.styles[".MathJax .MathJax_HitBox"]["background-color"] = "white"; + HTMLCSS.config.styles[".MathJax .MathJax_HitBox"].opacity = 0 + HTMLCSS.config.styles[".MathJax .MathJax_HitBox"].filter = "alpha(opacity=0)"; + // FIXME: work out tests for these? + HTMLCSS.Augment({ + getMarginScale: HTMLCSS.getMSIEmarginScale, + PaddingWidthBug: true, + msieEventBug: browser.isIE9, + msieAccentBug: true, + msieColorBug: true, + msieColorPositionBug: true, // needs position:relative to put color behind text + msieRelativeWidthBug: quirks, + msieMarginWidthBug: true, + msiePaddingWidthBug: true, + msieCharPaddingWidthBug: (isIE8 && !quirks), + msieBorderWidthBug: quirks, + msieInlineBlockAlignBug: (!isIE8 || quirks), + msieVerticalAlignBug: (isIE8 && !quirks), + msiePlaceBoxBug: (isIE8 && !quirks), + msieClipRectBug: !isIE8, + msieNegativeSpaceBug: quirks, + msieCloneNodeBug: (isIE8 && browser.version === "8.0"), + negativeSkipBug: true, + msieIE6: !isIE7, + msieItalicWidthBug: true, + zeroWidthBug: true, + FontFaceBug: true, + msieFontCSSBug: browser.isIE9, + allowWebFonts: "eot" + }); + }, + + Firefox: function (browser) { + var webFonts = false; + if (browser.versionAtLeast("3.5")) { + var root = String(document.location).replace(/[^\/]*$/,""); + if (document.location.protocol !== "file:" || + (HUB.config.root+"/").substr(0,root.length) === root) {webFonts = "otf"} + } + HTMLCSS.Augment({ + useProcessingFrame: true, + ffVerticalAlignBug: true, + AccentBug: true, + allowWebFonts: webFonts + }); + }, + + Safari: function (browser) { + var v3p0 = browser.versionAtLeast("3.0"); + var v3p1 = browser.versionAtLeast("3.1"); + browser.isMobile = (navigator.appVersion.match(/Mobile/i) != null); + var android = (navigator.appVersion.match(/ Android (\d+)\.(\d+)/)); + var forceImages = (v3p1 && browser.isMobile && ( + (navigator.platform.match(/iPad|iPod|iPhone/) && !browser.versionAtLeast("5.0")) || + (android != null && (android[1] < 2 || (android[1] == 2 && android[2] < 2))) + )); + HTMLCSS.Augment({ + config: { + styles: { + ".MathJax img, .MathJax nobr, .MathJax a": { + // "none" seems to work like "0px" when width is initially 0 + "max-width": "5000em", "max-height": "5000em" + } + } + }, + useProcessingFrame: true, + rfuzz: .05, + AccentBug: true, + AdjustSurd: true, + safariContextMenuBug: true, + safariNegativeSpaceBug: true, + safariVerticalAlignBug: !v3p1, + safariTextNodeBug: !v3p0, + safariWebFontSerif: ["serif"], + allowWebFonts: (v3p1 && !forceImages ? "otf" : false) + }); + if (forceImages) { + // Force image mode for iOS prior to 4.2 and Droid prior to 2.2 + // (iPhone should do SVG web fonts, but crashes with MathJax) + var config = HUB.config["HTML-CSS"]; + if (config) {config.availableFonts = []; config.preferredFont = null} + else {HUB.config["HTML-CSS"] = {availableFonts: [], preferredFont: null}} + } + }, + + Chrome: function (browser) { + HTMLCSS.Augment({ + useProcessingFrame: true, + rfuzz: .05, + AccentBug: true, + AdjustSurd: true, + allowWebFonts: (browser.versionAtLeast("4.0") ? "otf" : "svg"), + safariNegativeSpaceBug: true, + safariWebFontSerif: [""] + }); + }, + + Opera: function (browser) { + browser.isMini = (navigator.appVersion.match("Opera Mini") != null); + HTMLCSS.config.styles[".MathJax .merror"]["vertical-align"] = null; + HTMLCSS.Augment({ + useProcessingFrame: true, + operaHeightBug: true, + operaVerticalAlignBug: true, + operaFontSizeBug: browser.versionAtLeast("10.61"), + negativeSkipBug: true, + zeroWidthBug: true, + FontFaceBug: true, + PaddingWidthBug: true, + allowWebFonts: (browser.versionAtLeast("10.0") && !browser.isMini ? "otf" : false), + // + // Opera doesn't display many STIX characters, so remove it + // from the availableFonts array, if it is there. + // + adjustAvailableFonts: function (fonts) { + for (var i = 0, m = fonts.length; i < m; i++) + {if (fonts[i] === "STIX") {fonts.splice(i,1); m--; i--;}} + if (this.config.preferredFont === "STIX") {this.config.preferredFont = fonts[0]} + } + }); + }, + + Konqueror: function (browser) { + HTMLCSS.Augment({ + konquerorVerticalAlignBug: true, + noContextMenuBug: true + }); + } + }); + + }); + + MathJax.Hub.Register.StartupHook("End Cookie", function () { + if (HUB.config.menuSettings.zoom !== "None") + {AJAX.Require("[MathJax]/extensions/MathZoom.js")} + }); + +})(MathJax.Ajax, MathJax.Hub, MathJax.OutputJax["HTML-CSS"]); diff --git a/modules/MathJax/jax/output/NativeMML/config.js b/modules/MathJax/jax/output/NativeMML/config.js new file mode 100644 index 0000000..e3960fe --- /dev/null +++ b/modules/MathJax/jax/output/NativeMML/config.js @@ -0,0 +1,48 @@ +/************************************************************* + * + * MathJax/jax/output/NativeMML/config.js + * + * Initializes the NativeMML OutputJax (the main definition is in + * MathJax/jax/input/NativeMML/jax.js, which is loaded when needed). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2009-2011 Design Science, Inc. + * + * 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.OutputJax.NativeMML = MathJax.OutputJax({ + id: "NativeMML", + version: "1.1.4", + directory: MathJax.OutputJax.directory + "/NativeMML", + extensionDir: MathJax.OutputJax.extensionDir + "/NativeMML", + + config: { + scale: 100, // scaling factor for all math + showMathMenu: true, // attach math context menu to mathml? + showMathMenuMSIE: true, // separtely determine if MSIE should have math menu + // (since the code for that is a bit delicate) + styles: { + "DIV.MathJax_MathML": { + "text-align": "center", + margin: ".75em 0px" + } + } + } +}); + +if (!MathJax.Hub.config.delayJaxRegistration) + MathJax.OutputJax.NativeMML.Register("jax/mml"); + +MathJax.OutputJax.NativeMML.loadComplete("config.js"); diff --git a/modules/MathJax/jax/output/NativeMML/jax.js b/modules/MathJax/jax/output/NativeMML/jax.js new file mode 100644 index 0000000..5fdf9cb --- /dev/null +++ b/modules/MathJax/jax/output/NativeMML/jax.js @@ -0,0 +1,512 @@ +/************************************************************* + * + * MathJax/jax/output/NativeMML/jax.js + * + * Implements the NativeMML OutputJax that displays mathematics + * using a browser's native MathML capabilities (if any). + * + * --------------------------------------------------------------------- + * + * Copyright (c) 2010-2011 Design Science, Inc. + * + * 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. + */ + +(function (nMML,HUB,AJAX) { + var MML, isMSIE = HUB.Browser.isMSIE; + + nMML.Augment({ + LEFTBUTTON: (isMSIE ? 1 : 0), // the event.button value for left button + MENUKEY: "altKey", // the event value for alternate context menu + noContextMenuBug: HUB.Browser.isKonequeror, + msieQuirks: (isMSIE && !(document.compatMode === "BackCompat")), + msieEventBug: HUB.Browser.isIE9, + + // + // User can configure styles + // + config: {styles: {}}, settings: HUB.config.menuSettings, + Startup: function () {return MathJax.Ajax.Styles(this.config.styles)}, + Config: function () { + this.SUPER(arguments).Config.call(this); + if (this.settings.scale) {this.config.scale = this.settings.scale} + // + // Insert styling to take account of displayAlign and displayIndent + // + if (HUB.config.displayAlign !== "center") { + var align = HUB.config.displayAlign, indent = HUB.config.displayIndent; + var def = {"text-align": align+"!important"}; def["margin-"+align] = indent+"!important"; + MathJax.Hub.Insert(this.config.styles,{ + "div.MathJax_MathML": def, + "div.MathJax_MathML math": {"text-align": align}, + "div.MathJax_MathContainer > span": {"text-align": align+"!important"} + }); + } + }, + // + // Set up MathPlayer for IE on the first time through. + // + InitializeMML: function () { + this.initialized = true; + if (MathJax.Hub.Browser.isMSIE) { + try { + // + // Insert data needed to use MathPlayer for MathML output + // + var mathplayer = document.createElement("object"); + mathplayer.id = "mathplayer"; mathplayer.classid = "clsid:32F66A20-7614-11D4-BD11-00104BD3F987"; + document.getElementsByTagName("head")[0].appendChild(mathplayer); + document.namespaces.add("mjx","http://www.w3.org/1998/Math/MathML"); + document.namespaces.mjx.doImport("#mathplayer"); + } catch (err) { + // + // If that fails, give an alert about security settings + // + alert("MathJax was not able to set up MathPlayer.\n\n"+ + "If MathPlayer is not installed, you need to install it first.\n"+ + "Otherwise, your security settings may be preventing ActiveX \n"+ + "controls from running. Use the Internet Options item under\n"+ + "the Tools menu and select the Security tab, then press the\n"+ + "Custom Level button. Check that the settings for\n"+ + "'Run ActiveX Controls', and 'Binary and script behaviors'\n"+ + "are enabled.\n\n"+ + "Currently you will see error messages rather than\n"+ + "typeset mathematics."); + } + } + }, + + // + // Add a SPAN to use as a container, and render the math into it + // + Translate: function (script) { + if (!script.parentNode) return; + if (!this.initialized) {this.InitializeMML()} + var prev = script.previousSibling; + if (prev && String(prev.className).match(/^MathJax(_MathML|_Display)?$/)) + {prev.parentNode.removeChild(prev)} + var math = script.MathJax.elementJax.root; + var type = (math.Get("display") === "block" ? "div" : "span"); + var span = document.createElement(type), container = span; + span.className = "MathJax_MathML"; span.style.fontSize = this.config.scale+"%"; + if (isMSIE && this.config.showMathMenuMSIE) { + container = MathJax.HTML.addElement(span,"span",{ + className:"MathJax_MathContainer", + style:{display:"inline-block",position:"relative"} + }); + } + math.toNativeMML(container); + script.parentNode.insertBefore(span,script); + if (isMSIE) { + if (this.config.showMathMenuMSIE) {this.MSIEoverlay(span)} + } else { + math = span.firstChild; + math.oncontextmenu = this.ContextMenu; + math.onmouseover = this.Mouseover; + math.onmousedown = this.Mousedown; + math.onclick = this.Click; + math.ondblclick = this.DblClick; + } + }, + // + // Remove MathML preceeding the script + // + Remove: function (jax) { + var span = jax.SourceElement(); if (!span) return; + span = span.previousSibling; if (!span) return; + if (span.className.match(/MathJax_MathML/)) {span.parentNode.removeChild(span)} + }, + // + // The namespace to use for MML + // + MMLnamespace: "http://www.w3.org/1998/Math/MathML", + + // + // For MSIE, we must overlay the MathPlayer object to trap the events + // (since they can't be cancelled when the events are on the tag + // itself). The events we DON'T want are transferred to the math element, + // and the others are handled directly. + // + MSIEoverlay: function (span) { + var math = span.firstChild; + span.style.position = "absolute"; // so we can measure height/depth + var HD = span.scrollHeight, W = span.offsetWidth; + var tmp = MathJax.HTML.addElement(span,"img",{src:"about:blank",style:{width:0,height:HD+"px"}}); + var D = span.scrollHeight - HD; span.removeChild(tmp); + span.style.position = ""; // back to normal + var top, left, isDisplay = (span.parentNode.nodeName.toLowerCase() === "div"); + if (isDisplay && this.quirks) {top = -HD; left = Math.floor(-W/2)} else {top = D-HD, left = -W} + MathJax.HTML.addElement(span,"span",{ + style:{display:"inline-block", width:0, height:0, position:"relative"} + },[["span",{ + style:{display:"inline-block", position:"absolute", left:left+"px", top:top+"px", + width:math.offsetWidth+"px", height:HD+"px", cursor:"pointer", + "background-color":"white", filter:"alpha(opacity=0)"}, + onmousedown: this.MSIEevent, oncontextmenu: this.MSIEevent, onclick: this.MSIEevent, + /*onmouseup: this.MSIEevent,*/ onmousemove: this.MSIEevent, ondblclick: this.MSIEevent, + onmouseover: this.MSIEevent, onmouseout: this.MSIEevent + }]]); + }, + MSIEmath: function (span) { + // display="block" seems to produce an extra span, so need extra firstChild + var math = span.parentNode.previousSibling.firstChild; + return (math.nodeName.toLowerCase() === "span" ? math.firstChild : math); + }, + MSIEevent: function () { + var math = nMML.MSIEmath(this); + var event = window.event; + var action = nMML["MSIE"+event.type]; + if (action && action.call(nMML,event,math,this)) {return false} + math.fireEvent("on"+event.type,event); + return false; + }, + MSIEmousedown: function (event,math,span) { + if (event[this.MENUKEY] && event.button === this.LEFTBUTTON && this.settings.context !== "MathJax") { + this.trapUp = this.trapClick = true; + this.ContextMenu.call(span,event,true); + return true; + } + if (this.MSIEzoomKeys && this.MSIEzoomKeys(event)) {this.trapUp = true; return true} + return false; + }, + MSIEcontextmenu: function (event,math,span) { + if (this.settings.context === "MathJax") { + this.trapUp = this.trapClick = true; + this.ContextMenu.call(span,event,true); + return true; + } + return false; + }, + // Other event handlers are in MathZoom.js + + // + // Autoload the MathMenu code, when needed + // + ContextMenu: function (event,force) { + if (nMML.config.showMathMenu && (nMML.settings.context === "MathJax" || force)) { + if (nMML.safariContextMenuBug) {setTimeout('window.getSelection().empty()',0)} + if (!event || nMML.msieEventBug) {event = window.event} + var MENU = MathJax.Menu; + if (MENU) { + if (document.selection) {setTimeout("document.selection.empty()",0)} + var script = (isMSIE ? this.parentNode.parentNode.nextSibling : this.parentNode.nextSibling); + MENU.jax = HUB.getJaxFor(script); + MENU.menu.items[1].menu.items[1].name = + (MENU.jax.inputJax.id === "MathML" ? "Original" : MENU.jax.inputJax.id); + delete nMML.trapClick; delete nMML.trapUp; + return MENU.menu.Post(event); + } else { + if (!AJAX.loadingMathMenu) { + AJAX.loadingMathMenu = true; + var EVENT = {pageX:event.pageX, pageY:event.pageY, clientX:event.clientX, clientY:event.clientY}; + MathJax.Callback.Queue( + AJAX.Require("[MathJax]/extensions/MathMenu.js"), + function () {delete AJAX.loadingMathMenu}, + [this,arguments.callee,EVENT,force] // call this function again + ); + } + if (!event) {event = window.event} + if (event.preventDefault) {event.preventDefault()} + if (event.stopPropagation) {event.stopPropagation()} + event.cancelBubble = true; + event.returnValue = false; + return false; + } + } + }, + Mousedown: function (event) { + if (nMML.config.showMathMenu) { + if (!event) {event = window.event} + if (nMML.settings.context === "MathJax") { + if (!nMML.noContextMenuBug || event.button !== 2) return + } else { + if (!event[nMML.MENUKEY] || event.button !== nMML.LEFTBUTTON) return + } + return nMML.ContextMenu.call(this,event,true); + } + }, + /* + * Used for zooming, when that is enabled by the MathMenu + */ + Mouseover: function (event) {nMML.HandleEvent(event,"Mouseover",this)}, + Click: function (event) {nMML.HandleEvent(event,"Click",this)}, + DblClick: function (event) {nMML.HandleEvent(event,"DblClick",this)}, + HandleEvent: function (event,type,math) {}, + + NAMEDSPACE: { + negativeveryverythinmathspace: "-.0556em", + negativeverythinmathspace: "-.1111em", + negativethinmathspace: "-.1667em", + negativemediummathspace: "-.2222em", + negativethickmathspace: "-.2778em", + negativeverythickmathspace: "-.3333em", + negativeveryverythickmathspace: "-.3889em" + } + }); + + HUB.Register.StartupHook("mml Jax Ready",function () { + + MML = MathJax.ElementJax.mml; + + MML.mbase.Augment({ + // + // Add a MathML tag of the correct type, and set its attributes + // then populate it with its children and append it to the parent + // + toNativeMML: function (parent) { + var tag = this.NativeMMLelement(this.type); + this.NativeMMLattributes(tag); + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i]) {this.data[i].toNativeMML(tag)} + else {tag.appendChild(this.NativeMMLelement("mrow"))} + } + parent.appendChild(tag); + }, + // + // Look for attributes that are different from the defaults + // and set those in the tag's attribute list + // + NativeMMLattributes: function (tag) { + var defaults = this.defaults; + var copy = this.NativeMMLcopyAttributes, + skip = this.NativeMMLskipAttributes; + if (this.type === "mstyle") {defaults = MML.math.prototype.defaults} + for (var id in defaults) {if (!skip[id] && defaults.hasOwnProperty(id)) { + if (this[id] != null) {tag.setAttribute(id,this.NativeMMLattribute(id,this[id]))} + }} + for (var i = 0, m = copy.length; i < m; i++) { + if (this[copy[i]] != null) + {tag.setAttribute(copy[i],this.NativeMMLattribute(copy[i],this[copy[i]]))} + } + }, + NativeMMLcopyAttributes: [ + "fontfamily","fontsize","fontweight","fontstyle", + "color","background", + "id","class","href","style" + ], + NativeMMLskipAttributes: {texClass: 1, useHeight: 1, texprimestyle: 1}, + NativeMMLattribute: function (id,value) { + value = String(value); + if (nMML.NAMEDSPACE[value]) {value = nMML.NAMEDSPACE[value]} // MP doesn't do negative spaes + else if (value.match(/^\s*([-+]?(\d+(\.\d*)?|\.\d+))\s*mu\s*$/)) {value = ((1/18)*RegExp.$1)+"em"} // FIXME: should take scriptlevel into account + else if (value === "-tex-caligraphic") {value = "script"} + else if (value === "-tex-oldstyle") {value = "normal"} + return value; + }, + // + // Create a MathML element + // + NativeMMLelement: ( + isMSIE ? + function (type) {return document.createElement("mjx:"+type)} : + function (type) {return document.createElementNS(nMML.MMLnamespace,type)} + ) + }); + + MML.mrow.Augment({ + // + // Make inferred rows not include an mrow tag + // + toNativeMML: function (parent) { + if (this.inferred && this.parent.inferRow) { + for (var i = 0, m = this.data.length; i < m; i++) { + if (this.data[i]) {this.data[i].toNativeMML(parent)} + else {parent.appendChild(this.NativeMMLelement("mrow"))} + } + } else { + this.SUPER(arguments).toNativeMML.call(this,parent); + } + } + }); + + MML.msubsup.Augment({ + // + // Use proper version of msub, msup, or msubsup, depending on + // which items are present + // + toNativeMML: function (parent) { + var type = this.type; + if (this.data[this.sup] == null) {type = "msub"} + if (this.data[this.sub] == null) {type = "msup"} + var tag = this.NativeMMLelement(type); + this.NativeMMLattributes(tag); + delete this.data[0].inferred; + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toNativeMML(tag)}} + parent.appendChild(tag); + } + }); + + MML.munderover.Augment({ + // + // Use proper version of munder, mover, or munderover, depending on + // which items are present + // + toNativeMML: function (parent) { + var type = this.type; + if (this.data[this.under] == null) {type = "mover"} + if (this.data[this.over] == null) {type = "munder"} + var tag = this.NativeMMLelement(type); + this.NativeMMLattributes(tag); + delete this.data[0].inferred; + for (var i = 0, m = this.data.length; i < m; i++) + {if (this.data[i]) {this.data[i].toNativeMML(tag)}} + parent.appendChild(tag); + } + }); + + if (MathJax.Hub.Browser.isFirefox) { + MML.mtable.Augment({ + toNativeMML: function (parent) { + // + // FF doesn't handle width, so put it in styles instead + // + if (this.width) { + var styles = (this.style||"").replace(/;\s*$/,"").split(";"); + styles.push("width:"+this.width); + this.style = styles.join(";"); + } + this.SUPER(arguments).toNativeMML.call(this,parent); + } + }); + MML.mlabeledtr.Augment({ + toNativeMML: function (parent) { + // + // FF doesn't handle mlabeledtr, so remove the label + // + var tag = this.NativeMMLelement("mtr"); + this.NativeMMLattributes(tag); + for (var i = 1, m = this.data.length; i < m; i++) { + if (this.data[i]) {this.data[i].toNativeMML(tag)} + else {tag.appendChild(this.NativeMMLelement("mrow"))} + } + parent.appendChild(tag); + } + }); + + var fontDir = MathJax.Hub.config.root + "/fonts/HTML-CSS/TeX/otf"; + + /* + * Add fix for mathvariant issues in FF + */ + nMML.Augment({ + config: { + styles: { + '[mathvariant="double-struck"]': {"font-family":"MathJax_AMS"}, + '[mathvariant="script"]': {"font-family":"MathJax_Script"}, + '[mathvariant="fraktur"]': {"font-family":"MathJax_Fraktur"}, + '[mathvariant="-tex-oldstyle"]': {"font-family":"MathJax_Caligraphic"}, + '[mathvariant="-tex-oldstyle-bold"]': {"font-family":"MathJax_Caligraphic", "font-weight":"bold"}, + '[mathvariant="-tex-caligraphic"]': {"font-family":"MathJax_Caligraphic"}, + '[mathvariant="-tex-caligraphic-bold"]': {"font-family":"MathJax_Caligraphic", "font-weight":"bold"}, + '[mathvariant="bold-script"]': {"font-family":"MathJax_Script", "font-weight":"bold"}, + '[mathvariant="bold-fraktur"]': {"font-family":"MathJax_Fraktur", "font-weight":"bold"}, + '[mathvariant="monospace"]': {"font-family":"monospace"}, + '[mathvariant="sans-serif"]': {"font-family":"sansserif"}, + '[mathvariant="bold-sans-serif"]': {"font-family":"sansserif", "font-weight":"bold"}, + '[mathvariant="sans-serif-italic"]': {"font-family":"sansserif", "font-style":"italic"}, + '[mathvariant="sans-serif-bold-italic"]': {"font-family":"sansserif", "font-style":"italic", "font-weight":"bold"}, + + '@font-face /*1*/': { + "font-family": "MathJax_AMS", + "src": "local('MathJax_AMS'), url('"+fontDir+"/MathJax_AMS-Regular.otf')" + }, + '@font-face /*2*/': { + "font-family": "MathJax_Script", + "src": "local('MathJax_Script'), url('"+fontDir+"/MathJax_Script-Regular.otf')" + }, + '@font-face /*3*/': { + "font-family": "MathJax_Fraktur", + "src": "local('MathJax_Fraktur'), url('"+fontDir+"/MathJax_Fraktur-Regular.otf')" + }, + '@font-face /*4*/': { + "font-family": "MathJax_Caligraphic", + "src": "local('MathJax_Caligraphic'), url('"+fontDir+"/MathJax_Caligraphic-Regular.otf')" + }, + '@font-face /*5*/': { + "font-family": "MathJax_Fraktur", "font-weight":"bold", + "src": "local('MathJax_Fraktur-Bold'), url('"+fontDir+"/MathJax_Fraktur-Bold.otf')" + }, + '@font-face /*6*/': { + "font-family": "MathJax_Caligraphic", "font-weight":"bold", + "src": "local('MathJax_Caligraphic-Bold'), url('"+fontDir+"/MathJax_Caligraphic-Bold.otf')" + } + } + } + }); + } + + MML.TeXAtom.Augment({ + // + // Convert TeXatom to an mrow + // + toNativeMML: function (parent) { + // FIXME: Handle spacing using mpadded? + var tag = this.NativeMMLelement("mrow"); + this.data[0].toNativeMML(tag); + parent.appendChild(tag); + } + }); + + MML.chars.Augment({ + // + // Add a text node + // + toNativeMML: function (parent) { + parent.appendChild(document.createTextNode(this.toString())); + } + }); + + MML.entity.Augment({ + // + // Add a text node + // + toNativeMML: function (parent) { + parent.appendChild(document.createTextNode(this.toString())); + } + }); + + MML.xml.Augment({ + // + // Insert the XML verbatim + // + toNativeMML: function (parent) { + for (var i = 0, m = this.data.length; i < m; i++) + {parent.appendChild(this.data[i].cloneNode(true))} + } + }); + + HUB.Register.StartupHook("TeX mathchoice Ready",function () { + MML.TeXmathchoice.Augment({ + // + // Get the MathML for the selected choice + // + toNativeMML: function (parent) {this.Core().toNativeMML(parent)} + }); + }); + + // + // Loading isn't complete until the element jax is modified, + // but can't call loadComplete within the callback for "mml Jax Ready" + // (it would call NativeMML's Require routine, asking for the mml jax again) + // so wait until after the mml jax has finished processing. + // + setTimeout(MathJax.Callback(["loadComplete",nMML,"jax.js"]),0); + }); + + HUB.Register.StartupHook("End Cookie",function () { + if (HUB.config.menuSettings.zoom !== "None") + {AJAX.Require("[MathJax]/extensions/MathZoom.js")} + }); + +})(MathJax.OutputJax.NativeMML, MathJax.Hub, MathJax.Ajax); diff --git a/modules/TeX-AMS-texvc_HTML.js b/modules/TeX-AMS-texvc_HTML.js new file mode 100644 index 0000000..6cc0adb --- /dev/null +++ b/modules/TeX-AMS-texvc_HTML.js @@ -0,0 +1,288 @@ +/* + * /MathJax/config/TeX-AMS-texvc_HTML.js + * + * Copyright (c) 2010-11 Design Science, Inc. + * + * wiki2jax.js and TeX/texvc.js also + * Copyright (c) 2010-2011 http://en.wikipedia.org/User:Nageh + * + * Part of the MathJax library. + * See http://www.mathjax.org for details. + * + * Licensed under the Apache License, Version 2.0; + * you may not use this file except in compliance with the License. + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Various customized logic! + * - custom conversion helpers + * - some custom texvc commands ('texvc.js') + * - heuristic detection of inline vs display maths (displays are in a
) (ConvertMath()) + * - workaround for \scriptstyle / \scriptscriptstyle font-size hack used on Wikipedia + * - partial hacks for \oiint an d\oiiint. (needs font fixes?) + * - hack to support \color commands -> drop for MathJax 2.0 which has this natively? + * - custom render settings (mathJax.js config?) + * - support for user hooks -> find a way to generalize this for site JS too + * - support for wikEd, ajaxPreview (mathJax.Init() in loader) + * - conditional loading + * - some misc + */ + +MathJax.Ajax.Preloading( + "[MathJax]/jax/input/TeX/config.js", + "[MathJax]/jax/output/HTML-CSS/config.js", + "[MathJax]/jax/element/mml/jax.js", + "[MathJax]/extensions/TeX/noErrors.js", + "[MathJax]/extensions/TeX/noUndefined.js", + "[MathJax]/jax/input/TeX/jax.js", + "[MathJax]/extensions/TeX/AMSmath.js", + "[MathJax]/extensions/TeX/AMSsymbols.js", + "[MathJax]/extensions/TeX/boldsymbol.js", + "[MathJax]/extensions/TeX/mathchoice.js", + "[MathJax]/jax/output/HTML-CSS/jax.js", + "[MathJax]/jax/output/HTML-CSS/autoload/mtable.js", + "[MathJax]/extensions/wiki2jax.js", + "[MathJax]/extensions/TeX/texvc.js" +); + +MathJax.Hub.Config({"v1.0-compatible":false}); + +MathJax.InputJax.TeX=MathJax.InputJax({id:"TeX",version:"1.1.1",directory:MathJax.InputJax.directory+"/TeX",extensionDir:MathJax.InputJax.extensionDir+"/TeX",config:{TagSide:"right",TagIndent:"0.8em",MultLineWidth:"85%"}});MathJax.InputJax.TeX.Register("math/tex");MathJax.InputJax.TeX.loadComplete("config.js"); + +MathJax.OutputJax["HTML-CSS"]=MathJax.OutputJax({id:"HTML-CSS",version:"1.1.4",directory:MathJax.OutputJax.directory+"/HTML-CSS",extensionDir:MathJax.OutputJax.extensionDir+"/HTML-CSS",autoloadDir:MathJax.OutputJax.directory+"/HTML-CSS/autoload",fontDir:MathJax.OutputJax.directory+"/HTML-CSS/fonts",webfontDir:MathJax.OutputJax.fontDir+"/HTML-CSS",config:{scale:100,minScaleAdjust:50,availableFonts:["STIX","TeX"],preferredFont:"TeX",webFont:"TeX",imageFont:"TeX",undefinedFamily:"STIXGeneral,'Arial Unicode MS',serif",showMathMenu:true,styles:{".MathJax_Display":{"text-align":"center",margin:"1em 0em"},".MathJax .merror":{"background-color":"#FFFF88",color:"#CC0000",border:"1px solid #CC0000",padding:"1px 3px","font-family":"serif","font-style":"normal","font-size":"90%"},".MathJax_Preview":{color:"#888888"},"#MathJax_Tooltip":{"background-color":"InfoBackground",color:"InfoText",border:"1px solid black","box-shadow":"2px 2px 5px #AAAAAA","-webkit-box-shadow":"2px 2px 5px #AAAAAA","-moz-box-shadow":"2px 2px 5px #AAAAAA","-khtml-box-shadow":"2px 2px 5px #AAAAAA",filter:"progid:DXImageTransform.Microsoft.dropshadow(OffX=2, OffY=2, Color='gray', Positive='true')",padding:"3px 4px"}}}});if(MathJax.Hub.Browser.isMSIE&&document.documentMode>=9){delete MathJax.OutputJax["HTML-CSS"].config.styles["#MathJax_Tooltip"].filter}if(!MathJax.Hub.config.delayJaxRegistration){MathJax.OutputJax["HTML-CSS"].Register("jax/mml")}MathJax.Hub.Register.StartupHook("End Config",[function(b,c){var a=b.Insert({minBrowserVersion:{Firefox:3,Opera:9.52,MSIE:6,Chrome:0.3,Safari:2,Konqueror:4},inlineMathDelimiters:["$","$"],displayMathDelimiters:["$$","$$"],multilineDisplay:true,minBrowserTranslate:function(f){var e=b.getJaxFor(f),k=["[Math]"],j;var h=document.createElement("span",{className:"MathJax_Preview"});if(e.inputJax.id==="TeX"){if(e.root.Get("displaystyle")){j=a.displayMathDelimiters;k=[j[0]+e.originalText+j[1]];if(a.multilineDisplay){k=k[0].split(/\n/)}}else{j=a.inlineMathDelimiters;k=[j[0]+e.originalText.replace(/^\s+/,"").replace(/\s+$/,"")+j[1]]}}for(var g=0,d=k.length;g0&&this.Get("scriptlevel")>0&&h>=0){return""}return this.TEXSPACELENGTH[Math.abs(h)]},TEXSPACELENGTH:["",a.LENGTH.THINMATHSPACE,a.LENGTH.MEDIUMMATHSPACE,a.LENGTH.THICKMATHSPACE],TEXSPACE:[[0,-1,2,3,0,0,0,1],[-1,-1,0,3,0,0,0,1],[2,2,0,0,2,0,0,2],[3,3,0,0,3,0,0,3],[0,0,0,0,0,0,0,0],[0,-1,2,3,0,0,0,1],[1,1,0,1,1,1,1,1],[1,-1,2,3,1,0,1,1]],autoDefault:function(f){return""},isSpacelike:function(){return d},isEmbellished:function(){return d},Core:function(){return this},CoreMO:function(){return this},lineBreak:function(){if(this.isEmbellished()){return this.CoreMO().lineBreak()}else{return"none"}},array:function(){if(this.inferred){return this.data}else{return[this]}},toString:function(){return this.type+"("+this.data.join(",")+")"}},{childrenSpacelike:function(){for(var f=0;f=0;f--){if(this.data[0]&&!this.data[f].isSpacelike()){return this.data[f]}}return null},Core:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core]},CoreMO:function(){if(!(this.isEmbellished())||typeof(this.core)==="undefined"){return this}return this.data[this.core].CoreMO()},toString:function(){if(this.inferred){return"["+this.data.join(",")+"]"}return this.SUPER(arguments).toString.call(this)},setTeXclass:function(h){for(var g=0,f=this.data.length;g0){f++}return f},adjustChild_texprimestyle:function(f){if(f==this.den){return true}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.msqrt=a.mbase.Subclass({type:"msqrt",inferRow:b,texClass:a.TEXCLASS.ORD,setTeXclass:a.mbase.setSeparateTeXclasses,adjustChild_texprimestyle:function(f){return b}});a.mroot=a.mbase.Subclass({type:"mroot",texClass:a.TEXCLASS.ORD,adjustChild_displaystyle:function(f){if(f===1){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g===1){f+=2}return f},adjustChild_texprimestyle:function(f){if(f===0){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setSeparateTeXclasses});a.mstyle=a.mbase.Subclass({type:"mstyle",isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,inferRow:b,defaults:{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:Math.sqrt(1/2),scriptminsize:"8pt",mathbackground:a.INHERIT,mathcolor:a.INHERIT,infixlinebreakstyle:a.LINEBREAKSTYLE.BEFORE,decimalseparator:"."},adjustChild_scriptlevel:function(h){var g=this.scriptlevel;if(g==null){g=this.Get("scriptlevel")}else{if(String(g).match(/^ *[-+]/)){delete this.scriptlevel;var f=this.Get("scriptlevel");this.scriptlevel=g;g=f+parseInt(g)}}return g},inheritFromMe:b,noInherit:{mpadded:{width:b,height:b,depth:b,lspace:b,voffset:b},mtable:{width:b,height:b,depth:b,align:b}},setTeXclass:a.mbase.setChildTeXclass});a.merror=a.mbase.Subclass({type:"merror",inferRow:b,texClass:a.TEXCLASS.ORD});a.mpadded=a.mbase.Subclass({type:"mpadded",inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,width:"",height:"",depth:"",lspace:0,voffset:0},setTeXclass:a.mbase.setChildTeXclass});a.mphantom=a.mbase.Subclass({type:"mphantom",texClass:a.TEXCLASS.ORD,inferRow:b,isSpacelike:a.mbase.childrenSpacelike,isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,setTeXclass:a.mbase.setChildTeXclass});a.mfenced=a.mbase.Subclass({type:"mfenced",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,open:"(",close:")",separators:","},texClass:a.TEXCLASS.OPEN,setTeXclass:function(j){this.getPrevClass(j);var g=this.getValues("open","close","separators");g.open=g.open.replace(/[ \t\n\r]/g,"");g.close=g.close.replace(/[ \t\n\r]/g,"");g.separators=g.separators.replace(/[ \t\n\r]/g,"");if(g.open!==""){this.SetData("open",a.mo(g.open).With({stretchy:true,texClass:a.TEXCLASS.OPEN}));j=this.data.open.setTeXclass(j)}if(g.separators!==""){while(g.separators.length0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g>0){f++}return f},adjustChild_texprimestyle:function(f){if(f===this.sub){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.msub=a.msubsup.Subclass({type:"msub"});a.msup=a.msubsup.Subclass({type:"msup",sub:2,sup:1});a.mmultiscripts=a.msubsup.Subclass({type:"mmultiscripts",adjustChild_texprimestyle:function(f){if(f%2===1){return b}return this.Get("texprimestyle")}});a.mprescripts=a.mbase.Subclass({type:"mprescripts"});a.none=a.mbase.Subclass({type:"none"});a.munderover=a.mbase.Subclass({type:"munderover",base:0,under:1,over:2,sub:1,sup:2,ACCENTS:["","accentunder","accent"],isEmbellished:a.mbase.childEmbellished,Core:a.mbase.childCore,CoreMO:a.mbase.childCoreMO,defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,accent:a.AUTO,accentunder:a.AUTO,align:a.ALIGN.CENTER,texClass:a.AUTO,subscriptshift:"",superscriptshift:""},autoDefault:function(f){if(f==="texClass"){return(this.isEmbellished()?this.CoreMO().Get(f):a.TEXCLASS.ORD)}if(f==="accent"&&this.data[this.over]){return this.data[this.over].CoreMO().Get("accent")}if(f==="accentunder"&&this.data[this.under]){return this.data[this.under].CoreMO().Get("accent")}return d},adjustChild_displaystyle:function(f){if(f>0){return d}return this.Get("displaystyle")},adjustChild_scriptlevel:function(g){var f=this.Get("scriptlevel");if(g==this.under&&!this.Get("accentunder")){f++}if(g==this.over&&!this.Get("accent")){f++}return f},adjustChild_texprimestyle:function(f){if(f===this.base&&this.data[this.over]){return b}return this.Get("texprimestyle")},setTeXclass:a.mbase.setBaseTeXclasses});a.munder=a.munderover.Subclass({type:"munder"});a.mover=a.munderover.Subclass({type:"mover",over:1,under:2,sup:1,sub:2,ACCENTS:["","accent","accentunder"]});a.mtable=a.mbase.Subclass({type:"mtable",defaults:{mathbackground:a.INHERIT,mathcolor:a.INHERIT,align:a.ALIGN.AXIS,rowalign:a.ALIGN.BASELINE,columnalign:a.ALIGN.CENTER,groupalign:"{left}",alignmentscope:b,columnwidth:a.WIDTH.AUTO,width:a.WIDTH.AUTO,rowspacing:"1ex",columnspacing:".8em",rowlines:a.LINES.NONE,columnlines:a.LINES.NONE,frame:a.LINES.NONE,framespacing:"0.4em 0.5ex",equalrows:d,equalcolumns:d,displaystyle:d,side:a.SIDE.RIGHT,minlabelspacing:"0.8em",texClass:a.TEXCLASS.ORD,useHeight:1},inheritFromMe:b,noInherit:{mtable:{align:b,rowalign:b,columnalign:b,groupalign:b,alignmentscope:b,columnwidth:b,width:b,rowspacing:b,columnspacing:b,rowlines:b,columnlines:b,frame:b,framespacing:b,equalrows:b,equalcolumns:b,side:b,minlabelspacing:b,texClass:b,useHeight:1}},Append:function(){for(var g=0,f=arguments.length;g":e.REL,"?":[1,1,c.CLOSE],"\\":e.ORD,_:e.ORD11,"|":[2,2,c.ORD,{fence:true,stretchy:true,symmetric:true}],"#":e.ORD,"$":e.ORD,"\u002E":[0,3,c.PUNCT,{separator:true}],"\u02B9":e.ORD,"\u02C9":e.ACCENT,"\u02CA":e.ACCENT,"\u02CB":e.ACCENT,"\u0300":e.ACCENT,"\u0301":e.ACCENT,"\u0303":e.WIDEACCENT,"\u0304":e.ACCENT,"\u0306":e.ACCENT,"\u0307":e.ACCENT,"\u0308":e.ACCENT,"\u030C":e.ACCENT,"\u0332":e.WIDEACCENT,"\u0338":e.REL4,"\u2015":[0,0,c.ORD,{stretchy:true}],"\u2017":[0,0,c.ORD,{stretchy:true}],"\u2020":e.BIN3,"\u2021":e.BIN3,"\u20D7":e.ACCENT,"\u2118":e.ORD,"\u2205":e.ORD,"\u221E":e.ORD,"\u2305":e.BIN3,"\u2306":e.BIN3,"\u2322":e.REL4,"\u2323":e.REL4,"\u2329":e.OPEN,"\u232A":e.CLOSE,"\u23AA":e.ORD,"\u23AF":[0,0,c.ORD,{stretchy:true}],"\u23B0":e.OPEN,"\u23B1":e.CLOSE,"\u25EF":e.BIN3,"\u2660":e.ORD,"\u2661":e.ORD,"\u2662":e.ORD,"\u2663":e.ORD,"\u27EE":e.OPEN,"\u27EF":e.CLOSE,"\u27FC":e.REL4,"\u3008":e.OPEN,"\u3009":e.CLOSE,"\uFE37":e.WIDEACCENT,"\uFE38":e.WIDEACCENT}}},{OPTYPES:e})})(MathJax.ElementJax.mml);MathJax.ElementJax.mml.loadComplete("jax.js"); + +(function(){var c="1.1";var a=MathJax.Hub.CombineConfig("TeX.noErrors",{multiLine:true,inlineDelimiters:["",""],style:{"font-family":"serif","font-size":"80%","text-align":"left",color:"black",padding:"1px 3px",border:"1px solid"}});var b="\u00A0";MathJax.Extension["TeX/noErrors"]={version:c,config:a};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){MathJax.InputJax.TeX.Augment({formatError:function(f,e,g,d){var i=a.inlineDelimiters;var h=(g||a.multiLine);if(!g){e=i[0]+e+i[1]}if(h){e=e.replace(/ /g,b)}else{e=e.replace(/\n/g," ")}return MathJax.ElementJax.mml.merror(e).With({isError:true,multiLine:h})}})});MathJax.Hub.Register.StartupHook("HTML-CSS Jax Config",function(){MathJax.Hub.Config({"HTML-CSS":{styles:{".MathJax .merror":MathJax.Hub.Insert({"font-style":null,"background-color":null,"vertical-align":(MathJax.Hub.Browser.isMSIE&&a.multiLine?"-2px":"")},a.style)}}})})})();MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function(){var a=MathJax.ElementJax.mml;var b=MathJax.OutputJax["HTML-CSS"];var c=a.math.prototype.toHTML;a.math.Augment({toHTML:function(d,e){if(this.data[0]&&this.data[0].data[0]&&this.data[0].data[0].isError){return this.data[0].data[0].toHTML(d)}return c.call(this,d,e)}});a.merror.Augment({toHTML:function(j){if(!this.isError){return a.mbase.prototype.toHTML.call(this,j)}j=this.HTMLcreateSpan(j);if(this.multiLine){j.style.display="inline-block"}var l=this.data[0].data[0].data.join("").split(/\n/);for(var g=0,e=l.length;g1){var k=(n.h+n.d)/2,h=b.TeX.x_height/2;var f=b.config.styles[".MathJax .merror"]["font-size"];if(f&&f.match(/%/)){h*=parseInt(f)/100}j.parentNode.style.verticalAlign=b.Em(n.d+(h-k));n.h=h+k;n.d=k-h}j.bbox={h:n.h,d:n.d,w:d,lw:0,rw:d};return j}});MathJax.Hub.Startup.signal.Post("TeX noErrors Ready")});MathJax.Hub.Register.StartupHook("NativeMML Jax Ready",function(){var b=MathJax.ElementJax.mml;var a=MathJax.Extension["TeX/noErrors"].config;var c=b.math.prototype.toNativeMML;b.math.Augment({toNativeMML:function(d){if(this.data[0]&&this.data[0].data[0]&&this.data[0].data[0].isError){return this.data[0].data[0].toNativeMML(d)}return c.call(this,d)}});b.merror.Augment({toNativeMML:function(g){if(!this.isError){return b.mbase.prototype.toNativeMML.call(this,g)}g=g.appendChild(document.createElement("span"));var h=this.data[0].data[0].data.join("").split(/\n/);for(var f=0,e=h.length;f1){g.style.verticalAlign="middle"}}for(var j in a.style){if(a.style.hasOwnProperty(j)){var d=j.replace(/-./g,function(i){return i.charAt(1).toUpperCase()});g.style[d]=a.style[j]}}return g}});MathJax.Hub.Startup.signal.Post("TeX noErrors Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noErrors.js"); + +MathJax.Extension["TeX/noUndefined"]={version:"1.1",config:MathJax.Hub.CombineConfig("TeX.noUndefined",{attributes:{mathcolor:"red"}})};MathJax.Hub.Register.StartupHook("TeX Jax Ready",function(){var b=MathJax.Extension["TeX/noUndefined"].config;var a=MathJax.ElementJax.mml;MathJax.InputJax.TeX.Parse.Augment({csUndefined:function(c){this.Push(a.mtext(c).With(b.attributes))}});MathJax.Hub.Startup.signal.Post("TeX noUndefined Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/noUndefined.js"); + +(function(d){var c=true,f=false,i,h=String.fromCharCode(160);var e=MathJax.Object.Subclass({Init:function(k){this.global={};this.data=[b.start().With({global:this.global})];if(k){this.data[0].env=k}this.env=this.data[0].env},Push:function(){var l,k,n,o;for(l=0,k=arguments.length;l":"27E9","\\lt":"27E8","\\gt":"27E9","/":"/","|":["|",{texClass:i.TEXCLASS.ORD}],".":"","\\\\":"\\","\\lmoustache":"23B0","\\rmoustache":"23B1","\\lgroup":"27EE","\\rgroup":"27EF","\\arrowvert":"23D0","\\Arrowvert":"2016","\\bracevert":"23AA","\\Vert":["2225",{texClass:i.TEXCLASS.ORD}],"\\|":["2225",{texClass:i.TEXCLASS.ORD}],"\\vert":["|",{texClass:i.TEXCLASS.ORD}],"\\uparrow":"2191","\\downarrow":"2193","\\updownarrow":"2195","\\Uparrow":"21D1","\\Downarrow":"21D3","\\Updownarrow":"21D5","\\backslash":"\\","\\rangle":"27E9","\\langle":"27E8","\\rbrace":"}","\\lbrace":"{","\\}":"}","\\{":"{","\\rceil":"2309","\\lceil":"2308","\\rfloor":"230B","\\lfloor":"230A","\\lbrack":"[","\\rbrack":"]"},macros:{displaystyle:["SetStyle","D",c,0],textstyle:["SetStyle","T",f,0],scriptstyle:["SetStyle","S",f,1],scriptscriptstyle:["SetStyle","SS",f,2],rm:["SetFont",i.VARIANT.NORMAL],mit:["SetFont",i.VARIANT.ITALIC],oldstyle:["SetFont",i.VARIANT.OLDSTYLE],cal:["SetFont",i.VARIANT.CALIGRAPHIC],it:["SetFont",i.VARIANT.ITALIC],bf:["SetFont",i.VARIANT.BOLD],bbFont:["SetFont",i.VARIANT.DOUBLESTRUCK],scr:["SetFont",i.VARIANT.SCRIPT],frak:["SetFont",i.VARIANT.FRAKTUR],sf:["SetFont",i.VARIANT.SANSSERIF],tt:["SetFont",i.VARIANT.MONOSPACE],tiny:["SetSize",0.5],Tiny:["SetSize",0.6],scriptsize:["SetSize",0.7],small:["SetSize",0.85],normalsize:["SetSize",1],large:["SetSize",1.2],Large:["SetSize",1.44],LARGE:["SetSize",1.73],huge:["SetSize",2.07],Huge:["SetSize",2.49],arcsin:["NamedFn"],arccos:["NamedFn"],arctan:["NamedFn"],arg:["NamedFn"],cos:["NamedFn"],cosh:["NamedFn"],cot:["NamedFn"],coth:["NamedFn"],csc:["NamedFn"],deg:["NamedFn"],det:"NamedOp",dim:["NamedFn"],exp:["NamedFn"],gcd:"NamedOp",hom:["NamedFn"],inf:"NamedOp",ker:["NamedFn"],lg:["NamedFn"],lim:"NamedOp",liminf:["NamedOp","lim inf"],limsup:["NamedOp","lim sup"],ln:["NamedFn"],log:["NamedFn"],max:"NamedOp",min:"NamedOp",Pr:"NamedOp",sec:["NamedFn"],sin:["NamedFn"],sinh:["NamedFn"],sup:"NamedOp",tan:["NamedFn"],tanh:["NamedFn"],limits:["Limits",1],nolimits:["Limits",0],overline:["UnderOver","203E"],underline:["UnderOver","005F"],overbrace:["UnderOver","23DE",1],underbrace:["UnderOver","23DF",1],overrightarrow:["UnderOver","2192"],underrightarrow:["UnderOver","2192"],overleftarrow:["UnderOver","2190"],underleftarrow:["UnderOver","2190"],overleftrightarrow:["UnderOver","2194"],underleftrightarrow:["UnderOver","2194"],overset:"Overset",underset:"Underset",stackrel:["Macro","\\mathrel{\\mathop{#2}\\limits^{#1}}",2],over:"Over",overwithdelims:"Over",atop:"Over",atopwithdelims:"Over",above:"Over",abovewithdelims:"Over",brace:["Over","{","}"],brack:["Over","[","]"],choose:["Over","(",")"],frac:"Frac",sqrt:"Sqrt",root:"Root",uproot:["MoveRoot","upRoot"],leftroot:["MoveRoot","leftRoot"],left:"LeftRight",right:"LeftRight",llap:"Lap",rlap:"Lap",raise:"RaiseLower",lower:"RaiseLower",moveleft:"MoveLeftRight",moveright:"MoveLeftRight",",":["Spacer",i.LENGTH.THINMATHSPACE],":":["Spacer",i.LENGTH.THINMATHSPACE],">":["Spacer",i.LENGTH.MEDIUMMATHSPACE],";":["Spacer",i.LENGTH.THICKMATHSPACE],"!":["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],enspace:["Spacer",".5em"],quad:["Spacer","1em"],qquad:["Spacer","2em"],thinspace:["Spacer",i.LENGTH.THINMATHSPACE],negthinspace:["Spacer",i.LENGTH.NEGATIVETHINMATHSPACE],hskip:"Hskip",hspace:"Hskip",kern:"Hskip",mskip:"Hskip",mspace:"Hskip",mkern:"Hskip",Rule:["Rule"],Space:["Rule","blank"],big:["MakeBig",i.TEXCLASS.ORD,0.85],Big:["MakeBig",i.TEXCLASS.ORD,1.15],bigg:["MakeBig",i.TEXCLASS.ORD,1.45],Bigg:["MakeBig",i.TEXCLASS.ORD,1.75],bigl:["MakeBig",i.TEXCLASS.OPEN,0.85],Bigl:["MakeBig",i.TEXCLASS.OPEN,1.15],biggl:["MakeBig",i.TEXCLASS.OPEN,1.45],Biggl:["MakeBig",i.TEXCLASS.OPEN,1.75],bigr:["MakeBig",i.TEXCLASS.CLOSE,0.85],Bigr:["MakeBig",i.TEXCLASS.CLOSE,1.15],biggr:["MakeBig",i.TEXCLASS.CLOSE,1.45],Biggr:["MakeBig",i.TEXCLASS.CLOSE,1.75],bigm:["MakeBig",i.TEXCLASS.REL,0.85],Bigm:["MakeBig",i.TEXCLASS.REL,1.15],biggm:["MakeBig",i.TEXCLASS.REL,1.45],Biggm:["MakeBig",i.TEXCLASS.REL,1.75],mathord:["TeXAtom",i.TEXCLASS.ORD],mathop:["TeXAtom",i.TEXCLASS.OP],mathopen:["TeXAtom",i.TEXCLASS.OPEN],mathclose:["TeXAtom",i.TEXCLASS.CLOSE],mathbin:["TeXAtom",i.TEXCLASS.BIN],mathrel:["TeXAtom",i.TEXCLASS.REL],mathpunct:["TeXAtom",i.TEXCLASS.PUNCT],mathinner:["TeXAtom",i.TEXCLASS.INNER],vcenter:["TeXAtom",i.TEXCLASS.VCENTER],mathchoice:["Extension","mathchoice"],buildrel:"BuildRel",hbox:["HBox",0],text:"HBox",mbox:["HBox",0],fbox:"FBox",strut:"Strut",mathstrut:["Macro","\\vphantom{(}"],phantom:"Phantom",vphantom:["Phantom",1,0],hphantom:["Phantom",0,1],smash:"Smash",acute:["Accent","02CA"],grave:["Accent","02CB"],ddot:["Accent","00A8"],tilde:["Accent","02DC"],bar:["Accent","02C9"],breve:["Accent","02D8"],check:["Accent","02C7"],hat:["Accent","02C6"],vec:["Accent","20D7"],dot:["Accent","02D9"],widetilde:["Accent","02DC",1],widehat:["Accent","02C6",1],matrix:"Matrix",array:"Matrix",pmatrix:["Matrix","(",")"],cases:["Matrix","{","","left left",null,".1em"],eqalign:["Matrix",null,null,"right left",i.LENGTH.THICKMATHSPACE,".5em","D"],displaylines:["Matrix",null,null,"center",null,".5em","D"],cr:"Cr","\\":"CrLaTeX",newline:"Cr",hline:["HLine","solid"],hdashline:["HLine","dashed"],eqalignno:["Matrix",null,null,"right left right",i.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],leqalignno:["Matrix",null,null,"right left right",i.LENGTH.THICKMATHSPACE+" 3em",".5em","D"],bmod:["Macro","\\mathbin{\\mmlToken{mo}{mod}}"],pmod:["Macro","\\pod{\\mmlToken{mi}{mod}\\kern 6mu #1}",1],mod:["Macro","\\mathchoice{\\kern18mu}{\\kern12mu}{\\kern12mu}{\\kern12mu}\\mmlToken{mi}{mod}\\,\\,#1",1],pod:["Macro","\\mathchoice{\\kern18mu}{\\kern8mu}{\\kern8mu}{\\kern8mu}(#1)",1],iff:["Macro","\\;\\Longleftrightarrow\\;"],skew:["Macro","{{#2{#3\\mkern#1mu}\\mkern-#1mu}{}}",3],mathcal:["Macro","{\\cal #1}",1],mathscr:["Macro","{\\scr #1}",1],mathrm:["Macro","{\\rm #1}",1],mathbf:["Macro","{\\bf #1}",1],mathbb:["Macro","{\\bbFont #1}",1],Bbb:["Macro","{\\bbFont #1}",1],mathit:["Macro","{\\it #1}",1],mathfrak:["Macro","{\\frak #1}",1],mathsf:["Macro","{\\sf #1}",1],mathtt:["Macro","{\\tt #1}",1],textrm:["Macro","\\mathord{\\rm\\text{#1}}",1],textit:["Macro","\\mathord{\\it{\\text{#1}}}",1],textbf:["Macro","\\mathord{\\bf{\\text{#1}}}",1],pmb:["Macro","\\rlap{#1}\\kern1px{#1}",1],TeX:["Macro","T\\kern-.14em\\lower.5ex{E}\\kern-.115em X"],LaTeX:["Macro","L\\kern-.325em\\raise.21em{\\scriptstyle{A}}\\kern-.17em\\TeX"],not:["Macro","\\mathrel{\\rlap{\\kern.5em\\notChar}}"]," ":["Macro","\\text{ }"],space:"Tilde",begin:"Begin",end:"End",newcommand:["Extension","newcommand"],renewcommand:["Extension","newcommand"],newenvironment:["Extension","newcommand"],def:["Extension","newcommand"],verb:["Extension","verb"],boldsymbol:["Extension","boldsymbol"],tag:["Extension","AMSmath"],notag:["Extension","AMSmath"],label:["Macro","",1],nonumber:["Macro",""],unicode:["Extension","unicode"],color:"Color",href:["Extension","HTML"],"class":["Extension","HTML"],style:["Extension","HTML"],cssId:["Extension","HTML"],mmlToken:"MmlToken",require:"Require"},environment:{array:["Array"],matrix:["Array",null,null,null,"c"],pmatrix:["Array",null,"(",")","c"],bmatrix:["Array",null,"[","]","c"],Bmatrix:["Array",null,"\\{","\\}","c"],vmatrix:["Array",null,"\\vert","\\vert","c"],Vmatrix:["Array",null,"\\Vert","\\Vert","c"],cases:["Array",null,"\\{",".","ll",null,".1em"],eqnarray:["Array",null,null,null,"rcl",i.LENGTH.THICKMATHSPACE,".5em","D"],"eqnarray*":["Array",null,null,null,"rcl",i.LENGTH.THICKMATHSPACE,".5em","D"],equation:[null,"Equation"],"equation*":[null,"Equation"],align:["ExtensionEnv",null,"AMSmath"],"align*":["ExtensionEnv",null,"AMSmath"],aligned:["ExtensionEnv",null,"AMSmath"],multline:["ExtensionEnv",null,"AMSmath"],"multline*":["ExtensionEnv",null,"AMSmath"],split:["ExtensionEnv",null,"AMSmath"],gather:["ExtensionEnv",null,"AMSmath"],"gather*":["ExtensionEnv",null,"AMSmath"],gathered:["ExtensionEnv",null,"AMSmath"],alignat:["ExtensionEnv",null,"AMSmath"],"alignat*":["ExtensionEnv",null,"AMSmath"],alignedat:["ExtensionEnv",null,"AMSmath"]},p_height:1.2/0.85});if(this.config.Macros){var k=this.config.Macros;for(var l in k){if(k.hasOwnProperty(l)){if(typeof(k[l])==="string"){g.macros[l]=["Macro",k[l]]}else{g.macros[l]=["Macro"].concat(k[l])}}}}};var a=MathJax.Object.Subclass({Init:function(l,m){this.string=l;this.i=0;this.macroCount=0;var k;if(m){k={};for(var n in m){if(m.hasOwnProperty(n)){k[n]=m[n]}}}this.stack=d.Stack(k);this.Parse();this.Push(b.stop())},Parse:function(){var k;while(this.id.config.MAXMACROS){d.Error("MathJax maximum macro substitution count exceeded; is there a recursive macro call?")}},Matrix:function(l,n,s,p,q,m,k){var r=this.GetNext();if(r===""){d.Error("Missing argument for "+l)}if(r==="{"){this.i++}else{this.string=r+"}"+this.string.slice(this.i+1);this.i=0}var o=b.array().With({requireClose:c,arraydef:{rowspacing:(m||"4pt"),columnspacing:(q||"1em")}});if(n||s){o.open=n;o.close=s}if(k==="D"){o.arraydef.displaystyle=c}if(p!=null){o.arraydef.columnalign=p}this.Push(o)},Entry:function(k){this.Push(b.cell().With({isEntry:c,name:k}))},Cr:function(k){this.Push(b.cell().With({isCR:c,name:k}))},CrLaTeX:function(k){var o=this.GetBrackets(k).replace(/ /g,"");if(o&&!o.match(/^(((\.\d+|\d+(\.\d*)?))(pt|em|ex|mu|mm|cm|in|pc))$/)){d.Error("Bracket argument to "+k+" must be a dimension")}this.Push(b.cell().With({isCR:c,name:k}));var m=this.stack.Top();if(m.isa(b.array)){if(o&&m.arraydef.rowspacing){var l=m.arraydef.rowspacing.split(/ /);if(!m.rowspacing){m.rowspacing=this.dimen2em(l[0])}while(l.lengthd.config.MAXMACROS){d.Error("MathJax maximum substitution count exceeded; is there a recursive latex environment?")}var n=g.environment[m];if(!(n instanceof Array)){n=[n]}var k=b.begin().With({name:m,end:n[1],parse:this});if(n[0]&&this[n[0]]){k=this[n[0]].apply(this,[k].concat(n.slice(2)))}this.Push(k)},End:function(k){this.Push(b.end().With({name:this.GetArgument(k)}))},Equation:function(k,l){return l},ExtensionEnv:function(l,k){this.Extension(l.name,k,"environment")},Array:function(m,o,t,r,s,n,k,p){if(!r){r=this.GetArgument("\\begin{"+m.name+"}")}var u=("c"+r).replace(/[^clr|:]/g,"").replace(/[^|:]([|:])+/g,"$1");r=r.replace(/[^clr]/g,"").split("").join(" ");r=r.replace(/l/g,"left").replace(/r/g,"right").replace(/c/g,"center");var q=b.array().With({arraydef:{columnalign:r,columnspacing:(s||"1em"),rowspacing:(n||"4pt")}});if(u.match(/[|:]/)){var l=(u.charAt(0)+u.charAt(u.length-1)).replace(/[^|:]/g,"");if(l!==""){q.arraydef.frame={"|":"solid",":":"dashed"}[l.charAt(0)];q.arraydef.framespacing=".5em .5ex"}u=u.substr(1,u.length-2);q.arraydef.columnlines=u.split("").join(" ").replace(/[^|: ]/g,"none").replace(/\|/g,"solid").replace(/:/g,"dashed")}if(o){q.open=this.convertDelimiter(o)}if(t){q.close=this.convertDelimiter(t)}if(k==="D"){q.arraydef.displaystyle=c}if(k==="S"){q.arraydef.scriptlevel=1}if(p){q.arraydef.useHeight=f}this.Push(m);return q},convertDelimiter:function(k){if(k){k=g.delimiter[k]}if(k==null){return null}if(k instanceof Array){k=k[0]}if(k.length===4){k=String.fromCharCode(parseInt(k,16))}return k},trimSpaces:function(k){if(typeof(k)!="string"){return k}return k.replace(/^\s+|\s+$/g,"")},nextIsSpace:function(){return this.string.charAt(this.i).match(/[ \n\r\t]/)},GetNext:function(){while(this.nextIsSpace()){this.i++}return this.string.charAt(this.i)},GetCS:function(){var k=this.string.slice(this.i).match(/^([a-z]+|.) ?/i);if(k){this.i+=k[1].length;return k[1]}else{this.i++;return" "}},GetArgument:function(l,m){switch(this.GetNext()){case"":if(!m){d.Error("Missing argument for "+l)}return null;case"}":if(!m){d.Error("Extra close brace or missing open brace")}return null;case"\\":this.i++;return"\\"+this.GetCS();case"{":var k=++this.i,n=1;while(this.il.length){d.Error("Illegal macro parameter reference")}n=this.AddArgs(this.AddArgs(n,o),l[p-1]);o=""}}else{o+=p}}}return this.AddArgs(n,o)},AddArgs:function(l,k){if(k.match(/^[a-z]/i)&&l.match(/(^|[^\\])(\\\\)*\\[a-z]+$/i)){l+=" "}if(l.length+k.length>d.config.MAXBUFFER){d.Error("MathJax internal buffer size exceeded; is there a recursive macro call?")}return l+k}});d.Augment({Stack:e,Parse:a,Definitions:g,Startup:j,config:{MAXMACROS:10000,MAXBUFFER:5*1024},Translate:function(k){var l,n=k.innerHTML.replace(/^\s+/,"").replace(/\s+$/,"");if(MathJax.Hub.Browser.isKonqueror){n=n.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")}var o=(k.type.replace(/\n/g," ").match(/(;|\s|\n)mode\s*=\s*display(;|\s|\n|$)/)!=null);n=d.prefilterMath(n,o,k);try{l=d.Parse(n).mml()}catch(m){if(!m.texError){throw m}l=this.formatError(m,n,o,k)}if(l.inferred){l=i.apply(MathJax.ElementJax,l.data)}else{l=i(l)}if(o){l.root.display="block"}return this.postfilterMath(l,o,k)},prefilterMath:function(l,m,k){return l.replace(/([_^]\s*\d)([0-9.,])/g,"$1 $2")},postfilterMath:function(l,m,k){this.combineRelations(l.root);return l},formatError:function(m,l,n,k){return i.merror(m.message.replace(/\n.*/,""))},Error:function(k){throw MathJax.Hub.Insert(Error(k),{texError:c})},Macro:function(k,l,m){g.macros[k]=["Macro"].concat([].slice.call(arguments,1))},combineRelations:function(l){for(var n=0,k=l.data.length;n0){align+="rl";spacing.push("0em 0em");j--}spacing=spacing.join(" ");if(g){return this.AMSarray(i,h,g,align,spacing)}return this.Array(i,null,null,align,spacing,".5em","D")},MultiIntegral:function(g,k){var j=this.GetNext();if(j==="\\"){var h=this.i;j=this.GetArgument(g);this.i=h;if(j==="\\limits"){if(g==="\\idotsint"){k="\\!\\!\\mathop{\\,\\,"+k+"}"}else{k="\\!\\!\\!\\mathop{\\,\\,\\,"+k+"}"}}}this.string=k+" "+this.string.slice(this.i);this.i=0},xArrow:function(i,m,k,g){var j={width:"+"+(k+g)+"mu",lspace:k+"mu"};var n=this.GetBrackets(i),o=this.ParseArg(i);var p=a.mo(a.chars(String.fromCharCode(m))).With({stretchy:true,texClass:a.TEXCLASS.REL});var h=a.munderover(p);h.SetData(h.over,a.mpadded(o).With(j).With({voffset:".15em"}));if(n){n=f.Parse(n,this.stack.env).mml();h.SetData(h.under,a.mpadded(n).With(j).With({voffset:"-.24em"}))}this.Push(h)},GetDelimiterArg:function(g){var h=this.trimSpaces(this.GetArgument(g));if(h==""){return null}if(!c.delimiter[h]){f.Error("Missing or unrecognized delimiter for "+g)}return this.convertDelimiter(h)}});d.multline=d.array.Subclass({type:"multline",EndEntry:function(){var g=a.mtd.apply(a,this.data);if(this.data.shove){g.columnalign=this.data.shove}this.row.push(g);this.data=[]},EndRow:function(){if(this.row.length!=1){f.Error("multline rows must have exactly one column")}this.table.push(this.row);this.row=[]},EndTable:function(){this.SUPER(arguments).EndTable.call(this);if(this.table.length){var h=this.table.length-1,j;if(!this.table[0][0].columnalign){this.table[0][0].columnalign=a.ALIGN.LEFT}if(!this.table[h][0].columnalign){this.table[h][0].columnalign=a.ALIGN.RIGHT}var g=a.mtr;if(this.global.tag){this.table[0]=[this.global.tag].concat(this.table[0]);delete this.global.tag;g=a.mlabeledtr}this.table[0]=g.apply(a,this.table[0]);for(j=1,h=this.table.length;j0){return Math.min(3,e.scriptlevel+1)}return(e.displaystyle?0:1)},setTeXclass:function(e){return this.Core().setTeXclass(e)},isSpacelike:function(){return this.Core().isSpacelike()},isEmbellished:function(){return this.Core().isEmbellished()},Core:function(){return this.data[this.choice()]},toHTML:function(e){e=this.HTMLcreateSpan(e);e.bbox=this.Core().toHTML(e).bbox;return e}});MathJax.Hub.Startup.signal.Post("TeX mathchoice Ready")});MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/mathchoice.js"); + +(function(c,d,e){var a;var b=MathJax.Object.Subclass({timeout:5*1000,FontInfo:{STIX:{family:"STIXSizeOneSym",testString:"() {} []"},TeX:{family:"MathJax_Size1",testString:"() {} []"}},comparisonFont:["sans-serif","monospace","script","Times","Courier","Arial","Helvetica"],testSize:["40px","50px","60px","30px","20px"],Init:function(){this.div=MathJax.HTML.addElement(document.body,"div",{style:{position:"absolute",visibility:"hidden",top:0,left:0,width:"auto",padding:0,border:0,margin:0,textAlign:"left",textIndent:0,textTransform:"none",lineHeight:"normal",letterSpacing:"normal",wordSpacing:"normal",fontSize:this.testSize[0],fontWeight:"normal",fontStyle:"normal"}},[""]);this.text=this.div.firstChild},findFont:function(j,g){if(g&&this.testCollection(g)){return g}for(var h=0,f=j.length;h=0){if(this.negativeSkipBug){var f=i.style.position;i.style.position="absolute";j=this.startMarker;if(i.firstChild){i.insertBefore(j,i.firstChild)}else{i.appendChild(j)}j=this.startMarker}i.appendChild(this.endMarker);g=this.endMarker.offsetLeft-j.offsetLeft;i.removeChild(this.endMarker);if(this.negativeSkipBug){i.removeChild(j);i.style.position=f}}return g/this.em},Measured:function(h,g){if(h.bbox.width==null&&h.bbox.w&&!h.bbox.isMultiline){var f=this.getW(h);h.bbox.rw+=f-h.bbox.w;h.bbox.w=f}if(!g){g=h.parentNode}if(!g.bbox){g.bbox=h.bbox}return h},Remeasured:function(g,f){f.bbox=this.Measured(g,f).bbox},Em:function(f){if(Math.abs(f)<0.0006){return"0em"}return f.toFixed(3).replace(/\.?0+$/,"")+"em"},Percent:function(f){return(100*f).toFixed(1).replace(/\.?0+$/,"")+"%"},length2percent:function(f){return this.Percent(this.length2em(f))},length2em:function(k,i){if(typeof(k)!=="string"){k=k.toString()}if(k===""){return""}if(k===a.SIZE.NORMAL){return 1}if(k===a.SIZE.BIG){return 2}if(k===a.SIZE.SMALL){return 0.71}if(k==="infinity"){return e.BIGDIMEN}var h=this.FONTDATA.TeX_factor;if(k.match(/mathspace$/)){return e.MATHSPACE[k]*h}var g=k.match(/^\s*([-+]?(?:\.\d+|\d+(?:\.\d*)?))?(pt|em|ex|mu|px|pc|in|mm|cm|%)?/);var f=parseFloat(g[1]||"1"),j=g[2];if(i==null){i=1}if(j==="em"){return f*h}if(j==="ex"){return f*e.TeX.x_height*h}if(j==="%"){return f/100*i}if(j==="px"){return f/e.em}if(j==="pt"){return f/10*h}if(j==="pc"){return f*1.2*h}if(j==="in"){return f*this.pxPerInch/e.em}if(j==="cm"){return f*this.pxPerInch/e.em/2.54}if(j==="mm"){return f*this.pxPerInch/e.em/25.4}if(j==="mu"){return f/18*h}return f*h*i},thickness2em:function(f){var g=e.TeX.rule_thickness;if(f===a.LINETHICKNESS.MEDIUM){return g}if(f===a.LINETHICKNESS.THIN){return 0.67*g}if(f===a.LINETHICKNESS.THICK){return 1.67*g}return this.length2em(f,g)},createStrut:function(i,g,j){var f=this.Element("span",{style:{display:"inline-block",overflow:"hidden",height:g+"px",width:"1px",marginRight:"-1px"}});if(j){i.insertBefore(f,i.firstChild)}else{i.appendChild(f)}return f},createBlank:function(g,f,h){var i=this.Element("span",{style:{display:"inline-block",overflow:"hidden",height:"1px",width:this.Em(f)}});if(h){g.insertBefore(i,g.firstChild)}else{g.appendChild(i)}return i},createShift:function(g,f,i){var h=this.Element("span",{style:{marginLeft:this.Em(f)}});if(i){g.insertBefore(h,g.firstChild)}else{g.appendChild(h)}return h},createSpace:function(k,j,m,f,g){var i=this.Em(Math.max(0,j+m)),l=this.Em(-m);if(this.msieInlineBlockAlignBug){l=this.Em(e.getHD(k.parentNode).d-m)}if(k.isBox||k.className=="mspace"){k.bbox={h:j*k.scale,d:m*k.scale,w:f*k.scale,rw:f*k.scale,lw:0};k.style.height=i;k.style.verticalAlign=l}else{k=this.addElement(k,"span",{style:{height:i,verticalAlign:l}})}if(f>=0){k.style.width=this.Em(f);k.style.display="inline-block"}else{if(this.msieNegativeSpaceBug){k.style.height=""}k.style.marginLeft=this.Em(f);if(e.safariNegativeSpaceBug&&k.parentNode.firstChild==k){this.createBlank(k,0,true)}}if(g&&g!==a.COLOR.TRANSPARENT){k.style.backgroundColor=g}return k},createRule:function(o,k,m,p,i){var j=e.TeX.min_rule_thickness;if(p>0&&p*this.em0&&(k+m)*this.em0&&n.offsetWidth==0){n.style.width=this.Em(p)}if(o.isBox||o.className=="mspace"){o.bbox=n.bbox}return n},createFrame:function(o,m,n,p,r,g){var l=(this.msieBorderWidthBug?0:2*r);var q=this.Em(m+n-l),f=this.Em(-n-r),k=this.Em(p-l);var i=this.Em(r)+" "+g;var j=this.addElement(o,"span",{style:{border:i,display:"inline-block",overflow:"hidden",width:k,height:q},bbox:{h:m,d:n,w:p,rw:p,lw:0},noAdjust:true});if(f){j.style.verticalAlign=f}return j},createStack:function(h,j,g){if(this.msiePaddingWidthBug){this.createStrut(h,0)}var i=String(g).match(/%$/);var f=(!i&&g!=null?g:0);h=this.addElement(h,"span",{noAdjust:true,style:{display:"inline-block",position:"relative",width:(i?"100%":this.Em(f)),height:0}});if(!j){h.parentNode.bbox=h.bbox={h:-this.BIGDIMEN,d:-this.BIGDIMEN,w:f,lw:this.BIGDIMEN,rw:(!i&&g!=null?g:-this.BIGDIMEN)};if(i){h.bbox.width=g}}return h},createBox:function(g,f){var h=this.addElement(g,"span",{style:{position:"absolute"},isBox:true});if(f!=null){h.style.width=f}return h},addBox:function(f,g){g.style.position="absolute";g.isBox=true;return f.appendChild(g)},placeBox:function(n,m,k,i){var o=n.parentNode,v=n.bbox,q=o.bbox;if(this.msiePlaceBoxBug){this.addText(n,this.NBSP)}if(this.imgSpaceBug){this.addText(n,this.imgSpace)}var p=n.offsetHeight/this.em+1,z=0;if(n.noAdjust){p-=1}else{if(this.msieInlineBlockAlignBug){this.addElement(n,"img",{className:"MathJax_strut",border:0,src:"about:blank",style:{width:0,height:this.Em(p)}})}else{this.addElement(n,"span",{style:{display:"inline-block",width:0,height:this.Em(p)}})}}n.style.top=this.Em(-k-p);n.style.left=this.Em(m+z);if(v){if(this.negativeSkipBug){if(v.lw<0){z=v.lw;e.createBlank(n,-z,true);h=0}if(v.rw>v.w){e.createBlank(n,v.rw-v.w+0.1)}}if(!this.msieClipRectBug&&!v.noclip&&!i){var u=3/this.em;var s=(v.H==null?v.h:v.H),g=(v.D==null?v.d:v.D);var w=p-s-u,j=p+g+u,h=v.lw-3*u,f=1000;if(v.isFixed){f=v.width-h}n.style.clip="rect("+this.Em(w)+" "+this.Em(f)+" "+this.Em(j)+" "+this.Em(h)+")"}}if(v&&q){if(v.H!=null&&(q.H==null||v.H+k>q.H)){q.H=v.H+k}if(v.D!=null&&(q.D==null||v.D-k>q.D)){q.D=v.D-k}if(v.h+k>q.h){q.h=v.h+k}if(v.d-k>q.d){q.d=v.d-k}if(q.H!=null&&q.H<=q.h){delete q.H}if(q.D!=null&&q.D<=q.d){delete q.D}if(v.w+m>q.w){q.w=v.w+m;if(q.width==null){o.style.width=this.Em(q.w)}}if(v.rw+m>q.rw){q.rw=v.rw+m}if(v.lw+m=h-0.01||(o==k-1&&!g.stretch)){if(g.HW[o][2]){l*=g.HW[o][2]}if(g.HW[o][3]){f=g.HW[o][3]}var n=this.addElement(q,"span");this.createChar(n,[f,g.HW[o][1]],l,j);q.bbox=n.bbox;q.offset=0.65*q.bbox.w;q.scale=l;return}}if(g.stretch){this["extendDelimiter"+g.dir](q,p,g.stretch,l,j)}},extendDelimiterV:function(v,p,A,B,s){var i=this.createStack(v,true);var r=this.createBox(i),q=this.createBox(i);this.createChar(r,(A.top||A.ext),B,s);this.createChar(q,(A.bot||A.ext),B,s);var g={bbox:{w:0,lw:0,rw:0}},z=g,j;var w=r.bbox.h+r.bbox.d+q.bbox.h+q.bbox.d;var m=-r.bbox.h;this.placeBox(r,0,m,true);m-=r.bbox.d;if(A.mid){z=this.createBox(i);this.createChar(z,A.mid,B,s);w+=z.bbox.h+z.bbox.d}if(p>w){g=this.Element("span");this.createChar(g,A.ext,B,s);var x=g.bbox.h+g.bbox.d,f=x-0.05,t,l,u=(A.mid?2:1);l=t=Math.ceil((p-w)/(u*f));if(!A.fullExtenders){f=(p-w)/(u*t)}var o=(t/(t+1))*(x-f);f=x-o;m+=o+f-g.bbox.h;while(u-->0){while(t-->0){if(!this.msieCloneNodeBug){j=g.cloneNode(true)}else{j=this.Element("span");this.createChar(j,A.ext,B,s)}m-=f;this.placeBox(this.addBox(i,j),0,m,true)}m+=o-g.bbox.d;if(A.mid&&u){this.placeBox(z,0,m-z.bbox.h,true);t=l;m+=-(z.bbox.h+z.bbox.d)+o+f-g.bbox.h}}}else{m+=(w-p)/2;if(A.mid){this.placeBox(z,0,m-z.bbox.h,true);m+=-(z.bbox.h+z.bbox.d)}m+=(w-p)/2}this.placeBox(q,0,m-q.bbox.h,true);m-=q.bbox.h+q.bbox.d;v.bbox={w:Math.max(r.bbox.w,g.bbox.w,q.bbox.w,z.bbox.w),lw:Math.min(r.bbox.lw,g.bbox.lw,q.bbox.lw,z.bbox.lw),rw:Math.max(r.bbox.rw,g.bbox.rw,q.bbox.rw,z.bbox.rw),h:0,d:-m};v.scale=B;v.offset=0.55*v.bbox.w;v.isMultiChar=true;this.setStackWidth(i,v.bbox.w)},extendDelimiterH:function(u,h,z,B,r){var l=this.createStack(u,true);var i=this.createBox(l),v=this.createBox(l);this.createChar(i,(z.left||z.rep),B,r);this.createChar(v,(z.right||z.rep),B,r);var f=this.Element("span");this.createChar(f,z.rep,B,r);var y={bbox:{h:-this.BIGDIMEN,d:-this.BIGDIMEN}},g;this.placeBox(i,-i.bbox.lw,0,true);var p=(i.bbox.rw-i.bbox.lw)+(v.bbox.rw-v.bbox.lw)-0.05,o=i.bbox.rw-i.bbox.lw-0.025,q;if(z.mid){y=this.createBox(l);this.createChar(y,z.mid,B,r);p+=y.bbox.w}if(h>p){var A=f.bbox.rw-f.bbox.lw,j=A-0.05,s,m,t=(z.mid?2:1);m=s=Math.ceil((h-p)/(t*j));j=(h-p)/(t*s);q=(s/(s+1))*(A-j);j=A-q;o-=f.bbox.lw+q;while(t-->0){while(s-->0){if(!this.msieCloneNodeBug){g=f.cloneNode(true)}else{g=this.Element("span");this.createChar(g,z.rep,B,r)}this.placeBox(this.addBox(l,g),o,0,true);o+=j}if(z.mid&&t){this.placeBox(y,o,0,true);o+=y.bbox.w-q;s=m}}}else{q=Math.min(p-h,i.bbox.w/2);o-=q/2;if(z.mid){this.placeBox(y,o,0,true);o+=y.bbox.w}o-=q/2}this.placeBox(v,o,0,true);u.bbox={w:o+v.bbox.rw,lw:0,rw:o+v.bbox.rw,H:Math.max(i.bbox.h,f.bbox.h,v.bbox.h,y.bbox.h),D:Math.max(i.bbox.d,f.bbox.d,v.bbox.d,y.bbox.d),h:f.bbox.h,d:f.bbox.d};u.scale=B;u.isMultiChar=true;this.setStackWidth(l,u.bbox.w)},createChar:function(o,k,h,f){var n=o,p="",j={fonts:[k[1]],noRemap:true};if(f&&f===a.VARIANT.BOLD){j.fonts=[k[1]+"-bold",k[1]]}if(typeof(k[1])!=="string"){j=k[1]}if(k[0] instanceof Array){for(var l=0,g=k[0].length;l=r[q].low&&s<=r[q].high){if(r[q].remap&&r[q].remap[s]){s=k+r[q].remap[s]}else{s=s-r[q].low+k;if(r[q].add){s+=r[q].add}}if(j["variant"+r[q].offset]){j=this.FONTDATA.VARIANT[j["variant"+r[q].offset]]}break}}}if(j.remap&&j.remap[s]){if(j.remap[s] instanceof Array){var h=j.remap[s];s=h[0];j=this.FONTDATA.VARIANT[h[1]]}else{s=j.remap[s];if(j.remap.variant){j=this.FONTDATA.VARIANT[j.remap.variant]}}}if(this.FONTDATA.REMAP[s]&&!j.noRemap){s=this.FONTDATA.REMAP[s]}p=this.lookupChar(j,s);y=p[s];if(j!==x&&!y[5].img){if(u.length){this.addText(f,u);u=""}f=v;x=g;if(j!==x){if(x){f=this.addElement(v,"span")}else{g=j}}this.handleFont(f,p,f!==v);x=j}u=this.handleChar(f,p,y,s,u);if(y[0]/1000>v.bbox.h){v.bbox.h=y[0]/1000}if(y[1]/1000>v.bbox.d){v.bbox.d=y[1]/1000}if(v.bbox.w+y[3]/1000v.bbox.rw){v.bbox.rw=v.bbox.w+y[4]/1000}v.bbox.w+=y[2]/1000}if(u.length){this.addText(f,u)}if(v.scale&&v.scale!==1){v.bbox.h*=v.scale;v.bbox.d*=v.scale;v.bbox.w*=v.scale;v.bbox.lw*=v.scale;v.bbox.rw*=v.scale}if(o.length==1&&p.skew&&p.skew[s]){v.bbox.skew=p.skew[s]}},handleFont:function(h,f,j){h.style.fontFamily=f.family;if(!(e.FontFaceBug&&f.isWebFont)){var g=f.style||"normal",i=f.weight||"normal";if(g!=="normal"||j){h.style.fontStyle=g}if(i!=="normal"||j){h.style.fontWeight=i}}},handleChar:function(g,f,l,k,j){var i=l[5];if(i.img){return this.handleImg(g,f,l,k,j)}if(i.isUnknown&&this.FONTDATA.DELIMITERS[k]){var h=g.scale;e.createDelimiter(g,k,0,1,f);g.scale=h;l[0]=g.bbox.h*1000;l[1]=g.bbox.d*1000;l[2]=g.bbox.w*1000;l[3]=g.bbox.lw*1000;l[4]=g.bbox.rw*1000;return""}if(i.c==null){if(k<=65535){i.c=String.fromCharCode(k)}else{i.c=this.PLANE1+String.fromCharCode(k-119808+56320)}}if(l[2]||!this.msieAccentBug||j.length){return j+i.c}e.createShift(g,l[3]/1000);e.createShift(g,(l[4]-l[3])/1000);this.addText(g,i.c);e.createShift(g,-l[4]/1000);return""},handleImg:function(g,f,j,i,h){return h},lookupChar:function(j,p){var h,f;if(!j.FONTS){var o=this.FONTDATA.FONTS;var l=(j.fonts||this.FONTDATA.VARIANT.normal.fonts);if(!(l instanceof Array)){l=[l]}if(j.fonts!=l){j.fonts=l}j.FONTS=[];for(h=0,f=l.length;h=0;h--){if(g.Ranges[h][2]==k){g.Ranges.splice(h,1)}}this.loadFont(g.directory+"/"+k+".js")}}}},loadFont:function(g){var f=MathJax.Callback.Queue();f.Push(["Require",c,this.fontDir+"/"+g]);if(this.imgFonts){if(!MathJax.isPacked){g=g.replace(/\/([^\/]*)$/,e.imgPacked+"/$1")}f.Push(["Require",c,this.webfontDir+"/png/"+g])}d.RestartAfter(f.Push({}))},loadWebFont:function(f){f.available=f.isWebFont=true;if(e.FontFaceBug){f.family=f.name;if(e.msieFontCSSBug){f.family+="-Web"}}d.RestartAfter(this.Font.loadWebFont(f))},loadWebFontError:function(g,f){d.Startup.signal.Post("HTML-CSS Jax - disable web fonts");g.isWebFont=false;if(this.config.imageFont&&this.config.imageFont===this.fontInUse){this.imgFonts=true;d.Startup.signal.Post("HTML-CSS Jax - switch to image fonts");d.Startup.signal.Post("HTML-CSS Jax - using image fonts");MathJax.Message.Set("Web-Fonts not available -- using image fonts instead",null,3000);c.Require(this.directory+"/imageFonts.js",f)}else{this.allowWebFonts=false;f()}},Element:MathJax.HTML.Element,addElement:MathJax.HTML.addElement,TextNode:MathJax.HTML.TextNode,addText:MathJax.HTML.addText,ucMatch:MathJax.HTML.ucMatch,BIGDIMEN:10000000,ID:0,idPostfix:"",GetID:function(){this.ID++;return this.ID},MATHSPACE:{veryverythinmathspace:1/18,verythinmathspace:2/18,thinmathspace:3/18,mediummathspace:4/18,thickmathspace:5/18,verythickmathspace:6/18,veryverythickmathspace:7/18,negativeveryverythinmathspace:-1/18,negativeverythinmathspace:-2/18,negativethinmathspace:-3/18,negativemediummathspace:-4/18,negativethickmathspace:-5/18,negativeverythickmathspace:-6/18,negativeveryverythickmathspace:-7/18},TeX:{x_height:0.430554,quad:1,num1:0.676508,num2:0.393732,num3:0.44373,denom1:0.685951,denom2:0.344841,sup1:0.412892,sup2:0.362892,sup3:0.288888,sub1:0.15,sub2:0.247217,sup_drop:0.386108,sub_drop:0.05,delim1:2.39,delim2:1,axis_height:0.25,rule_thickness:0.06,big_op_spacing1:0.111111,big_op_spacing2:0.166666,big_op_spacing3:0.2,big_op_spacing4:0.6,big_op_spacing5:0.1,scriptspace:0.1,nulldelimiterspace:0.12,delimiterfactor:901,delimitershortfall:0.1,min_rule_thickness:1.25},PLANE1:String.fromCharCode(55349),NBSP:String.fromCharCode(160),rfuzz:0});MathJax.Hub.Register.StartupHook("mml Jax Ready",function(){a=MathJax.ElementJax.mml;a.mbase.Augment({toHTML:function(l){var j=this.HTMLlineBreaks();if(j.length>2){return this.toHTMLmultiline(l,j)}l=this.HTMLcreateSpan(l);if(this.type!="mrow"){l=this.HTMLhandleSize(l)}for(var g=0,f=this.data.length;gg.d){g.d=h.d}if(h.h>g.h){g.h=h.h}if(h.D!=null&&h.D>g.D){g.D=h.D}if(h.H!=null&&h.H>g.H){g.H=h.H}if(i.style.paddingLeft){g.w+=parseFloat(i.style.paddingLeft)*(i.scale||1)}if(g.w+h.lwg.rw){g.rw=g.w+h.rw}g.w+=h.w;if(i.style.paddingRight){g.w+=parseFloat(i.style.paddingRight)*(i.scale||1)}if(h.width){g.width=h.width}},HTMLemptyBBox:function(f){f.h=f.d=f.H=f.D=f.rw=-e.BIGDIMEN;f.w=0;f.lw=e.BIGDIMEN;return f},HTMLcleanBBox:function(f){if(f.h===this.BIGDIMEN){f.h=f.d=f.H=f.D=f.w=f.rw=f.lw=0}if(f.D<=f.d){delete f.D}if(f.H<=f.h){delete f.H}},HTMLzeroBBox:function(){return{h:0,d:0,w:0,lw:0,rw:0}},HTMLcanStretch:function(f){if(this.isEmbellished()){return this.Core().HTMLcanStretch(f)}return false},HTMLstretchH:function(g,f){return this.HTMLspanElement()},HTMLstretchV:function(g,f,i){return this.HTMLspanElement()},HTMLnotEmpty:function(f){while(f){if((f.type!=="mrow"&&f.type!=="texatom")||f.data.length>1){return true}f=f.data[0]}return false},HTMLmeasureChild:function(g,f){if(this.data[g]!=null){e.Measured(this.data[g].toHTML(f),f)}else{f.bbox=this.HTMLzeroBBox()}},HTMLcreateSpan:function(f){if(this.spanID){var g=this.HTMLspanElement();if(g){while(g.firstChild){g.removeChild(g.firstChild)}g.bbox={w:0,h:0,d:0,lw:0,rw:0};g.scale=1;g.isMultChar=null;g.style.cssText="";return g}}if(this.href){f=e.addElement(f,"a",{href:this.href})}f=e.addElement(f,"span",{className:this.type});if(e.imgHeightBug){f.style.display="inline-block"}if(this["class"]!=null){f.className+=" "+this["class"]}if(this.style){f.style.cssText=this.style;if(f.style.fontSize){this.mathsize=f.style.fontSize;f.style.fontSize=""}}this.spanID=e.GetID();f.id=(this.id||"MathJax-Span-"+this.spanID)+e.idPostfix;f.bbox={w:0,h:0,d:0,lw:0,lr:0};if(this.href){f.parentNode.bbox=f.bbox}return f},HTMLspanElement:function(){if(!this.spanID){return null}return document.getElementById((this.id||"MathJax-Span-"+this.spanID)+e.idPostfix)},HTMLhandleVariant:function(g,f,h){e.handleVariant(g,f,h)},HTMLhandleSize:function(f){if(!f.scale){f.scale=this.HTMLgetScale();if(f.scale!==1){f.style.fontSize=e.Percent(f.scale)}}return f},HTMLhandleColor:function(k){var m=this.getValues("mathcolor","color");if(this.mathbackground){m.mathbackground=this.mathbackground}if(this.background){m.background=this.background}if(this.style&&k.style.backgroundColor){m.mathbackground=k.style.backgroundColor;k.style.backgroundColor="transparent"}if(m.color&&!this.mathcolor){m.mathcolor=m.color}if(m.background&&!this.mathbackground){m.mathbackground=m.background}if(m.mathcolor){k.style.color=m.mathcolor}if(m.mathbackground&&m.mathbackground!==a.COLOR.TRANSPARENT){var n=1/e.em,j=0,i=0;if(this.isToken){j=k.bbox.lw;i=k.bbox.rw-k.bbox.w}if(k.style.paddingLeft!==""){j+=parseFloat(k.style.paddingLeft)*(k.scale||1)}if(k.style.paddingRight!==""){i-=parseFloat(k.style.paddingRight)*(k.scale||1)}var h=Math.max(0,e.getW(k)+(e.PaddingWidthBug?0:i-j));if(e.msieCharPaddingWidthBug&&k.style.paddingLeft!==""){h+=parseFloat(k.style.paddingLeft)*(k.scale||1)}var l=k.bbox.h+k.bbox.d,f=-k.bbox.d;if(h>0){h+=2*n;j-=n}if(l>0){l+=2*n;f-=n}i=-h-j;var g=e.Element("span",{id:"MathJax-Color-"+this.spanID+e.idPostfix,style:{display:"inline-block",backgroundColor:m.mathbackground,width:e.Em(h),height:e.Em(l),verticalAlign:e.Em(f),marginLeft:e.Em(j),marginRight:e.Em(i)}});if(e.msieInlineBlockAlignBug){g.style.position="relative";g.style.width=g.style.height=0;g.style.verticalAlign=g.style.marginLeft=g.style.marginRight="";e.placeBox(e.addElement(g,"span",{noAdjust:true,style:{display:"inline-block",position:"absolute",overflow:"hidden",width:e.Em(h),height:e.Em(l),background:m.mathbackground}}),j,k.bbox.h+n)}k.parentNode.insertBefore(g,k);if(e.msieColorPositionBug){k.style.position="relative"}return g}return null},HTMLremoveColor:function(){var f=document.getElementById("MathJax-Color-"+this.spanID+e.idPostfix);if(f){f.parentNode.removeChild(f)}},HTMLhandleSpace:function(i){if(this.useMMLspacing){if(this.type!=="mo"){return}var g=this.getValues("scriptlevel","lspace","rspace");if(g.scriptlevel<=0||this.hasValue("lspace")||this.hasValue("rspace")){g.lspace=Math.max(0,e.length2em(g.lspace));g.rspace=Math.max(0,e.length2em(g.rspace));var f=this,h=this.Parent();while(h&&h.isEmbellished()&&h.Core()===f){f=h;h=h.Parent();i=f.HTMLspanElement()}if(g.lspace){i.style.paddingLeft=e.Em(g.lspace)}if(g.rspace){i.style.paddingRight=e.Em(g.rspace)}}}else{var j=this.texSpacing();if(j!==""){j=e.length2em(j)/(i.scale||1);if(i.style.paddingLeft){j+=parseFloat(i.style.paddingLeft)}i.style.paddingLeft=e.Em(j)}}},HTMLgetScale:function(){var h=1,f=this.getValues("mathsize","scriptlevel","fontsize","scriptminsize");if(this.style){var g=this.HTMLspanElement();if(g.style.fontSize!=""){f.fontsize=g.style.fontSize}}if(f.fontsize&&!this.mathsize){f.mathsize=f.fontsize}if(f.scriptlevel!==0){if(f.scriptlevel>2){f.scriptlevel=2}h=Math.pow(this.Get("scriptsizemultiplier"),f.scriptlevel);f.scriptminsize=e.length2em(f.scriptminsize);if(hk.bbox.w){k.bbox.ic=k.bbox.rw-k.bbox.w;e.createBlank(k,k.bbox.ic);k.bbox.w=k.bbox.rw}}this.HTMLhandleSpace(k);this.HTMLhandleColor(k);return k},HTMLcanStretch:function(f){if(!this.Get("stretchy")){return false}var g=this.data.join("");if(g.length>1){return false}g=e.FONTDATA.DELIMITERS[g.charCodeAt(0)];return(g&&g.dir==f.substr(0,1))},HTMLstretchV:function(l,k,n){this.HTMLremoveColor();var f=this.getValues("symmetric","maxsize","minsize");var j=this.HTMLspanElement(),g;var i=e.TeX.axis_height,m=j.scale;if(f.symmetric){g=2*Math.max(k-i,n+i)}else{g=k+n}f.maxsize=e.length2em(f.maxsize,j.bbox.h+j.bbox.d);f.minsize=e.length2em(f.minsize,j.bbox.h+j.bbox.d);g=Math.max(f.minsize,Math.min(f.maxsize,g));j=this.HTMLcreateSpan(l);e.createDelimiter(j,this.data.join("").charCodeAt(0),g,m);if(f.symmetric){g=(j.bbox.h+j.bbox.d)/2+i}else{g=(j.bbox.h+j.bbox.d)*k/(k+n)}e.positionDelimiter(j,g);this.HTMLhandleSpace(j);this.HTMLhandleColor(j);return j},HTMLstretchH:function(i,f){this.HTMLremoveColor();var g=this.getValues("maxsize","minsize","mathvariant","fontweight");if(g.fontweight==="bold"&&!this.mathvariant){g.mathvariant=a.VARIANT.BOLD}var h=this.HTMLspanElement(),j=h.scale;g.maxsize=e.length2em(g.maxsize,h.bbox.w);g.minsize=e.length2em(g.minsize,h.bbox.w);f=Math.max(g.minsize,Math.min(g.maxsize,f));h=this.HTMLcreateSpan(i);e.createDelimiter(h,this.data.join("").charCodeAt(0),f,j,g.mathvariant);this.HTMLhandleSpace(h);this.HTMLhandleColor(h);return h}});a.mtext.Augment({toHTML:function(k){k=this.HTMLhandleSize(this.HTMLcreateSpan(k));k.bbox=null;if(this.Parent().type==="merror"){e.addText(k,this.data.join(""));var l=e.getHD(k),g=e.getW(k);k.bbox={h:l.h,d:l.d,w:g,lw:0,rw:g}}else{var j=this.HTMLgetVariant();for(var h=0,f=this.data.length;ho){f=((k.bbox.h+k.bbox.d)-(o-s))/2}var u=e.FONTDATA.DELIMITERS[e.FONTDATA.RULECHAR];if(!u||iF){F=q.bbox.w}if(!I[H]&&F>g){g=F}}}if(z==null&&B!=null){g=B}else{if(g==-e.BIGDIMEN){g=F}}for(H=F=0,C=this.data.length;HF){F=q.bbox.w}}}var w=e.TeX.rule_thickness,A=e.FONTDATA.TeX_factor;var h=l[this.base]||{bbox:this.HTMLzeroBBox()},J=(h.bbox.ic||0);var p,n,s,r,o,v,E;for(H=0,C=this.data.length;H0){m+=y;l-=y}}e.placeBox(f,i.bbox.w+o,Math.max(m,B.superscriptshift));e.placeBox(k,i.bbox.w+o-F,-Math.max(l,B.subscriptshift))}}this.HTMLhandleSpace(C);this.HTMLhandleColor(C);return C},HTMLstretchH:a.mbase.HTMLstretchH,HTMLstretchV:a.mbase.HTMLstretchV});a.mmultiscripts.Augment({toHTML:a.mbase.HTMLautoload});a.mtable.Augment({toHTML:a.mbase.HTMLautoload});a["annotation-xml"].Augment({toHTML:a.mbase.HTMLautoload});a.math.Augment({toHTML:function(n,g){var k=this.Get("alttext");if(k){g.setAttribute("aria-label",k)}var h=e.addElement(n,"nobr");n=this.HTMLcreateSpan(h);var l=e.createStack(n),i=e.createBox(l),m;l.style.fontSize=h.parentNode.style.fontSize;h.parentNode.style.fontSize="";if(this.data[0]!=null){if(e.msieColorBug){if(this.background){this.data[0].background=this.background;delete this.background}if(this.mathbackground){this.data[0].mathbackground=this.mathbackground;delete this.mathbackground}}a.mbase.prototype.displayAlign=d.config.displayAlign;a.mbase.prototype.displayIndent=d.config.displayIndent;m=e.Measured(this.data[0].toHTML(i),i)}e.placeBox(i,0,0);var j=e.em/e.outerEm;e.em/=j;n.bbox.h*=j;n.bbox.d*=j;n.bbox.w*=j;n.bbox.lw*=j;n.bbox.rw*=j;if(m&&m.bbox.width!=null){l.style.width=m.bbox.width;i.style.width="100%"}this.HTMLhandleColor(n);if(m){e.createRule(n,m.bbox.h*j,m.bbox.d*j,0)}if(!this.isMultiline&&this.Get("display")==="block"&&n.bbox.width==null){var o=this.getValues("indentalignfirst","indentshiftfirst","indentalign","indentshift");if(o.indentalignfirst!==a.INDENTALIGN.INDENTALIGN){o.indentalign=o.indentalignfirst}if(o.indentalign===a.INDENTALIGN.AUTO){o.indentalign=this.displayAlign}g.style.textAlign=o.indentalign;if(o.indentshiftfirst!==a.INDENTSHIFT.INDENTSHIFT){o.indentshift=o.indentshiftfirst}if(o.indentshift==="auto"){o.indentshift=this.displayIndent}if(o.indentshift&&o.indentalign!==a.INDENTALIGN.CENTER){n.style[{left:"marginLeft",right:"marginRight"}[o.indentalign]]=e.Em(e.length2em(o.indentshift))}}return n}});a.TeXAtom.Augment({toHTML:function(g){g=this.HTMLcreateSpan(g);if(this.data[0]!=null){if(this.texClass===a.TEXCLASS.VCENTER){var f=e.createStack(g);var h=e.createBox(f);e.Measured(this.data[0].toHTML(h),h);e.placeBox(h,0,e.TeX.axis_height-(h.bbox.h+h.bbox.d)/2+h.bbox.d)}else{g.bbox=this.data[0].toHTML(g).bbox}}this.HTMLhandleSpace(g);this.HTMLhandleColor(g);return g}});MathJax.Hub.Register.StartupHook("onLoad",function(){setTimeout(MathJax.Callback(["loadComplete",e,"jax.js"]),0)})});d.Register.StartupHook("End Config",function(){d.Browser.Select({MSIE:function(f){var i=f.versionAtLeast("7.0");var h=f.versionAtLeast("8.0")&&document.documentMode>7;var g=(document.compatMode==="BackCompat");e.config.styles[".MathJax .MathJax_HitBox"]["background-color"]="white";e.config.styles[".MathJax .MathJax_HitBox"].opacity=0;e.config.styles[".MathJax .MathJax_HitBox"].filter="alpha(opacity=0)";e.Augment({getMarginScale:e.getMSIEmarginScale,PaddingWidthBug:true,msieEventBug:f.isIE9,msieAccentBug:true,msieColorBug:true,msieColorPositionBug:true,msieRelativeWidthBug:g,msieMarginWidthBug:true,msiePaddingWidthBug:true,msieCharPaddingWidthBug:(h&&!g),msieBorderWidthBug:g,msieInlineBlockAlignBug:(!h||g),msieVerticalAlignBug:(h&&!g),msiePlaceBoxBug:(h&&!g),msieClipRectBug:!h,msieNegativeSpaceBug:g,msieCloneNodeBug:(h&&f.version==="8.0"),negativeSkipBug:true,msieIE6:!i,msieItalicWidthBug:true,zeroWidthBug:true,FontFaceBug:true,msieFontCSSBug:f.isIE9,allowWebFonts:"eot"})},Firefox:function(g){var h=false;if(g.versionAtLeast("3.5")){var f=String(document.location).replace(/[^\/]*$/,"");if(document.location.protocol!=="file:"||(d.config.root+"/").substr(0,f.length)===f){h="otf"}}e.Augment({useProcessingFrame:true,ffVerticalAlignBug:true,AccentBug:true,allowWebFonts:h})},Safari:function(j){var h=j.versionAtLeast("3.0");var g=j.versionAtLeast("3.1");j.isMobile=(navigator.appVersion.match(/Mobile/i)!=null);var f=(navigator.appVersion.match(/ Android (\d+)\.(\d+)/));var k=(g&&j.isMobile&&((navigator.platform.match(/iPad|iPod|iPhone/)&&!j.versionAtLeast("5.0"))||(f!=null&&(f[1]<2||(f[1]==2&&f[2]<2)))));e.Augment({config:{styles:{".MathJax img, .MathJax nobr, .MathJax a":{"max-width":"5000em","max-height":"5000em"}}},useProcessingFrame:true,rfuzz:0.011,AccentBug:true,AdjustSurd:true,safariContextMenuBug:true,safariNegativeSpaceBug:true,safariVerticalAlignBug:!g,safariTextNodeBug:!h,safariWebFontSerif:["serif"],allowWebFonts:(g&&!k?"otf":false)});if(k){var i=d.config["HTML-CSS"];if(i){i.availableFonts=[];i.preferredFont=null}else{d.config["HTML-CSS"]={availableFonts:[],preferredFont:null}}}},Chrome:function(f){e.Augment({useProcessingFrame:true,rfuzz:0.011,AccentBug:true,AdjustSurd:true,allowWebFonts:(f.versionAtLeast("4.0")?"otf":"svg"),safariNegativeSpaceBug:true,safariWebFontSerif:[""]})},Opera:function(f){f.isMini=(navigator.appVersion.match("Opera Mini")!=null);e.config.styles[".MathJax .merror"]["vertical-align"]=null;e.Augment({useProcessingFrame:true,operaHeightBug:true,operaVerticalAlignBug:true,operaFontSizeBug:f.versionAtLeast("10.61"),negativeSkipBug:true,zeroWidthBug:true,FontFaceBug:true,PaddingWidthBug:true,allowWebFonts:(f.versionAtLeast("10.0")&&!f.isMini?"otf":false),adjustAvailableFonts:function(j){for(var h=0,g=j.length;hv){v=aE}K[aE]=b.createStack(b.createBox(ag));l[aE]=-b.BIGDIMEN}O[aF][aE]=b.createBox(K[aE]);b.Measured(R.data[aE-ay].toHTML(O[aF][aE]),O[aF][aE]);if(R.data[aE-ay].isMultiline){O[aF][aE].style.width="100%"}if(O[aF][aE].bbox.h>w[aF]){w[aF]=O[aF][aE].bbox.h}if(O[aF][aE].bbox.d>I[aF]){I[aF]=O[aF][aE].bbox.d}if(O[aF][aE].bbox.w>l[aE]){l[aE]=O[aF][aE].bbox.w}}}if(w[0]+I[0]){w[0]=Math.max(w[0],Z)}if(w[O.length-1]+I[O.length-1]){I[O.length-1]=Math.max(I[O.length-1],af)}var al=aJ.columnspacing.split(/ /),S=aJ.rowspacing.split(/ /),ah=aJ.columnalign.split(/ /),L=aJ.rowalign.split(/ /),N=aJ.columnlines.split(/ /),k=aJ.rowlines.split(/ /),ap=aJ.columnwidth.split(/ /),au=[];for(aF=0,aC=al.length;aF0.98){ai=0.98/aw;aw=0.98}}else{if(aJ.width==="auto"){if(aw>0.98){ai=V/(U+V);aq=U+V}else{aq=U/(1-aw)}}else{aq=b.length2em(aJ.width);for(aF=0,aC=Math.min(v+1,al.length);aF0.01){if(aG&&aq>U){aq=(aq-U)/aG;for(aF=0,aC=B.length;aF= 0; i--) + if (span[i].className === "tex") this.ConvertMath(span[i]) + }, + + ConvertMath: function (node) { + var parent = node.parentNode, + mode = parent.tagName === "DD" && parent.firstChild === parent.lastChild ? "; mode=display" : "", + tex = node.innerHTML.substring(node.innerHTML[0]=='$',node.innerHTML.length-(node.innerHTML[node.innerHTML.length-1]=='$')); + + tex = tex.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/ /g," "); + tex = tex.replace(/\\iiint([^!]*)!\\!\\!\\!\\!.*\\subset\\!\\supset/g,"\\iiint$1mkern-2.5em\\subset\\!\\supset").replace(/\\iint([^!]*)!\\!\\!\\!\\!\\!\\!\\!\\!\\!\\!(.*)\\subset\\!\\supset/g,"\\iint$1mkern-1.65em$2\\subset\\!\\!\\supset").replace(/\\int\\!\\!\\!(\\!)+\\int\\!\\!\\!(\\!)+\\int([^!]*)!\\!\\!\\!\\!.*\\bigcirc(\\,)*/g,"\\iiint$3mkern-2.5em\\subset\\!\\supset").replace(/\\int\\!\\!\\!(\\!)+\\int([^!]*)!\\!\\!\\!\\!\\!\\!\\!\\!(.*)\\bigcirc(\\,)*/g,"\\iint$2mkern-1.65em$3\\subset\\!\\!\\supset"); + if (mode === "") { + tex = tex.replace(/ *\\scriptstyle(\W)/g,"\\textstyle$1").replace(/ *\\scriptscriptstyle(\W)/g,"\\scriptstyle$1"); + if (parent.firstChild === node) tex = "\\displaystyle "+tex; + } + + var i; + while ((i = tex.search(/\\color{/)) != -1) { + var braces = 0; + for (i += 6; i < tex.length; i++) { + if (tex[i] == '{') braces++; + else if (tex[i] == '}') { + if (braces-- == 0) + break; + } + } + tex = (tex.substring(0, i) + "}" + tex.substring(i, tex.length)).replace(/\\color{(\w*)}/, "\\textcolor{$1}{"); + } + + var script = document.createElement("script"); + script.type = "math/tex" + mode; + if (MathJax.Hub.Browser.isMSIE) {script.text = tex} + else {script.appendChild(document.createTextNode(tex))} + + if (node.nextSibling) {parent.insertBefore(script,node.nextSibling)} + else {parent.appendChild(script)} + if (this.config.preview !== "none") {this.createPreview(node)} + parent.removeChild(node); + }, + + createPreview: function (node) { + var preview; + if (this.config.preview === "TeX") {preview = [this.filterTeX(node.innerHTML)]} + else if (this.config.preview instanceof Array) {preview = this.config.preview} + if (preview) { + preview = MathJax.HTML.Element("span",{className: MathJax.Hub.config.preRemoveClass},preview); + node.parentNode.insertBefore(preview,node); + } + }, + + filterTeX: function (tex) {return tex} + +}; + +MathJax.Hub.Register.PreProcessor(["PreProcess",MathJax.Extension.wiki2jax]); +MathJax.Ajax.loadComplete("[MathJax]/extensions/wiki2jax.js"); + +MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { + var VERSION = "1.0"; + + var MML = MathJax.ElementJax.mml; + + MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions,{ + + mathchar0mi: { + // Lowercase Greek letters + thetasym: '03B8', // theta + koppa: '03DF', + stigma: '03DB', + coppa: '03D9', // archaic koppa + + // Ord symbols + C: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + cnums: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Complex: ['0043',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + N: ['004E',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + natnums: ['004E',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + R: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + reals: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Reals: ['0052',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + Z: ['005A',{mathvariant: MML.VARIANT.DOUBLESTRUCK}], + sect: '00A7', // S + P: '00B6', + alef: ['2135',{mathvariant: MML.VARIANT.NORMAL}], // aleph + alefsym: ['2135',{mathvariant: MML.VARIANT.NORMAL}], // aleph + weierp: ['2118',{mathvariant: MML.VARIANT.NORMAL}], // wp + real: ['211C',{mathvariant: MML.VARIANT.NORMAL}], // Re + part: ['2202',{mathvariant: MML.VARIANT.NORMAL}], // partial + infin: ['221E',{mathvariant: MML.VARIANT.NORMAL}], // infty + empty: ['2205',{mathvariant: MML.VARIANT.NORMAL}], // emptyset + O: ['2205',{mathvariant: MML.VARIANT.NORMAL}], // emptyset (but should probably be Swedish O) + ang: ['2220',{mathvariant: MML.VARIANT.NORMAL}], // angle + exist: ['2203',{mathvariant: MML.VARIANT.NORMAL}], // exists + clubs: ['2663',{mathvariant: MML.VARIANT.NORMAL}], // clubsuit + diamonds: ['2662',{mathvariant: MML.VARIANT.NORMAL}], // diamondsuit + hearts: ['2661',{mathvariant: MML.VARIANT.NORMAL}], // heartsuit + spades: ['2660',{mathvariant: MML.VARIANT.NORMAL}], // spadesuit + textvisiblespace: '2423' + }, + + mathchar0mo: { + // Binary operators + and: '2227', // land + or: '2228', // lor + bull: '2219', // bullet + plusmn: '00B1', // pm + sdot: '22C5', // cdot + + // Binary relations + sup: '2283', // supset + sub: '2282', // subset + supe: '2287', // supseteq + sube: '2286', // subseteq + isin: '2208', // in + + hAar: '21D4', // Leftrightarrow [sic] + hArr: '21D4', // Leftrightarrow + Harr: '21D4', // Leftrightarrow + Lrarr: '21D4', // Leftrightarrow + lrArr: '21D4', // Leftrightarrow + lArr: '21D0', // Leftarrow + Larr: '21D0', // Leftarrow + rArr: '21D2', // Rightarrow + Rarr: '21D2', // Rightarrow + harr: '2194', // leftrightarrow + lrarr: '2194', // leftrightarrow + larr: '2190', // leftarrow + gets: '2190', // leftarrow + rarr: '2192', // rightarrow + + // big ops + oiint: ['222F',{texClass: MML.TEXCLASS.OP}], // not part of texvc but nice to have + oiiint: ['2230',{texClass: MML.TEXCLASS.OP}] + }, + + mathchar7: { + // Uppercase Greek letters + Alpha: '0391', + Beta: '0392', + Epsilon: '0395', + Zeta: '0396', + Eta: '0397', + Iota: '0399', + Kappa: '039A', + Mu: '039C', + Nu: '039D', + Omicron: '039F', + Rho: '03A1', + Tau: '03A4', + Chi: '03A7', + + Koppa: '03DE', + Stigma: '03DA', + Coppa: '03D8', // archaic Koppa + }, + + delimiter: { + '\\uarr': '2191', // uparrow + '\\darr': '2193', // downarrow + '\\Uarr': '21D1', // Uparrow + '\\uArr': '21D1', // Uparrow + '\\Darr': '21D3', // Downarrow + '\\dArr': '21D3', // Downarrow + '\\rang': '27E9', // rangle + '\\lang': '27E8' // langle + }, + + macros: { + sgn: ['NamedOp',0], + textcolor: ['Macro','\\color{#1}',1], + bold: ['Macro','{\\boldsymbol #1}',1] // boldsymbol + } + + }); +}); + +MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { + MathJax.Hub.Startup.signal.Post("TeX texvc Ready"); +}); + +MathJax.Ajax.loadComplete("[MathJax]/extensions/TeX/texvc.js"); + +MathJax.Ajax.loadComplete("[MathJax]/config/TeX-AMS-texvc_HTML.js"); diff --git a/modules/ext.math.mathjax.enabler.js b/modules/ext.math.mathjax.enabler.js new file mode 100644 index 0000000..a692dd6 --- /dev/null +++ b/modules/ext.math.mathjax.enabler.js @@ -0,0 +1,86 @@ +/** + * From https://en.wikipedia.org/wiki/User:Nageh/mathJax.js + */ + +if ( typeof(mathJax) === "undefined" ) mathJax = {}; + +mathJax.version = "0.2"; + +mathJax.loaded = false; + +mathJax.Config = function() { + MathJax.Hub.Config({ + root: mediaWiki.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax/', + config: "TeX-AMS-texvc_HTML.js", + "v1.0-compatible": false, + styles: { ".mtext": { "font-family": "sans-serif ! important", "font-size": "80%" } }, + displayAlign: "left", + menuSettings: { zoom: "click" }, + "HTML-CSS": { imageFont: null, availableFonts: ["TeX"] } + }); + MathJax.Message.styles["#MathJax_Message"].right = MathJax.Message.styles["#MathJax_Message"].left; + delete MathJax.Message.styles["#MathJax_Message"].left; + if ( typeof(mathJax.userConfig) !== "undefined" ) MathJax.Hub.Config( mathJax.userConfig ); + if ( typeof(mathJax.fontDir) !== "undefined" ) MathJax.OutputJax.fontDir = mathJax.fontDir; else MathJax.Hub.Config({ NativeMML: {webFont: null} }); + MathJax.Hub.Register.StartupHook("End Extensions", function() { + var TEX = MathJax.InputJax.TeX; + var MACROS = TEX.config.Macros; + for (var id in MACROS) { + if (typeof(MACROS[id]) === "string") TEX.Macro(id, MACROS[id]); + else TEX.Macro(id, MACROS[id][0], MACROS[id][1]); + } +/* TEX.Parse.Augment({ + Cr: function(name) { + this.GetBrackets(name); + this.Push(TEX.Stack.Item.cell().With({isCR: true, name: name})); + } + });*/ + }); + MathJax.Hub.Startup.onload(); +} + +mathJax.Load = function(element) { + if (this.loaded) + return true; + + var span = element.getElementsByTagName("span"), i; + for (i = span.length-1; i >= 0; i--) { + if (span[i].className === "tex") { +// this.span = span; +// this.spanIndex = i; + + // create configuration element + var config = 'mathJax.Config();'; + var script = document.createElement( 'script' ); + script.setAttribute( 'type', 'text/x-mathjax-config' ); + if ( window.opera ) script.innerHTML = config; else script.text = config; + document.getElementsByTagName('head')[0].appendChild( script ); + + // create startup element + mediaWiki.loader.load('ext.math.mathjax'); + + this.loaded = true; + break; + } + } + return false; +} + +mathJax.Init = function() { + this.Load( document.getElementById("bodyContent") || document.body ); + + // compatibility with wikEd + if ( typeof(wikEd) == "undefined" ) { wikEd = {}; } + if ( typeof(wikEd.config) == "undefined" ) { wikEd.config = {}; } + if ( typeof(wikEd.config.previewHook) == "undefined" ) { wikEd.config.previewHook = []; } + wikEd.config.previewHook.push( function(){ if (window.mathJax.Load(document.getElementById("wikEdPreviewBox") || document.body)) MathJax.Hub.Queue(["Typeset", MathJax.Hub, "wikEdPreviewBox"]) } ); + + // compatibility with ajaxPreview + this.oldAjaxPreviewExec = window.ajaxPreviewExec; + window.ajaxPreviewExec = function(previewArea) { + if ( typeof(mathJax.oldAjaxPreviewExec) !== "undefined" ) mathJax.oldAjaxPreviewExec(previewArea); + if ( mathJax.Load(previewArea) ) MathJax.Hub.Queue( ["Typeset", MathJax.Hub, previewArea] ); + } +} + +mathJax.Init();