I wish I could override the \ int command, so that each integral is rendered this way.

enter image description here

Yes, I know the command to display it this way is \int\displaylimits_a^b, but I would like to overwrite the original command. Some idea?

  • 3
    \let\oldint\int and \def\int{\oldint\displaylimits_a^b}
    – koleygr
    Aug 1, 2022 at 20:33
  • Are you actually trying to fix the limits to be “a” and “b”? Or are you trying to change the integral to always have \displaylimits? Aug 2, 2022 at 7:54

2 Answers 2


\int is defined as


so you could simply use \intop otherwise \let\int\intop if you want to use \int


Use the relevant option in amsmath:



\int_{a}^{b} f(x)\,dx


enter image description here

You must log in to answer this question.

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