These are some sample algebraic equations
2x = 3
3x + 5 = 8
(y+1)/7 = (y-2)/3
Is there a java API which you can use to create such equations using a java program and re开发者_C百科turn an equivalent HTML which in turn can be used for rendering purposes.
Do you need a client side or server side solution?
Client side:
- MathML
- MathJAX
- (old) jsMath
Server side:
The best typesetter for math is, hands down, LaTeX.
Here is a Java LaTeX interface: http://forge.scilab.org/index.php/p/jlatexmath/
you really need to provide more info.
The first answer i have for use is: String,
String equation ="2x = 3";
What extra formating do you need ? Otherwise again its very simple
<html><body>2x = 3</body>/<html>
Pretty sure you need something else but no idea what.
Besides that you can use JEP to hava Java parse fomulas http://www.singularsys.com/jep/
精彩评论