This commit is contained in:
jkriege2 2022-08-10 19:21:54 +02:00
parent cb8d2ffa60
commit ff58485aa6
2 changed files with 14 additions and 14 deletions

View File

@ -115,55 +115,55 @@
<table> <table>
<tr> <tr>
<td>"<code>\\ </code>" <td>\c \\ (backslash+whitespace)
<td>thicker whitespace (1/3em) <td>thicker whitespace (1/3em)
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_thicker.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_thicker.png
<tr> <tr>
<td>"<code>\\enspace</code>" <td>\c \\enspace
<td>1en whitespace <td>1en whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_enspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_enspace.png
<tr> <tr>
<td>"<code>\\emspace</code>" / "<code>\\quad</code>" <td>\c \\emspace / \c \\quad
<td>quad (1em) whitespace <td>quad (1em) whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_emspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_emspace.png
<tr> <tr>
<td>"<code>\\qquad</code>" <td>\c \\qquad
<td>qquad (2em) whitespace <td>qquad (2em) whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_qquad.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_qquad.png
<tr> <tr>
<td>"<code>\\,</code>" / "<code>\\thinspace</code>" <td>\c \\, / \c \\thinspace
<td>thin whitespace <td>thin whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_thinspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_thinspace.png
<tr> <tr>
<td>"<code>\\:</code>" / "<code>\\medspace</code>" <td>\c \\: / \c \\medspace
<td>medium whitespace <td>medium whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_medspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_medspace.png
<tr> <tr>
<td>"<code>\\;</code>" / "<code>\\thickspace</code>" <td>\c \\; / \c \\thickspace
<td>thick whitespace <td>thick whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_thickspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_thickspace.png
<tr> <tr>
<td>"<code>\\!</code>" / "<code>\\negthinspace</code>" <td>\c \\! / \c \\negthinspace
<td>negative thin whitespace <td>negative thin whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_negthinspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_negthinspace.png
<tr> <tr>
<td>"<code>\\negmedspace</code>" <td>\c \\negmedspace
<td>negative medium whitespace <td>negative medium whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_negmedspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_negmedspace.png
<tr> <tr>
<td>"<code>\\negthickspace</code>" <td>\c \\negthickspace
<td>negative thick whitespace <td>negative thick whitespace
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_negthickspace.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_negthickspace.png
<tr> <tr>
<td>"<code>\\phantom{XXX}</code>" <td>\c \\phantom{XXX}
<td>whitespace with the width and height of <code>XXX</code> (may contain LaTeX instructions) <td>whitespace with the width and height of <code>XXX</code> (may contain LaTeX instructions)
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_phantom.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_phantom.png
<tr> <tr>
<td>"<code>\\vphantom{XXX}</code>" <td>\c \\vphantom{XXX}
<td>whitespace with the height of <code>XXX</code> (may contain LaTeX instructions) and width 0 <td>whitespace with the height of <code>XXX</code> (may contain LaTeX instructions) and width 0
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_vphantom.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_vphantom.png
<tr> <tr>
<td>"<code>\\hphantom{XXX}</code>" <td>\c \\hphantom{XXX}
<td>whitespace with the width of <code>XXX</code> (may contain LaTeX instructions) and height 0 <td>whitespace with the width of <code>XXX</code> (may contain LaTeX instructions) and height 0
<td>\image html jkqtmathtext/jkqtmathtext_whitespace_hphantom.png <td>\image html jkqtmathtext/jkqtmathtext_whitespace_hphantom.png
</table> </table>

View File

@ -370,7 +370,7 @@ class JKQTMATHTEXT_LIB_EXPORT JKQTMathText : public QObject {
void setFontCaligraphic(const QString & fontName, JKQTMathTextFontEncoding encoding=JKQTMathTextFontEncoding::MTFEStandard); void setFontCaligraphic(const QString & fontName, JKQTMathTextFontEncoding encoding=JKQTMathTextFontEncoding::MTFEStandard);
/** \brief retrieves the font to be used for text in the logical font MTEcaligraphic */ /** \brief retrieves the font to be used for text in the logical font MTEcaligraphic */
QString getFontCaligraphic() const; QString getFontCaligraphic() const;
/** \brief set the font \a fontName and it's encoding \a encoding to be used for text in the logical font MTEblackboard \see setFontBlackboardSimulated() /** \brief set the font \a fontName and it's encoding \a encoding to be used for text in the logical font MTEblackboard \see setFontBlackboardMode()
* *
* *
*/ */