doc update

This commit is contained in:
jkriege2 2022-08-21 21:34:05 +02:00
parent 07d3fdcd99
commit cffa7189d4
5 changed files with 10 additions and 1 deletions

View File

@ -71,6 +71,8 @@
- using <a href="https://dejavu-fonts.github.io/">"DejaVu Sans"</a> <c>JKQTMathText::setFontRomanAndMath("DejaVu Sans")</c>: \image html jkqtmathtext/jkqtmathtext_DejaVuSans.png
- using <a href="https://dejavu-fonts.github.io/">"DejaVu Serif"</a> <c>JKQTMathText::setFontRomanAndMath("DejaVu Serif")</c>: \image html jkqtmathtext/jkqtmathtext_DejaVuSerif.png
- using "XITS" <c>JKQTMathText::useXITS(false)</c>: \image html jkqtmathtext/jkqtmathtext_xits_all.png
- using "Noto Sans" <c>JKQTMathText::setFontRomanAndMath("Noto Sans", "Noto Sans Math")</c>: \image html jkqtmathtext/jkqtmathtext_notosans.png
- using "Noto Serif" <c>JKQTMathText::setFontRomanAndMath("Noto Serif", "Noto Serif")</c>: \image html jkqtmathtext/jkqtmathtext_notoserif.png
.
Math-mode is activated by enclosing your equation in \c $...$ or \c \\[...\\] .

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

View File

@ -47,6 +47,14 @@ jkqtmathtext_computermodern.png
--fontmathroman=CMU Serif --fontroman=SMU Serif --sizeincrease=10
Schrödinger's equation: $\left[-\frac{\hbar^2}{2m}\frac{\partial^2}{\partial x^2}+V\right]\Psi(x)=\mathrm{i}\hbar\frac{\partial}{\partial t}\Psi(x),\ \ x\in\mathbb{R}, \Psi(x)\in\mathbb{C}$
---
jkqtmathtext_notosans.png
--fontmathroman=Noto Sans Math --fontroman=Noto Sans --sizeincrease=10
Schrödinger's equation: $\left[-\frac{\hbar^2}{2m}\frac{\partial^2}{\partial x^2}+V\right]\Psi(x)=\mathrm{i}\hbar\frac{\partial}{\partial t}\Psi(x),\ \ x\in\mathbb{R}, \Psi(x)\in\mathbb{C}$
---
jkqtmathtext_notoserif.png
--fontmathroman=Noto Serif --fontroman=Noto Serif --sizeincrease=10
Schrödinger's equation: $\left[-\frac{\hbar^2}{2m}\frac{\partial^2}{\partial x^2}+V\right]\Psi(x)=\mathrm{i}\hbar\frac{\partial}{\partial t}\Psi(x),\ \ x\in\mathbb{R}, \Psi(x)\in\mathbb{C}$
---
jkqtmathtext_asana.png
--fontmathroman=Asana Math --sizeincrease=10
Schrödinger's equation: $\left[-\frac{\hbar^2}{2m}\frac{\partial^2}{\partial x^2}+V\right]\Psi(x)=\mathrm{i}\hbar\frac{\partial}{\partial t}\Psi(x),\ \ x\in\mathbb{R}, \Psi(x)\in\mathbb{C}$

View File

@ -317,7 +317,6 @@ bool JKQTMathText::useSTIX(bool mathModeOnly, bool useAsFallbackSymbol) {
bool JKQTMathText::useXITS(bool mathModeOnly, bool useAsFallbackSymbol)
{
const JKQTMathTextFontSpecifier xits=JKQTMathTextFontSpecifier::getXITSFamilies();
bool res=false;