Graphics, Figures & TablesImage name ontop of image

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
cirasj
Posts: 25
Joined: Mon Mar 09, 2009 3:26 pm

Image name ontop of image

Post by cirasj »

I am inserting images into my document and the image name is being shown above the image. I am using TeXnicCenter to create my files. I am new to LaTeX. I have looked at example document and followed the steps carefully. I have seen a post about being in draft mode, but I do not have a draft code in my document.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Image name ontop of image

Post by gmedina »

Hi,

can you please post a minimal working example showing the undesired behaviour? If you can also post here (as an attachment) the actual problematic image then we could do some tests.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Image name ontop of image

Post by phi »

Sometimes this is caused by filenames with spaces. The graphicx package doesn't accept spaces in filenames.
cirasj
Posts: 25
Joined: Mon Mar 09, 2009 3:26 pm

Image name ontop of image

Post by cirasj »

phi wrote:Sometimes this is caused by filenames with spaces. The graphicx package doesn't accept spaces in filenames.
Thank you. I eliminated the spaces and the file name disappeared.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Image name ontop of image

Post by gmedina »

If for some reason the file names must contain spaces, then the grffile package can be used.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply