I am trying to use amspset. Here is my minimum code:
\documentclass[12pt,letterpaper]{amspset}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
% info for header block in upper right hand corner
\name{}
\class{}
\assignment{}
\duedate{}
\begin{document}
\end{document}
When compiling, there is an error:
! Package ifpdf Error: Name clash, \ifpdf is already defined.
I was wondering why and how to solve the problem? Thanks!
Best Answer
This error occurs because the
\ifpdf
switch is getting defined by two different packages. Normally theifpdf
package should be used for that, butamspset
seems to do this by its own.To fix this, mark it as undefined after the
\documentclass
using:I can't test it with my TeXLive installation because it doesn't have
amspset
. If it doesn't work try to move the above line around a little.