Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding sans-serif math #549

Open
apoorvpotnis opened this issue Dec 6, 2023 · 4 comments
Open

Regarding sans-serif math #549

apoorvpotnis opened this issue Dec 6, 2023 · 4 comments
Labels
pr-welcome A PR contributing towards this issue would be welcome.

Comments

@apoorvpotnis
Copy link

This is not a bug, but rather a feature request.

Are there any plans for a bold math font and a sans serif math font to accompany the Libertinus family? Many of the gylphs from the existing fonts can be used for bold math.

@alerque
Copy link
Owner

alerque commented Dec 6, 2023

Math fonts have different code points for bold variants of glyphs. Kind of by definition they cannot have bold weights because of the way math layout works (for legacy reasons). So no, declined on that count.

It's possible that if this even got a variable font overhaul that the main font weight could vary some, but that all the bold maths glyphs would always be X amount bolder on the weight axis, but I also don't know of any math typsetting engines that support variable fonts yet except sort of SILE, so whether that would work would be up to such a project to figure out.

I have no plans to work on a sans-serif math font, if and when I get time for this project there are lots of things to fix on the much more commonly desired serif side of things. I have no objections if somebody else were to contribute such a thing, just no plans to sink my time into such a thing.

@alerque alerque added the pr-welcome A PR contributing towards this issue would be welcome. label Dec 6, 2023
@alerque alerque changed the title Regarding bold math and sans serif math Regarding sans-serif math Dec 6, 2023
@apoorvpotnis
Copy link
Author

apoorvpotnis commented Dec 6, 2023

Thank you for the reply. I don't quite understand what does a variable font means (I will look it up), but just for the record, I was talking about bold math in the sense of fonts such as xits, concmath-otf, xcharter-otf, erewhon-otf or kpfonts-otf. Along with the regular math font, they offer a different bold version otf of their fonts, with limited glyphs, mostly intended for use as section and chapter headers. Creating a full bold math font will likely require big effort, if ultrabold/heavy weights are to be provided, to be used as vectors. Vectors would be normally written in bold, but if the surrounding font is already bold, this would mean that even bolder (ultrabold or heavy) new glyphs would be needed. The above mentioned fonts don't provide that. The only font that I know which provides them is MathTimePro2, which is commercial. Perhaps Minion math also provides them, but it is commercial as well. Btw, we can use the bold math font in latex using the \boldmath command.

@Bolpat
Copy link

Bolpat commented May 29, 2024

For a doctoral dissertation I typeset using Libertinus, I used fake bold for mathematical formulas in headings and faked slant in the little chapter on top of the page. It works and looks quite good enough, and a lot better than using simple math.

A sans-serif math font makes little sense as sans-serif vs serif is a mathematical distinction:

  • U+1D5A0…U+1D66F encode sans-serif Latin letters
  • U+1D756…U+1D7C9 encode sans-serif Greek letters
  • U+1D7E2…U+1D7F5 encode sans-serif numbers

“Normal” mathematical variables are serif by definition. The only kind of letters missing in Mathematical Alphanumeric Symbols is upright Latin, Greek and numbers, which are to be taken from the Basic Latin and Greek blocks.

@apoorvpotnis
Copy link
Author

apoorvpotnis commented May 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-welcome A PR contributing towards this issue would be welcome.
Projects
None yet
Development

No branches or pull requests

3 participants