TransWikia.com

Prevent fontsize command resize equation numbers

TeX - LaTeX Asked on February 28, 2021

I’m copy-editing a paper where the author used fontsize to resize equations:

documentclass[11pt]{article}
usepackage{amsmath}
pagestyle{empty}
begin{document}
 
Normal size equation and equation number:
begin{equation}
x+y=z
end{equation}

Resized size equation and equation numbers
{fontsize{8pt}{0}
begin{align}
widehat{P}_1 & = 3 {left(N + 3right)} {left(N + 2right)} {left(N + 1right)}^{2} N^{2} {left(N - 1right)} {left(N - 2right)} {left(N - 3right)} Q_{mult} Q_{1} label{EQ1}
widehat{P}_2 & = 3 {left(N + 1right)} N^{2} {left(N - 1right)} {left(N - 2right)} {left(N - 3right)} Q_{mult} Q_{2}
label{EQ2}end{align}}

end{document}

enter image description here

In the most cases the resizing is acceptable (ugly but acceptable) but I need the equation numbers not be resized.
Can I get the equation numbers to not be resized?

One Answer

I propose a variant solution with the medmath command from nccmath, which reduces the size of math formulæ by about 20 % (so the result will not be exactly 8 pt, but not very different):

documentclass[11pt]{article}
usepackage{amsmath}
pagestyle{empty}
begin{document}
 
Normal size equation and equation number:
begin{equation}
x+y=z
end{equation}

Resized size equation and equation numbers
{fontsize{8pt}{0}
begin{align}
widehat{P}_1 & = 3 {left(N + 3right)} {left(N + 2right)} {left(N + 1right)}^{2} N^{2} {left(N - 1right)} {left(N - 2right)} {left(N - 3right)} Q_{mult} Q_{1} label{EQ1}
widehat{P}_2 & = 3 {left(N + 1right)} N^{2} {left(N - 1right)} {left(N - 2right)} {left(N - 3right)} Q_{mult} Q_{2}
label{EQ2}end{align}}

end{document}

enter image description here

Answered by Bernard on February 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP