Maths and chemistry
Write equations, symbols and chemical formulas on your cards and in your notes, with a full reference of the symbols worth knowing.
1How to write a formula
Wrap maths in dollar signs and it is typeset for you, on a card face and in a notebook page alike.
There are three ways in, and you rarely need more. Put single dollars around something to keep it in the sentence, double dollars to give it a line of its own, and chemistry needs no dollars at all.
- Inline: “The energy is $E = mc^2$ exactly.” — the formula sits in the sentence.
- On its own line: “$$\int_0^1 x\,dx = \frac{1}{2}$$” — centred, with room around it.
- Chemistry: “Titrate \ce{H2SO4} slowly.” — \ce{...} needs no dollar signs.
Wrap only the maths, not the whole sentence. “$The energy is E=mc^2$” comes out as one long italic run; “The energy is $E = mc^2$” reads properly.
2Finding a symbol without leaving your card
You do not have to memorise any of this. Every card face has a Help button beside its formatting buttons.
Press it, type what you are after in plain words, and pick the row you want, it goes straight into the card at your cursor. Searching “sigma”, “add up” or even “how do I insert a sigma symbol” all reach the same place.
In a notebook page the three formula buttons sit in the same toolbar as bold and italic. The syntax is identical, so everything below applies to both.
Looking for ∑ but not sure what it is called? Type “add up”. Looking for ⇌ ? Type “equilibrium”.
3The maths you will use most
Fractions, powers and roots cover most of what a card needs. Everything below is typed inside dollar signs.
Capitalise a Greek letter's command to get the capital: \delta is δ and \Delta is Δ.
The basics
Fractions, powers and roots — the four or five you will use on almost every card.
| Looks like | Type this | What it is |
|---|---|---|
\frac{a}{b} | Fraction | |
x^{2} | Power (superscript) | |
x_{1} | Subscript | |
\sqrt{x} | Square root | |
\sqrt[3]{x} | Cube or nth root | |
3.0 \times 10^{8} | Scientific notation |
Operators and comparisons
Multiplying, comparing and approximating.
| Looks like | Type this | What it is |
|---|---|---|
\times | Multiply (cross) | |
\cdot | Multiply (dot) | |
\div | Divide | |
\pm | Plus or minus | |
\neq | Not equal to | |
\approx | Approximately equal to | |
\leq | Less than or equal to | |
\geq | Greater than or equal to | |
\propto | Proportional to | |
\equiv | Identically equal to | |
90^{\circ} | Degrees | |
\therefore | Therefore |
Greek letters
Capitalise the command to get the capital letter: \alpha is α, \Delta is Δ.
| Looks like | Type this | What it is |
|---|---|---|
\alpha | Alpha | |
\beta | Beta | |
\gamma | Gamma | |
\delta | Delta (small) | |
\Delta | Delta (capital) | |
\theta | Theta | |
\lambda | Lambda | |
\mu | Mu | |
\pi | Pi | |
\rho | Rho | |
\sigma | Sigma (small) | |
\Sigma | Sigma (capital) | |
\phi | Phi | |
\omega | Omega (small) | |
\Omega | Omega (capital) |
4Calculus, vectors and multi-line formulas
For anything with a limit, an integral or a grid in it. These are worth putting on their own line with double dollars, because they are taller than a line of text.
Sums, integrals and rates of change
The big operators, and the notation for differentiating and integrating.
| Looks like | Type this | What it is |
|---|---|---|
\sum_{i=1}^{n} x_i | Summation | |
\sum | Summation sign on its own | |
\prod_{i=1}^{n} x_i | Product | |
\int_{a}^{b} f(x)\,dx | Integral | |
\frac{dy}{dx} | Derivative | |
\frac{\partial f}{\partial x} | Partial derivative | |
\lim_{x \to 0} | Limit | |
\nabla | Nabla (gradient operator) | |
\infty | Infinity |
Sets and vectors
Membership, number sets, and the notation for a vector quantity.
| Looks like | Type this | What it is |
|---|---|---|
x \in A | Element of | |
A \cup B, \; A \cap B | Union and intersection | |
A \subset B | Subset | |
\emptyset | Empty set | |
\mathbb{R} | Number sets | |
\vec{v} | Vector | |
\hat{n} | Unit vector (hat) | |
\overline{x} | Bar or mean | |
\lvert x \rvert | Absolute value |
Matrices and multi-line formulas
Where a formula needs a grid or a branch. These are worth putting on their own line.
| Looks like | Type this | What it is |
|---|---|---|
\begin{pmatrix} a & b \\ c & d \end{pmatrix} | Matrix | |
\begin{vmatrix} a & b \\ c & d \end{vmatrix} | Determinant | |
f(x) = \begin{cases} 1 & x > 0 \\ 0 & x \leq 0 \end{cases} | Piecewise (cases) | |
\binom{n}{k} | Binomial coefficient |
Arrows and logic
For reasoning steps, mappings and processes.
| Looks like | Type this | What it is |
|---|---|---|
\to | Arrow (gives, tends to) | |
\Rightarrow | Implies | |
\Leftrightarrow | If and only if | |
\uparrow \downarrow | Increases / decreases |
5Chemistry
Chemistry has its own shorthand, and it is far kinder than writing it as maths. Inside \ce{...} numbers drop to subscripts on their own, arrows are typed as you would say them, and charges and states come out right.
You do not need dollar signs around \ce{...}, though it works inside them too.
“\ce{CaCO3 ->[\Delta] CaO + CO2 ^}” gives you the reaction, the heat above the arrow, and the gas symbol.
Chemistry
Chemistry uses \ce{...} and needs no dollar signs around it. Numbers drop to subscripts on their own.
| Looks like | Type this | What it is |
|---|---|---|
\ce{H2SO4} | Chemical formula | |
\ce{2H2 + O2 -> 2H2O} | Reaction | |
\ce{N2 + 3H2 <=> 2NH3} | Reversible reaction | |
\ce{CaCO3 ->[\Delta] CaO + CO2} | Conditions over the arrow | |
\ce{NaCl(aq) + AgNO3(aq)} | State symbols | |
\ce{SO4^2-} | Ion charge | |
\ce{^{14}_{6}C} | Isotope | |
\ce{CO2 ^}, \; \ce{AgCl v} | Gas released or precipitate |
Words and units inside a formula
Anything that is a word rather than a variable needs saying so, or it comes out italic.
| Looks like | Type this | What it is |
|---|---|---|
v = 5\;\text{m/s} | Words inside maths | |
5\,\text{kg} | Small space | |
25^{\circ}\text{C} | Degrees Celsius | |
45\% | Percent |
6When a dollar sign is just money
Prices are safe. A card that says “it cost $5 and $10 in total” stays exactly that, because a formula is only recognised when it looks like one.
The rules are simple: what is inside the dollars cannot start or end with a space, an inline formula cannot run past the end of its line, and a closing dollar cannot be followed by a digit. If you ever need a literal dollar next to a formula, write it as \$.
If something you wrote is coming out italic and squashed, you have almost certainly opened a formula by accident. Look for an unpaired dollar sign earlier in the same line.
7What your phone shows
Formulas are stored as the characters you typed, not as a separate hidden attachment. That is deliberate, and it is what keeps your work safe to edit anywhere.
Typesetting is on the web for now. Open the same card or page on Android or iOS and you will see the source, “$E = mc^2$”, which you can still read, edit and sync without breaking anything. When you next open it on the web it is typeset again.
Because the formula is ordinary text, everything else still works on it: search finds it, and the phone apps sync it like anything else you have written.