moved JKQTMathText images to their own subdirectory
@ -226,10 +226,10 @@ All test-projects are Qt-projects that use qmake to build. You can load them int
|
|||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr><th> Screenshot <th> Description <th> Notes
|
<tr><th> Screenshot <th> Description <th> Notes
|
||||||
<tr><td> \image html jkqtmathtext_simpletest_small.png
|
<tr><td> \image html jkqtmathtext/jkqtmathtext_simpletest_small.png
|
||||||
<td> \subpage JKQTMathTextSimpleExample
|
<td> \subpage JKQTMathTextSimpleExample
|
||||||
<td> JKQTMathText<br>render LaTeX markup (Schrödinger's equation)
|
<td> JKQTMathText<br>render LaTeX markup (Schrödinger's equation)
|
||||||
<tr><td> \image html jkqtmathtext_testapp_small.png
|
<tr><td> \image html jkqtmathtext/jkqtmathtext_testapp_small.png
|
||||||
<td> \subpage JKQTMathTextTestApp
|
<td> \subpage JKQTMathTextTestApp
|
||||||
<td> JKQTMathText<br>render LaTeX markup
|
<td> JKQTMathText<br>render LaTeX markup
|
||||||
<tr><td> \image html jkqtfastplotter_test_small.png
|
<tr><td> \image html jkqtfastplotter_test_small.png
|
||||||
@ -242,7 +242,7 @@ All test-projects are Qt-projects that use qmake to build. You can load them int
|
|||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr><th> Screenshot <th> Description <th> Notes
|
<tr><th> Screenshot <th> Description <th> Notes
|
||||||
<tr><td> \image html jkqtmathtext_simpletest_small.png
|
<tr><td> \image html jkqtmathtext/jkqtmathtext_simpletest_small.png
|
||||||
<td> \subpage JKQTCMakeLinkExample
|
<td> \subpage JKQTCMakeLinkExample
|
||||||
<td> explains how to link against JKQTPlotter with CMake
|
<td> explains how to link against JKQTPlotter with CMake
|
||||||
</table>
|
</table>
|
||||||
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1023 B After Width: | Height: | Size: 1023 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 55 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
@ -108,71 +108,71 @@ class JKQTMathTextNode; // forward
|
|||||||
For example \c \\bf is just a renamed form of \c \\textbf and used as \c \\bf{...} and NOT as \c {\\bf...} .
|
For example \c \\bf is just a renamed form of \c \\textbf and used as \c \\bf{...} and NOT as \c {\\bf...} .
|
||||||
|
|
||||||
- \c $ : enter/leave math mode
|
- \c $ : enter/leave math mode
|
||||||
- \c \\bf{...} \c \\textbf{...} \c \\mathbf{...}: draw the contained text in bold face \image html jkqtmathtext_bold.png
|
- \c \\bf{...} \c \\textbf{...} \c \\mathbf{...}: draw the contained text in bold face \image html jkqtmathtext/jkqtmathtext_bold.png
|
||||||
- \c \\it{...} \c \\textit{...} \c \\mathit{...} : draw the contained text in italic face \image html jkqtmathtext_italic.png
|
- \c \\it{...} \c \\textit{...} \c \\mathit{...} : draw the contained text in italic face \image html jkqtmathtext/jkqtmathtext_italic.png
|
||||||
- \c \\rm{...} \c \\textrm{...} \c \\mathrm{...} \c \\mbox{...} : draw the contained text in normal upright roman font face \image html jkqtmathtext_fonts.png
|
- \c \\rm{...} \c \\textrm{...} \c \\mathrm{...} \c \\mbox{...} : draw the contained text in normal upright roman font face \image html jkqtmathtext/jkqtmathtext_fonts.png
|
||||||
- \c \\sf{...} \c \\textsf{...} \c \\mathsf{...} : draw the contained text in normal upright sans-serif font face \image html jkqtmathtext_fonts.png
|
- \c \\sf{...} \c \\textsf{...} \c \\mathsf{...} : draw the contained text in normal upright sans-serif font face \image html jkqtmathtext/jkqtmathtext_fonts.png
|
||||||
- \c \\script{...} \c \\textscript{...} \c \\mathscript{...} : draw the contained text in a script font face \image html jkqtmathtext_fonts.png
|
- \c \\script{...} \c \\textscript{...} \c \\mathscript{...} : draw the contained text in a script font face \image html jkqtmathtext/jkqtmathtext_fonts.png
|
||||||
- \c \\sc{...} : draw the text in small caps \image html jkqtmathtext_sc.png
|
- \c \\sc{...} : draw the text in small caps \image html jkqtmathtext/jkqtmathtext_sc.png
|
||||||
- \c \\ul{...} \c \\underline{...} \c \\underlined{...} : draw the text with underlining \image html jkqtmathtext_ul.png
|
- \c \\ul{...} \c \\underline{...} \c \\underlined{...} : draw the text with underlining \image html jkqtmathtext/jkqtmathtext_ul.png
|
||||||
- \c \\sout{...} : strike out the text \image html mathparser/MTDstrike.png
|
- \c \\sout{...} : strike out the text \image html jkqtmathtext/MTDstrike.png
|
||||||
- \c \\cancel{...} : slanted strike out the text \image html mathparser/MTDcancel.png
|
- \c \\cancel{...} : slanted strike out the text \image html jkqtmathtext/MTDcancel.png
|
||||||
- \c \\bcancel{...} : back-strike out the text \image html mathparser/MTDbcancel.png
|
- \c \\bcancel{...} : back-strike out the text \image html jkqtmathtext/MTDbcancel.png
|
||||||
- \c \\xcancel{...} : x-strike out the text \image html mathparser/MTDxcancel.png
|
- \c \\xcancel{...} : x-strike out the text \image html jkqtmathtext/MTDxcancel.png
|
||||||
- \c \\ol{...} \c \\overline{...} \c \\overlined{...} : draw the text with overlining \image html jkqtmathtext_ol.png
|
- \c \\ol{...} \c \\overline{...} \c \\overlined{...} : draw the text with overlining \image html jkqtmathtext/jkqtmathtext_ol.png
|
||||||
- \c \\tt{...} \c \\texttt{...} \c \\mathtt{...} : draw text in typewriter font \image html jkqtmathtext_fonts.png
|
- \c \\tt{...} \c \\texttt{...} \c \\mathtt{...} : draw text in typewriter font \image html jkqtmathtext/jkqtmathtext_fonts.png
|
||||||
- \c \\textcolor{color}{...} \c \\color{color} \c \\mathcolor{color}{...} : draw colored text \image html jkqtmathtext_colored.png
|
- \c \\textcolor{color}{...} \c \\color{color} \c \\mathcolor{color}{...} : draw colored text \image html jkqtmathtext/jkqtmathtext_colored.png
|
||||||
- \c \\boxed{...} : draw text with a box around it \image html jkqtmathtext_boxed.png
|
- \c \\boxed{...} : draw text with a box around it \image html jkqtmathtext/jkqtmathtext_boxed.png
|
||||||
- \c \\colorbox{color}{...} : draw a colored box around text \image html jkqtmathtext_colorbox.png
|
- \c \\colorbox{color}{...} : draw a colored box around text \image html jkqtmathtext/jkqtmathtext_colorbox.png
|
||||||
- \c \\alpha ... : display the according greek letter \image html jkqtmathtext_greek.png
|
- \c \\alpha ... : display the according greek letter \image html jkqtmathtext/jkqtmathtext_greek.png
|
||||||
- \c ^{...} \c _{...} : display the contents of braces in superscript/subscript \image html jkqtmathtext_supersub.png
|
- \c ^{...} \c _{...} : display the contents of braces in superscript/subscript \image html jkqtmathtext/jkqtmathtext_supersub.png
|
||||||
<br>Special subscript/superscript typesetting applies, when the sub/super follows \c \\sum \c \\Prod ...: \image html jkqtmathtext_specialsubsuper.png
|
<br>Special subscript/superscript typesetting applies, when the sub/super follows \c \\sum \c \\Prod ...: \image html jkqtmathtext/jkqtmathtext_specialsubsuper.png
|
||||||
- \c \\{ / \\} : display opening/closing brace
|
- \c \\{ / \\} : display opening/closing brace
|
||||||
- \c \\_ : display underscore
|
- \c \\_ : display underscore
|
||||||
- \c \\sum \c \\prod \c \\int ... : plot special symbol. Note that depending on the fontEncoding the available
|
- \c \\sum \c \\prod \c \\int ... : plot special symbol. Note that depending on the fontEncoding the available
|
||||||
symbols may differ (there are not all symbols defined in the MS Windows Symbol
|
symbols may differ (there are not all symbols defined in the MS Windows Symbol
|
||||||
font!). Best coverage should be given by Unicode font encoding with a good
|
font!). Best coverage should be given by Unicode font encoding with a good
|
||||||
unicode font installed!<br>\image html jkqtmathtext_symbols.png
|
unicode font installed!<br>\image html jkqtmathtext/jkqtmathtext_symbols.png
|
||||||
- <code>\\vec{x} \\dot{x} \\ddot{x} \\overline{x} \\underline{x} \\hat{x} \\tilde{x} \\uul{x} \\ool{x} \\bar{x} \\arrow{x} </code>: Decorations over/under symbols \image html jkqtmathtext_mathdeco.png
|
- <code>\\vec{x} \\dot{x} \\ddot{x} \\overline{x} \\underline{x} \\hat{x} \\tilde{x} \\uul{x} \\ool{x} \\bar{x} \\arrow{x} </code>: Decorations over/under symbols \image html jkqtmathtext/jkqtmathtext_mathdeco.png
|
||||||
- <code>\\verb{don't parse this _aaa\\LaTeX} </code>: interpret enclosed text as verbose \image html jkqtmathtext_verb.png
|
- <code>\\verb{don't parse this _aaa\\LaTeX} </code>: interpret enclosed text as verbose \image html jkqtmathtext/jkqtmathtext_verb.png
|
||||||
.
|
.
|
||||||
|
|
||||||
\subsection JKQTMathTextSuppoertedLaTeXBraces Braces ...
|
\subsection JKQTMathTextSuppoertedLaTeXBraces Braces ...
|
||||||
Braces in math mode are adjusted in size, so they are a small bit (factor \c brace_factor ) larger than the contents.
|
Braces in math mode are adjusted in size, so they are a small bit (factor \c brace_factor ) larger than the contents.
|
||||||
To enable this you have to write braces with \c \\left and \c \\right. These types of braces are defined (slight
|
To enable this you have to write braces with \c \\left and \c \\right. These types of braces are defined (slight
|
||||||
differences to LaTeX standard):
|
differences to LaTeX standard):
|
||||||
- \c \\left( \c \\right) : default meaning (), \image html jkqtmathtext_brace_round.png
|
- \c \\left( \c \\right) : default meaning (), \image html jkqtmathtext/jkqtmathtext_brace_round.png
|
||||||
- \c \\left[ \c \\right] : default meaning [], \image html jkqtmathtext_brace_rect.png
|
- \c \\left[ \c \\right] : default meaning [], \image html jkqtmathtext/jkqtmathtext_brace_rect.png
|
||||||
- \c \\left\\{ \c \\right\\} : default meaning {}, \image html jkqtmathtext_brace_curly.png
|
- \c \\left\\{ \c \\right\\} : default meaning {}, \image html jkqtmathtext/jkqtmathtext_brace_curly.png
|
||||||
- \c \\left< \c \\right> : "averaging" braces , \image html jkqtmathtext_brace_tri.png
|
- \c \\left< \c \\right> : "averaging" braces , \image html jkqtmathtext/jkqtmathtext_brace_tri.png
|
||||||
- \c \c \\left\\lfloor \c \\right\\rfloor : floor braces , \image html jkqtmathtext_brace_floor.png
|
- \c \c \\left\\lfloor \c \\right\\rfloor : floor braces , \image html jkqtmathtext/jkqtmathtext_brace_floor.png
|
||||||
- \c \\left~ \c \\right~ \c \\left\\lceil \c \\right\\rceil : ceil braces , \image html jkqtmathtext_brace_ceil.png
|
- \c \\left~ \c \\right~ \c \\left\\lceil \c \\right\\rceil : ceil braces , \image html jkqtmathtext/jkqtmathtext_brace_ceil.png
|
||||||
- \c \\left| \c \\right| : absolute value braces | |, \image html jkqtmathtext_brace_oneline.png
|
- \c \\left| \c \\right| : absolute value braces | |, \image html jkqtmathtext/jkqtmathtext_brace_oneline.png
|
||||||
- \code \left\| \right\| \endcode : norm braces || ||, \image html jkqtmathtext_brace_dblline.png
|
- \code \left\| \right\| \endcode : norm braces || ||, \image html jkqtmathtext/jkqtmathtext_brace_dblline.png
|
||||||
- You can use \c \\left. or \c \\right. to have only right or only left brace
|
- You can use \c \\left. or \c \\right. to have only right or only left brace
|
||||||
.
|
.
|
||||||
|
|
||||||
\subsection JKQTMathTextSuppoertedLaTeXUnderOver Undersetting, Oversetting, Underbraces, Overbraces ...
|
\subsection JKQTMathTextSuppoertedLaTeXUnderOver Undersetting, Oversetting, Underbraces, Overbraces ...
|
||||||
There are also instructions that allow to under/overset braces, arrows, ...:
|
There are also instructions that allow to under/overset braces, arrows, ...:
|
||||||
- <code>$\\underbrace{x+x+...+x}{k\\ \\mathrm{times}}$</code> \image html jkqtmathtext_brace_underbrace.png
|
- <code>$\\underbrace{x+x+...+x}{k\\ \\mathrm{times}}$</code> \image html jkqtmathtext/jkqtmathtext_brace_underbrace.png
|
||||||
- <code>$\\overbrace{x+x+...+x}{k\\ \\mathrm{times}}$</code> \image html jkqtmathtext_brace_overbrace.png
|
- <code>$\\overbrace{x+x+...+x}{k\\ \\mathrm{times}}$</code> \image html jkqtmathtext/jkqtmathtext_brace_overbrace.png
|
||||||
- <code>$\\overset{main}{over}$</code> \image html jkqtmathtext_brace_overset.png
|
- <code>$\\overset{main}{over}$</code> \image html jkqtmathtext/jkqtmathtext_brace_overset.png
|
||||||
- <code>$\\underset{main}{under}$</code> \image html jkqtmathtext_brace_underset.png
|
- <code>$\\underset{main}{under}$</code> \image html jkqtmathtext/jkqtmathtext_brace_underset.png
|
||||||
.
|
.
|
||||||
|
|
||||||
\subsection JKQTMathTextSuppoertedLaTeXMatrix Matrix/Array Type Instructions
|
\subsection JKQTMathTextSuppoertedLaTeXMatrix Matrix/Array Type Instructions
|
||||||
Several Matrix/Array-typed LaTeX instructions are supported:
|
Several Matrix/Array-typed LaTeX instructions are supported:
|
||||||
- <code>$\\frac{...}{...}$</code>, <code>$\\tfrac{...}{...}$</code> (70% smaller font), <code>$\\dfrac{...}{...}$</code> \image html jkqtmathtext_brace_frac.png
|
- <code>$\\frac{...}{...}$</code>, <code>$\\tfrac{...}{...}$</code> (70% smaller font), <code>$\\dfrac{...}{...}$</code> \image html jkqtmathtext/jkqtmathtext_brace_frac.png
|
||||||
- <code>$\\sfrac{...}{...}$</code> \image html mathparser/MTFMsfrac.png
|
- <code>$\\sfrac{...}{...}$</code> \image html jkqtmathtext/MTFMsfrac.png
|
||||||
- <code>$\\stfrac{...}{...}$</code> (70% smaller font) \image html mathparser/MTFMstfrac.png
|
- <code>$\\stfrac{...}{...}$</code> (70% smaller font) \image html jkqtmathtext/MTFMstfrac.png
|
||||||
- <code>$\\stackrel{...}{...}$ $\\binom{...}{...}$</code> \image html jkqtmathtext_brace_stackrel.png
|
- <code>$\\stackrel{...}{...}$ $\\binom{...}{...}$</code> \image html jkqtmathtext/jkqtmathtext_brace_stackrel.png
|
||||||
- <code>$\\begin{cases} ... & ... \\\\ ... & ... \\end{cases}$</code> \image html jkqtmathtext_brace_begincases.png
|
- <code>$\\begin{cases} ... & ... \\\\ ... & ... \\end{cases}$</code> \image html jkqtmathtext/jkqtmathtext_brace_begincases.png
|
||||||
- <code>$\\begin{array} a & b & ...\\\\ c & d & ...\\end{array}$</code> <code>$\\begin{matrix} a & b & ...\\\\ c & d & ...\\end{matrix}$</code> \image html jkqtmathtext_array.png
|
- <code>$\\begin{array} a & b & ...\\\\ c & d & ...\\end{array}$</code> <code>$\\begin{matrix} a & b & ...\\\\ c & d & ...\\end{matrix}$</code> \image html jkqtmathtext/jkqtmathtext_array.png
|
||||||
- <code>$\\begin{pmatrix} a & b & ...\\\\ c & d & ...\\end{pmatrix}$</code> \image html jkqtmathtext_pmatrix.png
|
- <code>$\\begin{pmatrix} a & b & ...\\\\ c & d & ...\\end{pmatrix}$</code> \image html jkqtmathtext/jkqtmathtext_pmatrix.png
|
||||||
- <code>$\\begin{bmatrix} a & b & ...\\\\ c & d & ...\\end{bmatrix}$</code> \image html jkqtmathtext_bmatrix.png
|
- <code>$\\begin{bmatrix} a & b & ...\\\\ c & d & ...\\end{bmatrix}$</code> \image html jkqtmathtext/jkqtmathtext_bmatrix.png
|
||||||
- <code>$\\begin{Bmatrix} a & b & ...\\\\ c & d & ...\\end{Bmatrix}$</code> \image html jkqtmathtext_bbmatrix.png
|
- <code>$\\begin{Bmatrix} a & b & ...\\\\ c & d & ...\\end{Bmatrix}$</code> \image html jkqtmathtext/jkqtmathtext_bbmatrix.png
|
||||||
- <code>$\\begin{vmatrix} a & b & ...\\\\ c & d & ...\\end{vmatrix}$</code> \image html jkqtmathtext_vmatrix.png
|
- <code>$\\begin{vmatrix} a & b & ...\\\\ c & d & ...\\end{vmatrix}$</code> \image html jkqtmathtext/jkqtmathtext_vmatrix.png
|
||||||
- <code>$\\begin{Vmatrix} a & b & ...\\\\ c & d & ...\\end{Vmatrix}$</code> \image html jkqtmathtext_vvmatrix.png
|
- <code>$\\begin{Vmatrix} a & b & ...\\\\ c & d & ...\\end{Vmatrix}$</code> \image html jkqtmathtext/jkqtmathtext_vvmatrix.png
|
||||||
.
|
.
|
||||||
|
|
||||||
\section JKQTMathTextSuppoertedFonts Font Handling
|
\section JKQTMathTextSuppoertedFonts Font Handling
|
||||||
@ -191,19 +191,19 @@ class JKQTMathTextNode; // forward
|
|||||||
.
|
.
|
||||||
|
|
||||||
These fonts are generic font classes, which font is actually used can be configured in JKQTMathText class with the \c set...() functions mentioned above. You can also use these functions to set the fonts used for math rendering in math-mode:
|
These fonts are generic font classes, which font is actually used can be configured in JKQTMathText class with the \c set...() functions mentioned above. You can also use these functions to set the fonts used for math rendering in math-mode:
|
||||||
- useSTIX() use the STIX fonts from <a href="https://www.stixfonts.org/">https://www.stixfonts.org/</a> in math-mode<br>\image html jkqtmathparser_stix.png
|
- useSTIX() use the STIX fonts from <a href="https://www.stixfonts.org/">https://www.stixfonts.org/</a> in math-mode<br>\image html jkqtmathtext/jkqtmathparser_stix.png
|
||||||
- useXITS() use the XITS fonts from <a href="https://github.com/alif-type/xits">https://github.com/alif-type/xits</a> in math-mode. These are included by default in this library and also activated by default.<br>\image html jkqtmathparser_xits.png
|
- useXITS() use the XITS fonts from <a href="https://github.com/alif-type/xits">https://github.com/alif-type/xits</a> in math-mode. These are included by default in this library and also activated by default.<br>\image html jkqtmathtext/jkqtmathparser_xits.png
|
||||||
- useASANA() use the ASANA fonts from <a href="https://ctan.org/tex-archive/fonts/Asana-Math/">https://ctan.org/tex-archive/fonts/Asana-Math/</a> in math-mode<br>\image html jkqtmathparser_asana.png
|
- useASANA() use the ASANA fonts from <a href="https://ctan.org/tex-archive/fonts/Asana-Math/">https://ctan.org/tex-archive/fonts/Asana-Math/</a> in math-mode<br>\image html jkqtmathtext/jkqtmathparser_asana.png
|
||||||
- useAnyUnicode() use generic Unicode fonts, e.g. "Arial" and "Times New Roman" in math-mode. You should use fonts that contain as many of the mathematical symbols as possible to ensure good rendering results.<br>using "Times New Roman": \image html jkqtmathparser_timesnewroman.png
|
- useAnyUnicode() use generic Unicode fonts, e.g. "Arial" and "Times New Roman" in math-mode. You should use fonts that contain as many of the mathematical symbols as possible to ensure good rendering results.<br>using "Times New Roman": \image html jkqtmathtext/jkqtmathparser_timesnewroman.png
|
||||||
<br>using "Arial": \image html jkqtmathparser_arial.png
|
<br>using "Arial": \image html jkqtmathtext/jkqtmathparser_arial.png
|
||||||
<br>using "Courier New": \image html jkqtmathparser_couriernew.png
|
<br>using "Courier New": \image html jkqtmathtext/jkqtmathparser_couriernew.png
|
||||||
<br>using "Comic Sans MS": \image html jkqtmathparser_comicsans.png
|
<br>using "Comic Sans MS": \image html jkqtmathtext/jkqtmathparser_comicsans.png
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|
||||||
Math-mode is activated by enclosing your equation in \c $...$ or \c \\[...\\] . This mode is optimized for mathematical equations. Here is an example of the difference:
|
Math-mode is activated by enclosing your equation in \c $...$ or \c \\[...\\] . This mode is optimized for mathematical equations. Here is an example of the difference:
|
||||||
- <b>math-mode (XITS fonts are used, whitespaces are mostly not drawn directly, symbol spacing is different)</b> \c $...$: <br>\image html jkqtmathparser_schreq_mathmode.png
|
- <b>math-mode (XITS fonts are used, whitespaces are mostly not drawn directly, symbol spacing is different)</b> \c $...$: <br>\image html jkqtmathtext/schreq_mathmode.png
|
||||||
- <b>normal mode (Times new Roman is used, whitespaces are evaluated directly)</b>: <br>\image html jkqtmathparser_schreq_normalmode.png
|
- <b>normal mode (Times new Roman is used, whitespaces are evaluated directly)</b>: <br>\image html jkqtmathtext/schreq_normalmode.png
|
||||||
.
|
.
|
||||||
|
|
||||||
|
|
||||||
@ -385,7 +385,7 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
|
|||||||
*
|
*
|
||||||
* use STIX (1.x/2.x) fonts from <a href="https://www.stixfonts.org/">https://www.stixfonts.org/</a> in math-mode
|
* use STIX (1.x/2.x) fonts from <a href="https://www.stixfonts.org/">https://www.stixfonts.org/</a> in math-mode
|
||||||
*
|
*
|
||||||
* \image html jkqtmathparser_stix.png
|
* \image html jkqtmathtext/stix.png
|
||||||
*/
|
*/
|
||||||
bool useSTIX(bool mathModeOnly=true);
|
bool useSTIX(bool mathModeOnly=true);
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
|
|||||||
* use XITS fonts from <a href="https://github.com/alif-type/xits">https://github.com/alif-type/xits</a> in math-mode.
|
* use XITS fonts from <a href="https://github.com/alif-type/xits">https://github.com/alif-type/xits</a> in math-mode.
|
||||||
* These are included by default in this library and also activated by default.
|
* These are included by default in this library and also activated by default.
|
||||||
*
|
*
|
||||||
* \image html jkqtmathparser_xits.png
|
* \image html jkqtmathtext/xits.png
|
||||||
*
|
*
|
||||||
* \note The XITS fonts can be compiled into JKQTPlotter, when the CMake-option \c is set to ON (default: ON).
|
* \note The XITS fonts can be compiled into JKQTPlotter, when the CMake-option \c is set to ON (default: ON).
|
||||||
* Then the XITS fonts are added as Qt-Ressources to the library binary.
|
* Then the XITS fonts are added as Qt-Ressources to the library binary.
|
||||||
@ -407,7 +407,7 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
|
|||||||
*
|
*
|
||||||
* use the ASANA fonts from <a href="https://ctan.org/tex-archive/fonts/Asana-Math/">https://ctan.org/tex-archive/fonts/Asana-Math/</a> in math-mode
|
* use the ASANA fonts from <a href="https://ctan.org/tex-archive/fonts/Asana-Math/">https://ctan.org/tex-archive/fonts/Asana-Math/</a> in math-mode
|
||||||
*
|
*
|
||||||
* \image html jkqtmathparser_asana.png
|
* \image html jkqtmathtext/asana.png
|
||||||
*/
|
*/
|
||||||
bool useASANA(bool mathModeOnly=true);
|
bool useASANA(bool mathModeOnly=true);
|
||||||
|
|
||||||
@ -416,10 +416,10 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
|
|||||||
* use generic Unicode fonts, e.g. "Arial" and "Times New Roman" in math-mode.
|
* use generic Unicode fonts, e.g. "Arial" and "Times New Roman" in math-mode.
|
||||||
* You should use fonts that contain as many of the mathematical symbols as possible to ensure good rendering results.
|
* You should use fonts that contain as many of the mathematical symbols as possible to ensure good rendering results.
|
||||||
*
|
*
|
||||||
* <code>setAnyUnicode("Times New Roman", "Times New Roman")</code>:<br>\image html jkqtmathparser_timesnewroman.png <br><br>
|
* <code>setAnyUnicode("Times New Roman", "Times New Roman")</code>:<br>\image html jkqtmathtext/jkqtmathparser_timesnewroman.png <br><br>
|
||||||
* <code>setAnyUnicode("Arial", "Arial")</code>:<br>\image html jkqtmathparser_arial.png <br><br>
|
* <code>setAnyUnicode("Arial", "Arial")</code>:<br>\image html jkqtmathtext/jkqtmathparser_arial.png <br><br>
|
||||||
* <code>setAnyUnicode("Courier New", "Courier New")</code>:<br>\image html jkqtmathparser_couriernew.png <br><br>
|
* <code>setAnyUnicode("Courier New", "Courier New")</code>:<br>\image html jkqtmathtext/jkqtmathparser_couriernew.png <br><br>
|
||||||
* <code>setAnyUnicode("Comic Sans MS", "Comic Sans MS")</code>:<br>\image html jkqtmathparser_comicsans.png <br><br>
|
* <code>setAnyUnicode("Comic Sans MS", "Comic Sans MS")</code>:<br>\image html jkqtmathtext/jkqtmathparser_comicsans.png <br><br>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
void useAnyUnicode(QString timesFont=QString(""), const QString& sansFont=QString(""), JKQTMathTextFontEncoding encodingTimes=JKQTMathTextFontEncoding::MTFEunicode, JKQTMathTextFontEncoding encodingSans=JKQTMathTextFontEncoding::MTFEunicode);
|
void useAnyUnicode(QString timesFont=QString(""), const QString& sansFont=QString(""), JKQTMathTextFontEncoding encodingTimes=JKQTMathTextFontEncoding::MTFEunicode, JKQTMathTextFontEncoding encodingSans=JKQTMathTextFontEncoding::MTFEunicode);
|
||||||
@ -561,12 +561,12 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
|
|||||||
double brace_y_shift_factor;
|
double brace_y_shift_factor;
|
||||||
/** \brief size of the decorations (dot, tilde, ...), as fraction of the baselineheight
|
/** \brief size of the decorations (dot, tilde, ...), as fraction of the baselineheight
|
||||||
*
|
*
|
||||||
* \image html mathparser/decoration_sizing.png
|
* \image html jkqtmathtext/decoration_sizing.png
|
||||||
*/
|
*/
|
||||||
double decoration_height_factor;
|
double decoration_height_factor;
|
||||||
/** \brief a decoration has a size, which is slightly smaller than the text- width. the width is reduced by \c decoration_width_reduction_Xfactor*width("X") and the position is centered around the child-box. Also an italic correction is applied:
|
/** \brief a decoration has a size, which is slightly smaller than the text- width. the width is reduced by \c decoration_width_reduction_Xfactor*width("X") and the position is centered around the child-box. Also an italic correction is applied:
|
||||||
*
|
*
|
||||||
* \image html mathparser/decoration_sizing.png
|
* \image html jkqtmathtext/decoration_sizing.png
|
||||||
*/
|
*/
|
||||||
double decoration_width_reduction_Xfactor;
|
double decoration_width_reduction_Xfactor;
|
||||||
/** \brief switches on some options that will grant better rendering at the expense of higher time consumption */
|
/** \brief switches on some options that will grant better rendering at the expense of higher time consumption */
|
||||||
|
@ -237,16 +237,16 @@ struct JKQTMATHTEXT_LIB_EXPORT JKQTMathTextFontDefinition {
|
|||||||
* \see JKQTMathTextFracNode, JKQTMathTextFracModeToString()
|
* \see JKQTMathTextFracNode, JKQTMathTextFracModeToString()
|
||||||
*/
|
*/
|
||||||
enum JKQTMathTextFracMode {
|
enum JKQTMathTextFracMode {
|
||||||
MTFMfrac, /*!< \brief normal fraction \image html mathparser/MTFMfrac.png */
|
MTFMfrac, /*!< \brief normal fraction \image html jkqtmathtext/MTFMfrac.png */
|
||||||
MTFMdfrac, /*!< \brief normal fraction, without scaling of under/over text \image html mathparser/MTFMdfrac.png */
|
MTFMdfrac, /*!< \brief normal fraction, without scaling of under/over text \image html jkqtmathtext/MTFMdfrac.png */
|
||||||
MTFMtfrac, /*!< \brief text fraction (smaller than MTFMfrac) \image html mathparser/MTFMtfrac.png */
|
MTFMtfrac, /*!< \brief text fraction (smaller than MTFMfrac) \image html jkqtmathtext/MTFMtfrac.png */
|
||||||
MTFMsfrac, /*!< \brief slanted fraction \image html mathparser/MTFMsfrac.png */
|
MTFMsfrac, /*!< \brief slanted fraction \image html jkqtmathtext/MTFMsfrac.png */
|
||||||
MTFMstfrac, /*!< \brief slanted text fraction \image html mathparser/MTFMstfrac.png */
|
MTFMstfrac, /*!< \brief slanted text fraction \image html jkqtmathtext/MTFMstfrac.png */
|
||||||
MTFMunderbrace, /*!< \brief curly underbrace \image html mathparser/MTFMunderbrace.png */
|
MTFMunderbrace, /*!< \brief curly underbrace \image html jkqtmathtext/MTFMunderbrace.png */
|
||||||
MTFMoverbrace, /*!< \brief curly overbrace \image html mathparser/MTFMoverbrace.png */
|
MTFMoverbrace, /*!< \brief curly overbrace \image html jkqtmathtext/MTFMoverbrace.png */
|
||||||
MTFMstackrel, /*!< \brief binom/fraction without line \image html mathparser/MTFMstackrel.png */
|
MTFMstackrel, /*!< \brief binom/fraction without line \image html jkqtmathtext/MTFMstackrel.png */
|
||||||
MTFMunderset, /*!< \brief underset text \image html mathparser/MTFMunderset.png */
|
MTFMunderset, /*!< \brief underset text \image html jkqtmathtext/MTFMunderset.png */
|
||||||
MTFMoverset /*!< \brief overset text \image html mathparser/MTFMoverset.png */
|
MTFMoverset /*!< \brief overset text \image html jkqtmathtext/MTFMoverset.png */
|
||||||
};
|
};
|
||||||
|
|
||||||
/** \brief convert a JKQTMathTextFracMode into a QString
|
/** \brief convert a JKQTMathTextFracMode into a QString
|
||||||
@ -260,27 +260,27 @@ JKQTMATHTEXT_LIB_EXPORT QString JKQTMathTextFracModeToString(JKQTMathTextFracMod
|
|||||||
* \ingroup jkqtmathtext
|
* \ingroup jkqtmathtext
|
||||||
*/
|
*/
|
||||||
enum JKQTMathTextDecoration {
|
enum JKQTMathTextDecoration {
|
||||||
MTDvec, /*!< \brief vector arrow over block \image html mathparser/MTDvec.png */
|
MTDvec, /*!< \brief vector arrow over block \image html jkqtmathtext/MTDvec.png */
|
||||||
MTDhat, /*!< \brief small hat over block \image html mathparser/MTDhat.png */
|
MTDhat, /*!< \brief small hat over block \image html jkqtmathtext/MTDhat.png */
|
||||||
MTDwidehat, /*!< \brief full-width hat over block \image html mathparser/MTDwidehat.png */
|
MTDwidehat, /*!< \brief full-width hat over block \image html jkqtmathtext/MTDwidehat.png */
|
||||||
MTDcheck, /*!< \brief small v over block \image html mathparser/MTDcheck.png */
|
MTDcheck, /*!< \brief small v over block \image html jkqtmathtext/MTDcheck.png */
|
||||||
MTDwidecheck, /*!< \brief full-width v over block \image html mathparser/MTDwidecheck.png */
|
MTDwidecheck, /*!< \brief full-width v over block \image html jkqtmathtext/MTDwidecheck.png */
|
||||||
MTDbreve, /*!< \brief small tilde over block \image html mathparser/MTDbreve.png */
|
MTDbreve, /*!< \brief small tilde over block \image html jkqtmathtext/MTDbreve.png */
|
||||||
MTDocirc, /*!< \brief single circle over block \image html mathparser/MTDocirc.png */
|
MTDocirc, /*!< \brief single circle over block \image html jkqtmathtext/MTDocirc.png */
|
||||||
MTDdot, /*!< \brief single dot over block \image html mathparser/MTDvec.png */
|
MTDdot, /*!< \brief single dot over block \image html jkqtmathtext/MTDvec.png */
|
||||||
MTDddot, /*!< \brief double dot over block \image html mathparser/MTDddot.png */
|
MTDddot, /*!< \brief double dot over block \image html jkqtmathtext/MTDddot.png */
|
||||||
MTDbar, /*!< \brief bar over block \image html mathparser/MTDbar.png */
|
MTDbar, /*!< \brief bar over block \image html jkqtmathtext/MTDbar.png */
|
||||||
MTDarrow, /*!< \brief arrow over block \image html mathparser/MTDarrow.png */
|
MTDarrow, /*!< \brief arrow over block \image html jkqtmathtext/MTDarrow.png */
|
||||||
MTDoverline, /*!< \brief overline over block \image html mathparser/MTDoverline.png */
|
MTDoverline, /*!< \brief overline over block \image html jkqtmathtext/MTDoverline.png */
|
||||||
MTDdoubleoverline, /*!< \brief double overline over block \image html mathparser/MTDdoubleoverline.png */
|
MTDdoubleoverline, /*!< \brief double overline over block \image html jkqtmathtext/MTDdoubleoverline.png */
|
||||||
MTDunderline, /*!< \brief underline under block \image html mathparser/MTDunderline.png */
|
MTDunderline, /*!< \brief underline under block \image html jkqtmathtext/MTDunderline.png */
|
||||||
MTDdoubleunderline, /*!< \brief double underline under block \image html mathparser/MTDdoubleunderline.png */
|
MTDdoubleunderline, /*!< \brief double underline under block \image html jkqtmathtext/MTDdoubleunderline.png */
|
||||||
MTDtilde, /*!< \brief small tilde over block \image html mathparser/MTDtilde.png */
|
MTDtilde, /*!< \brief small tilde over block \image html jkqtmathtext/MTDtilde.png */
|
||||||
MTDwidetilde, /*!< \brief full width tilde over block \image html mathparser/MTDwidetilde.png */
|
MTDwidetilde, /*!< \brief full width tilde over block \image html jkqtmathtext/MTDwidetilde.png */
|
||||||
MTDcancel, /*!< \brief cancel text with sloped line \image html mathparser/MTDcancel.png */
|
MTDcancel, /*!< \brief cancel text with sloped line \image html jkqtmathtext/MTDcancel.png */
|
||||||
MTDbcancel, /*!< \brief cancel text with backward sloped line \image html mathparser/MTDbcancel.png */
|
MTDbcancel, /*!< \brief cancel text with backward sloped line \image html jkqtmathtext/MTDbcancel.png */
|
||||||
MTDxcancel, /*!< \brief cancel text with X \image html mathparser/MTDxcancel.png */
|
MTDxcancel, /*!< \brief cancel text with X \image html jkqtmathtext/MTDxcancel.png */
|
||||||
MTDstrike /*!< \brief strikethrough text \image html mathparser/MTDstrike.png */
|
MTDstrike /*!< \brief strikethrough text \image html jkqtmathtext/MTDstrike.png */
|
||||||
};
|
};
|
||||||
/** \brief convert a JKQTMathTextDecoration into a string
|
/** \brief convert a JKQTMathTextDecoration into a string
|
||||||
* \ingroup jkqtmathtext
|
* \ingroup jkqtmathtext
|
||||||
@ -291,7 +291,7 @@ JKQTMATHTEXT_LIB_EXPORT QString JKQTMathTextDecorationToString(JKQTMathTextDecor
|
|||||||
/** \brief create a QPainterPath for drawing horizontal braces
|
/** \brief create a QPainterPath for drawing horizontal braces
|
||||||
* \ingroup jkqtmathtext
|
* \ingroup jkqtmathtext
|
||||||
*
|
*
|
||||||
* \image html mathparser/JKQTMathTextMakeHBracePath.png
|
* \image html jkqtmathtext/JKQTMathTextMakeHBracePath.png
|
||||||
*/
|
*/
|
||||||
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeHBracePath(double x, double ybrace, double width, double bw, double cubicshrink=0.5, double cubiccontrolfac=0.3);
|
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeHBracePath(double x, double ybrace, double width, double bw, double cubicshrink=0.5, double cubiccontrolfac=0.3);
|
||||||
|
|
||||||
@ -299,7 +299,7 @@ JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeHBracePath(double x, double
|
|||||||
/** \brief create a QPainterPath for drawing horizontal arrows
|
/** \brief create a QPainterPath for drawing horizontal arrows
|
||||||
* \ingroup jkqtmathtext
|
* \ingroup jkqtmathtext
|
||||||
*
|
*
|
||||||
* \image html mathparser/JKQTMathTextMakeArrow.png
|
* \image html jkqtmathtext/JKQTMathTextMakeArrow.png
|
||||||
*/
|
*/
|
||||||
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeArrow(double x, double y, double width, double arrowW, bool left=false, bool right=true);
|
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeArrow(double x, double y, double width, double arrowW, bool left=false, bool right=true);
|
||||||
|
|
||||||
@ -307,7 +307,7 @@ JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeArrow(double x, double y, d
|
|||||||
/** \brief create a QPainterPath for drawing horizontal double arrows
|
/** \brief create a QPainterPath for drawing horizontal double arrows
|
||||||
* \ingroup jkqtmathtext
|
* \ingroup jkqtmathtext
|
||||||
*
|
*
|
||||||
* \image html mathparser/JKQTMathTextMakeDArrow.png
|
* \image html jkqtmathtext/JKQTMathTextMakeDArrow.png
|
||||||
*/
|
*/
|
||||||
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeDArrow(double x, double y, double width, double arrowW, bool left=false, bool right=true);
|
JKQTMATHTEXT_LIB_EXPORT QPainterPath JKQTMathTextMakeDArrow(double x, double y, double width, double arrowW, bool left=false, bool right=true);
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class JKQTMathText; // forward
|
|||||||
/** \brief subclass representing a brace node
|
/** \brief subclass representing a brace node
|
||||||
* \ingroup jkqtmathtext_items
|
* \ingroup jkqtmathtext_items
|
||||||
*
|
*
|
||||||
* \image html jkqtmathtext_bracenode_geo.png
|
* \image html jkqtmathtext/jkqtmathtext_bracenode_geo.png
|
||||||
*/
|
*/
|
||||||
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextBraceNode: public JKQTMathTextSingleChildNode {
|
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextBraceNode: public JKQTMathTextSingleChildNode {
|
||||||
public:
|
public:
|
||||||
|
@ -35,7 +35,7 @@ class JKQTMathText; // forward
|
|||||||
/** \brief subclass representing a decorated text m (e.g. \c \\vec \c \\hat ...) node
|
/** \brief subclass representing a decorated text m (e.g. \c \\vec \c \\hat ...) node
|
||||||
* \ingroup jkqtmathtext_items
|
* \ingroup jkqtmathtext_items
|
||||||
*
|
*
|
||||||
* \image html mathparser/decoration_sizing.png
|
* \image html jkqtmathtext/decoration_sizing.png
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextDecoratedNode: public JKQTMathTextSingleChildNode {
|
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextDecoratedNode: public JKQTMathTextSingleChildNode {
|
||||||
|
@ -36,10 +36,10 @@ class JKQTMathText; // forward
|
|||||||
* \ingroup jkqtmathtext_items
|
* \ingroup jkqtmathtext_items
|
||||||
*
|
*
|
||||||
* all fractions re drawn like this:
|
* all fractions re drawn like this:
|
||||||
* \image html jkqtmathtext_fracnode_geo.png
|
* \image html jkqtmathtext/jkqtmathtext_fracnode_geo.png
|
||||||
*
|
*
|
||||||
* slanted fractions are drawn like this:
|
* slanted fractions are drawn like this:
|
||||||
* \image html jkqtmathtext_sfracnode_geo.png
|
* \image html jkqtmathtext/jkqtmathtext_sfracnode_geo.png
|
||||||
*/
|
*/
|
||||||
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextFracNode: public JKQTMathTextDualChildNode {
|
class JKQTMATHTEXT_LIB_EXPORT JKQTMathTextFracNode: public JKQTMathTextDualChildNode {
|
||||||
public:
|
public:
|
||||||
|