Open hbghlyj opened 1 month ago
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.
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:
In LaTeX
Technical details: