\starttext

\startbuffer
  $\int_a^b f(x) dx$ and also $\iint_a^b f(x,y) dxdy$, $\iiint_a^b f(x,y) dxdy$,
  $\iiiint_a^b f(x) dx$
  \startformula 
    \int_a^b f(x) dx \quad
    \iint_a^b f(x) dx \quad
    \iiint_a^b f(x) dx \quad
    \iiiint_a^b f(x) dx \quad
  \stopformula

  $\iint\limits_a^b$
  $\iint\nolimits_a^b$
  $\iint\displaylimits_a^b$
  \startformula 
    \iint\limits_a^b
    \iint\nolimits_a^b
    \iint\displaylimits_a^b
  \stopformula
\stopbuffer

Default: \getbuffer

Displaylimits: \setupmathematics[integral=displaylimits]\getbuffer


Limits: \setupmathematics[integral=limits] \getbuffer

\stoptext
