LaTeX-to-typst Cheat Sheet

(WIP: This page is currently under construction...)

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
\leftarrow<-
\gets<-
\rightarrow->
\to->
\leftrightarrow<->
\Leftarrowarrow.l.double
\Rightarrow=>
\Leftrightarrow<=>
\mapsto|->
\hookleftarrowarrow.l.hook
\leftharpoonupharpoon.lt
\leftharpoondownharpoon.lb
\rightleftharpoonsharpoons.rtlb
\longleftarrow<--
\longrightarrow-->
\longleftrightarrow<-->
\Longleftarrow<==
\Longrightarrow==>
\Longleftrightarrow<==>
\longmapstoarrow.r.long.bar
\hookrightarrowarrow.r.hook
\rightharpoonupharpoon.rt
\rightharpoondownharpoon.rb
\iff<==>
\implies==>
\uparrowarrow.t
\downarrowarrow.b
\updownarrowarrow.t.b
\Uparrowarrow.t.double
\Downarrowarrow.b.double
\Updownarrowarrow.t.b.double
\nearrowarrow.tr
\searrowarrow.br
\swarrowarrow.bl
\nwarrowarrow.tl
\leadstoarrow.squiggly
\leftleftarrowsarrows.ll
\rightrightarrowsarrows.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
\Capsect.double
\Cupunion.double
\Joinjoin
\alephalef
\angleangle
\approxapprox
\approxeqapprox.eq
\astast
\bigcapsect.big
\bigcirccircle.big
\bigcupunion.big
\bigodotdot.circle.big
\bigoplusxor.big
\bigotimestimes.circle.big
\bigsqcupunion.sq.big
\bigtriangledowntriangle.b
\bigtriangleuptriangle.t
\biguplusunion.plus.big
\bigveeor.big
\bigwedgeand.big
\bulletbullet
\capsect
\cdotdot.op
\cdotsdots.c
\checkmarkcheckmark
\circcircle.small
\coloncolon
\congtilde.equiv
\coprodproduct.co
\cupunion
\curlyveeor.curly
\curlywedgeand.curly
\daggerdagger
\dashvtack.l
\ddaggerdagger.double
\ddotsdots.down
\diamonddiamond
\divdiv
\divideontimestimes.div
\dotplusplus.dot
\ellell
\emptysetnothing
\equivequiv
\existsexists
\forallforall
\gegt.eq
\geqgt.eq
\geqslantgt.eq.slant
\gggt.double
\hbarplanck.reduce
\imathdotless.i
\inftyinfinity
\intercaltop
\jmathdotless.j
\landand
\langleangle.l
\lbracebrace.l
\lbrackbracket.l
\ldotsdots.l
\lelt.eq
\leftthreetimestimes.three.l
\leqlt.eq
\leqslantlt.eq.slant
\lhdtriangle.l
\lllt.double
\ltimestimes.l
\measuredangleangle.arc
\middivides
\modelsmodels
\mpminus.plus
\nRightarrowarrow.double.not
\nablanabla
\ncongtilde.nequiv
\neeq.not
\negnot
\neqeq.not
\nexistsexists.not
\ngeqgt.eq.not
\niin.rev
\nleftarrowarrow.l.not
\nleqlt.eq.not
\nparallelparallel.not
\nmiddivides.not
\notinin.not
\nrightarrowarrow.not
\nsimtilde.not
\nsubseteqsubset.eq.not
\ntriangleleftlt.tri.not
\ntrianglerightgt.tri.not
\odotdot.circle
\ominusminus.circle
\oplusxor
\otimestimes.circle
\parallelparallel
\partialdiff
\perpperp
\pmplus.minus
\precprec
\preceqprec.eq
\primeprime
\prodproduct
\proptoprop
\rangleangle.r
\rbracebrace.r
\rbrackbracket.r
\rhdtriangle
\rightthreetimestimes.three.r
\rtimestimes.r
\setminuswithout
\simtilde
\simeqtilde.eq
\smallsetminuswithout
\spadesuitsuit.spade
\sqcapsect.sq
\sqcupunion.sq
\sqsubseteqsubset.eq.sq
\sqsupseteqsupset.eq.sq
\starstar
\subsetneqsubset.neq
\succsucc
\succeqsucc.eq
\sumsum
\supsetneqsupset.neq
\timestimes
\toptop
\triangletriangle.t
\triangledowntriangle.b.small
\trianglelefttriangle.l.small
\trianglerighttriangle.r.small
\twoheadrightarrowarrow.r.twohead
\upharpoonrightharpoon.tr
\uplusunion.plus
\vdashtack.r
\vdotsdots.v
\veeor
\wedgeand
\wrwreath

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.