Skip to content

ui/safe breaks visuals of \longrightleftharpoons #2745

@mhchem

Description

@mhchem

Please have a look at https://jsbin.com/gapezoravi/1/edit?html,js,console,output, where the upper arrow is smaller than the lower one. This is a strange side-effect of loading ui-safe.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>MathJax</title>
  <script>
    window.MathJax = {
      tex: {
        inlineMath: [['$', '$'], ['\\(', '\\)']],
      },
      loader: {load: ['ui/safe']},
    };
  </script>
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg-full.js"></script>
</head>
<body>
    $\longrightleftharpoons$
</body>
</html>

This should solve mhchem/MathJax-mhchem#21.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamFixedv3v3.2

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions