How to draw minus infty using latex?

Hello, good morning. Im trying to draw integration unicode for -oo +oo infinity reprensentation but stucked only on this:
image
My goal is to draw minus symbol and get this:
image

Im using this code now

$$\int_\infty^\infty xf(x)dx$$

Your question says unicode but it appears you are writing LaTeX? Are you looking for \int_{-\infty}^\infty?

3 Likes

Nice solution. Did not notice that was two types of ways. I was looking in julia unicode documentation. Seems latex works very nice also.

Just to be clear, you are not writing unicode here, and what you are looking to do is also impossible with unicode, as neither infinity nor the minus sign are available as unicode sub/supercripts.

5 Likes

Understood. Thank you :clap: :clap: :clap:

1 Like