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.

I'm using IEEEtran to format an article, and I wanted to include an image. I included the graphicx and hyperref packages, and used the following code, like normal, to include an image.

\begin{figure}[!t]
\centering
\includegraphics[width=3in]{fetch}
\caption{Pipeline: Fetch Instruction}
\label{fig:fetch}
\end{figure}

What appears, however, is this:

Example

Fetch.png is a file in the directory, and if I remove it, pdflatex errors instead of producing an output. I'm using MiKTeX 2.9 on Windows 7. Any ideas?

share|improve this question
    
Are you using the draft document option? –  Caramdir Feb 13 '11 at 18:49
    
Sean, I included the image for you. You have now over 10rep so you can do it now by yourself as well. –  Martin Scharrer Feb 13 '11 at 19:17

1 Answer 1

up vote 13 down vote accepted

You have the draft option enabled, most likely as class option, which makes graphicx to display images like this. Load graphicx with the final option to overwrite this. Note that options of the class are global and are passed to all packages, but can still be overwritten by explicit package options.

share|improve this answer
    
This was it. Silly me! –  user3561 Feb 13 '11 at 19:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.