Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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...