[Tex/LaTex] !Latex error: Option clash for package geometry

document-classesgeometryincompatibility

Hi I am getting option clash package error where as I am declaring geometry package only once as below:

\documentclass{vldb}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{balance}  % for  \balance command ON LAST PAGE  (only there!)
\usepackage[top=0.75in,left=0.80in,bottom=0.75in,right=0.80in]{geometry}


\newtheorem{Definition}{Definition}[section]
\newtheorem{Deff}{Definition}
\newtheorem{Lemma}{Lemma} [section]
\newtheorem{prop}{Proposition}

\newcounter{example}[section]
\newenvironment{example}[1][]{\refstepcounter{example}\par\medskip
   \noindent \textbf{Example~\theexample. #1} \rmfamily}{\medskip}

\begin{document}

Could you please help here?

Best Answer

Apparently the class vldb is already loading geometry with settings different from what you'd like to get.

If the class is for submissions to a journal or a conference, don't set new values for geometry. Otherwise simply do

\geometry{top=0.75in,left=0.80in,bottom=0.75in,right=0.80in}

where you have \usepackage[...]{geometry}. The new values will override those set by the class.