Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
How to avoid showing the filename when using graphicx?

So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky "filename".pdf caption comes up with the image and I can't figure out how to get rid of it. Here's my code:

\addtolength{\voffset}{80pt}
\oddsidemargin=1cm

\begin{landscape}
\begin{table}
\begin{center}
\caption{Short GRB sample data.}
\includegraphics[trim = 10mm 30mm 8mm 30mm, clip,,width=10in]{Short GRB data table3.pdf}

(References included on next page).

\end{center}
\end{table}
\end{landscape}
\newpage

I would post an image if I could, but apparently I can't as a new poster. Help is much appreciated, thanks.

share|improve this question

marked as duplicate by egreg, Werner, Thorsten, Jake, lockstep May 16 '12 at 5:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Welcome to TeX.SX! Please, have a look at the linked question; this should solve your problem, which basically is in the spaces in the file name. –  egreg May 15 '12 at 22:50

1 Answer 1

I think you wish to say, in your output file, the image file name appear at the top of it. Isnt it?

Then, I was in the same problem...Its very easy to solve.. Use

\includegraphics[trim = 10mm 30mm 8mm 30mm, clip,,
   width=10in]{ShortGRBdatatable3.pdf}

In your image file name, do not use any space. If you need, use "_". If you have any space at the name of the image file, it will appear at the top of your image on output.So rename your image file and try it. Hope it will solve your problem.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.