24 lines
1.1 KiB
JavaScript
24 lines
1.1 KiB
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
var SymbolMap_js_1 = require("../SymbolMap.js");
|
|
var BraketMethods_js_1 = __importDefault(require("./BraketMethods.js"));
|
|
new SymbolMap_js_1.CommandMap('Braket-macros', {
|
|
bra: ['Macro', '{\\langle {#1} \\vert}', 1],
|
|
ket: ['Macro', '{\\vert {#1} \\rangle}', 1],
|
|
braket: ['Braket', '\u27E8', '\u27E9', false, Infinity],
|
|
'set': ['Braket', '{', '}', false, 1],
|
|
Bra: ['Macro', '{\\left\\langle {#1} \\right\\vert}', 1],
|
|
Ket: ['Macro', '{\\left\\vert {#1} \\right\\rangle}', 1],
|
|
Braket: ['Braket', '\u27E8', '\u27E9', true, Infinity],
|
|
Set: ['Braket', '{', '}', true, 1],
|
|
ketbra: ['Macro', '{\\vert {#1} \\rangle\\langle {#2} \\vert}', 2],
|
|
Ketbra: ['Macro', '{\\left\\vert {#1} \\right\\rangle\\left\\langle {#2} \\right\\vert}', 2],
|
|
'|': 'Bar'
|
|
}, BraketMethods_js_1.default);
|
|
new SymbolMap_js_1.MacroMap('Braket-characters', {
|
|
'|': 'Bar'
|
|
}, BraketMethods_js_1.default);
|
|
//# sourceMappingURL=BraketMappings.js.map
|