formel

Type an equation, paste the image into your slides, paper or website. Runs in your browser on a small Rust typesetting engine; nothing is uploaded. How it works ↓

Source on GitHub ↗
Loading…
or drag the formula into your app · Ctrl Enter copies
Embed in a web page inline SVG, image tag or MathML

How it works

This page is a demo of formel, a Rust library that typesets math. Good math typesetting usually means installing a TeX distribution; formel does it without one. The layout follows the rules XeTeX and LuaTeX use, read from the font’s OpenType MATH table, with rustybuzz for shaping. Any font that works with those engines works here, so drop in your own.

–

to typeset the formula above

1.0 MB of WebAssembly (434 KB gzipped)

the whole engine, no server

The MathML behind this formula LaTeX is converted to MathML Core, then laid out