Skip to content

Compiler for generating mathematical TeX expressions from a simple user friendly math notation. Playground at http://numerax.toys.kary.us

License

Notifications You must be signed in to change notification settings

pouyakary/numeraX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


Releases

No releases published

Packages

No packages published