Draft: Support replacing font families for scriptfont and scriptscriptfont #1707
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
READ ME FIRST: Please understand that in most cases we will not be able to merge a pull request because there are a lot of internal activities needed when updating the LaTeX2e sources. If you have a code suggestion please discuss it with the team first.
In LaTeX's math model scripts use the same fonts as the regular math font, but in a smaller size. Similarly double subscripts use an even smaller version of the same font. Sometimes it makes sense to use special adaptions to make fonts work better in scripts. In Computer Modern this is handled by Optical Sizes, but this has the side effect that it only works for certain main text sizes.
In OpenType the concept of script font adjustments is separate from optical sizes and therefore does trigger many edge cases.
Therefore this extends NFSS's script font handling by allowing to register replacement font families to use instead of the base math font when used in a subscript or sub-subscript.
Internal housekeeping
Status of pull request
Checklist of required changes before merge will be approved
\changes
entries in source includedchanges.txt
updatedltnewsX.tex
(and/orlatexchanges.tex
) updated