2

I don’t know what is happening. Currently, when I type $\int_a^b f$, the integral sign is always big, as if I’m typing $$\int_a^b f$$. I’m using \textstyle to correct this, but I wanted not to have to type this, and that the size of integral was text style normally.

Does some one know how to fix this?

Thanks!

4
  • 2
    what you describe does not happen by default so must be due to code you have not shown. Please always show a complete small document that shows the problem Oct 1, 2022 at 21:44
  • 1
    do you have \everymath{\displaystyle} ? Oct 1, 2022 at 21:45
  • 1
    Welcome to TeX.SE! There is no way for us to tell you how to fix this without knowing how you broke it :-). Please add a minimal working example (MWE) that illustrates your problem, starting with \documentclass{...} and ending with \end{document}
    – campa
    Oct 1, 2022 at 21:45
  • 1
    @DavidCarlisle YES, that was the problem... I just copied the preamble of another file and didn't realize it was there... thanks, I was getting crazy with this Oct 1, 2022 at 21:58

1 Answer 1

6

Probably you have \everymath{\displaystyle} somewhere. You sometimes see this recommended on the internet, but it's almost always wrong, it destroys inline math setting, as you see.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .