Skip to content Skip to sidebar Skip to footer

How Do I Install Jqmath On Android?

I am trying to display some math equations in my Android application, but I am unsure how you use JqMath to display these equations. Could someone tell me step by step what to do t

Solution 1:

If you don't have the files yet, go to http://mathscribe.com/author/jqmath.html and click the "download jqMath" link in the middle of that page, to download jqMath to your computer. You'll then need to put the correct files in your assets folder.

Also, M.parseMath() should only be applied to a node in the DOM, not a string variable. Your M.parseMath(s); call here is a no-op (does nothing).

You could replace your entire line:

    + "<script>var s =   '$$x={-b±√{b^2-4ac}}/{2a}$$';M.parseMath(s);document.write(s);</script></body>";

with just:

    + "$$x={-b±√{b^2-4ac}}/{2a}$$</body></html>";

Post a Comment for "How Do I Install Jqmath On Android?"