Skip to content

Document v0.14 new features about math fonts#7118

Open
YDX-2147483647 wants to merge 12 commits intotypst:mainfrom
YDX-2147483647:docs-math-font
Open

Document v0.14 new features about math fonts#7118
YDX-2147483647 wants to merge 12 commits intotypst:mainfrom
YDX-2147483647:docs-math-font

Conversation

@YDX-2147483647
Copy link
Contributor

Resolves #6737

Most features were implemented in #6365 by https://github.com/mkorje (Max).

@YDX-2147483647 YDX-2147483647 marked this pull request as draft October 12, 2025 14:59
Resolves typst#6737

Most features were implemented in typst#6365 by https://github.com/mkorje (Max).
@YDX-2147483647 YDX-2147483647 marked this pull request as ready for review October 12, 2025 15:39
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com>
span,
"current font is not designed for math";
hint: "rendering may be poor"
"the current base math font is {}, but it is not designed for math",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure the "base" is adding anything here. It makes it less clear to me.

Copy link
Contributor Author

@YDX-2147483647 YDX-2147483647 Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think if only a single font is specified, then current font is clear; but if multiple fonts are specified, emphasizing base is necessary.

If this is the right way to go, I can extract this part into a separate PR.

EDIT: I've removed the word base here, but I still think it's necessary to emphasize base in a way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While the information added here is valuable, I feel like it is too specific for the general math page and it may seem intimidating and of little use to someone who just wants to start writing some math. Unless we find a better place now, I think I'd prefer delaying its inclusion until the math docs are somehow expanded in a way where we can add such things into a better place. (We do plan to put a lot more focus on docs in the next release cycle, so this would not be an indefinite delay.)

@YDX-2147483647 YDX-2147483647 marked this pull request as draft October 24, 2025 08:13
@laurmaedje laurmaedje added docs Improvements or additions to documentation math Related to math category, with its syntax, layout, etc. blocked This PR is blocked by something. labels Oct 27, 2025
YDX-2147483647 added a commit to YDX-2147483647/typst-set-font that referenced this pull request Nov 5, 2025
YDX-2147483647 added a commit to YDX-2147483647/typst-set-font that referenced this pull request Nov 5, 2025
YDX-2147483647 added a commit to YDX-2147483647/typst-set-font that referenced this pull request Nov 5, 2025
YDX-2147483647 added a commit to YDX-2147483647/typst-set-font that referenced this pull request Nov 5, 2025
YDX-2147483647 added a commit to YDX-2147483647/typst-set-font that referenced this pull request Nov 5, 2025
@YDX-2147483647 YDX-2147483647 changed the title Document new features about math fonts Document v0.14 new features about math fonts Dec 16, 2025
@YDX-2147483647 YDX-2147483647 marked this pull request as ready for review December 22, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked This PR is blocked by something. docs Improvements or additions to documentation math Related to math category, with its syntax, layout, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems on setting CJK/Han font in math equations

3 participants