This documentation is the API documentation for the KLatexFormula library backend that you may want to use in your programs. It is a GPL-licensed library based on QT 3 or QT 4 that converts a LaTeX equation given as text into graphics, specifically PNG, EPS or PDF (and the image is available as a
QImage—so any format supported by Qt is available.
This library will compile indifferently on QT 3 and QT 4 with the same source code. The base API is the same, although some specific overloaded functions may differ or not be available in either version for Qt 3 or Qt 4. Those members are documented as such.
To compile with Qt 4, you may add
KLFBACKEND_QT4
to your defines, ie. pass option
-DKLFBACKEND_QT4
to gcc; however this is set automatically in
klfdefs.h if Qt 4 is detected.