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
  • #1735
Closed
Open
Issue created Apr 14, 2017 by Administrator@rootContributor

[CommonHTML] Poor over script position above italic letters

Created by: samdooley

Issue Summary

Over script characters that are positioned above italic characters appear too far to the right, as if the italic correction is not handled properly.

Steps to Reproduce

  1. Load the following HTML example page.
<script type="text/javascript"
   src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=MML_CHTML">
</script>

<math xmlns="http://www.w3.org/1998/Math/MathML" mathsize="36pt">
  <mover>
    <mrow>
      <mi>X</mi>
      <mo>&#x2063;</mo>
      <mi>J</mi>
    </mrow>
    <mo>&#x23dc;</mo>
  </mover>
  <mo>=</mo>
  <mover>
    <mrow>
      <mtext mathvariant="italic">X</mtext>
      <mo>&#x2063;</mo>
      <mtext mathvariant="italic">J</mtext>
    </mrow>
    <mo>&#x23dc;</mo>
  </mover>
</math>
  1. Observe the horizontal position of the over script character in relation to the italic base letters.

This is a bug because the extent of the over script character should match the extent of the base letters, after accounting for the italic slant of the characters. The over script extends too far to the right, especially for the case on the left that uses mi elements.

Technical details

  • MathJax Version: 2.7.0 release
  • Client OS: Windows
  • Browser: Chrome

mover-italic

Assignee
Assign to
Time tracking