mathjax / mathjax/MathJax

[SVG][mathtools] multlined in aligned rendering poorly

Open
#2,952 3 comments 0 reactions 1 assignee View on GitHub

@dpvc is already working on this.

Since Aug 15, 2025.

Accepted Expected Behavior v3
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Here's a rather involved real world use case:

\begin{equation}
 \begin{aligned}
[t] T_{{\mathbf{u}}, x} {\mathcal{V}}&= \begin{multlined}[t][.7\linewidth] \left\{ (\dot{{\mathbf{u}}}, \dot{x}) \in T_{\mathbf{u}}{\mathcal{U}}\times T_x {\mathbb{P}}^n\mathbin{|}\right. \\
 \left. \forall i, f_i \left( (\mathbf{1}_{\mathcal{U}}+ t \dot{u}_i + o(t))^{-1} (x+t \dot{x} + o(t)) \right) = o(t) \text{ as } t\to 0 \right\} \end{multlined}\\
 &= \left\{ (\dot{{\mathbf{u}}}, \dot{x}) \in T_{\mathbf{u}}{\mathcal{U}}\times T_x {\mathbb{P}}^n\mathbin{|}\forall i, f_i\left(x + t( \dot{x} - \dot{u}_i x) \right) = o(t) \text{  as } t\to 0 \right\}\\
 &= \left\{ (\dot{{\mathbf{u}}}, \dot{x}) \in T_{\mathbf{u}}{\mathcal{U}}\times T_x {\mathbb{P}}^n\mathbin{|}\forall i, \mathrm{d}_x f_i (\dot{x}) = \mathrm{d}_x f_i( \dot{u}_i x) \right\}. \end{aligned} \tag{17}\cssId{texmlid43}{}
\end{equation}

On https://www.mathjax.org/#demo, the SVG output renders poorly:

image

For comparison, the CSS output is:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.