\everymath{\scriptstyle}
inside a group to change it locally. But now it looks too small. Is there an in between, or can I set the number of pts manually? ThanksCode: Select all
Code, edit and compile here:
\documentclass[10pt]{article}\usepackage{amsmath}\renewcommand*{\familydefault}{\sfdefault}\begin{document}Default:{This is some text with the variable $K=10$ looking too large}Textstyle:{\everymath{\textstyle}This is some text with the variable $K=10$ still looking too large}Scriptstyle:{\everymath{\scriptstyle}This is some text with the variable $K=10$ looking too small}\end{document}