stipub / stixfonts

OpenType Unicode fonts for Scientific, Technical, and Mathematical texts
SIL Open Font License 1.1
728 stars 41 forks source link

\sigma prints Greek varsigma rather than Greek sigma in sf types #163

Open kia999 opened 4 years ago

kia999 commented 4 years ago

I noticed that \sigma prints something wrong in sf. See attached example. I tested it with XeLaTeX from MikTeX.

\documentclass{article} \usepackage{unicode-math} \setmathfont[Color=000066,Scale=MatchLowercase]{STIX Two Math} %\setmathfont[Color=000066,Scale=MatchLowercase]{STIX} \usepackage{amsmath} \renewcommand{\vec}[1]{\symbf{#1}}

\begin{document} \begin{gather} %\label{} (): {\sigma}{\pi}{P}{\eta} \ (\text{mathbfsfit}): \mathbfsfit{\sigma}\mathbfsfit{\pi}\mathbfsfit{P}\mathbfsfit{\eta} \ (\text{symbfsfit}): \symbfsfit{\sigma}\symbfsfit{\pi}\symbfsfit{P}\symbfsfit{\eta} \ (\text{mathbfsf}): \mathbfsf{\sigma}\mathbfsf{\pi}\mathbfsf{P}\mathbfsf{\eta} \ (\text{mathbf}): \mathbf{\sigma}\mathbf{\pi}\mathbf{P}\mathbf{\eta} \ (\text{symbf}): \symbf{\sigma}\symbf{\pi}\symbf{P}\symbf{\eta} \end{gather} \end{document}

test-stix2.zip

test-stix2.pdf

tiroj commented 4 years ago

Thanks. Will check encoding of the two sigmas in the math sans serif sets for the next release.

davidmjones commented 3 years ago

This appears to be limited to XeTeX; the math alphabets come out as expected in luaTeX. It will require further research.