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

(Light) math font fitting to the default text fonts #60

Open
fzeiser opened this issue Aug 11, 2020 · 0 comments
Open

(Light) math font fitting to the default text fonts #60

fzeiser opened this issue Aug 11, 2020 · 0 comments

Comments

@fzeiser
Copy link

fzeiser commented Aug 11, 2020

I wondered which math font to use in connection to the default fonts for Deedy (Lato and Raleway). The text fonts are very light, which cause the combination to look rather "weird":

image

I tried to make the fonts lighter (with limited success) or find another well fitting font, see eg:

How do I get a light math font?
Suggest a “nice” font family for my basic LaTeX template (text and math)
See also this font cataloge with math support

After some struggles, I was rather happy with following solution:

  • the light front from kpfonts
  • still they were too "thick", so I made them almost grey
  • use the no-math option for fontspec, such that it doesn't change the math fonts
% Set main fonts
\usepackage[light]{kpfonts}
% \usepackage{lmodern}
\everymath{\color{black!50}}

\usepackage[no-math]{fontspec}

which results in the following:
image
(Note that I on purpose highlighted my name, F. Zeiser, but that's another issue. The math fonts don't disturb the eye any longer)

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