Commit Graph

769 Commits

Author SHA1 Message Date
jkriege2
74cf8046ce code cleanup: Removed Parameter prevNodeSize from JKQTMathTextNode::draw() and JKQTMathTextNode::getSize()/JKQTMathTextNode::getSizeInternal(), since it is only really necessary for JKQTMathTextSubscriptNode and JKQTMathTextSuperscriptNode
bugfixed possible crash in JKQTMathTextWhitespaceNode (QMap[n1]=QMap[n2]=something; does not work for some reason)
2022-08-14 16:59:03 +02:00
jkriege2
e757e26503 JKQTMathText: ensure mini size of \left/\right braces, when contained text is very small, e.g. only lower-case
JKQTMathText: improve width-calculation of \left/\right braces
2022-08-13 21:56:09 +02:00
jkriege2
caf59f12d7 added support for JKQTMathTextNoopNode 2022-08-13 19:54:06 +02:00
jkriege2
cfac5138b3 docfix 2022-08-13 19:47:35 +02:00
jkriege2
f83a3468b1 JKQTMathText:
- new options interface for JKQTMathText::parse()
  - breaking: removed JKQTMathtext::unparsedNode
  - several minor improvements
2022-08-13 19:43:39 +02:00
jkriege2
ce6637fb4b NEW: JKQTMathText::parse() by default allows linebreaks in the LaTeX string to be parsed. This can be switched off by a parameter
NEW: TabSize can be set in JKQTMathTextVerbatimNode
2022-08-13 14:36:49 +02:00
jkriege2
c58fc985ce JKQTMathText: optimized frac/sub/super spacing 2022-08-12 16:50:26 +02:00
jkriege2
b9c498e556 docfix 2022-08-12 13:36:15 +02:00
jkriege2
04beafb1a6 JKQTMathText: text/narrow-math-operators have less space around the, 2022-08-12 13:28:34 +02:00
jkriege2
ef93432672 docufix 2022-08-12 13:06:50 +02:00
jkriege2
86ec545794 bug fixed 2022-08-12 13:04:26 +02:00
jkriege2
67579da1bc JKQTMathText: NEW: array/tabular-environments have limited support for formatting string like l|r|c and for \hline , \hdashline , \toprule , \midrule , \bottomrule 2022-08-12 12:54:10 +02:00
jkriege2
cda22a9d7a docufix 2022-08-11 17:26:46 +02:00
jkriege2
05d791502b fixed \min & \max + docfix 2022-08-11 15:22:48 +02:00
jkriege2
e1341170a2 Merge branch 'master' of https://github.com/jkriege2/JKQtPlotter 2022-08-11 15:12:35 +02:00
jkriege2
8876c361cf bugfix QSet <--> QList conversion + docfix 2022-08-11 15:12:11 +02:00
jkriege2
10c20887f0 bugfix QSet <--> QList conversion + docfix 2022-08-11 15:11:38 +02:00
jkriege2
bfee90b4fe JKQTMathText: added long arrow symbols 2022-08-11 14:17:39 +02:00
jkriege2
331a67c5a8 JKQTMathText: added \c \\dashuline{X}, \c \\dotuline{X}, \c \\underleftarrow{X}, \c \\underrightarrow{X}, \c \\underleftrightarrow{X}, \c \\overleftarrow{X}, \c \\overrightarrow{X}, \c \\overleftrightarrow{X}
JKQTMathText: corrected linewidths for decorations
2022-08-11 14:17:04 +02:00
jkriege2
62e3b47d08 JKQTMathText: improved rendering of decorations 2022-08-11 12:26:14 +02:00
jkriege2
c7b0185735 JKQTMathtext: added several new symbols that were missing so far 2022-08-11 11:33:29 +02:00
jkriege2
84f02e3ab6 JKQTMathText: improved symbol listing (auto-generated) 2022-08-11 09:06:06 +02:00
jkriege2
ff58485aa6 docfix 2022-08-10 19:21:54 +02:00
jkriege2
cb8d2ffa60 added missing node-type in example 2022-08-10 15:24:05 +02:00
jkriege2
e86fcb8c3c docfix 2022-08-10 15:20:21 +02:00
jkriege2
9ab3ddd3b0 doc-update 2022-08-10 14:41:26 +02:00
jkriege2
c917b53886 JKQTMathText documentation: improved symbol images by ensuring that they all have at least the height of "Aq", so it is easier to judge the position of the symbols and their size 2022-08-10 14:37:38 +02:00
jkriege2
868b89a99e JKQTMathText:
NEW: added \c \\snugshade{...}
  NEW: added \c \\snugbox{...}
  NEW: added \c \\phantom{xXy} , \c \\vphantom{xXy} and \c \\hphantom{xXy} instructions for whitespaces with the size of \c xXy
2022-08-10 14:36:16 +02:00
jkriege2
5283a1a995 JKQTMathText: IMPROVED/REWORKED rendering of blackboard font: now several different rendering modes can be selected using JKQTMathText::setFontBlackboradMode() 2022-08-10 12:12:30 +02:00
jkriege2
94b4e69b5b bugfixed JKQTMathText doc images (auto-generated) 2022-08-10 12:10:43 +02:00
jkriege2
3de6cf59d2 JKQTMathtext: bugfixed symbols for registered and copyright (had wrong codepoint) 2022-08-10 12:09:13 +02:00
jkriege2
0524c4b43d doc update 2022-08-08 10:39:15 +02:00
jkriege2
42fdec354e readded symbol images 2022-08-08 10:15:24 +02:00
jkriege2
030cdfe2e5 bugfixed JKQTMathText::drawIntoImage(), some code-cleanup in the other draw() functions + update of autogenerated doc-images 2022-08-08 10:12:59 +02:00
jkriege2
7d24ef2478 updated doc 2022-08-07 23:14:57 +02:00
jkriege2
2e8bd0134d removed some unused files 2022-08-07 23:01:09 +02:00
jkriege2
03ba0572af bigfixed some problems 2022-08-07 22:59:32 +02:00
jkriege2
5cc0a2478a JKQTMathText: updated documentation with new (auto-generated) images, added CMake Custom Target to generate documentation images with jkqtmathtext_render, improved documentation 2022-08-07 22:23:19 +02:00
jkriege2
d3b0e88bb8 jkqtmathtext_render: added option to generate listing of all symbols + fixed some bugs 2022-08-07 22:13:31 +02:00
jkriege2
baeb7f9e38 bugfixed: \left....\right) didn't work 2022-08-07 20:39:45 +02:00
jkriege2
3d0183f6e9 bugfixed possible crash 2022-08-07 20:33:48 +02:00
jkriege2
bd1afe2a0a NEW: added command line tool jkatmathtext_render that renders LaTeX into images, using it to generate the documentation images for JKQTMathText 2022-08-07 18:02:21 +02:00
jkriege2
afa14cbbfb NEW: additional method JKQTMathtext::getSizeDetail() that returns all size-properties as a convenient struct, also added matching varinat JKQTMathTextNode::getSize()
NEW: additional method JKQTMathtext::drawIntoPixmap(), JKQTMathtext::drawIntoPicture(), JKQTMathtext::drawIntoImage() which returns a QPixmap, QPicture and QImage respectively that contains the render result of the currently parsed markup
2022-08-07 17:57:52 +02:00
jkriege2
ad171c161f whitespacenode: updated drawing/calculating 2022-08-07 17:50:38 +02:00
jkriege2
8af79cb927 JKQTMathTextSymbolNode: bugfixed bar-drawing for hbar 2022-08-07 17:49:46 +02:00
jkriege2
ef25aa82b0 updated doxygen stylesheet 2022-08-07 17:48:46 +02:00
jkriege2
f7ad259aeb JKQTMathText: added JKATMathTextNode::getSize()-Variant with struct return value 2022-08-07 17:48:05 +02:00
jkriege2
715aa4e7d9 JKQTMathText: bugfixed some uninitialized variables 2022-08-07 17:42:43 +02:00
jkriege2
b872fda7f9 added some convenience functions and docufix 2022-08-07 17:41:27 +02:00
jkriege2
06db6633e7 JKQTMathtext: added \st and \sout-instructions 2022-08-07 17:40:19 +02:00