-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ticklabels font using latex #11586
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
Comments
this answer by @mdboom might help...
rc('text.latex', preamble=r'\usepackage{cmbright}') Using that suggestion, here are the results... |
That makes sense to me. OTOH, we maybe could do a better job of documenting this. I don't think its trivial for a user to know that they need to setup TeX by hand this way. Possibly more info at? |
I think an entry that says “font selection using tex” or some such would be helpful. Show changing the basic font and the math font. Long term I really wonder if the Tex rendering should not consult the non-Tex font selection mechanisms at all, and users should set the preamble by hand to get what they want. That would reduce confusion in my mind. |
Will work on it in a day or two... looks like I might have to remove some
portions of the existing documentation (seems to be inconsistent with the
stackoverflow answer... will confirm soon). I looked at the “git blame” for
that and it seems to be 10 yrs old!
…On Tue, Jul 10, 2018 at 12:07 PM Jody Klymak ***@***.***> wrote:
I think an entry that says “font selection using tex” or some such would
be helpful. Show changing the basic font and the math font.
Long term I really wonder if the Tex rendering should not consult the
non-Tex font selection mechanisms at all, and users should set the preamble
by hand to get what they want. That would reduce confusion in my mind.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11586 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOePxAmqIXJ8F0JommCcWef2LpTvbVjiks5uFNFPgaJpZM4VFZMT>
.
|
but then the tick labels won't be rendered using TeX (and other mathematical symbols, numbers will still be using TeX when |
The ticklabels do use tex, because |
In this issue, there is no math mode text used. Hence this would solve this issue. |
In theory I think we could emit something along the lines of |
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help! |
I can not change the fontstyle of the ticklabels to "sans-serif" when using latex.
Matplotlib version
The text was updated successfully, but these errors were encountered: