Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dz4k/asciimath2unicode
- Owner: dz4k
- Created: 2022-11-01T08:48:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T14:25:34.000Z (4 months ago)
- Last Synced: 2024-10-12T00:49:20.166Z (about 1 month ago)
- Language: TypeScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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τ |