mathjax / mathjax/MathJax

Support for \mleft and \mright

Open
#3,482 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Code Example Feature Request
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

The \left and \right commands for brackets insert unwanted space in some cases. This is why the mleftright TeX package defines new commands \mleft und \mright, which do not insert space. The following examples are from the mleftright manual.

mleft-mright

Please consider to provide \mleft and \mright in MathJax.

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

Start by comparing MathJax’s current handling of \left and \right with the mleftright manual examples linked in the issue. Identify the relevant TeX support, then verify that \mleft and \mright render with the intended spacing and that both commands are covered by regression checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.