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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Would you guys help me design an integral symbol with the \infty symbol inscribed through it and aligned correctly with the slant of the integral symbol? I tried using

\DeclareMathOperator*{\loopint}{\begingroup \displaystyle \unitlength 1pt

as you can see, rather than the infinity symbol, it just uses two circles which don't look professional in my opinion and also my latex editor give me an error that I have a missing $ in it which I cannot determine where.

share|improve this question
Thanks for providing what you had attemtped, but please keep in mind that instead of code snippets, it is always best to compose a compilable MWE including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Nov 25 '11 at 16:59
up vote 8 down vote accepted

You can use \Xint defined below to build your own integral signs. Using \Xint{\infty} will place \infty on the integral sign. If you want a rotated symbol you can use \rotatebox from the graphicx package which is what the \Rinfty does. So using \Xint{\Rinfty} generates the second symbol:

enter image description here




\[ \Xint{\infty} f(x) \qquad \Xint{\Rinfty} f(x)\]

As pointed out by AlanMunn, the original code is due to Donald Aresneau (posted in comp.text.tex in 1991) and appears in the UK TeX FAQ and also in Scott Pakin's Comprehensive LaTeX Symbols Guide (which credits the FAQ), and in Herbert Voss's comprehensive review of mathematics in (La)TeX.

share|improve this answer
Ok, I understand the first post and will include a complet document the next time. However, that's not how I wish the infinity symbol to be aligned rather I'd like it aligned vertical with the same slant as the integral sign. Maybe I can study the code above however and get it rotated correctly. – Jack Nov 25 '11 at 17:52
@Jack: So you want the \infty rotated? – Peter Grill Nov 25 '11 at 17:59
Also, note if I just use an "8" in the code above, the font has a smaller top circle than the bottom circle which doesn't look professional when it's through the integral sign and also using the code above, it's not aligned perfectly with the slant of the integral sign. – Jack Nov 25 '11 at 18:02
Yes, I'd like it rotated say, from the symbol here, around 85 degrees so that it's aligned perfectly with the integral sign. – Jack Nov 25 '11 at 18:04
@Jake: Have provided an updated solution which also provides a version that places the rotated symbol. – Peter Grill Nov 25 '11 at 18:21

if you need it only in one size:

\[ \mathrlap{\mkern3mu\infty}\int f(x)\]

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.