\documentclass{article}
\usepackage{graphicx}
% This simple example shows how to include an Encapsulated
% Postscript file (called emtex.eps) below in a LaTeX document.
% If you use "xfig" to generate your eps file, remember that
%  1) By default xfig saves figures in landscape mode - change to portrait mode
%     before saving your file as an encapsulated postscript file
%  2) Choose eps rather than ps as the format to export your picture
%  3) You should also save your file in native xfig format
%     as, say file.fig, so that you can edit it with xfig later on. 
%     xfig will not edit ps or eps files.
\begin{document}
%% Some implementation of latex may require this line, too.
\DeclareGraphicsExtensions{.eps,.jpg}

Sample graphics File

%%  Example

%% Use this with Latex and dvips
%\includegraphics[height=4in]{myfile.eps} %% for postscript
%% Use this with pdflatex
\includegraphics[height=4in]{quiz.pdf} %% for pdf (also jpg)


\end{document}
