refactor: remove all math symbols original file and script

This commit is contained in:
Alexandre Nunes 2020-09-19 13:57:18 -03:00
parent b140d8c4c6
commit c83ec6e338
2 changed files with 0 additions and 527 deletions

@ -1,519 +0,0 @@
module.exports = [
{
character: '∞',
glyph: '∞',
latex: '\\infty',
name: 'infinity',
},
{
character: 'α',
glyph: 'α',
latex: '\\alpha',
name: 'alpha greek letter',
},
{
character: 'β',
glyph: 'β',
latex: '\\beta',
name: 'beta greek letter',
},
{
character: 'γ',
glyph: 'γ',
latex: '\\gamma',
name: 'gamma greek letter',
},
{
character: 'Γ',
glyph: 'Γ',
latex: '\\Gamma',
name: 'capital gamma greek letter',
},
{
character: 'δ',
glyph: 'δ',
latex: '\\delta',
name: 'delta greek letter',
},
{
character: 'Δ',
glyph: 'Δ',
latex: '\\Delta',
name: 'capital delta greek letter',
},
{
character: 'ε',
glyph: 'ε',
latex: '\\epsilon',
name: 'epsilon greek letter',
},
{
character: 'ɛ',
glyph: 'ɛ',
latex: '\\varepsilon',
name: 'varepsilon greek letter',
},
{
character: 'ζ',
glyph: 'ζ',
latex: '\\zeta',
name: 'zeta greek letter',
},
{
character: 'η',
glyph: 'η',
latex: '\\eta',
name: 'eta greek letter',
},
{
character: 'θ',
glyph: 'θ',
latex: '\\theta',
name: 'theta greek letter',
},
{
character: 'Θ',
glyph: 'Θ',
latex: '\\Theta',
name: 'capital theta greek letter',
},
{
character: 'ϑ',
glyph: 'ϑ',
latex: '\\vartheta',
name: 'vartheta greek letter',
},
{
character: 'ι',
glyph: 'ι',
latex: '\\iota',
name: 'iota greek letter',
},
{
character: 'κ',
glyph: 'κ',
latex: '\\kappa',
name: 'kappa greek letter',
},
{
character: 'λ',
glyph: 'λ',
latex: '\\lambda',
name: 'lambda greek letter',
},
{
character: 'Λ',
glyph: 'Λ',
latex: '\\Lambda',
name: 'capital lambda greek letter',
},
{
character: 'μ',
glyph: 'μ',
latex: '\\mu',
name: 'mu greek letter',
},
{
character: 'ν',
glyph: 'ν',
latex: '\\nu',
name: 'nu greek letter',
},
{
character: 'ξ',
glyph: 'ξ',
latex: '\\xi',
name: 'xi greek letter',
},
{
character: 'Ξ',
glyph: 'Ξ',
latex: '\\Xi',
name: 'capital xi greek letter',
},
{
character: 'π',
glyph: 'π',
latex: '\\pi',
name: 'pi greek letter',
},
{
character: 'Π',
glyph: 'Π',
latex: '\\Pi',
name: 'capital pi greek letter',
},
{
character: 'ρ',
glyph: 'ρ',
latex: '\\rho',
name: 'rho greek letter',
},
{
character: 'σ',
glyph: 'σ',
latex: '\\sigma',
name: 'sigma greek letter',
},
{
character: 'Σ',
glyph: 'Σ',
latex: '\\Sigma',
name: 'capital sigma greek letter',
},
{
character: 'τ',
glyph: 'τ',
latex: '\\tau',
name: 'tau greek letter',
},
{
character: 'υ',
glyph: 'υ',
latex: '\\upsilon',
name: 'upsilon greek letter',
},
{
character: 'ϕ',
glyph: 'ϕ',
latex: '\\phi',
name: 'phi greek letter',
},
{
character: 'Φ',
glyph: 'Φ',
latex: '\\Phi',
name: 'capital phi greek letter',
},
{
character: 'φ',
glyph: 'φ',
latex: '\\varphi',
name: 'varphi greek letter',
},
{
character: 'χ',
glyph: 'χ',
latex: '\\chi',
name: 'chi greek letter',
},
{
character: 'ψ',
glyph: 'ψ',
latex: '\\psi',
name: 'psi greek letter',
},
{
character: 'Ψ',
glyph: 'Ψ',
latex: '\\Psi',
name: 'capital psi greek letter',
},
{
character: 'ω',
glyph: 'ω',
latex: '\\omega',
name: 'omega greek letter',
},
{
character: 'Ω',
glyph: 'Ω',
latex: '\\Omega',
name: 'capital omega greek letter',
},
{
character: '⋅',
glyph: '⋅',
latex: '\\cdot',
name: 'center dot',
},
{
character: '∗',
glyph: '',
latex: '\\star',
name: 'asterisk',
},
{
character: '⋆',
glyph: '⋆',
latex: '\\star',
name: 'star',
},
{
character: '\\',
glyph: '\\',
latex: '\\backslash',
name: 'backslash',
},
{
character: '×',
glyph: '×',
latex: '\\times',
name: 'times',
},
{
character: '÷',
glyph: '÷',
latex: '\\div',
name: 'division',
},
{
character: '⋉',
glyph: '⋉',
latex: '\\ltimes',
name: 'left normal factor semidirect product',
},
{
character: '⋊',
glyph: '⋊',
latex: '\\rtimes',
name: 'right normal factor semidirect product',
},
{
character: '⋈',
glyph: '⋈',
latex: '\\bowtie',
name: 'bowtie',
},
{
character: '∘',
glyph: '∘',
latex: '@',
name: '\\circ',
},
{
character: '⊕',
glyph: '⊕',
latex: 'o+',
name: 'circled plus',
},
{
character: '⊗',
glyph: '⊗',
latex: '\\bigoplus',
name: 'circled times',
},
{
character: '⊙',
glyph: '⊙',
latex: '\\bigodot',
name: 'circled dot',
},
{
character: '∑',
glyph: '∑',
latex: '\\sum',
name: 'summatory',
},
{
character: '∏',
glyph: '∏',
latex: '\\prod',
name: 'productory',
},
{
character: '∧',
glyph: '∧',
latex: '\\wedge',
name: 'wedge',
},
{
character: '⋀',
glyph: '⋀',
latex: '\\wedge',
name: 'big wedge',
},
{
character: '∨',
glyph: '',
latex: '\\vee',
name: 'vee',
},
{
character: '⋁',
glyph: '',
latex: '\\vee',
name: 'big vee',
},
{
character: '∩',
glyph: '∩',
latex: '\\cap',
name: 'cap',
},
{
character: '⋂',
glyph: '⋂',
latex: '\\cap',
name: 'big cap',
},
{
character: '∪',
glyph: '',
latex: '\\cup',
name: 'cup',
},
{
character: '⋃',
glyph: '',
latex: '\\cup',
name: 'big cup',
},
{
character: '∫',
glyph: '∫',
latex: '\\int',
name: 'integral',
},
{
character: '∮',
glyph: '∮',
latex: '\\oint',
name: 'line integral',
},
{
character: '∂',
glyph: '∂',
latex: '\\partial',
name: 'partial derivative',
},
{
character: '∇',
glyph: '∇',
latex: '\\nabla',
name: 'nabla as gradient',
},
{
character: '±',
glyph: '±',
latex: '\\pm',
name: 'plus or minus',
},
{
character: '∅',
glyph: '∅',
latex: '\\oslash',
name: 'emptyset',
},
{
character: 'ℵ',
glyph: 'ℵ',
latex: '\\aleph',
name: 'aleph',
},
{
character: '∴',
glyph: '∴',
latex: '\\therefore',
name: 'therefore',
},
{
character: '∵',
glyph: '∵',
latex: '\\because',
name: 'because',
},
{
character: '⋮',
glyph: '⋮',
latex: '\\vdots',
name: 'vertical dots',
},
{
character: '⋱',
glyph: '⋱',
latex: '\\ddots',
name: 'diagonal dots',
},
{
character: '∠',
glyph: '∠',
latex: '\\angle',
name: 'angle',
},
{
character: '⌢',
glyph: '⌢',
latex: '\\frown',
name: 'frown',
},
{
character: '△',
glyph: '△',
latex: '\\triangle',
name: 'triangle',
},
{
character: '⋄',
glyph: '⋄',
latex: '\\diamond',
name: 'diamond',
},
{
character: '□',
glyph: '□',
latex: '\\square',
name: 'square',
},
{
character: 'ℂ',
latex: 'CC',
name: '\\mathbb{C}',
},
{
character: 'ℕ',
latex: '\\mathbb{N}',
name: 'natural set',
},
{
character: 'ℚ',
latex: '\\mathbb{Q}',
name: 'rational set',
},
{
character: 'ℝ',
latex: '\\mathbb{R}',
name: 'real set',
},
{
character: 'ℤ',
latex: '\\mathbb{Z}',
name: 'integer set',
},
{
character: '¬',
glyph: '¬',
latex: '\\neg',
name: 'not',
},
{
character: '⇒',
glyph: '⇒',
latex: '=>',
name: '\\implies',
},
{
character: '⇔',
glyph: '⇔',
latex: '\\iff',
name: 'if and only if',
},
{
character: '∀',
glyph: '∀',
latex: '\\forall',
name: 'for all',
},
{
character: '∃',
glyph: '∃',
latex: '\\exists',
name: 'exists',
},
{
character: ' ',
glyph: ' ',
latex: '\\textrm{ }',
name: 'empty space',
},
];

@ -1,8 +0,0 @@
const allMathOperators = require('./allMathSymbols');
const allMathOperatorsByChar = allMathOperators.reduce(
(acc, val) => Object.assign({ [val.glyph]: val.latex }, acc),
{},
);
console.log(JSON.stringify(allMathOperatorsByChar));