-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
We have as default the scale factors of .7 for math script size, and of .5 for math script script size.
We can see it in
\_def \_mathfontsize #1{\_if$#1$\_else
\_tmpdim=#1\_ptunit
\_edef\_sizemtext{\_ea\_ignorept \_the\_tmpdim \_ptmunit}%
\_tmpdim=0.7\_tmpdim
\_edef\_sizemscript{\_ea\_ignorept \_the\_tmpdim \_ptmunit}%
\_tmpdim=#1\_ptunit \_tmpdim=0.5\_tmpdim
\_edef\_sizemsscript{\_ea\_ignorept \_the\_tmpdim \_ptmunit}%
\_fi
}and in
\_def\_mathbox#1{{\_mathstyles{\_hbox{%
\_ifnum\_stylenum<2 \_everymath{\_currstyle}%
\_else
\_ifnum\_stylenum=2 \_def\_textmff{ssty=1;}\_fi
\_ifnum\_stylenum=3 \_def\_textmff{ssty=2;}\_def\_scriptmff{ssty=2;}\_fi
\_typoscale[\_dobystyle{}{}{700}{500}/]\_fi #1}}}%
}Could we consider to make those scale factors configurable? We could have for instance two new dimens, called \scalemscript and \scalemsscript, that have defaults of 500 and 700 respectively, and use them both in the definition of \mathfontsize and \mathbox.
Metadata
Metadata
Assignees
Labels
No labels