163 lines
10 KiB
JavaScript
163 lines
10 KiB
JavaScript
/*************************************************************
|
|
*
|
|
* 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);
|