latex symbol \oiint

25 views
Skip to first unread message

David Austin

unread,
May 22, 2026, 12:41:22 PM (7 days ago) May 22
to pretext...@googlegroups.com
I have a colleague who teaches vector calculus and needs the latex symbol \oiint, which is a double integral with a circle around the integral signs (for integrating on a closed surface).  The symbol is included in two latex packages, esint and unicode-math.  

I can't see that mathjax supports esint, but it does support unicode-math.  I wasn't able to find anything in the PreTeXt documentation, but there is a reference to the package in the PreTeXt source indicating this package can be loaded in the latex conversion with a publisher variable.  But that doesn't address HTML. 

Does anyone know about this?  Perhaps this from the AMS is helpful?

Thanks for any help,
David

Joseph DiMuro

unread,
May 22, 2026, 3:06:19 PM (7 days ago) May 22
to PreTeXt support
Hi David. I also teach vector calculus, and I looked into this issue some time ago. My conclusions at the time: it looks like MathJax doesn't support esint, and it looks like there's no braille symbol for \oiint. So I decided just to live without it, and use the regular \iint for all of my surface integrals, including those over closed surfaces.

Now, the stuff you mentioned about unicode-math: that's all news to me. So I've subscribed to this thread, and I'll be interested in seeing what the group comes up with. But even if we could use \oiint in the HTML conversion, I'd still be uneasy because of the braille issue. I might never have a student who needs things in braille, but I want to play it safe.

-Joseph

OHappyDay

unread,
May 22, 2026, 6:51:50 PM (7 days ago) May 22
to PreTeXt support
Hm, \oiint seems to work (at least for me). It shows up as a double integral with the usual circle/ellipse in it.

OHappyDay

unread,
May 22, 2026, 6:56:25 PM (7 days ago) May 22
to PreTeXt support
The respective MathJax/MathML symbol is this:  <mo>&#x222F;</mo>. I am using the latest pretext version 2.39.0 where the switch to MathJax 4 is already active. Maybe this could be the problem?

David Austin

unread,
May 22, 2026, 9:59:47 PM (7 days ago) May 22
to pretext...@googlegroups.com
That works for me now.  Thanks for the tip.  I had tried the unicode character before so I think the upgrade to MJ4 did the trick.  Much appreciated!

David

--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/407ee053-21ee-4e92-831a-f95f9a3513c3n%40googlegroups.com.

Joseph DiMuro

unread,
May 25, 2026, 5:37:55 PM (4 days ago) May 25
to PreTeXt support
Hi all. I just wanted to confirm that after I upgraded the CLI, I was able to get the closed surface integral symbol in HTML output. And by adding <math-package latex-name="esint" /> to my <docinfo>, I was able to get it in PDF output also.

As for whether the symbol is available in braille, Google Gemini has some thoughts about that. But I don't think he's to be trusted. ;-)

Thanks for the info, all. Looks like I'll be using that symbol after all.

-Joseph
Reply all
Reply to author
Forward
0 new messages