MathJax
MathJax copied to clipboard
Physics doesn't respect font choice for closing parentheses
@dpvc Hi,
If you input $$\mathtt{9(A)3(AB)CCD}$$ on https://codepen.io/abnerlee/pen/BamQZrp you can see the brackets is still in different size.
It renders fine if physics package is not used.
Originally posted by @abnerlee in https://github.com/mathjax/MathJax/issues/2831#issuecomment-1236486740
It looks like the parenthesis balancing that the physics package implements is losing the font variant for the closing paren. I will look into it.
I have made a PR to correct the issue.