numerax
v0.0.2
Published
Simple math notation to TeX math notation compiler.
Downloads
1
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)
You first need to download it.
- You can download it from the releases
- You can install it via
npm install numerax
<script src="/path/to/jsep.js"></script>
<script src="/path/to/numeraX.js" ></script>
And then it's just very simple to use it:
// 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...