jkriege2
d132009679
added some additional accent-control-sequences
2022-07-18 15:01:42 +02:00
jkriege2
a1a2fcdd3f
clean-up of library dependencies
2022-07-18 15:01:12 +02:00
jkriege2
a8da6caf0d
IMPROVED JKQTMathText: tokenizing and parsing of text in text-mode: now a lot of accents with commands like \"a, \'e and variants (e.g. {\"a}, \"{a}, ...) are supported now
...
NEW in JKQTMathText: added \acute{X}, \grave{X}, \acute{X}
2022-07-10 22:01:11 +02:00
jkriege2
24cb74fc06
bugfixed Qt5.x problem
2022-07-09 10:57:46 +02:00
jkriege2
5dee5ae93d
JKQTMathText: refactored \\instruction parsing
...
JKQTMathText: added \shaded{color}{...}, \ovalbox{}, ... commands
2022-07-08 23:15:42 +02:00
jkriege2
36aeec13aa
refactored/simplified JKQTMathText::parseLatexString()
...
bugfixed regression: JKQTMathText displays \left.\right)-type braces and \sum,\int,... with and without \limits correctly again
2022-07-06 22:44:02 +02:00
jkriege2
f9370799fc
minor bugfix: missing return
2022-07-06 21:00:24 +02:00
jkriege2
fc83ebea4c
Wingdings symbols
2022-07-06 21:00:03 +02:00
jkriege2
0ab3626f4d
refactored symbol node, should also fix issue #78
2022-07-05 22:03:08 +02:00
jkriege2
341e1ac2ef
bugfixed missing QFontMettricsF::width() in newer Qt versions, should fix issue #77
2022-07-05 20:14:51 +02:00
jkriege2
2ef181301b
NEW: JKQTMathText: added functions to set the font-size in pixels (as alternative to the existing functions that set them in points), implements request #76
2022-07-04 21:02:43 +02:00
jkriege2
9a13e5127a
JKQTMathText: improve documentation (fixes issue #74 ), add new draw()-variant, which accepts a QPointF
2022-07-03 21:30:12 +02:00
jkriege2
0f958cc2d6
- JKQTMathText: IMPROVED/breaking: refactored symbol node JKQTMathTextSymbolNode and changed font-lookup!
...
- JKQTMathText: IMPROVED/NEW/breaking: refactored whitespace-processing node JKQTMathTextWhitespaceNode, now all major LaTeX whitespace commands are supported properly
2022-07-03 20:30:12 +02:00
jkriege2
8814523e63
BUGFIX: JKQTMathText: corrected size-calculation and drawing of decorations
2022-06-28 23:14:31 +02:00
jkriege2
9a7e44889f
IMPROVED: JKQTMathText: optional parameter of \sqrt is properly parsed now
2022-06-28 21:59:50 +02:00
jkriege2
6c26e250da
IMPROVED: JKQTMathText: rendering of sqrt
2022-06-28 12:00:20 +02:00
jkriege2
b83e0a3292
NEW: JKQTMathText: added \underbracket and \overbracket
2022-06-28 10:15:54 +02:00
jkriege2
fc557c9aff
IMPROVEMENT: JKQTMathText: added x-correction for sub/superscript above/below/besides integrals
2022-06-27 22:57:49 +02:00
jkriege2
56418f9504
IMPROVEMENTS: JKQTMathText: underbrace/overbrace and angle-braket improvements
2022-06-27 21:09:22 +02:00
jkriege2
ebdc183b2b
IMPROVED: JKQTMathText: improved drawing of parantheses, square brackets ...
2022-06-26 23:46:11 +02:00
jkriege2
2d2acc3b19
NEW: JKQTMathText: added top-corner (\ulcorner/\urcorner) and bottom-corner brackets (\llcorner/\lrcorner)
2022-06-26 21:17:42 +02:00
jkriege2
45d6ef373b
bugfix: JKQTMathText: \sum and \prod used the wrong symbol in XITS-mode
...
NEW: JKQTMathText: \limits and \nolimits work as in LaTeX now (before it was simply removed and the functionality implemented for a fixed list of symbols)
remove/breaking: JKQTMathText: \v[a-zA-Z] and shorthand for \vec{a-zA-Z} was removed
improvement: improved typesetting of sub-/supercripts, especially for large math operators and braces
2022-06-26 00:28:49 +02:00
jkriege2
f49714ecb6
JKQTMathText: improved quotation mark symbols
2022-06-20 12:21:38 +02:00
jkriege2
48a9a45af9
JKQTMathText code/documentation cleanup
2022-06-20 12:18:19 +02:00
jkriege2
d8a3539844
bugfix: didn't compile with Qt < 6.0
2022-06-20 09:53:28 +02:00
jkriege2
f9c060af68
FIXED: JKQTMathText: symbol spacing in math mode (and text mode)
2022-06-19 23:34:25 +02:00
jkriege2
03c59d3507
NEW: LaTeX-Parser simplifies parse-tree to increase speed of execution
2022-06-19 22:36:38 +02:00
jkriege2
d885f7f00a
NEW: JKQTMathText: LaTeX-Parser understands optional instruction parameters in [...] now
2022-06-19 15:11:06 +02:00
jkriege2
5c255712ce
JKQTMathTextBraceNode uses an enum to reference brace types, not a QStrig
2022-06-09 21:37:06 +02:00
jkriege2
c8ef57bb66
JKQTMathText: moved some node-specific enums into the node classes
2022-06-09 20:32:16 +02:00
jkriege2
7b83640a19
moved JKQTMathText images to their own subdirectory
2022-06-09 14:42:25 +02:00
jkriege2
992cad7ff3
MODIFIED: brace node now calculates the extension of the child height above or below the strikeoutPos, in order to center braces around the strikeoutPos
...
fixed: strikeoutPos was not correctly calculated in sub-/superscript node
NEW: JKQTMathText shows strikeoutPos when drawing Debug-Boxes
2022-06-09 14:31:27 +02:00
jkriege2
143ae54ae8
JKQTMathText: modified text-positions of \sfrac and \stfrac
2022-06-09 11:32:57 +02:00
jkriege2
1a8de1bb2f
- NEW: reworked node class tree: inserted base-class nodes for single-child, dual-child!
...
- NEW: improved frac-rendering: font-scaling takes nesting-level into account, overall-rendering, sizes, if a brace surrounds a frac, the heights are equal above and below to center the brace ...
2022-06-08 23:52:22 +02:00
jkriege2
94ca27aed0
NEW/BREAKING: restructured JKQTMathText: broke up single, large CPP-file into several smaller files
...
added more examples to jkqtmathtext_test
2022-06-08 15:38:26 +02:00
jkriege2
b0f8a2d0b9
- NEW: JKQTMathText supports new decoration instructions: \cancel, \xcancel, \bcancel, \sout, \ocirc, \widetilde, \widehat, \breve</li>
...
- NEW: JKQTMathText: reworked drawing of decorations: improved appearance and positioning!
2022-06-06 23:24:05 +02:00
jkriege2
0f0c03772e
NEW: JKQTMathText supports new instructions: \cancel, \xcancel, \bcancel, \sout
2022-06-06 14:16:50 +02:00
jkriege2
d6b6a71395
fixes/improvements: JKQTMathText renders several LaTeX strings better (simple braces in math mode, +-*... as symbols with proper sizes in math mode, added some missing instruction aliases, improved size of \vec and \hat, corrrected fonts usage for mathrm,
2022-06-03 13:33:18 +02:00
jkriege2
285814f2e6
fixed: JKQTMathText added a little whitespace before and after the LaTeX-string. This was removed as it disturbed the layout of text in plots
2022-06-02 23:24:41 +02:00
jkriege2
f33838f187
added debug-feature to show boxes around text in the plot
2022-06-02 23:05:58 +02:00
jkriege2
d3b74875db
improved Qt6-compatibility by getting rid of deprecated warnings
2022-06-02 22:31:39 +02:00
jkriege2
bf21d53149
improved high-dpr-support in JKQTMathText
2022-06-02 22:17:38 +02:00
jkriege2
fd2ae94c6c
got rid of deprecated warnings when compiling with Qt6
2022-06-02 21:44:58 +02:00
jkriege2
5bb0235b33
added QIcon-generating functions to jkqtcommon
2022-06-02 21:21:51 +02:00
jkriege2
03497b6c31
changed JKQTPColorDerivationMode from an ENUM to a STRUCT, which extends its capabilities significantly
2022-06-02 21:21:17 +02:00
jkriege2
cf27b77b6b
added JKQTMathTextFontSpecifier struct that describes a font and a math companion
2022-06-02 21:19:16 +02:00
jkriege2
5fae11472c
added seaborn style
2022-05-23 22:44:58 +02:00
jkriege2
b756cb91e6
improved/fixed styling system: axis styles for colorbars were not properly taken from style objects + corrected some inaccurate drawing by using QRectF instead of QRect
2022-05-23 22:41:57 +02:00
jkriege2
667ffeb3f3
updated icons with high-dpi versions
2022-05-16 22:33:31 +02:00
jkriege2
fa02055b9d
bugfixed string conversion method
2022-05-16 22:32:56 +02:00