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
  • #1706
Closed
Open
Issue created Feb 27, 2017 by Peter Krautzberger@pkraContributor

HTML-CSS and SVG output: minimal height for mover base [was [TeX input] \quad has no height]

It seems real (La)TeX considers \quad to have a height but the TeX input jax only produces an mspace with width.

An example (distilled from a journal article):

\widehat{\quad}: O \to Y

produces

<math display="block">
  <mrow class="MJX-TeXAtom-ORD">
    <mover>
      <mspace width="1em" />
      <mo>&#x005E;<!-- ^ --></mo>
    </mover>
  </mrow>
  <mo>:</mo>
  <mi>O</mi>
  <mo stretchy="false">&#x2192;<!-- → --></mo>
  <mi>Y</mi>
</math>

but the following is closer to rendering in real LaTeX:

<math display="block">
  <mrow class="MJX-TeXAtom-ORD">
    <mover>
      <mspace width="1em" height="0.5em" />
      <mo>&#x005E;<!-- ^ --></mo>
    </mover>
  </mrow>
  <mo>:</mo>
  <mi>O</mi>
  <mo stretchy="false">&#x2192;<!-- → --></mo>
  <mi>Y</mi>
</math>
Assignee
Assign to
Time tracking