0

In my LaTeX file, the name of the image appeared. May I know how can I remove it? Thank you very much.enter image description here

My code is as follows:

\documentclass[12pt,a4paper]{report}


%%%%%%%%

\usepackage{geometry}
\usepackage{graphicx}






%%%%%%%%%%%
%%%%%%%%%%%%
\begin{document}



%%%
\begin{figure}[h]
\includegraphics{Albert Einstein.jpg}
\caption{Relationship between graphs}
\label{fig1}
\end{figure}


\end{document}
  • 4
    Use a file name without spaces. See also tex.stackexchange.com/q/4129/35864, tex.stackexchange.com/q/8422/35864. – moewe Jan 13 '19 at 9:25
  • Please consider pasting your code as copyable text directly into the question. Please don't add code only as a picture. Code in pictures is not only a nuisance because copy-and-paste does not work and it is not indexed by search engines, it is also a huge accessibility issue for people with screen readers. – moewe Jan 13 '19 at 9:28
  • unrelated but don't use [h], latex usually warns about that and changes it to [ht] but [htp] is better – David Carlisle Jan 13 '19 at 9:38

Browse other questions tagged or ask your own question.