Skip to main content

Module math

Module math 

Source
Expand description

Typeset math, from pure Rust and fonts in the binary, so it works over SSH on a server with no TeX. A formula that won’t parse is an error here and its source on the page.

Structs§

Formula
A typeset formula as coverage, so it can take the colour of the text around it.

Functions§

render
Typesets a formula with em pixels to the em.
row_centres
Where each row of a display stands in its picture, as shares of its height, from what each row measures alone. None if one of them can’t be set by itself.
svg
A formula as self-contained SVG, for pages that leave Cellix.