## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ figure not appearing in pdf

Information and discussion about graphics, figures & tables in LaTeX documents.
amnakhan786
Posts: 1
Joined: Thu Jan 17, 2013 5:31 pm

### figure not appearing in pdf

hi,
i am trying to include .eps figure in latex and hen convert it to pdf. I am a beginner and i read some info about adding figure but couldnt clearly get how to do it. I found this code online which is trying to include figure into latex but when i run this code this doesnot work(the figures doesnot appear) i dont understand where i should enter the name of figure, where i enter the path, or for this code i kept the figure in the same folder but no results.

url of the page where i found this code is: http://www.cs.ucr.edu/~ciardo/teaching/CS246/CS246.html

any help is appreciated.

Tags:

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
amnakhan786 wrote:[…] url of the page where i found this code is: http://www.cs.ucr.edu/~ciardo/teaching/CS246/CS246.html […]

Forget this code completely, and fast. It is complete kludge. The epsf package is obsolete for a very long time. Have a look at the graphicx package. And page dimensions are set with geometry, not the way this code does it. One golden rule when using LaTeX:
If you don't know what code does, don't use it!

There are some more concerns which could be explained here. But just to forget it is much better.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

Stefan Kottwitz
Posts: 9572
Joined: Mon Mar 10, 2008 9:44 pm
I agree with Thorsten. You had no luck in choosing the example code. It would take some time to explain why most of the code is not recommendable today with modern LaTeX.

I suggest, read a good LaTeX introduction or tutorial, before you work with a template which you cannot evaluate. This can help: LaTeX Resources for Beginners.

If you still want to start with a template, have a look at www.latextemplates.com.

If you have questions, let us know.

Stefan