I try to typeset bar over/under integral symbol with


But the line looks too long, any solution?

  • these are in unicode: U+2A1B and U+2A1C respectively. as such, they should be in the stix or xits fonts, or other fonts supporting unicode. Nov 8, 2014 at 15:48

4 Answers 4


This should do (not in script styles)


    \rlap{\hbox to\wd\z@{%
      \vrule width .35em height \dimexpr\ht\z@+1.4pt\relax depth -\dimexpr\ht\z@+1pt\relax
      \kern.05em % a small correction on the top
    \rlap{\hbox to\wd\z@{%
      \vrule width .35em height -\dimexpr\dp\z@+1pt\relax depth \dimexpr\dp\z@+1.4pt\relax

\tint_a^b f(t)\,dt=\bint_a^b f(t)\,dt
\tint_a^b f(t)\,dt=\bint_a^b f(t)\,dt

enter image description here


How about this?


enter image description here



\[ \upint\limits_{a}^{b} f(x) \ \text{d}x \ \ \ \lowint\limits_{a}^{b} f(x) \ \text{d}x \]

  • 1
    Adding a few words wouldn't hurt. Aug 6, 2021 at 14:08
  • And no you should not be using \text{d} here at all try \itshape \[ \int \text{d} x \] oops! Use \mathrm{d} (there are a lot of people who does not understand what the \text command is for.
    – daleif
    Aug 6, 2021 at 14:26

For typing the upper and lower Darboux integrals, you could use

\[\overline{\int_{a}^{b}}f dx = \underline{\int_{a}^{b}} f dx\]

You must log in to answer this question.

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