Using Desmos: TeX (LaTeX) Command Reference
Created: 2025/3/29
Last Update: 2025/3/31

This is a list of TeX\TeX (LaTeX\LaTeX) commands that can be used in Desmos labels and expressions. Basically, most standard TeX\TeX commands are supported, but some are not, and there are also a few commands unique to Desmos.

Some of them don't seem to have any clear purpose or aren't obviously supported, but this list includes all commands that Desmos recognizes.

When using TeX\TeX in labels, enclose the relevant part in ` (backticks). For more details, please refer to this article.

Using Desmos: Points (Labels) and Vectors

Also, note that some commands may not be recognized properly when used within expressions.

Greek Letters

All of these work properly within expressions and can be used as variables, etc.

OutputCommandNotes
α\alpha\alpha \α
β\beta\beta \β
γ\gamma\gamma \γ
Γ\Gamma\Gamma \Γ
ϝ\digamma\digamma \Gammad \gammad \Ϝ
δ\delta\delta \δ
Δ\Delta\Delta \Δ
ϵ\epsilon\epsilon \ϵ
ε\varepsilon\varepsilon \epsiv \ε
ζ\zeta\zeta \ζ
η\eta\eta \η
θ\theta\theta \θ
Θ\Theta\Theta \Θ
ϑ\vartheta\vartheta \thetasym \thetav \ϑ
ι\iota\iota \ι
κ\kappa\kappa \κ
ϰ\varkappa\varkappa \kappav \ϰ
λ\lambda\lambda \λ
Λ\Lambda\Lambda \Λ
μ\mu\mu \μ
ν\nu\nu \ν
ξ\xi\xi \ξ
Ξ\Xi\Xi \Ξ
π\pi\pi \π
Π\Pi\Pi \Π
ϖ\varpi\varpi \piv \ϖ
ρ\rho\rho \ρ
ϱ\varrho\varrho \rhov \ϱ
σ\sigma\sigma \σ
Σ\Sigma\Sigma \Σ
ς\varsigma\varsigma \sigmav \sigmaf \ς
τ\tau\tau \τ
υ\upsilon\upsilon \upsi \υ
Υ\Upsilon\Upsilon \Upsih \upsih \Upsi \Υ
ϕ\phi\phi \φ
Φ\Phi\Phi \Φ
φ\varphi\varphi \phiv \ϕ
χ\chi\chi \χ
ψ\psi\psi \ψ
Ψ\Psi\Psi \Ψ
ω\omega\omega \ω
Ω\Omega\Omega \Ω

Math Functions

Although some functions can technically be used as commands, if they aren’t fully supported, their output may appear incorrect. (This might be fixed in a future update.)

OutputCommandNotes
arg\arg\arg
degdeg\deg
det\det\det
dimdim\dim
exp\exp\exp
gcd\gcd\gcd
homhom\hom
infinf\inf
kerker\ker
lglg\lg
limlim\lim
ln\ln\ln
log\log\log
max\max\max
min\min\min
supsup\sup
limsuplimsup\limsup
liminfli\min f\liminf
injliminjlim\injlim
projlimprojlim\projlim
PrPr\Pr
arcsinh\mathrm{arcsinh}\arcsinh
arsinh\mathrm{arsinh}\arsinh
sinh\sinh\sinh
arcsin\arcsin\arcsin
sin\sin\sin
arccosh\mathrm{arccosh}\arccosh
arcosh\mathrm{arcosh}\arcosh
cosh\cosh\cosh
arccos\arccos\arccos
cos\cos\cos
arctanh\mathrm{arctanh}\arctanh
artanh\mathrm{artanh}\artanh
tanh\tanh\tanh
arctan\arctan\arctan
tan\tan\tan
arcsech\mathrm{arcsech}\arcsech
arsech\mathrm{arsech}\arsech
sech\mathrm{sech}\sech
arcsec\mathrm{arcsec}\arcsec
sec\mathrm{sec}\sec
arccosech\mathrm{arccos}\,ech\arccosech
arcosechar\,\mathrm{cos}\,ech\arcosech
cosech\mathrm{cos}\,ech\cosech
arccosec\mathrm{arccos}\,ec\arccosec
cosec\mathrm{cos}\,ec\cosec
arccsch\mathrm{arccsch}\arccsch
arcsch\mathrm{arcsch}\arcsch
csch\mathrm{csch}\csch
arccsc\mathrm{arccsc}\arccsc
csc\mathrm{csc}\csc
arccotanh\mathrm{arccot}\,anh\arccotanh
arcotanhar\,\mathrm{cot}\,anh\arcotanh
cotanh\mathrm{cot}\,anh\cotanh
arccotan\mathrm{arccot}\,an\arccotan
cotan\mathrm{cot}\,an\cotan
arccoth\mathrm{arccoth}\arccoth
arcoth\mathrm{arcoth}\arcoth
coth\mathrm{coth}\coth
arccot\mathrm{arccot}\arccot
cot\mathrm{cot}\cot
arcctgharcctgh\arcctgh
arctgharctgh\arctgh
ctghctgh\ctgh
arcctgarcctg\arcctg
ctgctg\ctg
gcf\mathrm{gcf}\gcf
hcfhcf\hcf
lcm\mathrm{lcm}\lcm
projproj\proj
spanspan\span
ff\operatorname{f}Used with Desmos functions
ff\f
\displaystyle\sum\sum \summation \∑
\displaystyle\prod\prod \product \∏
\displaystyle\coprod\coprod \coproduct
\displaystyle\int\int \integral \∫
12\dfrac12\frac{1}{2} \fraction{1}{2} \dfrac{1}{2} \cfrac{1}{2}
aba\over b\over{a}{b}
ans\mathrm{ans}\ansSupported in other tools of Desmos
% of\%\ \mathrm{of}\percent \percentof
2\sqrt2\sqrt{2}
23\sqrt[3]{2}\sqrt[3]{2} \nthroot{3}{2} \cbrt{3}{2}

Others

OutputCommandNotes
\forall\forall \∀
0{}^0\⁰Applies to 1 through 9
14\dfrac14
12\dfrac12
34\dfrac34
\sqrt{\quad}\√
++\+
-\- \– \— \−
±\pm\pm \plusmn \plusminus \±
\mp\mp \mnplus \minusplus
\cdot\cdot \sdot
\to\to \→
<\lt\lt \<
>\gt\gt \>
\leq\leq \le \≤
\geq\geq \ge \≥
\infty\infty \infinity \infin \∞
\neq\neq \ne \≠
==\=
×\times\times \cross \×
÷\div\div \divide \divides \÷
\sim\sim \~
\approx\approx \≈
\bigcirc\bigcirc \◯
\angle\angle \ang \∠
°\degree\degree \°
\triangle\triangle \△
\cong\cong \≅
\measuredangle\measuredangle \∡
\parallelogram \▱
\ncong\ncong \≇
\nsim\nsim \≁
a\mathrm{a}\mathrm{a}
a\mathit a\mathit{a}
a\mathbf a\mathbf{a}
a\mathsf a\mathsf{a}
a\mathtt a\mathtt{a}
a^\hat{a}\hat{a}
a\vec a\vec{a}
a~\tilde a\tilde{a}
a\underline a\underline{a}
aˉ\bar a\bar{a} \overline{a}
a\overrightarrow a\overrightarrow{a}
a\overleftarrow a\overleftarrow{a}
a\overleftrightarrow a\overleftrightarrow{a}
AB\overgroup{AB}\overarc{AB}
a˙\dot a\dot{a}
a\textcolor{red}{a}\textcolor{red}{a}RGB values like #ff0000 are also supported.
Some special characters cannot be used, but the CSS color property can be specified.
a{}_a\_{a} \subscript{a}
a{}^a\^{a} \supscript{a} \superscript{a}
 \space\space \(space)Make some space
..\.
'\prime \'
''\dprime \″
\\backslash\backslash
$\$\$
\square\square \□
\mid\mid
@@\@
&\&\&
%\%\%
\parallel\parallel \∥
\nparallel\nparallel \∦
\perp\perp \⟂
a\langle a \rangle\langle{a} \rangle{a}
a\lVert a\rVert\lVert{a} \rVert{a}
(12)\left(\dfrac12 \right)\left( \frac12 \right)
(ab)\dbinom ab\binom{a}{b} \binomial{a}{b} \choose{a}{b}
Notes on \left and \right

These two commands are used as a pair. They automatically adjust the size of the parentheses to match the content inside, so they’re useful for enclosing large expressions such as fractions.

For the left bracket, you can use any of the following: \left( \left[ \left| \left\{ \left\langle \left\lVert, which correspond to ( [  {  (\ [\ |\ \{\ \langle\ \lVert.

For the right bracket, you can use any of the following: \right) \right] \right| \right\} \right\rangle \right\rVert, which correspond to ) ]  }  )\ ]\ |\ \}\ \rangle\ \rVert.

Depending on the type of bracket, some require a backslash while others do not. It’s also possible to use different types of brackets on the left and right.

Special Commands

These are likely used internally and should probably not be used manually.

OutputCommandNotes
\tildeNbspIt seems that a non-breaking space &nbsp; is inserted. Is it recognized as \sim?
\class{class name}{a}You can wrap content in a span tag with any class name.
Nesting is also possible, so with the right class names, you can technically apply CSS styles.
\token{number}
aa\editable{a} \MathQuillMathField{a}
\embed{}
SHARE
Images are created with the Desmos Graphing Calculator, used with permission from Desmos Studio PBC.
© 2024 UNS Physics. All Rights Reserved.