FMATH FORMULA - FREE solution to display equations or mathematical symbols weusing MathML, LaTeX or OMML (Microsoft Word) standards.
FMATH EDITOR - FREE solution to edit equations or mathematical symbols on web pages using MathML, LaTeX or OMML (Microsoft Word) standards.
FMATH for FLASH/Flex - FREE components for AS3 applications to display and edit equations using MathML, LaTeX or OMML (Microsoft Word) standards.
FMATH is a FREE solution to display and edit equations on web pages, desktop app or mobile devices using MathML, LaTeX or OMML (Microsoft Word) standards.

FMath HTML5 / Javascript Implementation


  		
	
Go to Download area for javascript to get a test html5/javascript project.
	The name: fmath-mathml-javascript-test-project-b*.zip.


Example to use:

<canvas id="myCanvas" width="0" height="0"></canvas>
<script>
	FMATH.ApplicationConfiguration.setFolderUrlForFonts("fonts");
	FMATH.ApplicationConfiguration.setFolderUrlForGlyphs("glyphs");


	/*
	*	draw a mathml formula on html5
	* 	id = the canvas element's id
	*	mathml = the mathml formula to be displayed
	*/
	function drawFormulaOnCanvas( id, mathml){
		var c=document.getElementById(id);
		var formula = new FMATH.MathMLFormula();
		formula.drawImage(c, mathml);
	}
	
	/*
	*	draw a latex formula on html5
	* 	id = the canvas element's id
	*	latex = the latex formula to be displayed
	*/
	function drawLatexFormulaOnCanvas( id, latex){
		var c=document.getElementById(id);
		if(c==null) return;
		var formula = new FMATH.MathMLFormula();
		var mathml = formula.convertToMathML(latex)
		formula.drawImage(c, mathml);
	}

	/*
	*	Generate word document in javascript
	*	mathml - the mathml
	*	fileName - the name of generated file
	*/
	function exportToWord(mathml, fileName){
		var formula = new FMATH.MathMLFormula();
		formula.downloadWordFromMathML(mathml, fileName);
	}

	drawFormulaOnCanvas("myCanvas", '<math ><mtext style="border:1px;">FMATH MathML</mtext></math>');

</script>


MathML Display in:

HTML5/Javascript Impl - Browser drawing Change the MathML and More info...


Latex Display in:

HTML5/Javascript Impl - Browser drawing Change the Latex and More info...


OMML Test - Generate Microsoft Word Document Display in:

HTML5/Javascript - Browser generated document Change the MathML and More info ...
`


www.learn-math.info | www.apprendre-math.info | www.aprender-mat.info | www.invata-mate.info
Designed by Diana Alexandru
free components MathML flex GWT LaTeX Editor Air plugin MathML flash math Mathematics Equation Widget Mobile flash LaTeX Mathematics FREE Apple iOS OMML Android iPad iPhone Microsoft Word Latex MathML OMML Free