Mhchem 테스트

1 Chemical Equations (ce)

  • 입력: <chem>CO2 + C -> 2 CO</chem>
출력: [math]\ce{ CO2 + C -> 2 CO }[/math]
  • 입력: <chem>Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2-</chem>
출력: [math]\ce{ Hg^2+ ->[I-] HgI2 ->[I-] [Hg^{II}I4]^2- }[/math]

2 Chemical Formulae

  • 입력: <chem>H2O</chem>
출력: [math]\ce{ H2O }[/math]
  • 입력: <chem>Sb2O3</chem>
출력: [math]\ce{ Sb2O3 }[/math]

3 Charges

  • 입력: <chem>H+</chem>
출력: [math]\ce{ H+ }[/math]
  • 입력: <chem>CrO4^2-</chem>
출력: [math]\ce{ CrO4^2- }[/math]
  • 입력: <chem>[AgCl2]-</chem>
출력: [math]\ce{ [AgCl2]- }[/math]
  • 입력: <chem>Y^99+</chem>
출력: [math]\ce{ Y^99+ }[/math]
  • 입력: <chem>Y^{99+}</chem>
출력: [math]\ce{ Y^{99+} }[/math]

4 Stoichiometric Numbers

  • 입력: <chem>2 H2O</chem>
출력: [math]\ce{ 2 H2O }[/math]
  • 입력: <chem>2H2O</chem>
출력: [math]\ce{ 2H2O }[/math]
  • 입력: <chem>0.5 H2O</chem>
출력: [math]\ce{ 0.5 H2O }[/math]
  • 입력: <chem>1/2 H2O</chem>
출력: [math]\ce{ 1/2 H2O }[/math]
  • 입력: <chem>(1/2) H2O</chem>
출력: [math]\ce{ (1/2) H2O }[/math]
  • 입력: <chem>$n$ H2O</chem>
출력: [math]\ce{ $n$ H2O }[/math]

5 Isotopes

  • 입력: <chem>^{227}_{90}Th+</chem>
출력: [math]\ce{ ^{227}_{90}Th+ }[/math]
  • 입력: <chem>^227_90Th+</chem>
출력: [math]\ce{ ^227_90Th+ }[/math]
  • 입력: <chem>^{0}_{-1}n^{-}</chem>
출력: [math]\ce{ ^{0}_{-1}n^{-} }[/math]
  • 입력: <chem>^0_-1n-</chem>
출력: [math]\ce{ ^0_-1n- }[/math]
  • 입력: <chem>H{}^3HO</chem>
출력: [math]\ce{ H{}^3HO }[/math]
  • 입력: <chem>H^3HO</chem>
출력: [math]\ce{ H^3HO }[/math]

6 Reaction Arrows

  • 입력: <chem>A -> B</chem>
출력: [math]\ce{ A -> B }[/math]
  • 입력: <chem>A <- B</chem>
출력: [math]\ce{ A <- B }[/math]
  • 입력: <chem>A <-> B</chem>
출력: [math]\ce{ A <-> B }[/math]
  • 입력: <chem>A <--> B</chem>
출력: [math]\ce{ A <--> B }[/math]
  • 입력: <chem>A <=> B</chem>
출력: [math]\ce{ A <=> B }[/math]
  • 입력: <chem>A <=>> B</chem>
출력: [math]\ce{ A <=>> B }[/math]
  • 입력: <chem>A <<=> B</chem>
출력: [math]\ce{ A <<=> B }[/math]
  • 입력: <chem>A ->[H2O] B</chem>
출력: [math]\ce{ A ->[H2O] B }[/math]
  • 입력: <chem>A ->[{text above}][{text below}] B</chem>
출력: [math]\ce{ A ->[{text above}][{text below}] B }[/math]
  • 입력: <chem>A ->[$x$][$x_i$] B</chem>
출력: [math]\ce{ A ->[$x$][$x_i$] B }[/math]

7 Parentheses, Brackets, Braces

  • 입력: <chem>(NH4)2S</chem>
출력: [math]\ce{ (NH4)2S }[/math]
  • 입력: <chem>[\{(X2)3\}2]^3+</chem>
출력: [math]\ce{ [\{(X2)3\}2]^3+ }[/math]
  • 입력: <chem>CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$</chem>
출력: [math]\ce{ CH4 + 2 $\left( \ce{O2 + 79/21 N2} \right)$ }[/math]

8 States of Aggregation (not fully supported by LaTeX/mhchem yet)

  • 입력: <chem>H2(aq)</chem>
출력: [math]\ce{ H2(aq) }[/math]
  • 입력: <chem>CO3^2-_{(aq)}</chem>
출력: [math]\ce{ CO3^2-_{(aq)} }[/math]
  • 입력: <chem>NaOH(aq,$\infty$)</chem>
출력: [math]\ce{ NaOH(aq,$\infty$) }[/math]

9 Crystal Systems (not fully supported by LaTeX/mhchem yet)

  • 입력: <chem>ZnS($c$)</chem>
출력: [math]\ce{ ZnS($c$) }[/math]
  • 입력: <chem>ZnS(\ca$c$)</chem>
출력: [math]\ce{ ZnS(\ca$c$) }[/math]

10 Variables like __*x*, *n*, 2*n*+1__

  • 입력: <chem>NO_x</chem>
출력: [math]\ce{ NO_x }[/math]
  • 입력: <chem>Fe^n+</chem>
출력: [math]\ce{ Fe^n+ }[/math]
  • 입력: <chem>x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + x NH3 ^ + x H2O</chem>
출력: [math]\ce{ x Na(NH4)HPO4 ->[\Delta] (NaPO3)_x + x NH3 ^ + x H2O }[/math]

11 Greek Characters

  • 입력: <chem>\mu-Cl</chem>
출력: [math]\ce{ \mu-Cl }[/math]
  • 입력: <chem>[Pt(\eta^2-C2H4)Cl3]-</chem>
출력: [math]\ce{ [Pt(\eta^2-C2H4)Cl3]- }[/math]
  • 입력: <chem>\beta +</chem>
출력: [math]\ce{ \beta + }[/math]
  • 입력: <chem>^40_18Ar + \gamma{} + \nu_e</chem>
출력: [math]\ce{ ^40_18Ar + \gamma{} + \nu_e }[/math]

12 (Italic) Math

  • 입력: <chem>NaOH(aq,$\infty$)</chem>
출력: [math]\ce{ NaOH(aq,$\infty$) }[/math]
  • 입력: <chem>Fe(CN)_{$\frac{6}{2}$}</chem>
출력: [math]\ce{ Fe(CN)_{$\frac{6}{2}$} }[/math]
  • 입력: <chem>X_{$i$}^{$x$}</chem>
출력: [math]\ce{ X_{$i$}^{$x$} }[/math]
  • 입력: <chem>X_$i$^$x$</chem>
출력: [math]\ce{ X_$i$^$x$ }[/math]

13 Italic Text

  • 입력: <chem>$cis${-}[PtCl2(NH3)2]</chem>
출력: [math]\ce{ $cis${-}[PtCl2(NH3)2] }[/math]
  • 입력: <chem>CuS($hP12$)</chem>
출력: [math]\ce{ CuS($hP12$) }[/math]

14 Upright Text, Escape Parsing

  • 입력: <chem>{Gluconic Acid} + H2O2</chem>
출력: [math]\ce{ {Gluconic Acid} + H2O2 }[/math]
  • 입력: <chem>X_{{red}}</chem>
출력: [math]\ce{ X_{{red}} }[/math]
  • 입력: <chem>{(+)}_589{-}[Co(en)3]Cl3</chem>
출력: [math]\ce{ {(+)}_589{-}[Co(en)3]Cl3 }[/math]

15 Bonds

  • 입력: <chem>C6H5-CHO</chem>
출력: [math]\ce{ C6H5-CHO }[/math]
  • 입력: <chem>A-B=C#D</chem>
출력: [math]\ce{ A-B=C#D }[/math]
  • 입력: <chem>A\bond{-}B\bond{=}C\bond{#}D</chem>
출력: [math]\ce{ A\bond{-}B\bond{=}C\bond{#}D }[/math]
  • 입력: <chem>A\bond{1}B\bond{2}C\bond{3}D</chem>
출력: [math]\ce{ A\bond{1}B\bond{2}C\bond{3}D }[/math]
  • 입력: <chem>A\bond{~}B\bond{~-}C</chem>
출력: [math]\ce{ A\bond{~}B\bond{~-}C }[/math]
  • 입력: <chem>A\bond{~--}B\bond{~=}C\bond{-~-}D</chem>
출력: [math]\ce{ A\bond{~--}B\bond{~=}C\bond{-~-}D }[/math]
  • 입력: <chem>A\bond{...}B\bond{....}C</chem>
출력: [math]\ce{ A\bond{...}B\bond{....}C }[/math]
  • 입력: <chem>A\bond{->}B\bond{<-}C</chem>
출력: [math]\ce{ A\bond{->}B\bond{<-}C }[/math]

16 Addition Compounds

  • 입력: <chem>KCr(SO4)2*12H2O</chem>
출력: [math]\ce{ KCr(SO4)2*12H2O }[/math]
  • 입력: <chem>KCr(SO4)2.12H2O</chem>
출력: [math]\ce{ KCr(SO4)2.12H2O }[/math]
  • 입력: <chem>KCr(SO4)2 * 12 H2O</chem>
출력: [math]\ce{ KCr(SO4)2 * 12 H2O }[/math]

17 Oxidation States

  • 입력: <chem>Fe^{II}Fe^{III}2O4</chem>
출력: [math]\ce{ Fe^{II}Fe^{III}2O4 }[/math]

18 Unpaired Electrons, Radical Dots

  • 입력: <chem>OCO^{.-}</chem>
출력: [math]\ce{ OCO^{.-} }[/math]
  • 입력: <chem>NO^{(2.)-}</chem>
출력: [math]\ce{ NO^{(2.)-} }[/math]

19 Kröger-Vink Notation (not supported by LaTeX/mhchem yet)

  • 입력: <chem>Li^x_{Li,1-2x}Mg^._{Li,x}$V$'_{Li,x}Cl^x_{Cl}</chem>
출력: [math]\ce{ Li^x_{Li,1-2x}Mg^._{Li,x}$V$'_{Li,x}Cl^x_{Cl} }[/math]
  • 입력: <chem>O''_{i,x}</chem>
출력: [math]\ce{ O''_{i,x} }[/math]
  • 입력: <chem>M^{..}_i</chem>
출력: [math]\ce{ M^{..}_i }[/math]
  • 입력: <chem>$V$^{4'}_{Ti}</chem>
출력: [math]\ce{ $V$^{4'}_{Ti} }[/math]
  • 입력: <chem>V_{V,1}C_{C,0.8}$V$_{C,0.2}</chem>
출력: [math]\ce{ V_{V,1}C_{C,0.8}$V$_{C,0.2} }[/math]

20 Equation Operators

입력 출력
<chem>A + B</chem> [math]\ce{ A + B }[/math]
<chem>A - B</chem> [math]\ce{ A - B }[/math]
<chem>A = B</chem> [math]\ce{ A = B }[/math]
<chem>A \pm B</chem> [math]\ce{ A \pm B }[/math]

21 Precipitate and Gas

  • 입력: <chem>SO4^2- + Ba^2+ -> BaSO4 v</chem>
출력: [math]\ce{ SO4^2- + Ba^2+ -> BaSO4 v }[/math]
  • 입력: <chem>A v B (v) -> B ^ B (^)</chem>
출력: [math]\ce{ A v B (v) -> B ^ B (^) }[/math]

22 Other Symbols and Shortcuts (not fully supported by LaTeX/mhchem yet)

  • 입력: <chem>NO^*</chem>
출력: [math]\ce{ NO^* }[/math]
  • 입력: <chem>1s^2-N</chem>
출력: [math]\ce{ 1s^2-N }[/math]
  • 입력: <chem>n-Pr</chem>
출력: [math]\ce{ n-Pr }[/math]
  • 입력: <chem>iPr</chem>
출력: [math]\ce{ iPr }[/math]
  • 입력: <chem>\ca Fe</chem>
출력: [math]\ce{ \ca Fe }[/math]
  • 입력: <chem>A, B, C; F</chem>
출력: [math]\ce{ A, B, C; F }[/math]

23 Complex Examples

  • 입력: <chem>Zn^2+ <=>[+ 2OH-][+ 2H+] $\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] $\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$</chem>
출력: [math]\ce{ Zn^2+ <=>[+ 2OH-][+ 2H+] $\underset{\text{amphoteres Hydroxid}}{\ce{Zn(OH)2 v}}$ <=>[+ 2OH-][+ 2H+] $\underset{\text{Hydroxozikat}}{\ce{[Zn(OH)4]^2-}}$ }[/math]
  • 입력: <chem>$K = \frac{[\ce{Hg^2+}][\ce{Hg}]}{[\ce{Hg2^2+}]}$</chem>
출력: [math]\ce{ $K = \frac{[\ce{Hg^2+}][\ce{Hg}]}{[\ce{Hg2^2+}]}$ }[/math]
  • 입력: <chem>$K = \ce{\frac{[Hg^2+][Hg]}{[Hg2^2+]}}$</chem>
출력: [math]\ce{ $K = \ce{\frac{[Hg^2+][Hg]}{[Hg2^2+]}}$ }[/math]
  • 입력: <chem>Hg^2+ ->[I-] $\underset{\mathrm{red}}{\ce{HgI2}}$ ->[I-] $\underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}$</chem>
출력: [math]\ce{ Hg^2+ ->[I-] $\underset{\mathrm{red}}{\ce{HgI2}}$ ->[I-] $\underset{\mathrm{red}}{\ce{[Hg^{II}I4]^2-}}$ }[/math]

24 Physical Units (pu) (MathJax only, not for LaTeX/mhchem)

  • 입력: <chem>pu 123 kJ</chem>
출력: [math]\ce{ pu 123 kJ }[/math]
  • 입력: <chem>pu 123 mm2</chem>
출력: [math]\ce{ pu 123 mm2 }[/math]
  • 입력: <chem>pu 123 J s</chem>
출력: [math]\ce{ pu 123 J s }[/math]
  • 입력: <chem>pu 123 J*s</chem>
출력: [math]\ce{ pu 123 J*s }[/math]
  • 입력: <chem>pu 123 kJ/mol</chem>
출력: [math]\ce{ pu 123 kJ/mol }[/math]
  • 입력: <chem>pu 123 kJ//mol</chem>
출력: [math]\ce{ pu 123 kJ//mol }[/math]
  • 입력: <chem>pu 123 kJ mol-1</chem>
출력: [math]\ce{ pu 123 kJ mol-1 }[/math]
  • 입력: <chem>pu 123 kJ*mol-1</chem>
출력: [math]\ce{ pu 123 kJ*mol-1 }[/math]
  • 입력: <chem>pu 1.2e3 kJ</chem>
출력: [math]\ce{ pu 1.2e3 kJ }[/math]
  • 입력: <chem>pu 1,2e3 kJ</chem>
출력: [math]\ce{ pu 1,2e3 kJ }[/math]
  • 입력: <chem>pu 1.2E3 kJ</chem>
출력: [math]\ce{ pu 1.2E3 kJ }[/math]
  • 입력: <chem>pu 1,2E3 kJ</chem>
출력: [math]\ce{ pu 1,2E3 kJ }[/math]

25 같이 보기

26 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}