0.0.4 • Published 10 years ago

latextomathml v0.0.4

Weekly downloads
13
License
-
Repository
-
Last release
10 years ago

latextomathml

There is only one API function:

LaTeXtoMathML(String)

/////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////Nodejs//////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////// A javascript library for converting LaTeX equations to MathML

if you run it in Nodejs environment��Execute the following command��

npm install latextomathml

example:

var Translator=require("latextomathml");

var mathmlstr=Translator.LaTeXtoMathML("\sqrt{x}");

console.log(mathmlstr);

//you will get x

/////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////web browser side///////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////

if you run it in web browser environment��

example:

var mathmlstr=LaTeXtoMathML("\sqrt{x}");

console.log(mathmlstr);

//you will get x