Skip to content

\intertext output wrong when mathtools loaded #895

Closed
latex3/latex2e
#1782
@mbertucci47

Description

@mbertucci47

When mathtools is loaded, the vertical spacing of \intertext is wrong.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on, % toggle this
  }
\documentclass{article}
\usepackage{mathtools} % toggle this
\usepackage{unicode-math}

\begin{document}

\begin{align}
A&=B
\intertext{normal intertext}
E&= F
\end{align}

\end{document}

PDF with mathtools and tagging

Image

PDF with tagging and no mathtools

(almost the same as mathtools with no tagging; that difference is acceptable/expected)

Image

The spacing of \shortintertext seems okay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: mathbugSomething isn't working in code we maintain (directly)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions