0.0.2 • Published 9 years ago
numerax v0.0.2
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 setupthen you can go with
% tsc -wTo have some fun in watch mode and when you were ready for the heavy use go with:
% num run buildto have it minified for you...