Thursday, January 26, 2017

Menulis Gambar Rumus Rantai Ikatan Struktur Isomer Kimia (Chemistry Bond) dsb di blog/website

<!--Komen: awas diatas baris ini ada script MathJax lho-->

$\ce{CH3 \; \; \; - \; \; \; C \; \; \; = \; \; \; CH3} \\
\phantom{\ce{CH3 \; \; \; - \; \; \; }} \ce{\; ǀ} \\
\phantom{\ce{CH3 \; \; \; - \; \;}} \ce{CH3}$
Kodenya:
\$\ce{CH3 \; \; \; - \; \; \; C \; \; \; = \; \; \; CH3} \\<br />
\phantom{\ce{CH3 \; \; \; - \; \; \; }} \ce{\; ǀ} \\<br />
\phantom{\ce{CH3 \; \; \; - \; \;}} \ce{CH3}\$



$\ce{CH3 \; \; \; - \; \; \; CH \; \; \; - \; \; \; CH3} \\
\phantom{\ce{CH3 \; \; \; - \; \; \; \;}} \ce{\; ǀ} \\
\phantom{\ce{CH3 \; \; \; - \; \; \;}} \ce{CH3}$
Kodenya:
\$\ce{CH3 \; \; \; - \; \; \; CH \; \; \; - \; \; \; CH3} \\
\phantom{\ce{CH3 \; \; \; - \; \; \; \;}} \ce{\; ǀ} \\
\phantom{\ce{CH3 \; \; \; - \; \; \;}} \ce{CH3}\$


Karakter standar yang digunakan:
ǀ LATIN LETTER DENTAL CLICK $\ce{ǀ}$
ǀǀ LATIN LETTER DENTAL CLICK $\ce{ǀǀ}$
ǁ LATIN LETTER LATERAL CLICK $\ce{ǁ}$
- HYPHEN MINUS $\ce{-}$
= EQUAL SIGN $\ce{=}$



Contoh lainnya:

$\ce{- \; \; \; C \; \; \; = \; \; \; O} \\
\phantom{\ce{- \; \; \; \;}} ǀ  \\
\phantom{\ce{- \; \; \;}} \ce{H}$
Kodenya:
\$\ce{- \; \; \; C \; \; \; = \; \; \; O} \\
\phantom{\ce{- \; \; \; \;}} ǀ  \\
\phantom{\ce{- \; \; \;}} \ce{H}\$



$\ce{- \; \; \; C \; \; \; = \; \; \; O} \\
\phantom{\ce{- \; \; \; \;}} ǀ  \\
\phantom{\ce{- \; \; }} \ce{OH}$
Kodenya:
\$\ce{- \; \; \; C \; \; \; = \; \; \; O} \\
\phantom{\ce{- \; \; \; \;}} ǀ  \\
\phantom{\ce{- \; \; }} \ce{OH}\$



$\ce{- \; \; \; O \; \; \; -}$
Kodenya:
\$\ce{- \; \; \; O \; \; \; -}\$



$\ce{- \; \; \; C \; \; \; -} \\
\phantom{\ce{- \; \; \; \,}} ǀǀ  \\
\phantom{\ce{- \; \; \;}} \ce{O}$
Kodenya:
\$\ce{- \; \; \; C \; \; \; -} \\
\phantom{\ce{- \; \; \; \,}} ǀǀ  \\
\phantom{\ce{- \; \; \;}} \ce{O}\$



$\ce{- \; \; OH}$
Kodenya:
\$\ce{- \; \; OH}\$



$\ce{CH2 \; \; \; = \; \; \; CH \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}$
Kodenya: 
\$\ce{CH2 \; \; \; = \; \; \; CH \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}\$



$\ce{CH3 \; \; \; - \; \; \; CH \; \; \; = \; \; \; CH \; \; \; - \; \; \; CH3}$
Kodenya: 
\$\ce{CH3 \; \; \; - \; \; \; CH \; \; \; = \; \; \; CH \; \; \; - \; \; \; CH3}\$



$\ce{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}$
Kodenya: 
\$\ce{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}\$



$\ce{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}$
Kodenya: 
\$\ce{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}\$



$\ce{CH3 \; \; \; - \; \; \; CH3}$
Kodenya:
\$\ce{CH3 \; \; \; - \; \; \; CH3}\$



$\ce{\phantom{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \;} CH3 \\
\phantom{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; \; \;} ǀ \\
CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}$
Kodenya:
\$\ce{\phantom{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \;} CH3 \\
\phantom{CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; \; \;} ǀ \\
CH3 \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3}\$



$\ce{\phantom{CH3 \; \; \; - \; \; } CH3 \\
\phantom{CH3 \; \; \; - \; \; \;\; } ǀ \\
CH3 \; \; \; - \; \; \; C \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3 \\
\phantom{CH3 \; \; \; - \; \; \;\; } ǀ \\
\phantom{CH3 \; \; \; - \; \; } CH3}$
Kodenya:
\$\ce{\phantom{CH3 \; \; \; - \; \; } CH3 \\
\phantom{CH3 \; \; \; - \; \; \;\; } ǀ \\
CH3 \; \; \; - \; \; \; C \; \; \; - \; \; \; CH2 \; \; \; - \; \; \; CH3 \\
\phantom{CH3 \; \; \; - \; \; \;\; } ǀ \\
\phantom{CH3 \; \; \; - \; \; } CH3}\$



$\ce{
\phantom{
CH2 \;\, = \;\,CH \;\, - \;\;} Cl \\
\phantom{
CH2 \;\, = \;\,CH \;\, - \;\;\;\,} ǀ \\
CH2 \;\, = \;\,CH \;\, - \;\, CH \;\, - \;\, CH3} $
Kodenya:
\$\ce{
\phantom{
CH2 \;\, = \;\,CH \;\, - \;\;} Cl \\
\phantom{
CH2 \;\, = \;\,CH \;\, - \;\;\;\,} ǀ \\
CH2 \;\, = \;\,CH \;\, - \;\, CH \;\, - \;\, CH3} \$



Catatan:
agar kode rumus MathJax diatas dapat dirender/ditampilkan maka kita harus memasang terlebih dahuli script MathJax dan extensi mhchem. Info lebih lanjut silakan klik disini

Tes Ekstensi mhchem (Rumus KIMIA di MathJax)

 <!--Komen: awas diatas baris ini ada script MathJax lho-->

Berikut ini adalah script dasar MathJax:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

Berikut ini  adalah script ekstensi mhchem:
TeX: {
  extensions: ["mhchem.js"]
}

Sehingga pada script seluruhnya menjadi:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
MathJax.Hub.Config({
  TeX: {
    extensions: ["mhchem.js"]
}
});
</script>
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
atau bisa juga ditulis seperti ini:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {
             inlineMath: [['$','$'], ['\\(','\\)']]
           },
  TeX: {
         extensions: ["mhchem.js"]
       }
});
</script>

<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
TES RUMUS KIMIA

\ce{C6H5-CHO}
$\ce{C6H5-CHO}$


\ce{SO4^2- + Ba^2+ -> BaSO4 v}
$\ce{SO4^2- + Ba^2+ -> BaSO4 v}$


\ce{2HBr + H2SO4  Br2 + SO2 + 2H2O}
$\ce{2HBr + H2SO4 → Br2 + SO2 + 2H2O}$


\ce{Al3(aq) + 3H2O(l) Al(OH)3(s) + 3H+(aq)}
$\ce{Al3(aq) + 3H2O(l) ⇄ Al(OH)3(s) + 3H+(aq)}$


\ce{Kc} = {\displaystyle\frac{\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3}{\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]}}
$\ce{Kc} = {\displaystyle\frac{\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3}{\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]}}$


\ce{Kc} = {\displaystyle{{\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]}}}
$\ce{Kc} = {\displaystyle{{\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]}}}$


\ce{Kc} = {\displaystyle{{\Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]^3}}}
$\ce{Kc} = {\displaystyle{{\Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]^3}}}$


\ce{Kc} = {\displaystyle{{\Big[ \ce{A} \Big] \Big[ \ce{B} \Big]} \over {\Big[ \ce{C} \Big] \Big[ \ce{D} \Big]}}}
$\ce{Kc} = {\displaystyle{{\Big[ \ce{A} \Big] \Big[ \ce{B} \Big]} \over {\Big[ \ce{C} \Big] \Big[ \ce{D} \Big]}}}$


\ce{Kc} = {\displaystyle{{\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]} \over {\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3}}}
$\ce{Kc} = {\displaystyle{{\Big[ \ce{Al^3+} \Big] \Big[ \ce{H2O} \Big]} \over {\Big[ \ce{Al(OH)3} \Big] \Big[ \ce{H+} \Big]^3}}}$


\ce{Kc} = {\displaystyle{{\Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big]}}}
$\ce{Kc} = {\displaystyle{{\Big[ \ce{H+} \Big]^3} \over {\Big[ \ce{Al^3+} \Big]}}}$


\ce{Kc} = {\displaystyle\frac{\Big[ \ce{Al(OH)3} \Big]}{\Big[ \ce{H2} \Big]}}
$\ce{Kc} = {\displaystyle\frac{\Big[ \ce{Al(OH)3} \Big]}{\Big[ \ce{H2} \Big]}}$