Skip to content

'mathml'-option messing up sub- and superscripts in specific situations #134

@iabarus

Description

@iabarus

LaTeX

Example 1:

\documentclass[10pt]{article}
\usepackage{mathtools}

\begin{document}
\begin{equation*}
  \bigcap E_n^c
\end{equation*}
\end{document}

Example 2:

This works:
\begin{equation*}
  \begin{bmatrix}
    X_1^{1}\\
    \vdots\\
    X_1^{n}
  \end{bmatrix}
\end{equation*}
This does not:
\begin{equation*}
  \det\begin{bmatrix}
        X_1^{1}\\
        \vdots\\
        X_1^{n}
      \end{bmatrix}
    \end{equation*}

make4ht

make4ht file.tex 'mathml,mathjax'

Desired output

via make4ht file.tex 'mathjax'
image

Erroneous output

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions