JMathTeX

JMathTeX

The JMathTeX library provides a set of Java classes for displaying (complex) mathematical formulas as part of a Java application. Some use cases are:

  • Displaying text with embedded formulas (in an editor pane, a JavaHelp page, ...)

  • Make a combo box which provides the user with a choice between various formulas.

  • Have a slider with ticks that display their values not as decimal numbers, but as exact values, e.g., fractions, square roots or any combination of these.

  • Display the formula together with the graph of a function.

The library uses the typesetting algorithms of the well-known TeX and LaTeX systems and therefore displays formulas in a very professional looking way. Formulas are Java-objects that can be built from scratch (by combining smaller formulas in several ways) and from LaTeX strings. There is also limited support for MathML.

Note: JMathTeX is not a word processor, a typesetting system or a Java version of LaTeX. It is a Java library for use in your own programs.

Dependencies

All classes are targeted to Java 5.0.

The library uses JDOM 1.0 which is needed both at run time and when building JMathTeX from the source distribution.

Developers

  • Current development: Kris Coolsaet, Nico Van Cleemput

  • Original author: Kurt Vermeulen

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License can be found in the file LICENSE.txt provided with the source distribution of this program (see the META-INF directory in the source jar). This license can also be found on the GNU website.

The JMathTeX library is Copyright 2004-2007 Universiteit Gent