Consider the following example (MathML code):
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<msup>
<mrow>
<mo fence="true" lspace="0" rspace="0" symmetric="true">(</mo>
<mspace width="-4.981pt"/>
<mrow>
<mspace width="4.981pt"/>
<mtable>
<mtr>
<mtd>
<mn>1</mn>
</mtd>
<mtd>
<mn>2</mn>
</mtd>
</mtr>
<mtr>
<mtd>
<mn>3</mn>
</mtd>
<mtd>
<mn>4</mn>
</mtd>
</mtr>
</mtable>
<mspace width="4.981pt"/>
</mrow>
<mspace width="-4.981pt"/>
<mo fence="true" lspace="0" rspace="0" symmetric="true">)</mo>
</mrow>
<mn>2</mn>
</msup>
</math>
Pasting this code into the "Math Input Area" at https://daisy.github.io/MathCATDemo/ yields the following output:
TEMP NAME of the 2 by 2 matrix
<break time='800ms'/>row 1 <break time='400ms'/>
<mark name='M6qsyqqx-7'/> 1 <break time='200ms'/> <mark name='M6qsyqqx-9'/> 2 <break time='400ms'/>
row 2 <break time='400ms'/>
<mark name='M6qsyqqx-12'/> 3 <break time='200ms'/> <mark name='M6qsyqqx-14'/> 4 <break time='800ms'/>
end matrix <mark name='M6qsyqqx-16'/>
squared
Or more simply:
TEMP NAME of the 2 by 2 matrix
row 1: 1, 2
row 2: 3, 4
end matrix
squared
I am not sure why the phrase "TEMP NAME of" is being included? Otherwise this reading seems very good.
FYI, the MathML shown above was generated using LuaLaTeX, and this issue was previously mentioned at https://tex.stackexchange.com/q/766321/ . The original LaTeX source code:
\DocumentMetadata{%uncompress,
language = en-US, %
pdfversion = 2.0, %
pdfstandard = {ua-2, A-4f}, %
tagging = on, %
tagging-setup = {math/setup=mathml-SE, extra-modules={verbatim-mo}} %
}
\documentclass{article}
%\usepackage{mathtools} % optional
\begin{document}
\[
{%
\begin{pmatrix}
1 & 2 \\
3 & 4
\end{pmatrix}%
}^{2}
\]
\end{document}
Consider the following example (MathML code):
Pasting this code into the "Math Input Area" at https://daisy.github.io/MathCATDemo/ yields the following output:
Or more simply:
I am not sure why the phrase "TEMP NAME of" is being included? Otherwise this reading seems very good.
FYI, the MathML shown above was generated using LuaLaTeX, and this issue was previously mentioned at https://tex.stackexchange.com/q/766321/ . The original LaTeX source code: