# [texhax] Problem with amsmath and wasysym

Leung Ngai-Hang Zachary leungnga at comp.nus.edu.sg
Thu Mar 9 15:07:32 CET 2006

Hi,

When I tried to run latex on a file with amsmath and wasysym, I got the
following error.  I'm not a LaTeX expert, but I did deduce that wasysym
defines \iint and so does amsmath and they conflict.  How should I solve
this if I want to include both these files in my document?

Zac

[deutsixfive at 97-32 statistics]$latex statistics This is TeX, Version 3.14159 (Web2C 7.4.5) (./statistics.tex LaTeX2e <2001/06/01> Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n ohyphenation, loaded. (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2001/04/21 v1.4e Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size12.clo)) (/usr/share/texmf/tex/latex/misc/geometry.sty (/usr/share/texmf/tex/latex/graphics/keyval.sty) (/usr/share/texmf/tex/latex/config/geometry.cfg)) (/home/deutsixfive/style-files/zacessay.sty (/usr/share/texmf/tex/latex/amsfonts/amssymb.sty (/usr/share/texmf/tex/latex/amsfonts/amsfonts.sty)) (/usr/share/texmf/tex/latex/graphics/color.sty (/usr/share/texmf/tex/latex/config/color.cfg) (/usr/share/texmf/tex/latex/graphics/dvips.def) (/usr/share/texmf/tex/latex/graphics/dvipsnam.def)) (/usr/share/texmf/tex/latex/tools/xspace.sty) (/usr/share/texmf/tex/latex/wasysym/wasysym.sty)) (/home/deutsixfive/style-files/zacmath.sty (/usr/share/texmf/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the ?' option. (/usr/share/texmf/tex/latex/amsmath/amstext.sty (/usr/share/texmf/tex/latex/amsmath/amsgen.sty)) (/usr/share/texmf/tex/latex/amsmath/amsbsy.sty) (/usr/share/texmf/tex/latex/amsmath/amsopn.sty) ! LaTeX Error: Command \iint already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.506 ...d{\iint}{\DOTSI\protect\MultiIntegral{2}} ? q OK, entering \batchmode[deutsixfive at 97-32 statistics]$

`