Coffee Help
All topics

Help Maths and diagrams

Chemistry and numbered equations

MaciPhone and iPad

Write chemistry with \ce{} inside a formula: formulas, charges, states and reaction arrows. \tag{1} puts a number beside a display equation.

Chemistry with \ce{}, and an equation numbered with \tag{1}.
Chemistry with \ce{}, and an equation numbered with \tag{1}.

How to write a reaction

  1. Open a formula with $$, or use $…$ inside a sentence.
  2. Write the reaction inside \ce{}, such as \ce{2H2 + O2 -> 2H2O}.
  3. Close the formula. Coffee draws the formulas and the arrow.

How to number an equation

Add \tag{1} at the end of a display equation, with the number you want.

Example

In Markdown
$$
\ce{2H2 + O2 -> 2H2O} \tag{1}
$$

Good to know

Numbers are only ever written by hand. Coffee doesn't count equations for you, so \tag{2} is up to you.

Not what you needed? Write to a person.