[Tex/LaTex] Problems with amsmath

amsmath

This is my premble to a document and I always get the error LaTeX Error: C
ommand \iint already defined.

\RequirePackage{fix-cm}
%
\documentclass{svjour3}                     % onecolumn (standard format)
%
%\smartqed  % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{caption}
\usepackage{array}
\usepackage{xfrac}
\usepackage{enumitem}
\usepackage{wasysym}
\usepackage{multirow}
\usepackage{amsmath}`

What can I do? Where is the conflict?

Best Answer

The package wasysym should be loaded after amsmath and be passed the option nointegrals (unless you really want the multiple integral symbols in wasysym to take over).

\RequirePackage{fix-cm}
%
\documentclass{svjour3}                     % onecolumn (standard format)
%
%\smartqed  % flush right qed marks, e.g. at end of proof
%
\usepackage{graphicx}
\usepackage{caption}
\usepackage{array}
\usepackage{xfrac}
\usepackage{enumitem}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage[nointegrals]{wasysym}
\usepackage{hyperref}

Note that hyperref should be loaded last.

From the manual of wasysym:

enter image description here

Actually, the loading order is relevant, as you discovered.

Related Question