Skip to content

mathra 1.10.1

Choose a tag to compare

@matheusmota-dev-br matheusmota-dev-br released this 08 Nov 01:48
· 249 commits to main since this release
08d939d

The fonts of the mathfonts catalog, by name.

What changed

  • mathfonts is a catalog of 30 OpenType math fonts that are free to share, each one checked with mathra. JavaScript gets catalogFonts() and loadFontFromCatalog(slug), and Python gets catalog_fonts() and load_font_from_catalog(slug), which keeps the file in ~/.cache/mathra. A font is downloaded only when asked for, once, and refused if it does not match the catalog's sha256, so the same name always gives the same SVG (#109).
  • The playground lists the catalog's fonts in its font picker and downloads one only when it is picked.
  • The Rust crate and the terminal download nothing; --font in the help points to the catalog. Loading a font from a file is unchanged, and so is what mathra draws.

Equations, drawn live on the project's evolution: e^{i\pi} + 1 = 0

Pull requests

Features

Install

Package Command
Rust mathra cargo add mathra@1.10.1
CLI mathra-cli cargo install mathra-cli@1.10.1
npm @mathlabs/mathra npm install @mathlabs/mathra@1.10.1
Python mathra pip install mathra==1.10.1

Full changelog: v1.10.0...v1.10.1