I imported a picture and LaTeX created pdf well. The problem is the path (like C:/users/file_name/....jpg) is above the picture in the pdf file. How can I exclude that?
Asked
Active
Viewed 153 times
0
Mensch
- 65,388
1 Answers
1
Usually this is caused by spaces in the file name or by other special characters that usually need to be escaped in LaTeX. An probably easy fix is to change your filenames or to load the \usepackage[space]{grffile} package as explained here.
Note that if your files are in the project folder with you main tex file or in a sub folder of you project folder it is not necessary to give the whole path including drive letter etc..
Project folder
L->Main.tex
L-> picture.png
\includegraphics{picture}
or
Project folder
L->Main.tex
L-> Figures/picture.png
\includegraphics{Figures/picture}
will work.
!. A user with more rep can activate the image for you. – Mensch Apr 25 '13 at 14:29