Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error using the amsmath and amsthm packages

3,623 views
Skip to first unread message

Vivek Menon

unread,
Jan 22, 2008, 4:58:31 PM1/22/08
to
Hello....
I am seeing the following errors while compiling my master file:
Latex Error: /opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty:
506 Command \iint already defined.

Latex Error: /opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty:
507 Command \iiint already defined.

Latex Error: /opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty:
508 Command \iiiint already defined.

Latex Error: /opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty:
509 Command \idotsint already defined.

Latex Error: /opt/local/share/texmf-dist/tex/latex/amscls/amsthm.sty:
430 Command \openbox already defined.


My packages include:
\documentclass[12pt, letterpaper]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{textcomp}
\usepackage{subfigure}
\usepackage{txfonts}
\usepackage{amsmath,amsthm,amsfonts,amscd} % Packages for mathematics
\usepackage{amssymb}
\usepackage{comment}
\usepackage[square, numbers]{natbib} % References are linked
\usepackage{verbatim} % Allows quoting source with commands can also
use moreverb
\usepackage{graphicx}
\usepackage{rotating} % This allows landscape figures
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/
`basename #1 .tif`.png}
\usepackage[plainpages=false,colorlinks=true,linkcolor=black,citecolor=black]
{hyperref}
\usepackage{pdfsync} % added this line to toggle between pdf and latex

Has someone seen this type of error??
I am using TeXLive-2007 package.
Thanks,
Vivek

Ulrich M. Schwarz

unread,
Jan 22, 2008, 5:14:47 PM1/22/08
to
On Tue, 22 Jan 2008 13:58:31 -0800, Vivek Menon wrote:

> Hello....
> I am seeing the following errors while compiling my master file: Latex
> Error: /opt/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty: 506
> Command \iint already defined.

[and similar]


> \usepackage{txfonts}
> \usepackage{amsmath,amsthm,amsfonts,amscd} % Packages for mathematics

On a guess, you should load txfonts after amsmath and amsthm. I'm not
sure if txfonts already provides a superset of amsfonts, as I don't use
it.

HTH
Ulrich

Enrico Gregorio

unread,
Jan 22, 2008, 5:20:37 PM1/22/08
to
Vivek Menon <vivek....@gmail.com> wrote:

You shouldn't call the amsfonts and amssymb packages if you are using
the txfonts, which has substitutes for them.

Ciao
Enrico

Vivek Menon

unread,
Jan 22, 2008, 5:34:51 PM1/22/08
to
Thanks.
I used the txfonts after the amsmath and everything compiled and I can
see my pdf version.
Vivek

On Jan 22, 5:20 pm, Enrico Gregorio <grego...@math.unipd.it> wrote:

0 new messages