I get this error when trying to load .png file
I import
\usepackage[pdftex]{graphicx}
\graphicspath{ {C:\Users\Daniel\Desktop\projectfigures} }
\begin{document}
\includegraphics[width=2.5cm]{definitiongraphexample.png}
\end{document}
The problem is I get this error
! Undefined control sequence.
\reserved@b ->C:\Users
\Daniel \Desktop \projectfigures
l.423 ...[width=2.5cm]{definitiongraphexample.png}
I can't seem to load it. I've tried to load include{path} and that didn't work. So I'm now trying to graphicspath
What am I doing wrong?
\usepackage[pdftex]{graphicsx} doesn't get an error and it doesn't say to download it so I don't know why this isn't working.
C:/Users/Daniel/Desktop/projectfigures– egreg Apr 04 '13 at 23:04\graphicspath{{C:/Users/Daniel/Desktop/projectfigures/}}. See also the related question http://tex.stackexchange.com/questions/15387/specifying-an-absolute-windows-path-for-includegraphics Finally, remove thepdftexoption tographicx– egreg Apr 04 '13 at 23:07