How can I make an integral symbol with a bar above it or a bar below it?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
From what I've seen online, it suffices to use Here is a minimal example that defines
which draws the "upper Riemann integral" over the range [
defines the "lower Riemann integral" over the range [
These integrals also translate to use in text mode, but vertical alignment is slightly off due to the integral sign by default. |
|||||||||
|
|
Personally I use shorter bars. It makes the macro much more complex:
I'm not sure which is better. Some new Unicode math fonts (XITS Math and Asana Math) have
|
||||
|
|


(from 