Connecting to dev server...

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

  1. 1Open or create a Text Node in your workflow
  2. 2Type $$x^2$$
  3. 3The formula renders automatically:
x2x^2

Syntax Reference

FormatWhen to UseExample
$$...$$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$$
x2x^2

Multi-character exponent (use braces)

$$x^{10}$$
x10x^{10}

Subscript

$$x_i$$
xix_i

Multi-character subscript

$$x_{max}$$
xmaxx_{max}

Fraction

$$\frac{a}{b}$$
ab\frac{a}{b}

Square root

$$\sqrt{x}$$
x\sqrt{x}

Cube root (nth root)

$$\sqrt[3]{x}$$
x3\sqrt[3]{x}

Greek letters

$$\alpha, \beta, \pi, \theta$$
α,β,π,θ\alpha, \beta, \pi, \theta

Einstein's equation

$$E = mc^2$$
E=mc2E = mc^2

Block Math Examples

Type these with $$$...$$$ for standalone equations.

Summation

$$$\sum_{i=1}^n x_i$$$
i=1nxi\sum_{i=1}^n x_i

Integration

$$$\int_0^\infty f(x)\,dx$$$
0f(x)dx\int_0^\infty f(x)\,dx

Quadratic formula

$$$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$$$
x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2-4ac}}{2a}

Limit

$$$\lim_{x \to \infty} \frac{1}{x} = 0$$$
limx1x=0\lim_{x \to \infty} \frac{1}{x} = 0

Matrix

$$$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$$$
(abcd)\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