LaTeX-to-typst Cheat Sheet

Lowercase Greek Letters

LaTeXPreviewTypst
\alphaalpha
\betabeta
\gammagamma
\deltadelta
\epsilonepsilon.alt
\zetazeta
\etaeta
\thetatheta
\iotaiota
\kappakappa
\lambdalambda
\mumu
\nunu
\xixi
\omicronomicron
\pipi
\rhorho
\sigmasigma
\tautau
\upsilonupsilon
\phiphi.alt
\chichi
\psipsi
\omegaomega
\varepsilonepsilon
\varthetatheta.alt
\varpipi.alt
\varrhorho.alt
\varsigmasigma.alt
\varphiphi

Uppercase Greek Letters

LaTeXPreviewTypst
\GammaGamma
\DeltaDelta
\ThetaTheta
\LambdaLambda
\XiXi
\PiPi
\SigmaSigma
\UpsilonUpsilon
\PhiPhi
\PsiPsi
\OmegaOmega

Integral

LaTeX
\int_a^b f(x) \mathrm{d} x
Preview
Typst
integral_a^b f(x) dif x
LaTeXPreviewTypst
\intintegral
\ointintegral.cont
\iintintegral.double
\oiintintegral.surf
\iiintintegral.triple
\oiiintintegral.vol

Fonts

LaTeXPreviewTypst
\boldsymbol{A}bold(A)
\mathbb{A}AA
\mathbf{A}upright(bold(A))
\mathcal{A}cal(A)
\mathit{A}italic(A)
\mathfrak{A}frak(A)
\mathrm{A}upright(A)
\mathsf{A}sans(A)
\mathtt{A}mono(A)

\mathsrc: There is no native Typst equivalent for the LaTeX macro \mathsrc. See this for a workaround.

Arrows

LaTeXPreviewTypst (Textual)Typst (Shorthand)
\leftarrow arrow.l <-
\gets arrow.l <-
\rightarrow arrow.r ->
\to arrow.r ->
\leftrightarrow arrow.l.r <->
\Leftarrow arrow.l.double
\Rightarrow arrow.r.double =>
\Leftrightarrow arrow.l.r.double <=>
\mapsto arrow.r.bar |->
\hookleftarrow arrow.l.hook
\leftharpoonup harpoon.lt
\leftharpoondown harpoon.lb
\rightleftharpoons harpoons.rtlb
\longleftarrow arrow.l.long <--
\longrightarrow arrow.r.long -->
\longleftrightarrow arrow.l.r.long <-->
\Longleftarrow arrow.l.double.long <==
\Longrightarrow arrow.r.double.long ==>
\Longleftrightarrow arrow.l.r.double.long <==>
\longmapsto arrow.r.long.bar
\hookrightarrow arrow.r.hook
\rightharpoonup harpoon.rt
\rightharpoondown harpoon.rb
\iff arrow.l.r.double.long <==>
\implies arrow.r.double.long ==>
\uparrow arrow.t
\downarrow arrow.b
\updownarrow arrow.t.b
\Uparrow arrow.t.double
\Downarrow arrow.b.double
\Updownarrow arrow.t.b.double
\nearrow arrow.tr
\searrow arrow.br
\swarrow arrow.bl
\nwarrow arrow.tl
\leadsto arrow.r.squiggly ~>
\leftleftarrows arrows.ll
\rightrightarrows arrows.rr

Set and Elements

LaTeXPreviewTypst
\inin
\subsetsubset
\subseteqsubset.eq
\supsetsupset
\supseteqsupset.eq
\varnothingdiameter

Non-mathematical Symbols

LaTeXPreviewTypst
\$\$
\poundspound
\yenyen
\copyrightcopyright
\Ssection
\Ppilcrow

Miscellaneous Symbols

LaTeXPreviewTypst (Textual)Typst (Shorthand)
\Cap sect.double
\Cup union.double
\Join join
\aleph alef
\angle angle
\approx approx
\approxeq approx.eq
\ast ast
\bigcap sect.big
\bigcirc circle.big
\bigcup union.big
\bigodot dot.circle.big
\bigoplus xor.big
\bigotimes times.circle.big
\bigsqcup union.sq.big
\bigtriangledown triangle.b
\bigtriangleup triangle.t
\biguplus union.plus.big
\bigvee or.big
\bigwedge and.big
\bullet bullet
\cap sect
\cdot dot.op
\cdots dots.c
\checkmark checkmark
\circ circle.small
\colon colon
\cong tilde.equiv
\coprod product.co
\cup union
\curlyvee or.curly
\curlywedge and.curly
\dagger dagger
\dashv tack.l
\ddagger dagger.double
\ddots dots.down
\diamond diamond
\div div
\divideontimes times.div
\dotplus plus.dot
\ell ell
\emptyset nothing
\equiv equiv
\exists exists
\forall forall
\ge gt.eq >=
\geq gt.eq >=
\geqslant gt.eq.slant
\gg gt.double >>
\hbar planck.reduce
\imath dotless.i
\infty infinity oo
\intercal top
\jmath dotless.j
\land and
\langle angle.l
\lbrace brace.l
\lbrack bracket.l
\ldots dots.l
\le lt.eq <=
\leftthreetimes times.three.l
\leq lt.eq <=
\leqslant lt.eq.slant
\lhd triangle.l
\ll lt.double <<
\ltimes times.l
\measuredangle angle.arc
\mid divides
\models models
\mp minus.plus
\nRightarrow arrow.double.not
\nabla nabla
\ncong tilde.nequiv
\ne eq.not !=
\neg not
\neq eq.not !=
\nexists exists.not
\ngeq gt.eq.not
\ni in.rev
\nleftarrow arrow.l.not
\nleq lt.eq.not
\nparallel parallel.not
\nmid divides.not
\notin in.not
\nrightarrow arrow.not
\nsim tilde.not
\nsubseteq subset.eq.not
\ntriangleleft lt.tri.not
\ntriangleright gt.tri.not
\odot dot.circle
\ominus minus.circle
\oplus xor
\otimes times.circle
\parallel parallel
\partial diff
\perp perp
\pm plus.minus
\prec prec
\preceq prec.eq
\prime prime
\prod product
\propto prop
\rangle angle.r
\rbrace brace.r
\rbrack bracket.r
\rhd triangle
\rightthreetimes times.three.r
\rtimes times.r
\setminus without
\sim tilde
\simeq tilde.eq
\smallsetminus without
\spadesuit suit.spade
\sqcap sect.sq
\sqcup union.sq
\sqsubseteq subset.eq.sq
\sqsupseteq supset.eq.sq
\star star
\subsetneq subset.neq
\succ succ
\succeq succ.eq
\sum sum
\supsetneq supset.neq
\times times
\top top
\triangle triangle.t
\triangledown triangle.b.small
\triangleleft triangle.l.small
\triangleright triangle.r.small
\twoheadrightarrow arrow.r.twohead ->>
\upharpoonright harpoon.tr
\uplus union.plus
\vdash tack.r
\vdots dots.v
\vee or
\wedge and
\wr wreath

Handling macros unsupported by Typst

There is not always a Typst equivalent for every LaTeX macro. This post provides a list of those counterexamples and corresponding workarounds.