mhchem[LaTex化学式]

1 反应式

格式 LaTex
COX2+C2CO\ce{CO2 + C -> 2 CO} $\ce{CO2 + C -> 2 CO}$
HgX2+IXHgIX2IX[HgXIIIX4]X2\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-} $\ce{Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-}$
Cp[HX2O(l)]=75.3 JmolKC_p[\ce{H2O(l)}] = \pu{75.3 J // mol K} $C_p[\ce{H2O(l)}] = \pu{75.3 J // mol K}$

2 结构式

格式 LaTex
HX2O\ce{H2O} $\ce{H2O}$
SbX2OX3\ce{Sb2O3} $\ce{Sb2O3}$

3 电荷/离子

格式 LaTex
HX+\ce{H+} $\ce{H+}$
CrOX4X2\ce{CrO4^2-} $\ce{CrO4^2-}$
[AgClX2]X\ce{[AgCl2]-} $\ce{[AgCl2]-}$
YX99+\ce{Y^99+}YX99+\ce{Y^99+} $\ce{Y^99+}$
YX99+\ce{Y^{99+}} $\ce{Y^{99+}}$

4 化学计量数

格式 LaTex
2HX2O\ce{2 H2O} $\ce{2 H2O}$
2HX2O\ce{2H2O} $\ce{2H2O}$
0.5HX2O\ce{0.5 H2O} $\ce{0.5 H2O}$
12HX2O\ce{1/2 H2O} $\ce{1/2 H2O}$
(1/2)HX2O\ce{(1/2) H2O} $\ce{(1/2) H2O}$
nHX2O\ce{n H2O} $\ce{$n$ H2O}$

5 核素、同位素

格式 LaTex
X90227X2902227ThX+\ce{^{227}_{90}Th+} $\ce{^{227}_{90}Th+}$
X90227X2902227ThX+\ce{^227_90Th+} $\ce{^227_90Th+}$
X10X2120nX\ce{^{0}_{-1}n^{-}} $\ce{^{0}_{-1}n^{-}}$
X10X2120nX\ce{^0_-1n-} $\ce{^0_-1n-}$
HX3X223HO\ce{H{}^3HO} $\ce{H{}^3HO}$
HX3X223HO\ce{H^3HO} $\ce{H^3HO}$

6 反应箭头

格式 LaTex
AB\ce{A -> B} $\ce{A -> B}$
AB\ce{A <- B} $\ce{A <- B}$
AB\ce{A <-> B} $\ce{A <-> B}$
AB\ce{A <--> B} $\ce{A <--> B}$
AB\ce{A <=> B} $\ce{A <=> B}$
AB\ce{A <=>> B} $\ce{A <=>> B}$
AB\ce{A <<=> B} $\ce{A <<=> B}$
AHX2OB\ce{A ->[H2O] B} $\ce{A ->[H2O] B}$
AbelowaboveB\ce{A ->[{above}][{below}] B} $\ce{A->[{above}][{below}]B}$
AxXixB\ce{A ->[x][x_i] B} $\ce{A->[$x$][$x_i$]B}$

7 圆括号、方括号、花括号

格式 LaTex
(NHX4)X2S\ce{(NH4)2S} $\ce{(NH4)2S}$
[{(XX2)X3}X2]X3+\ce{[\{(X2)3\}2]^3+} $\ce{[\{(X2)3\}2]^3+}$
CHX4+2( OX2+7921NX2 )\ce{CH4 + 2 \left( \ce{O2 + 79/21 N2} \right)} $\ce{CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$}$

8 物质状态

格式 LaTex
HX2(aq)\ce{H2(aq)} $\ce{H2(aq)}$
COX3X2X(aq)\ce{CO3^2-_{(aq)}} $\ce{CO3^2-_{(aq)}}$
NaOH(aq,)\ce{NaOH(aq,\infty)} $\ce{NaOH(aq,$\infty$)}$

9 晶系

格式 LaTex
ZnS(c)\ce{ZnS(c)} $\ce{ZnS($c$)}$
ZnS(c)\ce{ZnS(\ca c)} $\ce{ZnS(\ca$c$)}$

10 变量

格式 LaTex
NOXx\ce{NO_x} $\ce{NO_x}$
FeXn+\ce{Fe^n+} $\ce{Fe^n+}$
xNa(NHX4)HPOX4Δ(NaPOX3)Xx+xNHX3+xHX2O\ce{x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + \\ x NH3 ^ + x H2O} $\ce{x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + x NH3 ^ + x H2O}$

11 希腊字母

格式 LaTex
μ-Cl\ce{\mu-Cl} $\ce{\mu-Cl}$
[Pt(ηX2-CX2HX4)ClX3]X\ce{[Pt(\eta^2-C2H4)Cl3]-} $\ce{[Pt(\eta^2-C2H4)Cl3]-}$
βX+\ce{\beta +} $\ce{\beta +}$
X1840X218240Ar+γ+νXe\ce{^40_18Ar + \gamma{} + \nu_e} $\ce{^40_18Ar + \gamma{} + \nu_e}$

12 数学 (斜体)

格式 LaTex
NaOH(aq,)\ce{NaOH(aq,\infty)} $\ce{NaOH(aq,$\infty$)}$
Fe(CN)X62\ce{Fe(CN)_{\frac{6}{2}}} $\ce{Fe(CN)_{$\frac{6}{2}$}}$
XXiX×\ce{X_{i}^{x}} $\ce{X_{$i$}^{$x$}}$
XXiX×\ce{X_i^x} $\ce{X_$i$^$x$}$

13 斜体文本

格式 LaTex
cis-[PtClX2(NHX3)X2]\ce{cis{-}[PtCl2(NH3)2]} $\ce{$cis${-}[PtCl2(NH3)2]}$
CuS(hPX12)\ce{CuS(hP12)} $\ce{CuS($hP12$)}$

14 正体文本,转义解析

格式 LaTex
Gluconic Acid+HX2OX2\ce{{Gluconic Acid} + H2O2} $\ce{{Gluconic Acid} + H2O2}$
XXred\ce{X_} $\ce{X_}$
(+)X589-[Co(en)X3]ClX3\ce{{(+)}_589{-}[Co(en)3]Cl3} $\ce{{(+)}_589{-}[Co(en)3]Cl3}$

15 化学键

格式 LaTex
CX6HX5CHO\ce{C6H5-CHO} $\ce{C6H5-CHO}$
AB=CD\ce{A-B=C#D} $\ce{A-B=C#D}$
AB=CD\ce{A\bond{-}B\bond{=}C\bond{#}D} $\ce{A\bond{-}B\bond{=}C\bond{#}D}$
AB=CD\ce{A\bond{1}B\bond{2}C\bond{3}D} $\ce{A\bond{1}B\bond{2}C\bond{3}D}$
A---B---C\ce{A\bond{~}B\bond{~-}C} $\ce{A\bond{~}B\bond{~-}C}$
A---B---C---D\ce{A\bond{~--}B\bond{~=}C\bond{-~-}D} $\ce{A\bond{~--}B\bond{~=}C\bond{-~-}D}$
ABC\ce{A\bond{...}B\bond{....}C} $\ce{A\bond{...}B\bond{....}C}$
ABC\ce{A\bond{->}B\bond{<-}C} $\ce{A\bond{->}B\bond{<-}C}$

16 水合物

格式 LaTex
KCr(SOX4)X212HX2O\ce{KCr(SO4)2*12H2O} $\ce{KCr(SO4)2*12H2O}$
KCr(SOX4)X212HX2O\ce{KCr(SO4)2.12H2O} $\ce{KCr(SO4)2.12H2O}$
KCr(SOX4)X212HX2O\ce{KCr(SO4)2 * 12 H2O} $\ce{KCr(SO4)2 * 12 H2O}$

17 氧化态

格式 LaTex
FeXIIFeXIIIX2OX4\ce{Fe^{II}Fe^{III}2O4} $\ce{Fe^{II}Fe^{III}2O4}$

18 未成对电子,自由基

格式 LaTex
OCOX\ce{OCO^{.-}} $\ce{OCO^{.-}}$
NOX(2)\ce{NO^{(2.)-}} $\ce{NO^{(2.)-}}$

19 克罗格-文克(Kröger-Vink)缺陷化学符号

格式 LaTex
LiXLi,12x×MgXLi,xVXLi,xClXCl×\ce{Li^x_{Li,1-2x}Mg^._{Li,x}V'_{Li,x}Cl^x_{Cl}} $\ce{Li^x_{Li,1-2x}Mg^._{Li,x}$V$'_{Li,x}Cl^x_{Cl}}$
OXi,x\ce{O''_{i,x}} $\ce{O''_{i,x}}$
MXi  \ce{M^{..}_i} $\ce{M^{..}_i}$
VXTi4\ce{V^{4'}_{Ti}} $\ce{$V$^{4'}_{Ti}}$
VXV,1CXC,0.8VXC,0.2\ce{V_{V,1}C_{C,0.8}V_{C,0.2}} $\ce{V_{V,1}C_{C,0.8}$V$_{C,0.2}}$

20 运算符

格式 LaTex
A+B\ce{A + B} $\ce{A + B}$
AB\ce{A - B} $\ce{A - B}$
A=B\ce{A = B} $\ce{A = B}$
A±B\ce{A \pm B} $\ce{A \pm B}$

21 沉淀和气体

格式 LaTex
SOX4X2+BaX2+BaSOX4\ce{SO4^2- + Ba^2+ -> BaSO4 v} $\ce{SO4^2- + Ba^2+ -> BaSO4 v}$
A BB B\ce{A v B (v) -> B ^ B (^)} $\ce{A v B (v) -> B ^ B (^)}$

22 其他符号和快捷方式

格式 LaTex
NOX\ce{NO^*} $\ce{NO^*}$
1sX2-N\ce{1s^2-N} $\ce{1s^2-N}$
n-Pr\ce{n-Pr} $\ce{n-Pr}$
iPr\ce{iPr} $\ce{iPr}$
Fe\ce{\ca Fe} $\ce{\ca Fe}$
A,B,C;F\ce{A, B, C; F} $\ce{A, B, C; F}$

23 物理单位

格式 LaTex
123 kJ\pu{123 kJ} $\pu{123 kJ}$
123 mm2\pu{123 mm2} $\pu{123 mm2}$
123 Js\pu{123 J s} $\pu{123 J s}$
123 Js\pu{123 J*s} $\pu{123 J*s}$
123 kJ/mol\pu{123 kJ/mol} $\pu{123 kJ/mol}$
123 kJmol\pu{123 kJ//mol} $\pu{123 kJ//mol}$
123 kJmol1\pu{123 kJ mol-1} $\pu{123 kJ mol-1}$
123 kJmol1\pu{123 kJ*mol-1} $\pu{123 kJ*mol-1}$
1.2103 kJ\pu{1.2e3 kJ} $\pu{1.2e3 kJ}$
1,2103 kJ\pu{1,2e3 kJ} $\pu{1,2e3 kJ}$
1.2×103 kJ\pu{1.2E3 kJ} $\pu{1.2E3 kJ}$
1,2×103 kJ\pu{1,2E3 kJ} $\pu{1,2E3 kJ}$

24 复杂的例子

1)

$\ce{Zn^2+  <=>[+ 2OH-][+ 2H+]  $\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$  <=>[+ 2OH-][+ 2H+]  $\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$}$

ZnX2++2HX++2OHXZn(OH)X2amphoteres Hydroxid+2HX++2OHX[Zn(OH)X4]X2Hydroxozikat\ce{Zn^2+ <=>[+ 2OH-][+ 2H+] \underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}} <=>[+ 2OH-][+ 2H+] \underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}}

2)

$\ce{$K = \frac{[\ce{Hg^2+}][\ce{Hg}]}{[\ce{Hg2^2+}]}$}$

K=[HgX2+][Hg][HgX2X2+]\ce{K = \frac{[\ce{Hg^2+}][\ce{Hg}]}{[\ce{Hg2^2+}]}}

3)

$\ce{$K = \ce{\frac{[Hg^2+][Hg]}{[Hg2^2+]}}$}$

K=[HgX2+][Hg][HgX2X2+]\ce{K = \ce{\frac{[Hg^2+][Hg]}{[Hg2^2+]}}}

4)

$\ce{Hg^2+ ->[I-]  $\underset{\mathrm{red}}{\ce{HgI2}}$  ->[I-]  $\underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}$}$

HgX2+IXHgIX2redIX[HgXIIIX4]X2red\ce{Hg^2+ ->[I-] \underset{\mathrm{red}}{\ce{HgI2}} ->[I-] \underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}}