This following code produce very strange result:

\documentclass[12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{mathabx}
\usepackage{mathtools}
\begin{document}
$$W_n(\underbrace{\mbox{\textvisiblespace},
\mbox{\textvisiblespace},
\dots,
\mbox{\textvisiblespace}
}_n
)
$$
\end{document}
If I just remove one of mathabx or mathtools the brace is displayed normally. Any ideas?
P.S. I use some symbols from mathabx and some commands from mathtools in the book, so I probably need both packages...
mathabxhas wider effects that aren't always predicted. maybe using just the particular symbols you need, and not loading the entire package, would get rid of this problem (not tried). good advice at the question Importing a Single Symbol From a Different Font – barbara beeton Jun 04 '13 at 15:30amsmathandmathtools. Former is loaded by latter. – Jun 04 '13 at 22:12