I'm a T.A. for a calculus course and I like writing the homework solutions in LyX so the students can check them out. I usually load amsmath when I write this kind of documents and I didn't have any problem until now when I tried to write an integral. The error that LyX gives is:
Code: Select all
LaTeX Error: Command \iint already defined.
LaTeX Error: Command \iiint already defined.
LaTeX Error: Command \iiiint already defined.
Code: Select all
...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
Your command was ignored.
Type I <command> <return> to replace it with another command,
or <return> to continue without it.
Code: Select all
\usepackage{amsmath}
\begin{document}
If I load \emph{amsmath}, \LyX{} won't compile the file when I write
an integral like $\int\mathrm{d}V$.
\end{document}