stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
24
node_modules/mathjax-full/js/input/tex/gensymb/GensymbConfiguration.js
generated
vendored
Normal file
24
node_modules/mathjax-full/js/input/tex/gensymb/GensymbConfiguration.js
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GensymbConfiguration = void 0;
|
||||
var Configuration_js_1 = require("../Configuration.js");
|
||||
var TexConstants_js_1 = require("../TexConstants.js");
|
||||
var SymbolMap_js_1 = require("../SymbolMap.js");
|
||||
function mathcharUnit(parser, mchar) {
|
||||
var def = mchar.attributes || {};
|
||||
def.mathvariant = TexConstants_js_1.TexConstant.Variant.NORMAL;
|
||||
def.class = 'MathML-Unit';
|
||||
var node = parser.create('token', 'mi', def, mchar.char);
|
||||
parser.Push(node);
|
||||
}
|
||||
new SymbolMap_js_1.CharacterMap('gensymb-symbols', mathcharUnit, {
|
||||
ohm: '\u2126',
|
||||
degree: '\u00B0',
|
||||
celsius: '\u2103',
|
||||
perthousand: '\u2030',
|
||||
micro: '\u00B5'
|
||||
});
|
||||
exports.GensymbConfiguration = Configuration_js_1.Configuration.create('gensymb', {
|
||||
handler: { macro: ['gensymb-symbols'] },
|
||||
});
|
||||
//# sourceMappingURL=GensymbConfiguration.js.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue