-
Notifications
You must be signed in to change notification settings - Fork 130
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
Matching math font? #33
Comments
The |
Excellent point; have you tested this by any chance? Ideally, it should work almost the same for |
Yes, I've tested it for my PhD thesis with |
One caveat (AFAIU): using |
Good point—maybe I'd rather add this to the FAQ, then. Can you post your current changes? |
Adding the two lines above, as follows: \ifxetexorluatex
\usepackage{unicode-math} % use OpenType instead of Tex for math
\setmainfont{EB Garamond}
\setmonofont[Scale=MatchLowercase]{Source Code Pro}
\setmathfont{Garamond Math}
\else |
Awesome, thanks a lot! I use this now in the main template and added your name to the list of contributors. |
Thank you Bastian! |
As it stands, the template pairs the EB Garamond font for text with the Latin Modern Math font for math. Shouldn't it use the Garamond Math font for a better match? Though I'm unsure of its typographic quality.
That can be achieved with the
unicode-math
package as follows:A comprehensive list of OpenType math fonts (with rendered math) is available here.
The text was updated successfully, but these errors were encountered: