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

Make sansmath and fontset.stix optional #141

Open
pnkraemer opened this issue Jan 26, 2024 · 0 comments
Open

Make sansmath and fontset.stix optional #141

pnkraemer opened this issue Jan 26, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pnkraemer
Copy link
Owner

The font configurations implement sansmath and fontset.stix, which implies that latex-maths is always typeset in the same font as the text, even if the selected font package does not do this.

For example, \usepackage{times} selects Times as the text font and Computer Modern as the maths font. Applying sansmath or stix changes the maths font to match the text font, and therefore, Tueplots' font configuration does not match the journal's font configuration exactly.

In my opinion, this configuration is a clear improvement. However, it is an opinionated font-implementation and should therefore be optional.

The solution would be to expose this choice as a flag in the font-related command. I think the default should be False (opt-in rather than opt-out) because that would imply that the default matches the Latex templates perfectly. But I could be convinced otherwise because it looks much better.

@pnkraemer pnkraemer added enhancement New feature or request help wanted Extra attention is needed labels Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant