mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 18:41:40 +08:00
78 lines
3.5 KiB
Plaintext
78 lines
3.5 KiB
Plaintext
/*!
|
|
|
|
\defgroup jkqtmathtext JKQTMathText LaTeX-Renderer for Qt
|
|
|
|
This group contains JKQTMathText, a self-contained LaTeX-renderer for Qt. It is used to renderer
|
|
labels in JKQTPlotter, but can be used independently. The class does not depend on any library,
|
|
except Qt. In particular it actually parses a LaTeX string and draws it in pure C++. It does NOT rely
|
|
on an installed LaTeX for the rendering!
|
|
|
|
|
|
Examples for the usage of this class can be found here:
|
|
- \ref JKQTMathTextSimpleExample
|
|
- \ref JKQTMathTextRenderCmdLineTool
|
|
- \ref JKQTMathTextTestApp
|
|
.
|
|
|
|
Example output:
|
|
\image html jkqtmathtext/jkqtmathtext_xits_all.png
|
|
\image html jkqtmathtext/jkqtmathtext_sqrt.png
|
|
\image html jkqtmathtext/jkqtmathtext_OldEnglish.png
|
|
|
|
\defgroup jkqtmathtext_general General Information on JKQTMathText
|
|
\ingroup jkqtmathtext
|
|
|
|
This group assembles general information around JKQTMathText. It explains the rendering model, lists the supported LaTeX-subset etc.
|
|
|
|
\defgroup jkqtmathtext_general_languages Supported Markup Languages
|
|
\ingroup jkqtmathtext_general
|
|
|
|
JKQTMathText was designed to support different math markup parsers. By default only a \ref jkqtmathtext_general_latex parser is available, but it would be possible to e.g. add support for MathML or other markup languages. You simply have to implement a new JKQTMathTextParser.
|
|
|
|
\defgroup jkqtmathtext_general_latex LaTeX Markup
|
|
\ingroup jkqtmathtext_general_languages
|
|
|
|
LaTeX is the default markup language and supported in JKQTMathText via JKQTMathTextLatexParser.
|
|
|
|
\defgroup jkqtmathtext_render Math Renderer Class (JKQTMathText)
|
|
\ingroup jkqtmathtext
|
|
|
|
This group contains the main rendering class JKQTMathText, which is the central access point for the functionality of this library.
|
|
This class is a non-visual class that allows to parse a string and draw the resulting object tree (see \ref jkqtmathtext_items )
|
|
using a <a href="https://doc.qt.io/qt-6/qpainter.html">QPainter</a> onto any target supported by the Qt painter library.
|
|
|
|
\note There are additional widget classes available in \ref jkqtmathtext_widgets
|
|
|
|
\defgroup jkqtmathtext_widgets Widgets using JKQTMathText
|
|
\ingroup jkqtmathtext
|
|
|
|
This group contains widgets that use JKQTMathText in order to render math onto the screen.
|
|
|
|
\defgroup jkqtmathtext_interaltools Library-internal Types and Functions
|
|
\ingroup jkqtmathtext
|
|
|
|
This group contains all library-internal classes, types and functions.
|
|
Normal users of the library do note have to have knowledge of these. They are important,
|
|
if you want to extend the functionality of the class.
|
|
|
|
\defgroup jkqtmathtext_items Render-Tree Items for JKQTMathText
|
|
\ingroup jkqtmathtext_interaltools
|
|
|
|
This group contains all classes that are used to build a memory-representation of the math to be rendered.
|
|
They form a tree in memory.
|
|
|
|
\defgroup jkqtmathtext_parser Math Markup Parser Classes
|
|
\ingroup jkqtmathtext_interaltools
|
|
|
|
JKQTMathText was designed to support different math markup parsers. By default only a \ref jkqtmathtext_general_latex JKQTMathTextLatexParser parser is available, but it would be possible to e.g. add support for MathML or other markup languages. You simply have to implement a new JKQTMathTextParser.
|
|
|
|
|
|
\defgroup jkqtmathtext_tools Tool Functions and Types for JKQTMathText
|
|
\ingroup jkqtmathtext_interaltools
|
|
|
|
|
|
\defgroup jkqtmathtext_libfacilities Library Facilities for JKQTMathText
|
|
\ingroup jkqtmathtext_interaltools
|
|
|
|
|
|
*/ |