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

Provide alternative fonts for formulas #332

Open
4 tasks
ForNeVeR opened this issue Jan 6, 2023 · 6 comments
Open
4 tasks

Provide alternative fonts for formulas #332

ForNeVeR opened this issue Jan 6, 2023 · 6 comments

Comments

@ForNeVeR
Copy link
Owner

ForNeVeR commented Jan 6, 2023

Eventually, we'll need to provide alternatives to Computer Modern we use currently.

Depends on:

@msthrax
Copy link

msthrax commented Jun 17, 2023

Hi.
Any coming updates on new fonts?

@ForNeVeR
Copy link
Owner Author

We have made some progress on automated font metric extraction, but that's it.

If you only want to change font of text and not formulas, then just use \text{ … }: this is customizable.

@msthrax
Copy link

msthrax commented Jun 23, 2023

Actually I need subscript and superscript in my app. I handled that with your library which was great but default font doesn't look good. Can you suggest a way to show subscript and superscript text in WPF App?
Thank you.
🙂

@ForNeVeR
Copy link
Owner Author

something^{\text{ … }} is also supposed to work, IIRC.

Also, it may depend on the kind of information you want to sub/superscript, but most modern fonts have a separate set of sub/superscript characters (I can't remember if they include all the letters or not).

See this page for an overview.

@msthrax
Copy link

msthrax commented Jun 27, 2023

As you said, I tested "something^{\text{ … }}" and actually it worked. But my next problem was changing the font and size. I used SystenFontName property to change font family but could do anything with font size. Is there any way for that?
Thank U.

@ForNeVeR
Copy link
Owner Author

So far, there are no specific controls for the "system font" size. You can only change it together with the math font size, by controlling the scale of the whole formula.

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

2 participants