normal math

edit

 

Chemistry

edit

There are three ways to render chemical sum formulae as used in chemical equations:

  • ‎<math chem>...‎</math>
  • ‎<ce>...‎</ce>
  • {{chem}}

‎<ce>X‎</ce> is short for <math chem>\ce{X}</math>

(where X is a chemical sum formula)

Technically, ‎<math chem>...‎</math> is a math tag with the extension mhchem enabled, according to the mathjax documentation.

Note, that the commands \cee and \cf are disabled, because they are marked as deprecated in the mhchem LaTeX package documentation.

Examples

edit
<ce>C6H5-CHO</ce>
CA6HA5CHO
<ce>\mathit{A} ->[\ce{+H2O}] \mathit{B}</ce>
A+HA2OB
<ce>{SO4^{2-}} + Ba^2+ -> BaSO4 v</ce>
SO42-+BaA2+BaSOA4
<math chem>A \ce{->[\ce{+H2O}]} B</math>
A+HA2OB
<ce>H2O</ce>
HA2O
<ce>Sb2O3</ce>
SbA2OA3
<ce>H+</ce>
HA+
<ce>CrO4^2-</ce>
CrOA4A2
<ce>AgCl2-</ce>
AgClA2A
<ce>[AgCl2]-</ce>
[AgClA2]A
<ce>Y^{99}+</ce>
YA99+
<ce>Y^{99+}</ce>
YA99+
<ce>H2_{(aq)}</ce>
HA2A(aq)
<ce>NO3-</ce>
NOA3A
<ce>(NH4)2S</ce>
(NHA4)A2S


(NH4)2S