\cong \dots \cong が機能しないのはなぜですか?

\cong \dots \cong が機能しないのはなぜですか?

amsmath\dots、その後のトークン (そしておそらくその前) に基づいて、どのタイプのコンマを使用するかを自動検出する点で、かなり優れています。しかし、、、、などと似た関係であるにもかかわらず、特に が機能しないのはなぜなのか、私には理解でき\congません。誰か説明してもらえますか? これは単なるバグですか?=\equiv\simeq

\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}

ここに画像の説明を入力してください

答え1

おそらく、他のいくつかのカーネル コマンドと同様amsmathに変更する必要があります。\cong\sum

\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}

ここに画像の説明を入力してください

関連情報