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

LaTeX font options #93

Open
sswatson opened this issue Oct 14, 2019 · 2 comments
Open

LaTeX font options #93

sswatson opened this issue Oct 14, 2019 · 2 comments

Comments

@sswatson
Copy link

I'm wondering whether it would be helpful to allow the user to change the LaTeX font by injecting code into the header of the LaTeX file being compiled. That way, users could get their math font to match their text font.

I hardly have the full view, but it seems that maybe this could be implemented by changing a few lines in latex2image in gr.c.

@jheinen
Copy link
Collaborator

jheinen commented Oct 15, 2019

We could think of site-specific LaTeX prologues, given in an environment or a configuration file. Would this be acceptable for you?

@sswatson
Copy link
Author

Yes, that sounds like a good solution. Ultimately I'd like to be able to do something like gr(texpreamble="\\usepackage{mathpazo}") in Julia.

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

2 participants