## Displaying Chemical Equations

Discussions on general chemistry and chemical engineering, organic chemistry, analytical chemistry, etc.

### Displaying Chemical Equations

Here is a neat way to display chemical equations using the formula function.

Code: Select all
$$\text 2H_2O \longrightarrow[50]\limits^{elect.} 2H_2 + O_2$$

renders as:

$\text 2H_2O \longrightarrow[50]\limits^{elect.} 2H_2 + O_2$

You can also add \text at the beginning so it would read out the spaces, Hence:

Code: Select all
$$\text 2H_2O \longrightarrow[50]\limits^{elect.} 2H_2 + O_2$$

$\fs2 \text 2H_2O \longrightarrow[50]\limits^{elect.} 2H_2 + O_2$

Some more examples:

Code: Select all
1: $$A + B \rightleftharpoons C + B$$2: $$\text A + B \rightleftharpoons C + B$$3: $$\text A + B \longrightarrow^{heat} C + D$$4: $$\text A + B \longrightarrow[50]^{X + Y} C + D$$5: $$\text A + B \longrightarrow[100]^{X + Y} C + D$$6: $$\text 2X_2Y_3 + Z_3^+ \longrightarrow W_3^- + 4U^{2+}$$

1: $A + B \rightleftharpoons C + B$

2: $\text A + B \rightleftharpoons C + B$

3: $\text A + B \longrightarrow^{heat} C + D$

4: $\text A + B \longrightarrow[50]^{X + Y} C + D$

5: $\text A + B \longrightarrow[100]^{X + Y} C + D$

6: $\text 2X_2Y_3 + Z_3^+ \longrightarrow W_3^- + 4U^{2+}$

If you dont include "\text" at the beginning, the text comes out italicized.

Full manual for the script can be found here.