Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pouyakary/numerax
Compiler for generating mathematical TeX expressions from a simple user friendly math notation. Playground at http://numerax.toys.kary.us
https://github.com/pouyakary/numerax
compiler compilers kary-comments kary-toys latex math-notation mathjax notation source-to-source tex
Last synced: about 1 month ago
JSON representation
Compiler for generating mathematical TeX expressions from a simple user friendly math notation. Playground at http://numerax.toys.kary.us
- Host: GitHub
- URL: https://github.com/pouyakary/numerax
- Owner: pouyakary
- License: mpl-2.0
- Created: 2016-11-14T12:53:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T05:09:22.000Z (about 8 years ago)
- Last Synced: 2024-11-06T13:46:46.627Z (3 months ago)
- Topics: compiler, compilers, kary-comments, kary-toys, latex, math-notation, mathjax, notation, source-to-source, tex
- Language: TypeScript
- Homepage:
- Size: 89.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# numeraX
A compiler that compiles basic math notation to renderable TeX code. Just load up the file in your browser. (You first need to have [JSEP](http://jsep.from.so/))You first need to download it.
- You can download it from the releases
- You can install it via `npm install numerax````HTML
```
And then it's just very simple to use it:
```JavaScript
// compiles to: "\frac{2}{3} + 4"
const awesomeTeX = numeraX.compile("2 / 3 + 4");
```## How to build?
run:
```
% npm run setup
```then you can go with
```
% tsc -w
```
To have some fun in watch mode and when you were ready for the heavy use go with:
```
% num run build
```
to have it minified for you...