# MathJax Rendering Error: Commands Like \`\\oiint\` Not Recognized

**URL:** <https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623>\
**Category:** Help\
**Tags:** math\
**Created:** [September 13, 2025, 4:49pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623 "2025-09-13T16:49:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![damnable](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/8797f3/32.png) [@damnable](https://forum.obsidian.md/u/damnable)\
**Post date:** [September 13, 2025, 4:49pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623/1 "2025-09-13T16:49:41Z")

</div>

# MathJax Rendering Error: Commands Like `\oiint` Not Recognized

## Environment Information

- **Obsidian Version:** v1.9.12
- **Operating System:** Windows 11

## Issue Description

When using commands such as `\oiint` and `\oiiint` within mathematical formulas inserted via `$$...$$` in Obsidian notes, MathJax fails to render these symbols correctly. Instead, they are displayed with a yellow background and red text, indicating an error.

## Reproduction Steps

### Commands That Fail to Render

In a new or existing note, input the following block:

```latex
Surface Integral: $$\oiint\limits_{S}$$
Volume Integral: $$\oiiint\limits_{V}$$

```

### Actual Result

Surface Integral: $$\oiint\limits\_{S}$$  
Volume Integral: $$\oiiint\limits\_{V}$$

 ![屏幕截图 2025-09-14 004832](https://forum.obsidian.md/uploads/default/original/3X/e/1/e1d05df992d16738094f1741e12a476900676fd8.png)

### Expected Result

The formulas should be rendered correctly as their corresponding mathematical symbols:

- `\oiint` should display as the double closed surface integral symbol: ∯
- `\oiiint` should display as the triple closed volume integral symbol: ∰

## Analysis & Suggestions

According to the MathJax documentation, commands like `\oiint` and `\oiiint` are supported (see: [MathJax: New and Updated Macros](https://docs.mathjax.org/en/latest/upgrading/whats-new-4.0/input.html)).  
However, for unknown reasons, they are not functioning within Obsidian.

## Additional Information

- This issue persists regardless of whether multiple themes or community plugins are enabled or disabled, suggesting the root cause lies in Obsidian’s built-in MathJax configuration.
- Relevant References:
  - [MathJax](https://docs.mathjax.org/en/latest/index.html)
  - [MathJax: New and Updated Macros](https://docs.mathjax.org/en/latest/upgrading/whats-new-4.0/input.html)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [September 13, 2025, 5:47pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623/2 "2025-09-13T17:47:08Z")

</div>

We are still using mathjax 3.2 and won’t update to mathjax 4 for while.

---

<div class="post-metadata">

**Author:** ![blue\_emperor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/9e8a1a/32.png) [@blue\_emperor](https://forum.obsidian.md/u/blue_emperor)\
**Post date:** [September 13, 2025, 11:35pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623/3 "2025-09-13T23:35:06Z")

</div>

> [@Math Double-Closed-Path-Integral Symbol](https://forum.obsidian.md/t/math-double-closed-path-integral-symbol/10104/7):
>
> actually, I now realise a much nicer solution is \newcommand{\oiint}{{\subset\!\supset} \mathllap{\iint}} you can even have an \oiiint that doesn’t look half bad \newcommand{\oiiint}{{\Large{\subset\!\supset}} \mathllap{\iiint}}

---

<div class="post-metadata">

**Author:** ![mycasid](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/779978/32.png) [@mycasid](https://forum.obsidian.md/u/mycasid)\
**Post date:** [September 14, 2025, 3:01pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623/4 "2025-09-14T15:01:25Z")

</div>

those commands work decently in displaystyle (`$$...$$`) but not inline (`$...$`). for the latter, one workaround is to use the unicode symbols ∯ and ∰ directly.

one could use `\mathchoice` in the command definition to switch automatically.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [December 13, 2025, 3:01pm UTC](https://forum.obsidian.md/t/mathjax-rendering-error-commands-like-oiint-not-recognized/105623/5 "2025-12-13T15:01:36Z")

</div>

Closed on December 13, 2025, 3:01pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
