<-- back to the mailing list

Math Notation in Gemini?

Alex // nytpu alex at nytpu.com

Wed Feb 17 19:45:24 GMT 2021

- - - - - - - - - - - - - - - - - - - 
However, much of mathematical notation (a lot of diagrams (category
theory), for example) can be reasonably well rendered as ASCII art.
The only problem is that it might be to tedious to manually set so I
was wondering - is there some TikZ-to-ASCII or at lease
diagram-to-ASCII script?Previously on the mailing list someone mentioned aamath[a] to renderformulae:

A_OPR = x*sqrt(x^2-1)/2 - int(sqrt(t^2-1), t = 1 .. x)

will turn into:

x ______ / / 2 | ______ x \/ x - 1 | / 2A = ----------- - | \/ t - 1 dt OPR 2 | | / 1

For diagrams, I'm sure if you could convert it to dot language[b] (morecommon than one might think, lots of software supports it) then it'd betrivial to convert it to ascii, here's a utility I found after a quicksearch: https://github.com/ggerganov/dot-to-ascii

a: http://fuse.superglue.se/aamath/b: https://www.graphviz.org/doc/info/lang.html

~nytpu

-- Alex // nytpualex at nytpu.comGPG Key: https://www.nytpu.com/files/pubkey.ascKey fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5Bhttps://useplaintext.email/-------------- next part --------------A non-text attachment was scrubbed...Name: signature.ascType: application/pgp-signatureSize: 833 bytesDesc: not availableURL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20210217/3f36870b/attachment.sig>