Currenlty I'm writing a math script (ring theory, PDF). When I need a new math operator I use \DeclareMathOperator from the amsopn-package. However I noticed some strange behaviour when using an operation with \circ. Example:
\listfiles
\documentclass[draft]{minimal}
\usepackage{amsopn}
\DeclareMathOperator*{\id}{id}
\begin{document}
$\id\circ g$
$h\circ g$
\end{document}
In the first version the g is very close at the \circ whereas the second version seems normal. This spacing issue only happens when I use \DeclareMathOperator. Is this problem known to you? What can I do to prevent it?
The file list:
minimal.cls 2001/05/25 Standard LaTeX minimal class
amsopn.sty 1999/12/14 v2.01 operator names
amsgen.sty 1999/11/30 v2.0

\idby enclosing it in braces --{\id}. this won't change its behavior if you do apply limits (within the braces), but it will affect the spacing relative to what comes next. – barbara beeton Apr 26 '11 at 12:27