I cannot seem to get the images to appear on latex. I get no error messages and, it has no problems compiling. However, the produced (.pdf) which is what I am using, does not have the image. Essentially, everything I am using is in
\documentclass[12pt,a4paper,epsf,portrait,times,epsfig]{article}
\usepackage[dvips]{graphics}
\usepackage{amsmath}
\usepackage{xspace}
\usepackage{fancybox}
\usepackage{hyperref}
\usepackage{amsfonts}
\usepackage{graphicx}
\renewcommand{\baselinestretch}{1.5}
\setlength{\parskip}{0.2cm}
\setlength{\parindent}{0.0cm}
\setlength{\textheight}{8.5in}
\setlength{\textwidth}{16.0cm}
\setlength{\oddsidemargin}{0in}
\setlength{\evensidemargin}{0in}
\setlength{\topmargin}{0in}
\pagenumbering{arabic}
\numberwithin{equation}{subsection}
\begin{document}
\begin{figure}
\centering
\includegraphics{C:/Users/Reza/Desktop/Test/Untitled.jpg}
\label{fig:Untitled}
\end{figure}
\end{document}
I am using Texniccenter, and using LaTeX=>PDF. Help please!
Untitled.jpgto the folder where you.texfile is, and use\includegraphics{Untitled.jpg}. As well notice that LaTeX might be case-sensitive andUntitled.jpgis different fromuntitled.jpg. – yo' May 10 '12 at 17:17.logfile to see if there's a warning or error message. – Jake May 10 '12 at 17:18epsfandepsfigoptions in the\documentclassstatement are obsolete. To auto-convert image files in.jpgformat to.pdf-- the preferred format of thegraphicxpackage -- be sure to load theepstopdfpackage. By the way, the\labelinstruction inside thefigureenvironment won't have any desired effects unless you precede it with a\captionstatement. (The "label" is associated by hyperref and other packages with the closest "label-able" item. In the case of your MWE, there is no such item so far. Hence, be sure to provide a\captionstatement before the\label. – Mico May 10 '12 at 19:55lualatexinstead ofpdflatexsolved the issue. – loki Nov 11 '19 at 15:43