# Package keyval Error: center undefined

When trying to force an image to be centered, I get the following error:

! Package keyval Error: center undefined.See the keyval package documentation for explanation.Type H for immediate help.... {\sffamily\centering }

This is the code I am using

\begin{figure}[H]
\includegraphics[width=200pt, center]{./pictures/arcsdeobr.png}
\caption[ArcSDE logic]{ArcSDE logic(source: ArcSDE)}
\label{fig:ArcSDE logic}
\end{figure}


My classmate that has been using the same template does not have this issue when using "center".

center is not a standard key for \includegraphics. Use \centering, if you want to center the contents of the figure:

\begin{figure}
\centering
\includegraphics[width=200pt]{./pictures/arcsdeobr.png}
\caption[ArcSDE logic]{ArcSDE logic(source: ArcSDE)}
\label{fig:ArcSDE logic}
\end{figure}


To align images inside a figure easily you can use the adjustbox package which allows you to add alignment keys to \includegraphics
\usepackage[export]{adjustbox}