LaTeX to UTF-8
is a bodge
to write simple UTF-8 math using LaTeX.
Use the snippet tab
for small math expressions
and the text tab
for text containing math in $...$
or $$...$$
.
Mangled Latex | UTF-8 approximation |
---|---|
\nabla\f(\x) = 2\x |
βπ(π₯) = 2π₯ |
\v = \partial\x/\partial\t |
π£ = ππ₯/ππ‘ |
\mathbb{E}[(\x-\mu)^2] = \sigma^2 |
πΌ[(π₯βπ)Β²] = πΒ² |
lim {x \rightarrow \infty} 1/x = 0 |
lim {x β β} 1/x = 0 |
\Delta_t \leq (1 - \kappa)^t\Delta_0 |
π₯β β€ (1 β π
)α΅π₯β |
\Phi = \int \mathbf{E} \cdot d\mathbf{A} |
π· = β« π β
dπ |
\partial^2\u/\partial\x^2 + \partial^2\u/\partial\y^2 = 0 |
πΒ²π’/ππ₯Β² + πΒ²π’/ππ¦Β² = 0 |
\mathcal{N}(\x; \mu, \sigma^2) = exp(-(\x - \mu)^2/\sigma^2)/\sqrt\overline2\overline\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 \frac{}{}
or \begin{matrix}...\end{matrix}
, do not work.
Props to GΓΌnter Milde for the Unicode β· LaTeX mapping.