| 1 |
/************************************************************* |
| 2 |
* |
| 3 |
* MathJax/jax/output/HTML-CSS/optable/GeometricShapes.js |
| 4 |
* |
| 5 |
* Copyright (c) 2010-2020 The MathJax Consortium |
| 6 |
* |
| 7 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 |
* you may not use this file except in compliance with the License. |
| 9 |
* You may obtain a copy of the License at |
| 10 |
* |
| 11 |
* http://www.apache.org/licenses/LICENSE-2.0 |
| 12 |
* |
| 13 |
* Unless required by applicable law or agreed to in writing, software |
| 14 |
* distributed under the License is distributed on an "AS IS" BASIS, |
| 15 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 |
* See the License for the specific language governing permissions and |
| 17 |
* limitations under the License. |
| 18 |
* |
| 19 |
*/ |
| 20 |
|
| 21 |
(function (MML) { |
| 22 |
var MO = MML.mo.OPTYPES; |
| 23 |
var TEXCLASS = MML.TEXCLASS; |
| 24 |
|
| 25 |
MathJax.Hub.Insert(MML.mo.prototype,{ |
| 26 |
OPTABLE: { |
| 27 |
infix: { |
| 28 |
'\u25A0': MO.BIN3, // black square |
| 29 |
'\u25A1': MO.BIN3, // white square |
| 30 |
'\u25AA': MO.BIN3, // black small square |
| 31 |
'\u25AB': MO.BIN3, // white small square |
| 32 |
'\u25AD': MO.BIN3, // white rectangle |
| 33 |
'\u25AE': MO.BIN3, // black vertical rectangle |
| 34 |
'\u25AF': MO.BIN3, // white vertical rectangle |
| 35 |
'\u25B0': MO.BIN3, // black parallelogram |
| 36 |
'\u25B1': MO.BIN3, // white parallelogram |
| 37 |
'\u25B2': MO.BIN4, // black up-pointing triangle |
| 38 |
'\u25B4': MO.BIN4, // black up-pointing small triangle |
| 39 |
'\u25B6': MO.BIN4, // black right-pointing triangle |
| 40 |
'\u25B7': MO.BIN4, // white right-pointing triangle |
| 41 |
'\u25B8': MO.BIN4, // black right-pointing small triangle |
| 42 |
'\u25BC': MO.BIN4, // black down-pointing triangle |
| 43 |
'\u25BE': MO.BIN4, // black down-pointing small triangle |
| 44 |
'\u25C0': MO.BIN4, // black left-pointing triangle |
| 45 |
'\u25C1': MO.BIN4, // white left-pointing triangle |
| 46 |
'\u25C2': MO.BIN4, // black left-pointing small triangle |
| 47 |
'\u25C4': MO.BIN4, // black left-pointing pointer |
| 48 |
'\u25C5': MO.BIN4, // white left-pointing pointer |
| 49 |
'\u25C6': MO.BIN4, // black diamond |
| 50 |
'\u25C7': MO.BIN4, // white diamond |
| 51 |
'\u25C8': MO.BIN4, // white diamond containing black small diamond |
| 52 |
'\u25C9': MO.BIN4, // fisheye |
| 53 |
'\u25CC': MO.BIN4, // dotted circle |
| 54 |
'\u25CD': MO.BIN4, // circle with vertical fill |
| 55 |
'\u25CE': MO.BIN4, // bullseye |
| 56 |
'\u25CF': MO.BIN4, // black circle |
| 57 |
'\u25D6': MO.BIN4, // left half black circle |
| 58 |
'\u25D7': MO.BIN4, // right half black circle |
| 59 |
'\u25E6': MO.BIN4 // white bullet |
| 60 |
} |
| 61 |
} |
| 62 |
}); |
| 63 |
|
| 64 |
MathJax.Ajax.loadComplete(MML.optableDir+"/GeometricShapes.js"); |
| 65 |
|
| 66 |
})(MathJax.ElementJax.mml); |