Skip to content

rules in arrays not shown in mathml #870

Open
@mbertucci47

Description

@mbertucci47

Rules in arrays aren't shown in the mathml. I think this should be the rowlines and columnlines attributes (https://www.w3.org/TR/mathml4/#presm_mtable_attrs).

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{article}

\usepackage{unicode-math}

\begin{document}

\[
\begin{array}{c|c}
A & B \\
\hline
C & D
\end{array}
\]

\end{document}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<div>
<h2>\mml 1</h2>
<p>\begin {equation*}\begin {array}{c|c} A &amp; B \\ \hline C &amp; D \end {array}\end {equation*}</p>
<p>37EAFD4D7B61624EE77ED488030824C2</p>

<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
 <mpadded lspace="+4.981pt" width="+9.963pt">
 <mtable>
 <mtr>
 <mtd>
 <mi>𝐴</mi>
 </mtd>
 <mtd>
 <mi>𝐵</mi>
 </mtd>
 </mtr>
 <mtr>
 <mtd>
 <mi>𝐶</mi>
 </mtd>
 <mtd>
 <mi>𝐷</mi>
 </mtd>
 </mtr>
 </mtable>
 </mpadded>
</math>
</div>

</html>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions