Warum funktioniert \cong \dots \cong nicht?

Warum funktioniert \cong \dots \cong nicht?

amsmath's \dotserkennt ziemlich gut automatisch, welche Art von Kommas zu verwenden ist, basierend auf Tokens danach (und ich glaube davor). Was mich jedoch verwirrt, ist, warum \conginsbesondere nicht funktioniert, obwohl es eine Beziehung ähnlich zu =, \equiv, \simeq, usw. ist. Kann das jemand erklären? Ist das nur ein Fehler?

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\noindent
\(a = \dots = b\)\\
\(a \cong \dots \cong b\), what?\\
\(a \sim \dots \sim b\)\\
\(a \equiv \dots \equiv b\)\\
\(a \simeq \dots \simeq b\)

\end{document}

Bildbeschreibung hier eingeben

Antwort1

Möglicherweise amsmathsollten sich auch \congdie Änderungen \sumund mehrere andere Kernel-Befehle ändern.

\documentclass{article}
\usepackage{amsmath}

\makeatletter
\NewCommandCopy{\cong@}{\cong}
\renewcommand{\cong}{\DOTSB\cong@}
\makeatother

\begin{document}

\(a = \dots = b\)

\(a \cong \dots \cong b\)

\(a \sim \dots \sim b\)

\(a \equiv \dots \equiv b\)

\(a \simeq \dots \simeq b\)

\end{document}

Bildbeschreibung hier eingeben

verwandte Informationen