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

AMS: Font sizes not whole numbers when they probably should be? #34

Open
jamesrswift opened this issue May 30, 2024 · 4 comments
Open

Comments

@jamesrswift
Copy link

#let script-size = 7.97224pt
#let footnote-size = 8.50012pt
#let small-size = 9.24994pt
#let normal-size = 10.00002pt
#let large-size = 11.74988pt

@jamesrswift jamesrswift changed the title Font sizes not whole numbers when they probably should be? AMS: Font sizes not whole numbers when they probably should be? May 30, 2024
@aaron-jack-manning
Copy link
Contributor

For reference these are the LaTeX font sizes, which can be fetched directly from LaTeX (I chose 10pt because that's the closest to normal-size here):

\documentclass[10pt]{article}

\makeatletter
\newcommand\displayfontsize[1]{{#1 Font size:  \f@size pt\par}}
\makeatother

\begin{document}
\displayfontsize\scriptsize
\displayfontsize\footnotesize
\displayfontsize\small
\displayfontsize\normalsize
\displayfontsize\large
\end{document}

@laurmaedje
Copy link
Member

@jamesrswift do you have any resources stating what the values should be? IIRC, the template was made with measurements done on the LaTeX PDF ...

@aaron-jack-manning
Copy link
Contributor

@laurmaedje Do you recall which exact template you used (the AMS has many) and how you retrieved the font size? From what I can tell they are whole numbers (see here and search for DeclareRobustCommand{\large} for instance).

@laurmaedje
Copy link
Member

@reknih might know more. I think he created the first version.

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

No branches or pull requests

3 participants