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

Math font size does not follow the current normal text size #2145

Open
Omikhleia opened this issue Oct 21, 2024 · 1 comment · May be fixed by #2149
Open

Math font size does not follow the current normal text size #2145

Omikhleia opened this issue Oct 21, 2024 · 1 comment · May be fixed by #2149
Assignees
Labels
bug Software bug issue
Milestone

Comments

@Omikhleia
Copy link
Member

Up to SILE 0.15.5, the math font size is defaulting to 10 (pt) via the math.font.size setting.

While I can understand the need sometimes to adjust the math font size (e.g. based on the look of the target math font), this is a bad default and solution.

  • My booklet is typeset in Libertinus 12pt (... getting older, I use bigger font sizes), and uses Libertinus Math for math = Inline formulas are too small...
  • One may also expect formulas:
    • in block-quotes (e.g. a quotation from a book, generally typeset in a small font)...
    • or in footnotes... (idem)
    • or even in headers (and hence in the ToC etc.)

So the font size ought to be the same as the normal text size by default, and possibly be adjusted by some ratio, but certainly not in a different and independent size setting (or all commands that tweak the font size would need to also tweak the math font size).

@Omikhleia Omikhleia added the bug Software bug issue label Oct 21, 2024
@Omikhleia Omikhleia added this to Math Oct 21, 2024
@github-project-automation github-project-automation bot moved this to To do in Math Oct 21, 2024
@Omikhleia Omikhleia moved this from To do to In progress in Math Oct 23, 2024
@Omikhleia Omikhleia self-assigned this Oct 23, 2024
@Omikhleia Omikhleia added this to the v0.15.6 milestone Oct 23, 2024
@alerque
Copy link
Member

alerque commented Oct 29, 2024

Huh. I could have sworn I fixed this already, but it appears I must have stashed my code somewhere other than an open PR. Oops. I totally agree by default we should start out matching the text default and only allow the setting to be overridden (optionally relative to it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software bug issue
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants
@alerque @Omikhleia and others