Skip to content
UhrendoktorPublic

About

Typst Symbol Math Library

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

23 Commits

Folders and files

Repository files navigation

Kalt

Kalt evaluates arbitrary nested Typst equations and returns the result as Typst content. It is meant for cases where calc gets awkward: deeply nested expressions, complex numbers, matrices, vectors, and indexing.

Since the result is still Typst content, you can keep formatting, reusing, and combining it in your document instead of ending up with a dead numeric result.

The repository is split into a Rust backend, Wasm bindings, and the Typst-side package. If you want the user-facing documentation and the complete list of supported operations, start with typst/README.md.

What It Covers

  • scalars and complex numbers
  • matrices and vectors
  • indexing and slicing
  • arithmetic, matrix, and mathematical functions

See the Typst README for the complete supported-operation list and examples.

Layout

  • rust contains the kalt crate, which does the actual evaluation.
  • rust_bindings builds the Wasm wrapper used by Typst.
  • typst has the package README, examples, tests, and assets.

Build

From the repo root:

cargo build --workspace

To build the bindings only:

cargo build --release --target wasm32-unknown-unknown -p kalt_bindings

Docs

About

Typst Symbol Math Library

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages