0

I am getting the following problem

(/home/hagbard/Opstk/bld/texlive/2022/texmf-dist/tex/latex/amsmath/amsopn.sty)
! LaTeX Error: Command \iint already defined.
               Or name \end... illegal, see p.192 of the manual.

l.659 ...ewcommand{\iint}{\DOTSI\MultiIntegral{2}}

Here is an MWE

\documentclass[a4paper,11pt]{book}

\RequirePackage{wasysym} \RequirePackage{amsmath}

\begin{document}

\chapter{Introduction} This chapter's content...

\end{document}

amsmath conflicts with wasysym due to the redefinition of integrals in wasysym. Although using amsmath, I do not want to miss on the astronomical symbols provided by wasysym.

Mahavir
  • 1
  • 4

1 Answers1

1

Page 2 of the wasysym package documentation will tell you about the nointegrals option which avoids this conflict and let's you keep the normal integral signs (which might or might not be what you want):

\documentclass[a4paper,11pt]{book}

\RequirePackage[nointegrals]{wasysym} \RequirePackage{amsmath}

\begin{document}

\chapter{Introduction} This chapter's content...

\end{document}

  • I do not think packages should redefine things distributed by the Latex Project, but define new ones with the package name used as prefix. Same as done for Emacs Packages. – Mahavir Aug 12 '23 at 15:47
  • 2
    @Mahavir This would make a package for redefining symbols pretty useless. If it would use other macro names you couldn't reuse your equations in other documents. – samcarter_is_at_topanswers.xyz Aug 12 '23 at 15:55
  • Is it common that people don't like the equation rendering by the Latex Team ? If I am using a chemistry package, it would be good to know what I am using. – Mahavir Aug 13 '23 at 11:25
  • @Mahavir This won't change the rendering of equations, just the font of some symbols. – samcarter_is_at_topanswers.xyz Aug 13 '23 at 11:39