

RaTeX
TeX-quality math from one Rust layout core. RaTeX parses LaTeX math, applies TeX-style rules, and emits a flat display list for CoreGraphics, Skia, Canvas 2D, or your own vector backend—identical output from native FFI and WebAssembly.
Cost / License
- Free
- Open Source (MIT)
Platforms
- Rust
Features
- Katex
- LaTeX Math
RaTeX information
What is RaTeX?
KaTeX-compatible math rendering engine in pure Rust — no JavaScript, no WebView, no DOM. One Rust core, one display list, every platform renders natively.
Why RaTeX?
Every major cross-platform math renderer today runs LaTeX through a browser or JavaScript engine — a hidden WebView eating 50–150 MB RAM, startup latency before the first formula, no offline guarantee. KaTeX is excellent on the web, but on every other surface — iOS, Android, Flutter, server-side, embedded — you're either hosting a WebView or shelling out to headless Chrome.
RaTeX is the same KaTeX-compatible math engine compiled to a portable Rust core, so the same renderer runs natively everywhere — and produces byte-identical output across every target.







