Skip to content

Update font-size macros to correct LaTeX values and make fontsizev3 package for backward compatibility#1449

Merged
dpvc merged 1 commit intodevelopfrom
update/font-sizes
Mar 29, 2026
Merged

Update font-size macros to correct LaTeX values and make fontsizev3 package for backward compatibility#1449
dpvc merged 1 commit intodevelopfrom
update/font-sizes

Conversation

@dpvc
Copy link
Copy Markdown
Member

@dpvc dpvc commented Mar 23, 2026

This PR fixes several incorrect sizes for the font-sizing commands (\tiny and \Tiny were switched, and the larger sizes were all off by one). It also adds \SMALL and \Small, which were missing, and \footnotesize, since several people have asked for that. Finally, since the largest size got shifted down one size, I've added \HUGE, which seems that it should have been there, but isn't, at least in the amsart class that is the basis for MathJax's definitions. It does seem to be defined in several other packages, however.

Resolves issue mathjax/MathJax#3280.

@dpvc dpvc added this to the v4.2 milestone Mar 23, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.49%. Comparing base (5629a28) to head (1c64d74).
⚠️ Report is 23 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##           develop    #1449     +/-   ##
==========================================
  Coverage    86.49%   86.49%             
==========================================
  Files          340      340             
  Lines        86044    86049      +5     
  Branches      4833     3190   -1643     
==========================================
+ Hits         74425    74430      +5     
  Misses       11619    11619             

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@dpvc dpvc merged commit c7f3ba0 into develop Mar 29, 2026
3 checks passed
@dpvc dpvc deleted the update/font-sizes branch March 29, 2026 17:20
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

Successfully merging this pull request may close these issues.

2 participants