Math Equations¶
Stratum supports LaTeX math equations rendered with KaTeX — both inline and display mode.
Inline Math¶
Wrap LaTeX in $...$ for inline equations:
Renders as: The quadratic formula is $x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$.
Display Math¶
Use $$...$$ for centered display equations:
Or larger expressions:
Math Editor Modal¶
For complex equations, use the math editor:
- Type inline math
$...$or display math$$...$$ - Click the math to open the editor
- Edit the LaTeX in the text area
- Live preview updates as you type
- Press
Ctrl+Enterto save orEscapeto cancel
Symbol Palette¶
The math editor includes a Symbol Palette for common LaTeX symbols, organized by category:
| Category | Examples |
|---|---|
| Greek | \alpha, \beta, \gamma, \pi |
| Operators | \sum, \prod, \int, \lim |
| Relations | \leq, \geq, \neq, \approx |
| Arrows | \to, \Rightarrow, \mapsto |
| Brackets | \{, \}, \langle, \rangle |
| Calculus | \partial, \nabla, \infty |
Click a symbol to insert it at the cursor position in the LaTeX editor.
Examples¶
Linear algebra¶
Calculus¶
Set theory¶
Tips¶
- Use
$...$for inline math within paragraphs - Use
$$...$$for standalone equations on their own line - The symbol palette saves time — explore it when writing complex expressions
- Ctrl+Click on rendered math to edit directly