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
  • #2721
Closed
Open
Issue created Jun 26, 2021 by Administrator@rootContributor

\overline doesn't appear on print

Created by: Mathebibel

Issue Summary

\overline{} doesn't appear on print (pdf).

  • Issue only appears in Firefox (tested with Mozilla Firefox for Linux Mint 89.0.1 (64-Bit))
  • Issue only appears with MathJax 3 (not MathJax 2)
  • Issue only appears with tex-chtml.js (not tex-svg.js)

Steps to Reproduce:

  1. Save the following as test.html
<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width">
  <title>MathJax v3 with TeX input and HTML output</title>
  <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
  <script>
  MathJax = {
    tex: {inlineMath: [['$', '$'], ['\\(', '\\)']]},
    chtml: {displayAlign: 'left'}
  };
  </script>
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
</head>
<body>
    <h1>Testing...</h1>

    <h2>.../overline</h2>

    <p>
    \[\overline{A}\]
    </p>

    <p>
    Inline \(\overline{A}\) Inline
    </p>

    <h2>...\bar</h2>

    <p>
    \[\bar{A}\]
    </p>

    <p>
    Inline \(\bar{A}\) Inline
    </p>

</body>
</html>
  1. Open test.html with Firefox
  2. Save page to pdf via print dialog (CTRL+P)
  3. Open the pdf file
  4. \overline doesn't appear. \bar does appear.
Assignee
Assign to
Time tracking