Math & LaTeX
Circuitry supports mathematical formulas using LaTeX syntax. You can write equations inline with your text or as separate block formulas.
Quick Start Tutorial
Write Your First Formula
- 1Open or create a Text Node in your workflow
- 2Type
$$x^2$$ - 3The formula renders automatically:
Syntax Reference
| Format | When to Use | Example |
|---|---|---|
$$...$$ | Inline math (within text) | $$x^2$$ |
$$$...$$$ | Block math (on its own line) | $$$\sum_{i=1}^n x_i$$$ |
Pasting from Other Sources
When you paste or load content, Circuitry automatically recognizes math formulas from:
Jupyter/Colab:
$...$ (inline) and $$...$$ (block)ChatGPT:
\(...\) (inline) and \[...\] (block)Inline Math Examples
Type these with $$...$$ to embed formulas in your text.
Superscript / Exponent
$$x^2$$Multi-character exponent (use braces)
$$x^{10}$$Subscript
$$x_i$$Multi-character subscript
$$x_{max}$$Fraction
$$\frac{a}{b}$$Square root
$$\sqrt{x}$$Cube root (nth root)
$$\sqrt[3]{x}$$Greek letters
$$\alpha, \beta, \pi, \theta$$Einstein's equation
$$E = mc^2$$Block Math Examples
Type these with $$$...$$$ for standalone equations.
Summation
$$$\sum_{i=1}^n x_i$$$Integration
$$$\int_0^\infty f(x)\,dx$$$Quadratic formula
$$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$$Limit
$$$\lim_{x \to \infty} \frac{1}{x} = 0$$$Matrix
$$$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$$$Where Math Formulas Work
- ✓Text Nodes - Full editing and rendering support
- ✓Chat Nodes - AI responses render math automatically
Tips
- •Use braces
{}to group multi-character superscripts and subscripts - •Add
\,for thin spaces in formulas (e.g., before dx in integrals) - •Use
\text{word}to include regular text in formulas