Difference in size of MathJax with LaTeX in `\scriptstyle\underbrace{X}`
Issue Summary
In LaTeX \underbrace and \overbrace seem to reset the style of argument to display-style. (cf. https://github.com/KaTeX/KaTeX/issues/764)
Steps to Reproduce:
${\textstyle\prod} {\displaystyle\prod} \underbrace{\prod}$
In LaTeX
Technical details:
- MathJax Version: 3.2
Similar:
$X\scriptstyle\begin{matrix}X\end{matrix}$
LaTeX:
MathJax:
OK, it looks like under- and overbrace are outliers among the under- and over- macros, as they do seem to reset the style to text-style. I will look into fixing that.
Similarly, the matrix and array environments do seem to reset to text-style as well.
I have made a pull request for v4 that resolves these issues.
The PR I made does set display-style for the under and over braces.
Fixed in v4.0.