Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #2782
Closed
Open
Issue created Oct 06, 2021 by Administrator@rootContributor

Some mfracs unexpectedly closed up to preceding equals sign

Created by: jmitsdarfer

Issue Summary

I was surprised to come across the equals sign and mfrac closed up in this case:

<mfrac> <mrow> <mo>&#x2202;</mo> <mi>p</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo>,</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mrow> </mrow> <mrow> <mo>&#x2202;</mo> <mi>t</mi> </mrow> </mfrac> <mo>=</mo> <mfrac> <mrow> <mo>&#x2202;</mo> </mrow> <mrow> <mo>&#x2202;</mo> <mi>x</mi> </mrow> </mfrac> <mi>D</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> </mrow>

image

I expected this:

image

I tested it without the mfrac to the right of the equals, and it spaced as expected, i.e.,

<mfrac> <mrow> <mo>&#x2202;</mo> <mi>p</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo>,</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mrow> </mrow> <mrow> <mo>&#x2202;</mo> <mi>t</mi> </mrow> </mfrac> <mo>=</mo> <mo>&#x2202;</mo> <mi>x</mi> <mi>D</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> </mrow>

image

Then, I also tested mi tags rather than mo tags in the mfrac and this also spaced as expected, i.e.,

<mfrac> <mrow> <mo>&#x2202;</mo> <mi>p</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo>,</mo> <mi>t</mi> <mo stretchy="false">)</mo> </mrow> </mrow> <mrow> <mo>&#x2202;</mo> <mi>t</mi> </mrow> </mfrac> <mo>=</mo> <mfrac> <mrow> <mi>A</mi> </mrow> <mrow> <mi>B</mi> <mi>x</mi> </mrow> </mfrac> <mi>D</mi> <mrow> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> </mrow>

image

Technical details:

MathJax Version: master - latest commit: MathJax.js v2.7.9 Client OS: Windows Browser: Version 94.0.4606.61 (Official Build) (64-bit) Renderer: HTML-CSS

Assignee
Assign to
Time tracking