Skip to content

Underbrace clipped for 3‑column matrices #3429

@DanielSevillano

Description

@DanielSevillano

Issue Summary

Placing a 3-column matrix inside \underbrace causes the brace to be clipped. It works correctly when the matrix has 1, 2, or 4 columns.

Technical details:

  • MathJax Version: 4.0
  • Client OS: Windows 11
  • Browser: Firefox 142

Loading MathJax via:

<script async src="https://cdn.jsdelivr.net/npm/mathjax@4/tex-mml-chtml.js"></script>

Supporting information:

Output

Image

Code

$$\underbrace{
    \begin{pmatrix}
        1 \\ 2
    \end{pmatrix}
}_A \quad
\underbrace{
    \begin{pmatrix}
        1 & 2 \\
        3 & 4
    \end{pmatrix}
}_B \quad
\underbrace{
    \begin{pmatrix}
        1 & 2 & 3 \\
        4 & 5 & 6
    \end{pmatrix}
}_C \quad
\underbrace{
    \begin{pmatrix}
        1 & 2 & 3 & 4 \\
        5 & 6 & 7 & 8
    \end{pmatrix}
}_D$$

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamCode ExampleContains an illustrative code example, solution, or work-aroundFixedv4v4.1

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions