Formula block
The Formula block lets you insert mathematical expressions using LaTeX notation.
Block fields
| Field | Type | Required | Notes |
|---|---|---|---|
title | string | Yes | Descriptive label for the formula |
latex | string | Yes | Formula written in LaTeX syntax |
LaTeX examples
| Expression | LaTeX |
|---|---|
| Quadratic formula | x = \\frac{-b \\pm \\sqrt{b^2 - 4ac}}{2a} |
| Mass-energy equivalence | E = mc^2 |
| Pythagorean theorem | a^2 + b^2 = c^2 |
| Euler identity | e^{i\\pi} + 1 = 0 |
| Integral | \\int_{a}^{b} f(x)\\,dx |
| Summation | \\sum_{n=1}^{\\infty} \\frac{1}{n^2} = \\frac{\\pi^2}{6} |
You do not need to wrap formulas in $...$ or \\[...\\] delimiters.
Tips
- Use concise titles. Label the formula by concept name.
- Check symbols carefully. Small LaTeX mistakes change meaning.
- Keep expressions canonical. Prefer standard textbook notation when possible.