JKQTMathText: added long arrow symbols

This commit is contained in:
jkriege2 2022-08-11 14:17:39 +02:00
parent 331a67c5a8
commit bfee90b4fe
8 changed files with 22 additions and 0 deletions

View File

@ -114,6 +114,14 @@
<td><code>\\leftrightarrow</code>: <td><code>\\leftrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_leftrightarrow.png <td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_leftrightarrow.png
</tr> </tr>
<tr>
<td><code>\\longleftarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_longleftarrow.png
<td><code>\\longleftrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_longleftrightarrow.png
<td><code>\\longrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_longrightarrow.png
</tr>
<tr> <tr>
<td><code>\\nearrow</code>: <td><code>\\nearrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_nearrow.png <td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_nearrow.png
@ -141,6 +149,14 @@
<tr> <tr>
<td><code>\\Leftrightarrow</code>: <td><code>\\Leftrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_lleftrightarrow.png <td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_lleftrightarrow.png
<td><code>\\Longleftarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_llongleftarrow.png
<td><code>\\Longleftrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_llongleftrightarrow.png
</tr>
<tr>
<td><code>\\Longrightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_llongrightarrow.png
<td><code>\\Rightarrow</code>: <td><code>\\Rightarrow</code>:
<td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_rrightarrow.png <td> \image html jkqtmathtext/symbols/jkqtmathtext_symbols_rrightarrow.png
<td><code>\\Uparrow</code>: <td><code>\\Uparrow</code>:

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B

View File

@ -749,6 +749,12 @@ void JKQTMathTextSymbolNode::fillSymbolTables()
symbols["in"]=MathOperatorSymbolUnicode(QChar(0x2208)).addMathOperatorHtml("&isin;").addMathOperatorWinSymbol(QChar(0xCE)); symbols["in"]=MathOperatorSymbolUnicode(QChar(0x2208)).addMathOperatorHtml("&isin;").addMathOperatorWinSymbol(QChar(0xCE));
symbols["int"]=NarrowMathOperatorSymbolUnicode(QChar(0x222B)).addGlobalFlags(IntLikeSymbolCorrection | SubSuperscriptBelowAboveSymbol).addMathOperatorHtml("&int;").addMathOperatorWinSymbol(QChar(0xF2), 1.8, 0.1); symbols["int"]=NarrowMathOperatorSymbolUnicode(QChar(0x222B)).addGlobalFlags(IntLikeSymbolCorrection | SubSuperscriptBelowAboveSymbol).addMathOperatorHtml("&int;").addMathOperatorWinSymbol(QChar(0xF2), 1.8, 0.1);
symbols["leftarrow"]=UprightSymbolUnicode(QChar(0x2190)).addUprightHtml("&larr;").addUprightWinSymbol(QChar(0xAC)); symbols["leftarrow"]=UprightSymbolUnicode(QChar(0x2190)).addUprightHtml("&larr;").addUprightWinSymbol(QChar(0xAC));
symbols["longleftarrow"]=UprightSymbolUnicode(QChar(0x27F5)).addUprightHtml("&longleftarrow;");
symbols["longrightarrow"]=UprightSymbolUnicode(QChar(0x27F6)).addUprightHtml("&longrightarrow;");
symbols["longleftrightarrow"]=UprightSymbolUnicode(QChar(0x27F7)).addUprightHtml("&longleftrightarrow;");
symbols["Longleftarrow"]=UprightSymbolUnicode(QChar(0x27F8)).addUprightHtml("&DoubleLongLeftArrow;");
symbols["Longrightarrow"]=UprightSymbolUnicode(QChar(0x27F9)).addUprightHtml("&DoubleLongRightArrow;");
symbols["Longleftrightarrow"]=UprightSymbolUnicode(QChar(0x27FA)).addUprightHtml("&Longleftrightarrow;");
symbols["leftharpoondown"]=UprightSymbolUnicode(QChar(0x21BD)).addUprightHtml("&leftharpoondown;"); symbols["leftharpoondown"]=UprightSymbolUnicode(QChar(0x21BD)).addUprightHtml("&leftharpoondown;");
symbols["leftharpoonup"]=UprightSymbolUnicode(QChar(0x21BC)).addUprightHtml("&LeftVector;"); symbols["leftharpoonup"]=UprightSymbolUnicode(QChar(0x21BC)).addUprightHtml("&LeftVector;");
symbols["leftrightarrow"]=UprightSymbolUnicode(QChar(0x2194)).addUprightHtml("&harr;").addUprightWinSymbol(QChar(0xAB)); symbols["leftrightarrow"]=UprightSymbolUnicode(QChar(0x2194)).addUprightHtml("&harr;").addUprightWinSymbol(QChar(0xAB));