add initial marp implementation with sample content and build configuration
This commit is contained in:
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
Generated
Vendored
BIN
Binary file not shown.
BIN
Binary file not shown.
+371
@@ -0,0 +1,371 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2017-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @fileoverview The MathJax TeXFont object
|
||||
*
|
||||
* @author dpvc@mathjax.org (Davide Cervone)
|
||||
*/
|
||||
|
||||
import {CHTMLFontData, CHTMLCharOptions, CHTMLVariantData, CHTMLDelimiterData, CHTMLFontDataClass,
|
||||
DelimiterMap, CharMapMap} from '../FontData.js';
|
||||
import {CommonTeXFontMixin} from '../../common/fonts/tex.js';
|
||||
import {StringMap} from '../Wrapper.js';
|
||||
|
||||
import {boldItalic} from './tex/bold-italic.js';
|
||||
import {bold} from './tex/bold.js';
|
||||
import {doubleStruck} from './tex/double-struck.js';
|
||||
import {frakturBold} from './tex/fraktur-bold.js';
|
||||
import {fraktur} from './tex/fraktur.js';
|
||||
import {italic} from './tex/italic.js';
|
||||
import {largeop} from './tex/largeop.js';
|
||||
import {monospace} from './tex/monospace.js';
|
||||
import {normal} from './tex/normal.js';
|
||||
import {sansSerifBoldItalic} from './tex/sans-serif-bold-italic.js';
|
||||
import {sansSerifBold} from './tex/sans-serif-bold.js';
|
||||
import {sansSerifItalic} from './tex/sans-serif-italic.js';
|
||||
import {sansSerif} from './tex/sans-serif.js';
|
||||
import {scriptBold} from './tex/script-bold.js';
|
||||
import {script} from './tex/script.js';
|
||||
import {smallop} from './tex/smallop.js';
|
||||
import {texCalligraphicBold} from './tex/tex-calligraphic-bold.js';
|
||||
import {texCalligraphic} from './tex/tex-calligraphic.js';
|
||||
import {texMathit} from './tex/tex-mathit.js';
|
||||
import {texOldstyleBold} from './tex/tex-oldstyle-bold.js';
|
||||
import {texOldstyle} from './tex/tex-oldstyle.js';
|
||||
import {texSize3} from './tex/tex-size3.js';
|
||||
import {texSize4} from './tex/tex-size4.js';
|
||||
import {texVariant} from './tex/tex-variant.js';
|
||||
|
||||
import {delimiters} from '../../common/fonts/tex/delimiters.js';
|
||||
|
||||
/*=================================================================================*/
|
||||
/**
|
||||
* The TeXFont class
|
||||
*/
|
||||
export class TeXFont extends
|
||||
CommonTeXFontMixin<CHTMLCharOptions, CHTMLVariantData, CHTMLDelimiterData, CHTMLFontDataClass>(CHTMLFontData) {
|
||||
|
||||
/**
|
||||
* Fonts to prefix any explicit ones
|
||||
*/
|
||||
protected static defaultCssFamilyPrefix = 'MJXZERO';
|
||||
|
||||
/**
|
||||
* The classes to use for each variant
|
||||
*/
|
||||
protected static defaultVariantClasses: StringMap = {
|
||||
'normal': 'mjx-n',
|
||||
'bold': 'mjx-b',
|
||||
'italic': 'mjx-i',
|
||||
'bold-italic': 'mjx-b mjx-i',
|
||||
'double-struck': 'mjx-ds mjx-b',
|
||||
'fraktur': 'mjx-fr',
|
||||
'bold-fraktur': 'mjx-fr mjx-b',
|
||||
'script': 'mjx-sc mjx-i',
|
||||
'bold-script': 'mjx-sc mjx-b mjx-i',
|
||||
'sans-serif': 'mjx-ss',
|
||||
'bold-sans-serif': 'mjx-ss mjx-b',
|
||||
'sans-serif-italic': 'mjx-ss mjx-i',
|
||||
'sans-serif-bold-italic': 'mjx-ss mjx-b mjx-i',
|
||||
'monospace': 'mjx-ty',
|
||||
'-smallop': 'mjx-sop',
|
||||
'-largeop': 'mjx-lop',
|
||||
'-size3': 'mjx-s3',
|
||||
'-size4': 'mjx-s4',
|
||||
'-tex-calligraphic': 'mjx-cal mjx-i',
|
||||
'-tex-bold-calligraphic': 'mjx-cal mjx-b',
|
||||
'-tex-mathit': 'mjx-mit mjx-i',
|
||||
'-tex-oldstyle': 'mjx-os',
|
||||
'-tex-bold-oldstyle': 'mjx-os mjx-b',
|
||||
'-tex-variant': 'mjx-var'
|
||||
};
|
||||
|
||||
/**
|
||||
* The letters that identify the default font for each varaint
|
||||
*/
|
||||
protected static defaultVariantLetters: StringMap = {
|
||||
'normal': '',
|
||||
'bold': 'B',
|
||||
'italic': 'MI',
|
||||
'bold-italic': 'BI',
|
||||
'double-struck': 'A',
|
||||
'fraktur': 'FR',
|
||||
'bold-fraktur': 'FRB',
|
||||
'script': 'SC',
|
||||
'bold-script': 'SCB',
|
||||
'sans-serif': 'SS',
|
||||
'bold-sans-serif': 'SSB',
|
||||
'sans-serif-italic': 'SSI',
|
||||
'sans-serif-bold-italic': 'SSBI',
|
||||
'monospace': 'T',
|
||||
'-smallop': 'S1',
|
||||
'-largeop': 'S2',
|
||||
'-size3': 'S3',
|
||||
'-size4': 'S4',
|
||||
'-tex-calligraphic': 'C',
|
||||
'-tex-bold-calligraphic': 'CB',
|
||||
'-tex-mathit': 'MI',
|
||||
'-tex-oldstyle': 'C',
|
||||
'-tex-bold-oldstyle': 'CB',
|
||||
'-tex-variant': 'A'
|
||||
};
|
||||
|
||||
/**
|
||||
* The stretchy delimiter data
|
||||
*/
|
||||
protected static defaultDelimiters: DelimiterMap<CHTMLDelimiterData> = delimiters;
|
||||
|
||||
/**
|
||||
* The character data by variant
|
||||
*/
|
||||
protected static defaultChars: CharMapMap<CHTMLCharOptions> = {
|
||||
'normal': normal,
|
||||
'bold': bold,
|
||||
'italic': italic,
|
||||
'bold-italic': boldItalic,
|
||||
'double-struck': doubleStruck,
|
||||
'fraktur': fraktur,
|
||||
'bold-fraktur': frakturBold,
|
||||
'script': script,
|
||||
'bold-script': scriptBold,
|
||||
'sans-serif': sansSerif,
|
||||
'bold-sans-serif': sansSerifBold,
|
||||
'sans-serif-italic': sansSerifItalic,
|
||||
'sans-serif-bold-italic': sansSerifBoldItalic,
|
||||
'monospace': monospace,
|
||||
'-smallop': smallop,
|
||||
'-largeop': largeop,
|
||||
'-size3': texSize3,
|
||||
'-size4': texSize4,
|
||||
'-tex-calligraphic': texCalligraphic,
|
||||
'-tex-bold-calligraphic': texCalligraphicBold,
|
||||
'-tex-mathit': texMathit,
|
||||
'-tex-oldstyle': texOldstyle,
|
||||
'-tex-bold-oldstyle': texOldstyleBold,
|
||||
'-tex-variant': texVariant
|
||||
};
|
||||
|
||||
/*=====================================================*/
|
||||
/**
|
||||
* The CSS styles needed for this font.
|
||||
*/
|
||||
protected static defaultStyles = {
|
||||
...CHTMLFontData.defaultStyles,
|
||||
|
||||
'.MJX-TEX': {
|
||||
'font-family': 'MJXZERO, MJXTEX'
|
||||
},
|
||||
|
||||
'.TEX-B': {
|
||||
'font-family': 'MJXZERO, MJXTEX-B'
|
||||
},
|
||||
|
||||
'.TEX-I': {
|
||||
'font-family': 'MJXZERO, MJXTEX-I'
|
||||
},
|
||||
|
||||
'.TEX-MI': {
|
||||
'font-family': 'MJXZERO, MJXTEX-MI'
|
||||
},
|
||||
|
||||
'.TEX-BI': {
|
||||
'font-family': 'MJXZERO, MJXTEX-BI'
|
||||
},
|
||||
|
||||
'.TEX-S1': {
|
||||
'font-family': 'MJXZERO, MJXTEX-S1'
|
||||
},
|
||||
|
||||
'.TEX-S2': {
|
||||
'font-family': 'MJXZERO, MJXTEX-S2'
|
||||
},
|
||||
|
||||
'.TEX-S3': {
|
||||
'font-family': 'MJXZERO, MJXTEX-S3'
|
||||
},
|
||||
|
||||
'.TEX-S4': {
|
||||
'font-family': 'MJXZERO, MJXTEX-S4'
|
||||
},
|
||||
|
||||
'.TEX-A': {
|
||||
'font-family': 'MJXZERO, MJXTEX-A'
|
||||
},
|
||||
|
||||
'.TEX-C': {
|
||||
'font-family': 'MJXZERO, MJXTEX-C'
|
||||
},
|
||||
|
||||
'.TEX-CB': {
|
||||
'font-family': 'MJXZERO, MJXTEX-CB'
|
||||
},
|
||||
|
||||
'.TEX-FR': {
|
||||
'font-family': 'MJXZERO, MJXTEX-FR'
|
||||
},
|
||||
|
||||
'.TEX-FRB': {
|
||||
'font-family': 'MJXZERO, MJXTEX-FRB'
|
||||
},
|
||||
|
||||
'.TEX-SS': {
|
||||
'font-family': 'MJXZERO, MJXTEX-SS'
|
||||
},
|
||||
|
||||
'.TEX-SSB': {
|
||||
'font-family': 'MJXZERO, MJXTEX-SSB'
|
||||
},
|
||||
|
||||
'.TEX-SSI': {
|
||||
'font-family': 'MJXZERO, MJXTEX-SSI'
|
||||
},
|
||||
|
||||
'.TEX-SC': {
|
||||
'font-family': 'MJXZERO, MJXTEX-SC'
|
||||
},
|
||||
|
||||
'.TEX-T': {
|
||||
'font-family': 'MJXZERO, MJXTEX-T'
|
||||
},
|
||||
|
||||
'.TEX-V': {
|
||||
'font-family': 'MJXZERO, MJXTEX-V'
|
||||
},
|
||||
|
||||
'.TEX-VB': {
|
||||
'font-family': 'MJXZERO, MJXTEX-VB'
|
||||
},
|
||||
|
||||
'mjx-stretchy-v mjx-c, mjx-stretchy-h mjx-c': {
|
||||
'font-family': 'MJXZERO, MJXTEX-S1, MJXTEX-S4, MJXTEX, MJXTEX-A ! important'
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* The default @font-face declarations with %%URL%% where the font path should go
|
||||
*/
|
||||
protected static defaultFonts = {
|
||||
...CHTMLFontData.defaultFonts,
|
||||
|
||||
'@font-face /* 1 */': {
|
||||
'font-family': 'MJXTEX',
|
||||
src: 'url("%%URL%%/MathJax_Main-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 2 */': {
|
||||
'font-family': 'MJXTEX-B',
|
||||
src: 'url("%%URL%%/MathJax_Main-Bold.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 3 */': {
|
||||
'font-family': 'MJXTEX-I',
|
||||
src: 'url("%%URL%%/MathJax_Math-Italic.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 4 */': {
|
||||
'font-family': 'MJXTEX-MI',
|
||||
src: 'url("%%URL%%/MathJax_Main-Italic.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 5 */': {
|
||||
'font-family': 'MJXTEX-BI',
|
||||
src: 'url("%%URL%%/MathJax_Math-BoldItalic.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 6 */': {
|
||||
'font-family': 'MJXTEX-S1',
|
||||
src: 'url("%%URL%%/MathJax_Size1-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 7 */': {
|
||||
'font-family': 'MJXTEX-S2',
|
||||
src: 'url("%%URL%%/MathJax_Size2-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 8 */': {
|
||||
'font-family': 'MJXTEX-S3',
|
||||
src: 'url("%%URL%%/MathJax_Size3-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 9 */': {
|
||||
'font-family': 'MJXTEX-S4',
|
||||
src: 'url("%%URL%%/MathJax_Size4-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 10 */': {
|
||||
'font-family': 'MJXTEX-A',
|
||||
src: 'url("%%URL%%/MathJax_AMS-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 11 */': {
|
||||
'font-family': 'MJXTEX-C',
|
||||
src: 'url("%%URL%%/MathJax_Calligraphic-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 12 */': {
|
||||
'font-family': 'MJXTEX-CB',
|
||||
src: 'url("%%URL%%/MathJax_Calligraphic-Bold.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 13 */': {
|
||||
'font-family': 'MJXTEX-FR',
|
||||
src: 'url("%%URL%%/MathJax_Fraktur-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 14 */': {
|
||||
'font-family': 'MJXTEX-FRB',
|
||||
src: 'url("%%URL%%/MathJax_Fraktur-Bold.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 15 */': {
|
||||
'font-family': 'MJXTEX-SS',
|
||||
src: 'url("%%URL%%/MathJax_SansSerif-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 16 */': {
|
||||
'font-family': 'MJXTEX-SSB',
|
||||
src: 'url("%%URL%%/MathJax_SansSerif-Bold.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 17 */': {
|
||||
'font-family': 'MJXTEX-SSI',
|
||||
src: 'url("%%URL%%/MathJax_SansSerif-Italic.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 18 */': {
|
||||
'font-family': 'MJXTEX-SC',
|
||||
src: 'url("%%URL%%/MathJax_Script-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 19 */': {
|
||||
'font-family': 'MJXTEX-T',
|
||||
src: 'url("%%URL%%/MathJax_Typewriter-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 20 */': {
|
||||
'font-family': 'MJXTEX-V',
|
||||
src: 'url("%%URL%%/MathJax_Vector-Regular.woff") format("woff")'
|
||||
},
|
||||
|
||||
'@font-face /* 21 */': {
|
||||
'font-family': 'MJXTEX-VB',
|
||||
src: 'url("%%URL%%/MathJax_Vector-Bold.woff") format("woff")'
|
||||
},
|
||||
};
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {boldItalic as font} from '../../../common/fonts/tex/bold-italic.js';
|
||||
|
||||
export const boldItalic: CHTMLCharMap = AddCSS(font, {
|
||||
0x131: {f: 'B'},
|
||||
0x237: {f: 'B'},
|
||||
0x2044: {c: '/'},
|
||||
0x2206: {c: '\\394'},
|
||||
0x29F8: {c: '/'},
|
||||
});
|
||||
+82
@@ -0,0 +1,82 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {bold as font} from '../../../common/fonts/tex/bold.js';
|
||||
|
||||
export const bold: CHTMLCharMap = AddCSS(font, {
|
||||
0xB7: {c: '\\22C5'},
|
||||
0x131: {f: ''},
|
||||
0x237: {f: ''},
|
||||
0x2B9: {c: '\\2032'},
|
||||
0x2002: {c: ''},
|
||||
0x2003: {c: ''},
|
||||
0x2004: {c: ''},
|
||||
0x2005: {c: ''},
|
||||
0x2006: {c: ''},
|
||||
0x2009: {c: ''},
|
||||
0x200A: {c: ''},
|
||||
0x2015: {c: '\\2014'},
|
||||
0x2016: {c: '\\2225'},
|
||||
0x2017: {c: '_'},
|
||||
0x2022: {c: '\\2219'},
|
||||
0x2033: {c: '\\2032\\2032'},
|
||||
0x2034: {c: '\\2032\\2032\\2032'},
|
||||
0x203E: {c: '\\2C9'},
|
||||
0x2044: {c: '/'},
|
||||
0x2057: {c: '\\2032\\2032\\2032\\2032'},
|
||||
0x20D7: {c: '\\2192', f: 'VB'},
|
||||
0x219A: {c: '\\2190\\338'},
|
||||
0x219B: {c: '\\2192\\338'},
|
||||
0x21AE: {c: '\\2194\\338'},
|
||||
0x21CD: {c: '\\21D0\\338'},
|
||||
0x21CE: {c: '\\21D4\\338'},
|
||||
0x21CF: {c: '\\21D2\\338'},
|
||||
0x2204: {c: '\\2203\\338'},
|
||||
0x2206: {c: '\\394'},
|
||||
0x220C: {c: '\\220B\\338'},
|
||||
0x2224: {c: '\\2223\\338'},
|
||||
0x2226: {c: '\\2225\\338'},
|
||||
0x2241: {c: '\\223C\\338'},
|
||||
0x2244: {c: '\\2243\\338'},
|
||||
0x2247: {c: '\\2245\\338'},
|
||||
0x2249: {c: '\\2248\\338'},
|
||||
0x2262: {c: '\\2261\\338'},
|
||||
0x226D: {c: '\\224D\\338'},
|
||||
0x226E: {c: '<\\338'},
|
||||
0x226F: {c: '>\\338'},
|
||||
0x2270: {c: '\\2264\\338'},
|
||||
0x2271: {c: '\\2265\\338'},
|
||||
0x2280: {c: '\\227A\\338'},
|
||||
0x2281: {c: '\\227B\\338'},
|
||||
0x2284: {c: '\\2282\\338'},
|
||||
0x2285: {c: '\\2283\\338'},
|
||||
0x2288: {c: '\\2286\\338'},
|
||||
0x2289: {c: '\\2287\\338'},
|
||||
0x22AC: {c: '\\22A2\\338'},
|
||||
0x22AD: {c: '\\22A8\\338'},
|
||||
0x22E2: {c: '\\2291\\338'},
|
||||
0x22E3: {c: '\\2292\\338'},
|
||||
0x2329: {c: '\\27E8'},
|
||||
0x232A: {c: '\\27E9'},
|
||||
0x25B5: {c: '\\25B3'},
|
||||
0x25BF: {c: '\\25BD'},
|
||||
0x2758: {c: '\\2223'},
|
||||
0x29F8: {c: '/', f: 'BI'},
|
||||
0x2A2F: {c: '\\D7'},
|
||||
0x3008: {c: '\\27E8'},
|
||||
0x3009: {c: '\\27E9'},
|
||||
});
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {doubleStruck} from '../../../common/fonts/tex/double-struck.js';
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {frakturBold as font} from '../../../common/fonts/tex/fraktur-bold.js';
|
||||
|
||||
export const frakturBold: CHTMLCharMap = AddCSS(font, {
|
||||
0x2044: {c: '/'},
|
||||
});
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {fraktur as font} from '../../../common/fonts/tex/fraktur.js';
|
||||
|
||||
export const fraktur: CHTMLCharMap = AddCSS(font, {
|
||||
0x2044: {c: '/'},
|
||||
});
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {italic as font} from '../../../common/fonts/tex/italic.js';
|
||||
|
||||
export const italic: CHTMLCharMap = AddCSS(font, {
|
||||
0x2F: {f: 'I'},
|
||||
0x3DD: {c: '\\E008', f: 'A'},
|
||||
0x2015: {c: '\\2014'},
|
||||
0x2017: {c: '_'},
|
||||
0x2044: {c: '/', f: 'I'},
|
||||
0x2206: {c: '\\394', f: 'I'},
|
||||
0x29F8: {c: '/', f: 'I'},
|
||||
});
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {largeop as font} from '../../../common/fonts/tex/largeop.js';
|
||||
|
||||
export const largeop: CHTMLCharMap = AddCSS(font, {
|
||||
0x2016: {f: 'S1'},
|
||||
0x2044: {c: '/'},
|
||||
0x2191: {f: 'S1'},
|
||||
0x2193: {f: 'S1'},
|
||||
0x21D1: {f: 'S1'},
|
||||
0x21D3: {f: 'S1'},
|
||||
0x2223: {f: 'S1'},
|
||||
0x2225: {f: 'S1'},
|
||||
0x2329: {c: '\\27E8'},
|
||||
0x232A: {c: '\\27E9'},
|
||||
0x23D0: {f: 'S1'},
|
||||
0x2758: {c: '\\2223', f: 'S1'},
|
||||
0x2A0C: {c: '\\222C\\222C'},
|
||||
0x3008: {c: '\\27E8'},
|
||||
0x3009: {c: '\\27E9'},
|
||||
});
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {monospace as font} from '../../../common/fonts/tex/monospace.js';
|
||||
|
||||
export const monospace: CHTMLCharMap = AddCSS(font, {
|
||||
0x2B9: {c: '\\2032'},
|
||||
0x391: {c: 'A'},
|
||||
0x392: {c: 'B'},
|
||||
0x395: {c: 'E'},
|
||||
0x396: {c: 'Z'},
|
||||
0x397: {c: 'H'},
|
||||
0x399: {c: 'I'},
|
||||
0x39A: {c: 'K'},
|
||||
0x39C: {c: 'M'},
|
||||
0x39D: {c: 'N'},
|
||||
0x39F: {c: 'O'},
|
||||
0x3A1: {c: 'P'},
|
||||
0x3A4: {c: 'T'},
|
||||
0x3A7: {c: 'X'},
|
||||
0x2017: {c: '_'},
|
||||
0x2033: {c: '\\2032\\2032'},
|
||||
0x2034: {c: '\\2032\\2032\\2032'},
|
||||
0x2044: {c: '/'},
|
||||
0x2057: {c: '\\2032\\2032\\2032\\2032'},
|
||||
0x2206: {c: '\\394'},
|
||||
});
|
||||
+1043
File diff suppressed because it is too large
Load Diff
+23
@@ -0,0 +1,23 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {sansSerifBoldItalic as font} from '../../../common/fonts/tex/sans-serif-bold-italic.js';
|
||||
|
||||
export const sansSerifBoldItalic: CHTMLCharMap = AddCSS(font, {
|
||||
0x131: {f: 'SSB'},
|
||||
0x237: {f: 'SSB'},
|
||||
});
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {sansSerifBold as font} from '../../../common/fonts/tex/sans-serif-bold.js';
|
||||
|
||||
export const sansSerifBold: CHTMLCharMap = AddCSS(font, {
|
||||
0x2015: {c: '\\2014'},
|
||||
0x2017: {c: '_'},
|
||||
0x2044: {c: '/'},
|
||||
0x2206: {c: '\\394'},
|
||||
});
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {sansSerifItalic as font} from '../../../common/fonts/tex/sans-serif-italic.js';
|
||||
|
||||
export const sansSerifItalic: CHTMLCharMap = AddCSS(font, {
|
||||
0x391: {c: 'A'},
|
||||
0x392: {c: 'B'},
|
||||
0x395: {c: 'E'},
|
||||
0x396: {c: 'Z'},
|
||||
0x397: {c: 'H'},
|
||||
0x399: {c: 'I'},
|
||||
0x39A: {c: 'K'},
|
||||
0x39C: {c: 'M'},
|
||||
0x39D: {c: 'N'},
|
||||
0x39F: {c: 'O'},
|
||||
0x3A1: {c: 'P'},
|
||||
0x3A4: {c: 'T'},
|
||||
0x3A7: {c: 'X'},
|
||||
0x2015: {c: '\\2014'},
|
||||
0x2017: {c: '_'},
|
||||
0x2044: {c: '/'},
|
||||
0x2206: {c: '\\394'},
|
||||
});
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {sansSerif as font} from '../../../common/fonts/tex/sans-serif.js';
|
||||
|
||||
export const sansSerif: CHTMLCharMap = AddCSS(font, {
|
||||
0x391: {c: 'A'},
|
||||
0x392: {c: 'B'},
|
||||
0x395: {c: 'E'},
|
||||
0x396: {c: 'Z'},
|
||||
0x397: {c: 'H'},
|
||||
0x399: {c: 'I'},
|
||||
0x39A: {c: 'K'},
|
||||
0x39C: {c: 'M'},
|
||||
0x39D: {c: 'N'},
|
||||
0x39F: {c: 'O'},
|
||||
0x3A1: {c: 'P'},
|
||||
0x3A4: {c: 'T'},
|
||||
0x3A7: {c: 'X'},
|
||||
0x2015: {c: '\\2014'},
|
||||
0x2017: {c: '_'},
|
||||
0x2044: {c: '/'},
|
||||
0x2206: {c: '\\394'},
|
||||
});
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {scriptBold} from '../../../common/fonts/tex/script-bold.js';
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {script} from '../../../common/fonts/tex/script.js';
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {smallop as font} from '../../../common/fonts/tex/smallop.js';
|
||||
|
||||
export const smallop: CHTMLCharMap = AddCSS(font, {
|
||||
0x2044: {c: '/'},
|
||||
0x2329: {c: '\\27E8'},
|
||||
0x232A: {c: '\\27E9'},
|
||||
0x2758: {c: '\\2223'},
|
||||
0x2A0C: {c: '\\222C\\222C'},
|
||||
0x3008: {c: '\\27E8'},
|
||||
0x3009: {c: '\\27E9'},
|
||||
});
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {texCalligraphicBold as font} from '../../../common/fonts/tex/tex-calligraphic-bold.js';
|
||||
|
||||
export const texCalligraphicBold: CHTMLCharMap = AddCSS(font, {
|
||||
0x131: {f: 'B'},
|
||||
0x237: {f: 'B'},
|
||||
});
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {texCalligraphic} from '../../../common/fonts/tex/tex-calligraphic.js';
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {texMathit} from '../../../common/fonts/tex/tex-mathit.js';
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {texOldstyleBold} from '../../../common/fonts/tex/tex-oldstyle-bold.js';
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
export {texOldstyle} from '../../../common/fonts/tex/tex-oldstyle.js';
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {texSize3 as font} from '../../../common/fonts/tex/tex-size3.js';
|
||||
|
||||
export const texSize3: CHTMLCharMap = AddCSS(font, {
|
||||
0x2044: {c: '/'},
|
||||
0x2329: {c: '\\27E8'},
|
||||
0x232A: {c: '\\27E9'},
|
||||
0x3008: {c: '\\27E8'},
|
||||
0x3009: {c: '\\27E9'},
|
||||
});
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {texSize4 as font} from '../../../common/fonts/tex/tex-size4.js';
|
||||
|
||||
export const texSize4: CHTMLCharMap = AddCSS(font, {
|
||||
0x2044: {c: '/'},
|
||||
0x2329: {c: '\\27E8'},
|
||||
0x232A: {c: '\\27E9'},
|
||||
0x3008: {c: '\\27E8'},
|
||||
0x3009: {c: '\\27E9'},
|
||||
0xE155: {c: '\\E153\\E152'},
|
||||
0xE156: {c: '\\E151\\E150'},
|
||||
});
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
/*************************************************************
|
||||
*
|
||||
* Copyright (c) 2018-2022 The MathJax Consortium
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import {CHTMLCharMap, AddCSS} from '../../FontData.js';
|
||||
import {texVariant as font} from '../../../common/fonts/tex/tex-variant.js';
|
||||
|
||||
export const texVariant: CHTMLCharMap = AddCSS(font, {
|
||||
0x3F0: {c: '\\E009'},
|
||||
0x210F: {f: ''},
|
||||
0x2224: {c: '\\E006'},
|
||||
0x2226: {c: '\\E007'},
|
||||
0x2268: {c: '\\E00C'},
|
||||
0x2269: {c: '\\E00D'},
|
||||
0x2270: {c: '\\E011'},
|
||||
0x2271: {c: '\\E00E'},
|
||||
0x2288: {c: '\\E016'},
|
||||
0x2289: {c: '\\E018'},
|
||||
0x228A: {c: '\\E01A'},
|
||||
0x228B: {c: '\\E01B'},
|
||||
0x2A87: {c: '\\E010'},
|
||||
0x2A88: {c: '\\E00F'},
|
||||
0x2ACB: {c: '\\E017'},
|
||||
0x2ACC: {c: '\\E019'},
|
||||
});
|
||||
Reference in New Issue
Block a user