Monday, November 19, 2012

! Undefined control sequence. ......... in latex





look at the following piece of code:

\begin{figure*}

\centerline{

\mbox{\includegraphics{Images\original.eps}}

\mbox{\includegraphics{Images\original.eps}}

}

\caption{Replace text here with your desired caption.}

\label{overView}

\end{figure*}

Here  Images is the folder exists in the same directory of the main file with tex extension.

will create Undefined control sequence. Images\original.eps

the problem is here control sequence '\'  is invalid for a sequence of path of image. it should be replaced by  '/' .

so the corrected code is:

\begin{figure*}

\centerline{

\mbox{\includegraphics{Images/original.eps}}

\mbox{\includegraphics{Images/original.eps}}

}

\caption{Replace text here with your desired caption.}

\label{overView}

\end{figure*}

No comments:

Post a Comment