TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to display the figure in my LaTeX file. I use the class


and downloaded psfig.sty and add to /miktex 2.9/tex/latex/base and then from Setting -> Refresh FNDB. I also include this part of code


then I used this code to insert the image

\caption{my figure label}

and no image is shown.

I have tried to include this as well \usepackage{graphicx} but nothing happens in fact, I have download the template and recompiled it but no images also appear.

share|improve this question

migrated from stackoverflow.com May 6 '12 at 14:26

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner May 6 '12 at 17:26

psfig is an ancient package which was mainly used in LaTeX 2.09 (ie prior to 1993) when LaTeX did not have a standard graphic inclusion mechanism. Are you sure you need to use it now. The graphics and graphicx packages are a required part of every latex distribution so you should not have to download anything, just add


in your preamble, and


where you want the image to appear.

share|improve this answer

Your Answer


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