In #1810 , several commands, including \oiint
are added to TeX extension mediawiki-texvc.js
. But, \oiint
was implemented as a macro,
https://github.com/mathjax/MathJax/blob/39c61f62a9a8196e6caa189ff5771ea31b7f7379/unpacked/extensions/TeX/mediawiki-texvc.js#L88-L90
not a big operator.
https://github.com/mathjax/MathJax/blob/39c61f62a9a8196e6caa189ff5771ea31b7f7379/unpacked/jax/input/TeX/jax.js#L537-L540
Therefore, when \oiint
is used in display style, it is just in a larger font size (using \huge
) and hence ugly, not with the corresponding "bigger" glyph defined in math font.
One reason for the definition is that the MathJax TeX fonts don't include the needed characters; the STIX fonts do, but the MathJax TeX fonts are the default, and defining it in the way that you indicate would mean the symbol would not show up at all for some people. The authors of the extension probably felt that this was the best compromise between functionality and quality.
Are the MathJax TeX fonts you just mentioned derived from any otf Math fonts, like Latin Modern Math font?
No, they were built using mftrace
from the Computer Modern TeX fonts ages ago.
Ok, I see.
The Latin Modern fonts are supported in the HTML-CSS and SVG output (but not currently the CommonHTML output), but they are not the defaults. We are in the final stages of a complete rewrite for version 3.0, which has a revised font handling framework. Currently v3 only supports the current MathJax TeX fonts, but we plan a revamping of the fonts for 3.1, and that will include updating the MathJax TeX fonts.
To record the progress after one year:
\oint
is supported as math operator (texClass: TEXCLASS.OP
). See related source line.mediawiki-texvc
is not supported, hence \oiint
and \oiiint
(and some other commands) are not supported in 3.0+.