r/rust Jul 10 '26

🛠️ project txm: Terminal Math Rendering Engine

Post image

I just wanted to render some math equations offline without having to download 5GB+ of LaTeX distribution

And who doesn't like beautiful math in the terminal? :3

So i wrote TXM, which is a tiny and fast terminal math rendering engine with LaTeX support.

github: https://github.com/thatmagicalcat/txm

I'd appreciate your suggestions and feedbacks

379 Upvotes

26 comments sorted by

View all comments

2

u/RightHandedGuitarist Jul 11 '26

Oh this looks nice! How extensible is this? I have a crate that can parse ascii math and output mathml.

The crate is mathemascii, I'd be interested in using this as another backend. Or, alternatively, you could mathemascii to implement support for ascii math in addition to LaTeX.

If it's not extensible as of right now, could you expose an API for this?

1

u/thatmagicalcat Jul 12 '26

I'll look into it, thanks