mathjax / mathjax/MathJax

[4.1.3] [SVG] extra space after `$\implies$`

Open
#3,587 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Accepted Merged v4
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I think the following is a small regression in 4.1.3.

E.g. Case (i) $\implies$ (ii): let's consider... (which is an all too common pattern) now looks like this

screenshot showing extra space after the arrow

on www.mathjax.org#demo. IIUC, the inline-linebreaking creates the extra space.

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.

Research direction

Reproduce the example on the www.mathjax.org demo: Case (i) $\implies$ (ii): let's consider.... Start by investigating the inline-linebreaking behavior in the SVG output shown in the report. Done means the rendered arrow no longer introduces the extra space after it while preserving the surrounding inline math layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, latex
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.