latex3 / unicode-math

XeLaTeX/LuaLaTeX package for using unicode/OpenType maths fonts
http://ctan.org/pkg/unicode-math
LaTeX Project Public License v1.3c
239 stars 28 forks source link

`\dots` and integrals #593

Open marcin-serwin opened 2 years ago

marcin-serwin commented 2 years ago

Description

unicode-math breaks the detection of integrals in amsmath's \dots command. It now uses \dotso instead of \dotsi between integrals. In practical terms it means that dots are now typeset on the baseline instead of centered

Add info or delete as appropriate:

Minimal example demonstrating the issue

\documentclass{article}

% \usepackage{amsmath}
\usepackage{unicode-math}

\makeatletter
\RenewDocumentCommand{\dotsi}{}{\texttt{<dotsi>}}
\RenewDocumentCommand{\dotso@}{}{\texttt{<dotso@>}}
\makeatother

\begin{document}
\[
    \int_A \dots \int_B
\]
\end{document}

Further details

Without unicode-math: image With unicode-math: image