I am new to LaTeX and trying to learn it by writing a CV. I tried to add a photo of me in the document. The code is below:
\documentclass[a4paper, 12pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[h!]
\centering
\includegraphics[width=0.5\textwidth]{taufique}
\end{figure}
\end{document}
'taufique' is the name of the jpg image file. It's located in the same directory where tex file is placed. I compiled with pdflatex but it is not being compiled. Error report says that compiler can't find the image file. What's the problem?
\includegraphics[width=0.5\textwidth]{taufique.jpg}. If you are on a Unix-like system there might also be some confusion, if the file has the extension.JPGor.jpeg, in whatever combination ... – Apr 14 '14 at 19:24