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

Allow overriding font for letters in math mode #411

Open
ForNeVeR opened this issue Jun 11, 2023 · 0 comments
Open

Allow overriding font for letters in math mode #411

ForNeVeR opened this issue Jun 11, 2023 · 0 comments

Comments

@ForNeVeR
Copy link
Owner

Traditionally, most TeX systems make a distinction between math mode and text mode, and different fonts may be used for each.

In XAML-Math, we use Computer Modern for math mode, and any user-provided font for text mode (i.e. the \text{} command).

The reason we use Computer Modern is that it includes the special characters to properly draw the radical character, several symbols for brackets of different sizes and so on.

Notably, we do not rely that much on actual letters (or, for that matter, digits) from the font.

Also, we now have a way of generating certain font size metrics on the fly.

I suggest us to consider providing an option to override the font used for text in the math mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant