Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying fancy equations with Java [closed]

I'm working on a Java applet that needs to display "fancy" equations. Is there any Java renderer for MathML or LaTeX that's open source? Ideally it would be a pure Java solution that doesn't use JNI.

Ideally it would also allow to animate the generated glyphs (e.g. animating adding a constant to both sides of a equation, lines going through terms for cancellation, etc.)

like image 828
Ryan Avatar asked Jan 18 '09 22:01

Ryan


1 Answers

I know these libraries for Java:

  • JEuclid (MathML renderer; Apache License)

  • JLatexMath (Latex renderer; GNU License) improved JMathTeX

  • JMathTeX (Latex renderer; GNU License)

  • HotEqn (Latex renderer; GNU License ?)

  • SnuggleTex (Latex renderer; BSD License)

For the animation part of your question, you can look at these projects:

  • DragMath equation editor (Swing interface; GNU License)

  • Mirai Calc calculator (SWT interface; GNU License; uses JMathTeX)

  • Java Swing Equation builder

For a web interface you can also use the jsMath JavaScript or it's successor Mathjax library as a Latex/MathML renderer.

like image 103
7 revs, 2 users 99% Avatar answered Oct 11 '22 09:10

7 revs, 2 users 99%