I searched a lot about an issue I'm facing when I'm trying to insert \includegraphics
to my aaai latex document. I'm using the online editor so you may trace the error easier. Here is my sample
\documentstyle[aaai]{article}
\bibliographystyle{aaai}
\author{xxx}
\title{xxx}
\begin{document}
\maketitle
\nocite{*}
\section{xxx}
\begin{figure}
\includegraphics{fish}
\caption{This is a fish.}
\end{figure}
\bibliography{references}
\end{document}
I'm getting undefined control sequence.
I'm using aaai.sty
so I can't include any package. If there is any way to include aaai as a class this may solve the problem, any suggestion please?
Regards,
\includegraphics
is defined in thegraphicx
package so you need\usepackage{graphicx}