stipub / stixfonts

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

Where can I find STIX Math sans-serif fonts? #231

Open dmey opened 2 years ago

dmey commented 2 years ago

I can only find regular serif fonts for download. Are STIX Math sans-serif fonts available?

tiroj commented 2 years ago

There are no STIX sans serif fonts, but there is a math alphanumeric sans serif set of characters included for use as symbols in equations. For more discussion of sans serif companions to the STIX fonts see Issue 228

grivasgervilla commented 2 years ago

@dmey if you want to use the sans-serif characters that @tiroj mentioned in LaTeX you can take a look at the unicode-math symbol table and use the proper macro for the desired symbol.

dmey commented 2 years ago

Thank you @tiroj and @Griger. @Griger I was actually looking to use them in Word. I asked about the sans-serif version as this is what I think is used in matplotlib--the Python library I use for creating plots. I am trying to have consistent fonts between body and figures. I think in Matlotlib they do some kind of remapping though to get to the sans-serifs.

xsrvmy commented 2 years ago

That looks like a remap to the math alphabet, and it's not even the current version of STIX. Matplotlib does allow you to use any font for the math alphabet though, via mathtext.it, mathtext.rm, etc. So if you want to use Arial or Calibri you can just use that.

tiroj commented 2 years ago

If you want to use a companions sans serif typeface that is very close in style to that of the STIX Two Math sans subset, I recommend Source Sans. The STIX Two Math sans is directly derived from that project, but with slightly different x-height proportions and custom weight instances.

dmey commented 2 years ago

@tiroj thanks but not sure that this works as general Math font for Word. The only sans-serif Math font I could find is https://github.com/firamath/firamath but some characters are still missing.

tiroj commented 2 years ago

Ah, sorry, I had misunderstood your request. Because mathematical typesetting has historically been derived from serif styles, and the use of other styles as symbols within math has evolved to represent semantics, there isn’t a lot of impetus to produce non-serif math fonts. Obviously, where the semantic distinction between serif and sans serif is not a factor in the maths represented, there may be a space for general sans serif text style, but as soon as additional style symbols such as fancy script or double-struck come into play I wonder how that would look?

RGB-es commented 2 years ago

@tiroj thanks but not sure that this works as general Math font for Word. The only sans-serif Math font I could find is https://github.com/firamath/firamath but some characters are still missing.

You may try with kpfonts-otf: https://ctan.org/tex-archive/fonts/kpfonts-otf The project offers 5 math fonts, one of them a Sans. It's quite different from Source Sans Pro, but maybe it works for you.

Enivex commented 1 year ago

Ah, sorry, I had misunderstood your request. Because mathematical typesetting has historically been derived from serif styles, and the use of other styles as symbols within math has evolved to represent semantics, there isn’t a lot of impetus to produce non-serif math fonts. Obviously, where the semantic distinction between serif and sans serif is not a factor in the maths represented, there may be a space for general sans serif text style, but as soon as additional style symbols such as fancy script or double-struck come into play I wonder how that would look?

The main role of sans serif fonts is for posters and presentations, where you can accept a reduced set of characters. Fira Math is decent for this, but it would be great to have alternatives (there's basically none). It does have blackboard bold, but no calligraphic letters.

https://firamath.github.io/specimen.html

image