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
  • #1539
Closed
Open
Issue created Jun 29, 2016 by Peter Krautzberger@pkraContributor

[CommonHTML/HTML-CSS] in a table, numerator/denominator with line-breaks are left-aligned

(From answering a MathJax User Group posting.)

Within a table, both numerator and denominator of a fraction are left-aligned if they have line-breaks. Only HTML outputs are affected -- the SVG output centers them.

Example:

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mtable>
    <mtr>
      <mtd>
        <mfrac>
        <mrow>
            <mrow>
              <mtext mathvariant="italic">aaa</mtext>
            </mrow>
          <mspace linebreak="newline" />
            <mrow >
              <mtext  mathvariant="italic">b</mtext>
            </mrow>
        </mrow>
          <mrow>
              <mrow>
                <mtext  mathvariant="italic">aa</mtext>
              </mrow>
            <mspace linebreak="newline" />
              <mrow>
                <mtext  mathvariant="italic">b</mtext>
              </mrow>
          </mrow>
        </mfrac>      
      </mtd>
    </mtr>
  </mtable>
</math>
Assignee
Assign to
Time tracking