sile-typesetter / sile

The SILE Typesetter — Simon’s Improved Layout Engine
https://sile-typesetter.org
MIT License
1.67k stars 99 forks source link

feat(math): Support mathvariant on special extra greek characters #2161

Closed Omikhleia closed 1 week ago

Omikhleia commented 2 weeks ago

On greek uppercase, the theta variant and the nabla:

image

On greek lowercase,

image

(I double-checked the codepoints, but Libertinus Math seems indeed to lack the bold sans serif and bold sans serif italic for all these extra greek variants, but the "variant theta symbol")

It also "extends" the use of italic for these lowercase characters when used alone (as a one-character <mi>), 'cause one expects:

``\def{left}{} \def{right}{} \left( \sum_{j=1}^4 \epsilon^j \phij + \left( \sum{k=5}^8 \epsilon^k \right) \phi_5 \right)

(Compare with (La)TeX https://tex.stackexchange.com/a/116269)