CalTex - a LaTeX-friendly calculator for tiddlywiki

Hello all,

I’ve written a plugin (a widget, $caltex), which takes as input math expressions, and shows as output a prettified version of the expression —using KaTeX— along with the result of evaluating that expression.

For example:

2025-12-31-194530_273x141_scrot

You can check its documentation and install it from CalTeX — a LaTeX-friendly calculator for tiddlywiki

If you are curious about the implementation, check GitHub - jerojasro/tw-caltex: a LaTeX-friendly calculator for tiddlywiki , and the JS package that I used for the heavy lifting: https://mathjs.org .

5 Likes

Thanks for your contribution @jerojasro and whilst I don’t use LaTeX I know there already exists a solution within the community https://tiddlywiki.com/#KaTeX%20Plugin and its an Official Plugin. Can you document or suggest why you may use your solution over the official one to help people choose?

Because this does the maths calculation and returns a nicely KaTeX formatted answer!

KaTeX just does nice maths mark up.

3 Likes

This is fantastic.

Was it just yesterday that I said that only a tiny number of users would need symbolic computations? Well, I guess I still don’t really need this, but now I really want it!


<scott> goes wandering away muttering something like, “where can I use this wonderful tool?”</scott>

I’ll definitely have a play with this in the new year.

Just for possible interest other TW and maths stuff just in case you hadn’t unearthed them and might be useful:

Mathcell

Evans Formula Plugin

Graphs
https://stephenteacher.github.io/graph-tw5smallupdate/

Non are mine but I seem to have curated them.

Calculator
https://tiddlywiki-programming.neocities.org/tw_calculator#Charlie’s%20Calculator