I am trying to use a simple template for latex and include some images on it. The import I have in the beginning are:



while the code for showing the images:


{\small Text below figure}         
\caption{{\small Caption for Figure.}}

while the sample.eps is in the same folder with .tex file I am able to compile the .tex file, however, I cannot see the image only the caption. What is the issue? The whole file can be found here.

  • 1
    Yes I can see the image outside of tex (from overleaf viewer).
    – Jose Ramon
    Oct 18, 2018 at 15:55
  • 1
    Make this into a single mwe and make sure that is what you test. Also you should not be centering using the center env (excessive vertical space), or adding formatting into the caption like that (learn to configure the caption using the caption package)
    – daleif
    Oct 18, 2018 at 15:59
  • 1
    Additionally there is no need to add the dvips option to graphicx it will detect it automatically, are you compiling using pdflatex or latex+dvips+ps2pdf (or similar). Are you getting any warnings or errors.
    – daleif
    Oct 18, 2018 at 16:00
  • 1
    If you leave out the dvips twice (in \documentclass[dvips,11pt,twoside]{article} and in \usepackage[dvips]{graphicx}), it works.
    – Karlo
    Oct 18, 2018 at 16:04
  • 3
    And now you know why we are suspicious of most templates.
    – daleif
    Oct 18, 2018 at 16:11

1 Answer 1


If you leave out the dvips twice:

  • in \documentclass[dvips,11pt,twoside]{article}
  • in \usepackage[dvips]{graphicx})

it works.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .