Incorrect `\big` paren size

Steps to reproduce

In any (inline $ or block $$) LaTeX environment, type \big ( and \Big (.

Did you read and follow the Troubleshooting Guide ? Yes

Expected result

\Big ( should be larger than \big (.

Actual result

\Big ( and \big (. are the same size.

Environment

This can be reproduced in a sandbox vault on Obsidian 1.14.4 on Windows 11 Home or on my Linux machine (EndeavourOS/Arch). Thus, it should be universal.


Additional information

I believe this to be a bug with Obsidian and not MathJax as MathJax’s website has a live preview editor and it does not have this issue. Moreover this issue arose in Obsidian only when updating from 1.13 (MathJax 3) to 1.14 (MathJax 4.1.3).
Attached are images comparing the same LaTeX code (all static size parens) before and after 1.14/MathJax 4.

image

thanks

I believe the issue is on MathJax’s side, not Obsidian. I filed a bug report on their GitHub repo, issue number 3622; I can’t link to it here unfortunately.

Can you provide a reproduction/evidence? As I stated in the original post, the MathJax live editor on their official website does not have this issue.

Forgot to post my workaround for this:

/* exclude pipes (`|` or `vert`) and double pipes (`\|` or `Vert`) as they are too small with this change */
mjx-texatom[data-latex*="\\big"]:not(mjx-texatom[data-latex*="\\bigg"]):not([data-latex*="|"]):not([data-latex*="ert"]),
mjx-mo[data-latex*="\\big"]:not(mjx-mo[data-latex*="\\bigg"]):not([data-latex*="|"]):not([data-latex*="ert"]){
  font-size: 0.8em;
  vertical-align: 0.08em;
}

I will note that if you do $$\big({...}\big)$$, whatever’s inside the {} will appear in smaller size as if it’s inline $...$. You can circumvent this by doing $$\big({\displaystyle ...}\big)$$.

You may have to adjust the sizes a bit to make it look correct for you. It’s a bit of a hack but it’s passable until this gets fixed.