Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dz4k/asciimath2unicode

Translates a subset of AsciiMath syntax to Unicode math symbols.
https://github.com/dz4k/asciimath2unicode

Last synced: 7 days ago
JSON representation

Translates a subset of AsciiMath syntax to Unicode math symbols.

Awesome Lists containing this project

README

        

# asciimath2unicode

Translates a subset of AsciiMath syntax in a document to Unicode math symbols.

I made this to take notes with an app I really liked that doesn't have TeX support.
The Unicode math, while nowhere near as beautiful as LaTeX output,
is great for storing and reading as plaintext.

It uses ¨ (combining diaeresis) as a marker for math
because—for some reason—that's on my laptop's keyboard.
Expressions with whitespace in them need to be wrapped in parentheses.

# Examples

| Source | Output |
|--------|--------|
| ¨phi | φ |
| ¨(int(-oo, oo) x(tau) h(t - tau) dtau) | ∫(-∞, ∞) x(τ) h(t - τ) dτ |