I am creating a website and wish to include a new integral sign that has an infinity sign over it but aligned with the same tilt angle as the integral. I'm using Mathjax to render the math code. I can code this in Latex outside an HTML file and it works perfectly but does require the graphicx library and rotatebox function:(adsbygoogle = window.adsbygoogle || []).push({});

Is there a way I can implement this in my HTML file?

+

I then just write \mathop{\Xint{\Rinfty}}Code (Text):latex

\def\Xint#1{\mathchoice%

{\XXint\displaystyle\textstyle{#1}}%

{\XXint\textstyle\scriptstyle{#1}}%

{\XXint\scriptstyle\scriptscriptstyle{#1}}%

{\XXint\scriptscriptstyle\scriptscriptstyle{#1}}%

\!\int}%

\def\XXint#1#2#3{{\setbox0=\hbox{$#1{#2#3}{\int}$}

\vcenter{\hbox{$#2#3$}}\kern-.5\wd0}}

\newcommand{\Rinfty}{\rotatebox{77}{$\infty$}\hspace{-0.05em}}

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Coding new integral sign in mathjax for html file

Have something to add?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**