mediawiki-extensions-Math/modules/ve-math/chemSymbols.json
Amire80 848d762e24 Add support for chemical formulae in VisualEditor
The chemical and mathematical formula inspectors and dialogs
have a lot of similar functionality, and the common parts are
now moved to the common MWLatex class.

MWMath* classes now inherit from MWLatex*, and so do
the new MWChem* classes.

Bug: T153365
Change-Id: I4452ceca55197fda5f1e1293a5741c6f5fb7c245
2017-02-19 18:36:26 +00:00

229 lines
3.6 KiB
JSON

{
"math-visualeditor-symbol-group-chem-equations": [
{
"insert": "CO2 + C -> 2 CO",
"largeLayout": true,
"width": "wide"
},
{
"insert": "Hg^2+ ->[I-] HgI2 ->[I-] {[Hg^{II}I4]^2-}",
"largeLayout": true,
"width": "wide",
"contain": true
}
],
"math-visualeditor-symbol-group-chem-formulae": [
{
"insert": "H2O",
"width": "wide"
},
{
"insert": "Sb2O3",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-charges": [
{
"insert": "H+",
"width": "wide"
},
{
"insert": "CrO4^2-",
"width": "wide"
},
{
"insert": "[AgCl2]-",
"width": "wide",
"contain": true
},
{
"insert": "Y^99+",
"width": "wide"
},
{
"insert": "Y^{99+}",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-oxidation": [
{
"insert": "Fe^{II}Fe^{III}204",
"width": "wider"
}
],
"math-visualeditor-symbol-group-chem-stoichiometric": [
{
"insert": "2H2O",
"width": "wide"
},
{
"insert": "1/2H2O",
"width": "wide"
},
{
"insert": "(1/2)H2O",
"width": "wide"
},
{
"insert": "nH2O",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-isotopes": [
{
"insert": "^{227}_{90}Th+",
"width": "wide"
},
{
"insert": "^227_90Th+",
"width": "widest"
},
{
"insert": "^{0}_{-1}n^{-}",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-brackets": [
{
"insert": "(NH4)2S",
"width": "wider"
},
{
"insert": "[\\{(X2)3\\}2]^3+",
"width": "widest",
"contain": true
}
],
"math-visualeditor-symbol-group-chem-aggregation": [
{
"insert": "H2(aq)",
"width": "wide"
},
{
"insert": "CO3^2-{}_{(aq)}",
"width": "wider"
},
{
"insert": "NaOH(aq,\\infty)",
"width": "widest",
"contain": true
}
],
"math-visualeditor-symbol-group-chem-dots": [
{
"insert": "OCO^{.-}",
"width": "wide"
},
{
"insert": "NO^{(2.)-}",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-greek": [
{
"insert": "\\mu-Cl",
"width": "wide"
},
{
"insert": "[Pt(\\eta^2-C2H4)Cl3]-",
"largeLayout": true,
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-addition": [
{
"insert": "KCr(SO4)2*12H2O",
"largeLayout": true,
"width": "wide"
},
{
"insert": "KCr(SO4)2.12H2O",
"largeLayout": true,
"width": "wide"
},
{
"insert": "KCr(SO4)2 * 12 H2O",
"largeLayout": true,
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-arrows": [
{
"insert": "A -> B",
"width": "wide"
},
{
"insert": "A <- B",
"width": "wide"
},
{
"insert": "A <-> B",
"width": "wide",
"contain": true
},
{
"insert": "A <--> B",
"width": "widest",
"contain": true
},
{
"insert": "A <=> B",
"width": "wide"
},
{
"insert": "A <=>> B",
"width": "wide"
},
{
"insert": "A <<=> B",
"width": "wide"
},
{
"insert": "A ->[H2O] B",
"largeLayout": true,
"width": "wide"
},
{
"insert": "A ->[{text above}][{text below}] B",
"largeLayout": true,
"width": "wide"
},
{
"insert": "A ->[x][x_i] B",
"largeLayout": true,
"width": "wide"
},
{
"insert": "A ->[{x}] B",
"largeLayout": true,
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-operators": [
{
"insert": "A + B",
"width": "wide"
},
{
"insert": "A - B",
"width": "wide"
},
{
"insert": "A = B",
"width": "wide"
},
{
"insert": "A \\pm B",
"width": "wide"
}
],
"math-visualeditor-symbol-group-chem-precipitate": [
{
"insert": "SO4^2- + Ba^2+ -> BaSO4 v",
"largeLayout": true,
"width": "wide",
"contain": true
}
]
}