Skip to content

Unexpected empty space in array cell #3116

Open
@zurawsm3

Description

@zurawsm3

Unexpected empty space in array cell in tex-html tag above paragraph

Chrome Version 117.0.5938.132 (Official Build) (64-bit)

Steps to Reproduce:

Repo: source code

main code:

\begin{array}{|c|c|} <tex-html> <p style="text-align:justify; background-color: red; white-space: pre-line; max-width: 15em;">Rzucamy złotówką, dwuzłotówką i pięciozłotówką. Jakie jest prawdopodobieństwo tego, że na wszystkich trzech monetach wypadnie reszka? </p> </tex-html> & <tex-html> <img src="test3.jpg" width="100" height="140"> </tex-html> \end{array}
screen

Why I see white space above paragraph element?

Technical details:

  • Mathjax 4.0.0-beta.4
  • Client OS: (Linux Mint)
  • Browser: (Chrome Version 117.0.5938.132 (Official Build) (64-bit))

I am using the following MathJax configuration:

  MathJax = {
      loader: {
          load: ['[tex]/textmacros', '[tex]/texhtml'],
      },
      tex: {
          allowTexHTML: true,
          packages: {'[+]': ['texhtml']}
      }
  };

and loading MathJax via source code included in repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedIssue has been reproduced by MathJax teamMergedMerged into develop branchTest Neededv4

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions