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

Simple interface to change the font of the non-math part of LaTeXString #55

Open
Kolaru opened this issue Mar 10, 2022 · 0 comments
Open

Comments

@Kolaru
Copy link
Owner

Kolaru commented Mar 10, 2022

Original issue: MakieOrg/Makie.jl#1560

We should have a simple way to change the font of the the normal text in the LaTeXStrings.

I'm thinking of something like generate_texelements(latex_string, textfont="NewComputerModern").

This is possible as long as font modifiers are not available outside of math mode, since that would require 4 different fonts (roman, italics, bold, and bold italics).

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

No branches or pull requests

1 participant