Typst vs LaTeX Math Cheatsheet
Direct side-by-side comparison of standard LaTeX math commands to modern Typst equivalents. Click either command button on any symbol card to copy instantly.
Key Syntax Translation Rules at a Glance
Greek letters drop the backslash
Fractions use natural slash notation
Radicals use function syntax
Clean sub/superscripts
Concise semicolons for rows
Blackboard bold uses double letters
Migrating from LaTeX to Typst
Typst keeps LaTeX's math model — dollar-sign math mode, subscripts with_, superscripts with^ — but replaces backslash commands with plain identifiers and functions. Greek letters drop the backslash (\alpha becomesalpha), fractions become natural division (\frac{a}{b} becomesa / b), and radicals become functions (\sqrt{x} becomessqrt(x)).
Environments become function calls with different separators. A LaTeX matrix like\begin{pmatrix} a & b \\ c & d \end{pmatrix} becomesmat(a, b; c, d) — commas separate columns, semicolons separate rows. Integrals keep the subscript pattern (integral_(a)^(b) f(x) dif x), and blackboard bold uses double letters (RR,CC) instead of\mathbb{R}.
The practical migration path: use this cheatsheet's per-card copy buttons to translate symbol by symbol, and keep LaTeX for journal submissions while drafting in Typst. Most journals still require LaTeX, but Typst compiles in milliseconds with far better error messages — so drafting in Typst and converting at submission time is a workflow many researchers now prefer.
Typst & LaTeX Comparison FAQ
How do Greek letters differ between LaTeX and Typst?▼
In LaTeX, Greek letters require a leading backslash (\alpha, \beta, \gamma). In Typst, symbols are standard identifiers written without backslashes: alpha, beta, gamma. Uppercase letters in both systems capitalize the first letter: \Delta in LaTeX vs Delta in Typst.
How do fractions and integrals differ in Typst?▼
In LaTeX, you write \frac{numerator}{denominator} and \int_{a}^{b} f(x) \, dx. In Typst, fractions use simple slash notation: (a + b) / (c + d), and integrals use integral_(a)^(b) f(x) dif x.
How do matrices work in Typst compared to LaTeX?▼
LaTeX requires explicit environment blocks like \begin{pmatrix} ... \end{pmatrix} with ampersands and double backslashes. Typst uses a clean function: mat(1, 0; 0, 1) where commas separate columns and semicolons separate rows.
Can I copy both LaTeX and Typst syntax from this cheatsheet?▼
Yes! Every symbol card provides distinct 1-click copy buttons for both the LaTeX command and the modern Typst equivalent.