Sign up ×
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 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 May 6 '12 at 14:26

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

Welcome to! 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

1 Answer 1

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.