Typst to UTF-8
is a bodge
to write simple UTF-8 math using Typst.
Use the snippet tab
for small math expressions
and the text tab
for text containing math in $...$
or $$...$$
.
Mangled Typst | UTF-8 approximation |
---|---|
nabla f(x) = 2 x |
βπ(π₯) = 2π₯ |
v = diff x/diff t |
π£ = ππ₯/ππ‘ |
EE[(x-mu)^2] = sigma^2 |
πΌ[(π₯βπ)Β²] = πΒ² |
lim {x -> oo} 1/x = 0 |
lim {x β β} 1/x = 0 |
Delta_t <= (1 - kappa)^t Delta_0 |
π₯β β€ (1 β π
)α΅π₯β |
Phi = integral bold(E) dot d bold(A) |
π· = β« π β
dπ |
diff^2 u/diff x^2 + diff^2 u/diff y^2 = 0 |
πΒ²π’/ππ₯Β² + πΒ²π’/ππ¦Β² = 0 |
cal(N)(x; mu, sigma^2) = exp(-(x - mu)^2/sigma^2)/sqrt(2 pi sigma) |
π©(π₯; π, πΒ²) = exp(β(π₯ β π)Β²/πΒ²)/βΜ
2Μ
ππ |
This is a quick and dirty replacement of known commands
to matching UTF-8 symbols.
Commands that "do something" rather than produce a symbol, like mat()
, do not work.
Props to GΓΌnter Milde for the Unicode β· Typst mapping.